This commit is contained in:
colawwj 2021-12-22 09:49:21 +08:00 коммит произвёл GitHub
Родитель d4bdd111b4
Коммит 27888a81a7
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
12 изменённых файлов: 187 добавлений и 212 удалений

Просмотреть файл

@ -1,26 +1,11 @@
## Release History
# Release History
## 3.0.0 (2021-12-21)
### 3.0.0-beta.2 (Unreleased)
The package of @azure/arm-search is using our next generation design principles since version 3.0.0, which contains breaking changes.
#### Features Added
To understand the detail of the change, please refer to [Changelog](https://aka.ms/js-track2-changelog).
#### Breaking Changes
To migrate the existing applications to the latest version, please refer to [Migration Guide](https://aka.ms/js-track2-migration-guide).
#### Bugs Fixed
#### Other Changes
### 3.0.0-beta.1 (2021-11-29)
This is the first preview for the new version of the `@azure/arm-search` package that follows the new [guidelines for TypeScript SDKs](https://azure.github.io/azure-sdk/typescript_introduction.html) for Azure services.
While this package remains auto generated, the SDK generator itself has undergone changes to comply with the above guidelines in order to generate packages that are idiomatic to the JavaScript/TypeScript ecosystem and consistent with other packages for Azure services. For more on this, please see [State of the Azure SDK 2021](https://devblogs.microsoft.com/azure-sdk/state-of-the-azure-sdk-2021/).
Please note that this version has breaking changes, all of which were made after careful consideration during the authoring of the guidelines and user studies.
**Noteworthy changes and features**
- Authentication: The packages `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` are no longer supported. Use package [@azure/identity](https://www.npmjs.com/package/@azure/identity) instead. Select a credential from Azure Identity examples based on the authentication method of your choice.
- Callbacks: Method overloads that used callbacks have been removed and the use of promises is encouraged instead.
- List operations now return an iterable result that follows the `PagedAsyncIterableIterator` interface as opposed to the previous model where you had to make a new request using the link to the next page.
- Long running operations i.e. the Lro related object returned by methods whose names started with `begin`, now uses `pollUntilDone` to check whether the request is finished, instead of `pollUntilFinished`. To get the final result, use the corresponding method that will have the suffix `AndWait`.
- The SDK only supports ECMAScript 2015 (ES6) and beyond, all projects that referenced this SDK should be upgraded to use ES6.
To learn more, please refer to our documentation [Quick Start](https://aka.ms/js-track2-quickstart).

Просмотреть файл

@ -6,7 +6,7 @@ Client that can be used to manage Azure Cognitive Search services and API keys.
[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/arm-search) |
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-search) |
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-search?view=azure-node-preview) |
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-search) |
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)
## Getting started

Просмотреть файл

@ -1,7 +1,7 @@
{
"commit": "3ad7a853aa7b10ccd820220c58023d5325eb1a49",
"commit": "0cd7b3e83d5e7e21222dcc4bdde4565562da0cdf",
"readme": "specification/search/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/search/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20211123.1",
"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/search/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20211217.1",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"use": "@autorest/typescript@6.0.0-alpha.16.20211123.1"
"use": "@autorest/typescript@6.0.0-alpha.16.20211217.1"
}

Просмотреть файл

@ -3,10 +3,8 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for SearchManagementClient.",
"version": "3.0.0-beta.2",
"engines": {
"node": ">=12.0.0"
},
"version": "3.0.0",
"engines": { "node": ">=12.0.0" },
"dependencies": {
"@azure/core-lro": "^2.2.0",
"@azure/abort-controller": "^1.0.0",
@ -16,13 +14,7 @@
"@azure/core-rest-pipeline": "^1.1.0",
"tslib": "^2.2.0"
},
"keywords": [
"node",
"azure",
"typescript",
"browser",
"isomorphic"
],
"keywords": ["node", "azure", "typescript", "browser", "isomorphic"],
"license": "MIT",
"main": "./dist/index.js",
"module": "./dist-esm/src/index.js",
@ -49,9 +41,7 @@
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
},
"bugs": {
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
},
"bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" },
"files": [
"dist/**/*.js",
"dist/**/*.js.map",

Просмотреть файл

@ -23,19 +23,19 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
'P3P',
'CP="DSP CUR OTPi IND OTRi ONL FIN"',
'x-ms-request-id',
'072cda1b-922b-40cc-b9fc-db3c54473b00',
'c7025f87-5230-4b1b-a3d3-5a8e48e41000',
'x-ms-ests-server',
'2.1.12249.14 - KRSLR2 ProdSlices',
'2.1.12261.17 - SEASLR1 ProdSlices',
'Set-Cookie',
'fpc=AtaPVGOAmRBPrYATPuFBYG8; expires=Wed, 29-Dec-2021 07:37:04 GMT; path=/; secure; HttpOnly; SameSite=None',
'fpc=AnFJo4KxyV5KjRJd0lLk7tA; expires=Thu, 20-Jan-2022 08:35:16 GMT; path=/; secure; HttpOnly; SameSite=None',
'Set-Cookie',
'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr9htX6b700UttTV-SPdziW597vdk66L1g0GDek8LyN7vY5BUvOsW3FHWa4S5lMTsbYBFbyeetJ2rOjYbpy7dELeeHtxJIKvotLutDU3-vsileLlsdCd2FIBDfqHxrCUHNOCxOrJvpB0shHeqjQk-vGl2nwUGT-UBaHusXfD0GEVUgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None',
'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevreCtx7R-SdJhcipdJmofnGPb0jzHs06fh5BrXQzkak7TuhvbXz5vp7nOTC1S_f5wwp1FTBUB4Ja9YWeNB8-xG1aTW89EfdmP-yZlP-tN5DL1yW2hXd3sllpOMwf88jQ1ARI52xAHfFOyPCihl5p417G7laWrGfEjJPr4lb6ZLthQgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None',
'Set-Cookie',
'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
'Set-Cookie',
'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
'Date',
'Mon, 29 Nov 2021 07:37:04 GMT',
'Tue, 21 Dec 2021 08:35:16 GMT',
'Content-Length',
'980'
]);
@ -58,25 +58,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
'P3P',
'CP="DSP CUR OTPi IND OTRi ONL FIN"',
'x-ms-request-id',
'2aa0e74a-1391-4187-b36e-afa937ea3800',
'e5f8b3bb-d617-4d20-a5d6-39aade550500',
'x-ms-ests-server',
'2.1.12249.14 - KRSLR1 ProdSlices',
'2.1.12261.17 - SEASLR2 ProdSlices',
'Set-Cookie',
'fpc=AigznX-F0xROvW3opXvMD2o; expires=Wed, 29-Dec-2021 07:37:05 GMT; path=/; secure; HttpOnly; SameSite=None',
'fpc=Aucji1bUgQpKsEOgg-4_5hw; expires=Thu, 20-Jan-2022 08:35:16 GMT; path=/; secure; HttpOnly; SameSite=None',
'Set-Cookie',
'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrJBYFFGnI4uXrjZQYxtv79X1zb3_Vk6pG5rvCbhkVSG0SD_yaXDXbN0HOOT9UVq8lJqGTrWf6AZYla55HC2a2WQewhI_t_-vDzxKQvqrX4DN3uWzmOEldHiglJLMwucFET_ZpEcj5d57-gatJf1ASTX6MBfDUfS-chD6lYfPgW6YgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None',
'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr2EjbQx3wB1gnSnD3AQN3eALoPp-usw2HnZsAkMFSM0EPYdIij_p79vbmWzbnVn0gOBDIQoK_C6ioU2bQQDyo3qyJNsorDER2ugaGgB528_t99V_Mu6wKR_p8Bmed8ob2VNBzhKnRdrA8nbOUwIzazRkLdfhsUmn8YJdXKEHCBVggAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None',
'Set-Cookie',
'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
'Set-Cookie',
'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
'Date',
'Mon, 29 Nov 2021 07:37:05 GMT',
'Tue, 21 Dec 2021 08:35:16 GMT',
'Content-Length',
'1753'
]);
nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
.post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.3&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=f30416e9-805f-410d-ada2-e027a089abb3&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")
.post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.4.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=1d943c10-13d7-42eb-94fd-0b16ebaaa306&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"}, [
'Cache-Control',
'no-store, no-cache',
@ -93,27 +93,27 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
'P3P',
'CP="DSP CUR OTPi IND OTRi ONL FIN"',
'x-ms-request-id',
'072cda1b-922b-40cc-b9fc-db3c59473b00',
'792de6b9-024e-4c20-b2f9-0fab9bd90a00',
'x-ms-ests-server',
'2.1.12249.14 - KRSLR2 ProdSlices',
'2.1.12261.17 - KRSLR1 ProdSlices',
'x-ms-clitelem',
'1,0,0,,',
'Set-Cookie',
'fpc=Akubm36q_BhOiRla4iSySWEWPr5BAQAAACB6NtkOAAAA; expires=Wed, 29-Dec-2021 07:37:05 GMT; path=/; secure; HttpOnly; SameSite=None',
'fpc=AjzWVCRXCSBNmzbjpObu9LPLj78gAQAAAMSIU9kOAAAA; expires=Thu, 20-Jan-2022 08:35:16 GMT; path=/; secure; HttpOnly; SameSite=None',
'Set-Cookie',
'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
'Set-Cookie',
'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
'Date',
'Mon, 29 Nov 2021 07:37:05 GMT',
'Tue, 21 Dec 2021 08:35:16 GMT',
'Content-Length',
'1374'
'1393'
]);
nock('https://management.azure.com:443', {"encodedQueryParams":true})
.post('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Search/searchServices/myjssearchservicexx/createQueryKey/testjskey')
.query(true)
.reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147cb6c917ff4e8a3366fda9f6edee6d71f8d3ec2bf8f3e3ab9b77ff0f0e9f1c1c3e34fefef3e78f0f0e9e9934f8f9fee1defecec1fefededef7ef4","4bfe1f70fb28e53d000000"], [
.reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147cb6c917ff4e8a3366fda9f6edee6d71f8d3ec2bf8f3eba777ab077fae9313d27cf3ebdfff4e1c3a7bb3b4fef3f393d3e3879f0f0c9c1ee47","bfe4ff019f8c09593d000000"], [
'Cache-Control',
'no-cache',
'Pragma',
@ -129,21 +129,21 @@ nock('https://management.azure.com:443', {"encodedQueryParams":true})
'Vary',
'Accept-Encoding,Accept-Encoding',
'x-ms-request-id',
'90ffb2a6-4b20-4ee3-b645-f6e22850c435',
'b8968f15-a142-4d18-ba35-9d3a9dab4faf',
'request-id',
'90ffb2a6-4b20-4ee3-b645-f6e22850c435',
'b8968f15-a142-4d18-ba35-9d3a9dab4faf',
'elapsed-time',
'220',
'198',
'Strict-Transport-Security',
'max-age=31536000; includeSubDomains',
'x-ms-ratelimit-remaining-subscription-writes',
'1199',
'x-ms-correlation-request-id',
'c7043ce4-93fb-4144-b193-5c589176ff2c',
'38e84aec-b04c-40f8-9cd7-de169dc1ddd5',
'x-ms-routing-request-id',
'JAPANEAST:20211129T073705Z:c7043ce4-93fb-4144-b193-5c589176ff2c',
'SOUTHEASTASIA:20211221T083517Z:38e84aec-b04c-40f8-9cd7-de169dc1ddd5',
'X-Content-Type-Options',
'nosniff',
'Date',
'Mon, 29 Nov 2021 07:37:05 GMT'
'Tue, 21 Dec 2021 08:35:16 GMT'
]);

Просмотреть файл

@ -23,19 +23,19 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
'P3P',
'CP="DSP CUR OTPi IND OTRi ONL FIN"',
'x-ms-request-id',
'072cda1b-922b-40cc-b9fc-db3c68473b00',
'882ce76a-8151-44e0-b77f-469ec8fa0f00',
'x-ms-ests-server',
'2.1.12249.14 - KRSLR2 ProdSlices',
'2.1.12261.17 - KRSLR2 ProdSlices',
'Set-Cookie',
'fpc=AjV4coaVURVErX4u_WMD6y0; expires=Wed, 29-Dec-2021 07:37:06 GMT; path=/; secure; HttpOnly; SameSite=None',
'fpc=AutWUbFrDNRNi0juCor3rfA; expires=Thu, 20-Jan-2022 08:35:19 GMT; path=/; secure; HttpOnly; SameSite=None',
'Set-Cookie',
'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrrzjxX47r5ejHlDyLm8-2JQ42Y4ovHQ9fMxYKDa68khKNUZZWOhlfsgKb-9xvDg90ThxMBcRyj2GdvcmDlOAPL1eD0X9r94s9pboku1Xqw8u45QixhKBV-WOqz1RJux6oIiyL9ZtTf2eFZsT9eTsdH3ySUkTi15xauKq6IPVxcjQgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None',
'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr64PQbaKRSGswCI3lxmJeb3ok8nW8Cuw5ocUEgAvHdSnSc6wwMFCT6uSSmJcP-n0eYcN91NRztuqhU-yMnpuH66hM70UunLZF6RdKTFYMZq90HHlIHDAveFuQOVcU_ACOXvBFizt3pO6YBUDyoP3Z1oV2V4xEcb06xIdIiq-IEJMgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None',
'Set-Cookie',
'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
'Set-Cookie',
'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
'Date',
'Mon, 29 Nov 2021 07:37:06 GMT',
'Tue, 21 Dec 2021 08:35:18 GMT',
'Content-Length',
'980'
]);
@ -58,25 +58,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
'P3P',
'CP="DSP CUR OTPi IND OTRi ONL FIN"',
'x-ms-request-id',
'23a0a219-e578-46a1-bb8e-ccefc8e53a00',
'9dd0c33e-2a73-4b99-a0e0-506f9b250b00',
'x-ms-ests-server',
'2.1.12249.14 - SEASLR1 ProdSlices',
'2.1.12261.17 - KRSLR2 ProdSlices',
'Set-Cookie',
'fpc=ArKfJ_KPiMxDg9i_6IPRAU8; expires=Wed, 29-Dec-2021 07:37:07 GMT; path=/; secure; HttpOnly; SameSite=None',
'fpc=ApIGe1N-OKFNojR4gvAkZCY; expires=Thu, 20-Jan-2022 08:35:19 GMT; path=/; secure; HttpOnly; SameSite=None',
'Set-Cookie',
'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrP3GhebmgpV4BvITJoRfpnrn6d2AIUzyaPggdZONezuBiH7I7E12nnnotg_5oRXbml1SJMqJ9gXp0E8kW-jbqNIm2UUYVASllrHst_BjnBeFFsySAgWnepo0imWaI_LNf8i-4mp_fxcXZviHsw-QIxt08vNptVjRZEjER4mHKC4cgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None',
'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr2fEp2F5xVvMRRI25q-OjhrKtf_oBuXNJY0Eqa14huUzyL7BOvz1sdN8Y6jb_8xUzIfpMR-b3BhBVoxKHiVycuHwVFoWp6qPCCqTZ6sZbc05X999FqbwRaXnQVFK8H_NF1bdmj5-9B2_YbYME6ZpqcTn2MGLspFhaQs0LG7aRTPogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None',
'Set-Cookie',
'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
'Set-Cookie',
'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
'Date',
'Mon, 29 Nov 2021 07:37:07 GMT',
'Tue, 21 Dec 2021 08:35:18 GMT',
'Content-Length',
'1753'
]);
nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
.post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.3&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=42c848ff-5426-4e2c-8397-60727cf2b1c1&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")
.post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.4.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=4b6e79c4-1f25-4ccb-b5e7-dddc39410bfa&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"}, [
'Cache-Control',
'no-store, no-cache',
@ -93,27 +93,27 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
'P3P',
'CP="DSP CUR OTPi IND OTRi ONL FIN"',
'x-ms-request-id',
'93ef7e08-1935-4d62-bd81-4c49cd363900',
'882ce76a-8151-44e0-b77f-469ecdfa0f00',
'x-ms-ests-server',
'2.1.12249.14 - SEASLR2 ProdSlices',
'2.1.12261.17 - KRSLR2 ProdSlices',
'x-ms-clitelem',
'1,0,0,,',
'Set-Cookie',
'fpc=Avgdoy3LqCpLmNFP165oaUoWPr5BAQAAACJ6NtkOAAAA; expires=Wed, 29-Dec-2021 07:37:07 GMT; path=/; secure; HttpOnly; SameSite=None',
'fpc=AmhqDVcLvENMtLjJlw5Vs-XLj78gAQAAAMeIU9kOAAAA; expires=Thu, 20-Jan-2022 08:35:19 GMT; path=/; secure; HttpOnly; SameSite=None',
'Set-Cookie',
'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
'Set-Cookie',
'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
'Date',
'Mon, 29 Nov 2021 07:37:07 GMT',
'Tue, 21 Dec 2021 08:35:18 GMT',
'Content-Length',
'1374'
'1393'
]);
nock('https://management.azure.com:443', {"encodedQueryParams":true})
.delete('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Search/searchServices/myjssearchservicexx/deleteQueryKey/testjskey')
.query(true)
.reply(404, {"error":{"code":"Unknown","message":"This API key does not exist for service 'myjssearchservicexx'. RequestId: b814ae43-3178-4414-98bf-70b58b3816cb","target":null,"details":null}}, [
.reply(404, {"error":{"code":"Unknown","message":"This API key does not exist for service 'myjssearchservicexx'. RequestId: ca5e1c5e-9427-4af2-a0f3-99bdb953a57b","target":null,"details":null}}, [
'Cache-Control',
'no-cache',
'Pragma',
@ -127,29 +127,29 @@ nock('https://management.azure.com:443', {"encodedQueryParams":true})
'Expires',
'-1',
'x-ms-request-id',
'b814ae43-3178-4414-98bf-70b58b3816cb',
'ca5e1c5e-9427-4af2-a0f3-99bdb953a57b',
'request-id',
'b814ae43-3178-4414-98bf-70b58b3816cb',
'ca5e1c5e-9427-4af2-a0f3-99bdb953a57b',
'elapsed-time',
'155',
'116',
'Strict-Transport-Security',
'max-age=31536000; includeSubDomains',
'x-ms-ratelimit-remaining-subscription-deletes',
'14999',
'x-ms-correlation-request-id',
'9af75175-8482-436e-8d56-6f222b545635',
'a4de790d-e5dc-4eb5-985b-4830290d0bde',
'x-ms-routing-request-id',
'JAPANEAST:20211129T073707Z:9af75175-8482-436e-8d56-6f222b545635',
'SOUTHEASTASIA:20211221T083519Z:a4de790d-e5dc-4eb5-985b-4830290d0bde',
'X-Content-Type-Options',
'nosniff',
'Date',
'Mon, 29 Nov 2021 07:37:07 GMT'
'Tue, 21 Dec 2021 08:35:19 GMT'
]);
nock('https://management.azure.com:443', {"encodedQueryParams":true})
.post('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Search/searchServices/myjssearchservicexx/listQueryKeys')
.query(true)
.reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1479759b9ce3f7af4bd5ffcd1325bd02fcb75598e3e7a9b5f7ff4e8a3dd83270f3e7db277faecc1a77bf79e1def3f3bb977f26cffc1de83bd674fef1d1c9f7ef44b46e6b58fdabc697fbac17be6ed937bfb070f9f1e1f3c3cfef4feee83070f9f9e3ef9f4f8e9def1cecefef1dedefeee47bfe4fba38f96f9bbf679b17c2b1d","ff92ff073ac80f6490000000"], [
.reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1479759b9ce3f7af4bd5ffcd1325bd02fcb75598e3e7a9b5f7ff4e8a3a79f3e7dfa60e7e0f8c9dec9b39d9d873b0f0e4e3f7d78fae0c1fec9e9e9a79f9e9c7cf44b46e6b58fdabc697fbac17be6ed7ba7077ba79f1ed373f2ecd3fb4f1f3e7cbabbf3f4fe93d3e38393070f9f1cec7ef44bbe3ffa6899bf6b9f17cbb7d2f12f","f97f00fe702cd990000000"], [
'Cache-Control',
'no-cache',
'Pragma',
@ -165,21 +165,21 @@ nock('https://management.azure.com:443', {"encodedQueryParams":true})
'Vary',
'Accept-Encoding,Accept-Encoding',
'x-ms-request-id',
'50181b30-2b2f-4c96-8eca-64412da3d8c5',
'4cecf515-b69a-4f7d-b84a-e95ab98acc90',
'request-id',
'50181b30-2b2f-4c96-8eca-64412da3d8c5',
'4cecf515-b69a-4f7d-b84a-e95ab98acc90',
'elapsed-time',
'289',
'114',
'Strict-Transport-Security',
'max-age=31536000; includeSubDomains',
'x-ms-ratelimit-remaining-subscription-writes',
'1197',
'x-ms-correlation-request-id',
'73f13728-4c82-4633-ad0e-feb6e9d67355',
'32d451b3-e0b5-4dcc-9efe-2f90170d8b79',
'x-ms-routing-request-id',
'JAPANEAST:20211129T073708Z:73f13728-4c82-4633-ad0e-feb6e9d67355',
'SOUTHEASTASIA:20211221T083520Z:32d451b3-e0b5-4dcc-9efe-2f90170d8b79',
'X-Content-Type-Options',
'nosniff',
'Date',
'Mon, 29 Nov 2021 07:37:07 GMT'
'Tue, 21 Dec 2021 08:35:19 GMT'
]);

Просмотреть файл

@ -23,19 +23,19 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
'P3P',
'CP="DSP CUR OTPi IND OTRi ONL FIN"',
'x-ms-request-id',
'072cda1b-922b-40cc-b9fc-db3c62473b00',
'c7025f87-5230-4b1b-a3d3-5a8e56e41000',
'x-ms-ests-server',
'2.1.12249.14 - KRSLR2 ProdSlices',
'2.1.12261.17 - SEASLR1 ProdSlices',
'Set-Cookie',
'fpc=Ancd4i7mQbVFiBj08ykF6HY; expires=Wed, 29-Dec-2021 07:37:05 GMT; path=/; secure; HttpOnly; SameSite=None',
'fpc=AlrT-qYO0BJCqUglcUzG3SE; expires=Thu, 20-Jan-2022 08:35:17 GMT; path=/; secure; HttpOnly; SameSite=None',
'Set-Cookie',
'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrsl1N9uadL0ytGOpjrKNtCREzLBef2QjeizDl_I-T-ghV72prcgfiLSPFVduWQvbmF-Bqd1_XQXMzPQFm9zf68K6NknSiJk_Mi8lpxO2FfKbhIVGHlm4nmC4ipxFvGprW7egrbLBcSXTLoMIvFf507katuGWrCYxZvCC9xjBBavQgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None',
'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrOqW4w_mmTFVMjIjrpAPKPFNx79GIHZN47gPhuBFhJ8kj0IHaJ3FYU-hlRLzSpDyQwQPmopyyiBM3a8GZ1B6QkDAqmJLVlKlu6d5OuCr1wBgQDWilZHy4jvSzei6udcyJvX_HQmbU3fayQGpT5KZCzNAhh-EO5Ha71iCR1t9LJ_4gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None',
'Set-Cookie',
'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
'Set-Cookie',
'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
'Date',
'Mon, 29 Nov 2021 07:37:05 GMT',
'Tue, 21 Dec 2021 08:35:17 GMT',
'Content-Length',
'980'
]);
@ -58,25 +58,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
'P3P',
'CP="DSP CUR OTPi IND OTRi ONL FIN"',
'x-ms-request-id',
'072cda1b-922b-40cc-b9fc-db3c63473b00',
'e5f8b3bb-d617-4d20-a5d6-39aae9550500',
'x-ms-ests-server',
'2.1.12249.14 - KRSLR2 ProdSlices',
'2.1.12261.17 - SEASLR2 ProdSlices',
'Set-Cookie',
'fpc=AkCdLPTAqR1EgL93xEnIKN0; expires=Wed, 29-Dec-2021 07:37:06 GMT; path=/; secure; HttpOnly; SameSite=None',
'fpc=AvcL3PrEtyZFhP8To2EMY8A; expires=Thu, 20-Jan-2022 08:35:18 GMT; path=/; secure; HttpOnly; SameSite=None',
'Set-Cookie',
'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr8mMiqmECxhcISngmj1WdeQPOe1m1FNQhrO41ooUXumdQHJC5qL93KQT5sp93a3Ug1gTZyM4BxERpE9QdgTdR8I5BDIBii2N-vZ0ZdTt8zpOtzhzSa3N4jeRt4iO_xnop-yCBa3gAaBMNHnMYdINMZFfu1WQ9PD-ToQCpAf1LskMgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None',
'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrer7q9LdYgkZOIQ91clbXDJBUg5iKS5iJl4tKSX4LSbAxuMSC83wUY6acMpEkbs30K-Eox2Lc-uZBLwSRijzjIUstX1u5XnFLDYccKh3MXUwRDilh_bP0OCOh-AwlifJzoTiTXnp_Be5gDx7GHvyyCienrFbOq_b4BhwVwzHZ7ycgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None',
'Set-Cookie',
'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
'Set-Cookie',
'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
'Date',
'Mon, 29 Nov 2021 07:37:06 GMT',
'Tue, 21 Dec 2021 08:35:17 GMT',
'Content-Length',
'1753'
]);
nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
.post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.3&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=db09f8be-4719-4679-9ee3-ce70ac67c00a&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")
.post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.4.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=d97098f1-a63a-48da-8000-f3f11ef0d0f9&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"}, [
'Cache-Control',
'no-store, no-cache',
@ -93,27 +93,27 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
'P3P',
'CP="DSP CUR OTPi IND OTRi ONL FIN"',
'x-ms-request-id',
'2aa0e74a-1391-4187-b36e-afa94cea3800',
'792de6b9-024e-4c20-b2f9-0faba7d90a00',
'x-ms-ests-server',
'2.1.12249.14 - KRSLR1 ProdSlices',
'2.1.12261.17 - KRSLR1 ProdSlices',
'x-ms-clitelem',
'1,0,0,,',
'Set-Cookie',
'fpc=Aq8vcn_FDnFJlmpiQ8gPeGgWPr5BAQAAACF6NtkOAAAA; expires=Wed, 29-Dec-2021 07:37:06 GMT; path=/; secure; HttpOnly; SameSite=None',
'fpc=AnzEBUHnIiRIqgXQRcZep8_Lj78gAQAAAMWIU9kOAAAA; expires=Thu, 20-Jan-2022 08:35:18 GMT; path=/; secure; HttpOnly; SameSite=None',
'Set-Cookie',
'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
'Set-Cookie',
'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
'Date',
'Mon, 29 Nov 2021 07:37:06 GMT',
'Tue, 21 Dec 2021 08:35:17 GMT',
'Content-Length',
'1374'
'1393'
]);
nock('https://management.azure.com:443', {"encodedQueryParams":true})
.post('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Search/searchServices/myjssearchservicexx/listQueryKeys')
.query(true)
.reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1479759b9ce3f7af4bd5ffcd1325bd02fcb75598e3e7a9b5f7ff4e8a3dd83270f3e7db277faecc1a77bf79e1def3f3bb977f26cffc1de83bd674fef1d1c9f7ef44b46e6b58fdabc697fbac17be6ed937bfb070f9f1e1f3c3cfef4feee83070f9f9e3ef9f4f8e9def1cecefef1dedefeee47bfe4fba38f96f9bbf679b17c2b1d","ff92ff073ac80f6490000000"], [
.reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1479759b9ce3f7af4bd5ffcd1325bd02fcb75598e3e7a9b5f7ff4e8a3a79f3e7dfa60e7e0f8c9dec9b39d9d873b0f0e4e3f7d78fae0c1fec9e9e9a79f9e9c7cf44b46e6b58fdabc697fbac17be6ed7ba7077ba79f1ed373f2ecd3fb4f1f3e7cbabbf3f4fe93d3e38393070f9f1cec7ef44bbe3ffa6899bf6b9f17cbb7d2f12f","f97f00fe702cd990000000"], [
'Cache-Control',
'no-cache',
'Pragma',
@ -129,21 +129,21 @@ nock('https://management.azure.com:443', {"encodedQueryParams":true})
'Vary',
'Accept-Encoding,Accept-Encoding',
'x-ms-request-id',
'c4d9d3b7-91cf-4f33-b99d-53922fb52ab1',
'9332a445-c154-46c7-a1df-83597c53f36a',
'request-id',
'c4d9d3b7-91cf-4f33-b99d-53922fb52ab1',
'9332a445-c154-46c7-a1df-83597c53f36a',
'elapsed-time',
'166',
'142',
'Strict-Transport-Security',
'max-age=31536000; includeSubDomains',
'x-ms-ratelimit-remaining-subscription-writes',
'1198',
'x-ms-correlation-request-id',
'd35832d6-007c-42b4-9d01-3c621c2cf09b',
'fa5553ad-4397-4cad-ba7f-7919369a8aa6',
'x-ms-routing-request-id',
'JAPANEAST:20211129T073706Z:d35832d6-007c-42b4-9d01-3c621c2cf09b',
'SOUTHEASTASIA:20211221T083518Z:fa5553ad-4397-4cad-ba7f-7919369a8aa6',
'X-Content-Type-Options',
'nosniff',
'Date',
'Mon, 29 Nov 2021 07:37:06 GMT'
'Tue, 21 Dec 2021 08:35:18 GMT'
]);

Просмотреть файл

@ -23,19 +23,19 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
'P3P',
'CP="DSP CUR OTPi IND OTRi ONL FIN"',
'x-ms-request-id',
'4db399e4-6594-4f67-8a89-15a77c0d3e00',
'792de6b9-024e-4c20-b2f9-0fab39d90a00',
'x-ms-ests-server',
'2.1.12249.14 - SEASLR2 ProdSlices',
'2.1.12261.17 - KRSLR1 ProdSlices',
'Set-Cookie',
'fpc=Am5F1T4oIZNPvMRwoH9kjLo; expires=Wed, 29-Dec-2021 07:36:51 GMT; path=/; secure; HttpOnly; SameSite=None',
'fpc=AnF373lyiVZGmTPAkBdTy4s; expires=Thu, 20-Jan-2022 08:35:02 GMT; path=/; secure; HttpOnly; SameSite=None',
'Set-Cookie',
'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr2DoT8uZcRZxHRNqgwfMk4kKCivLixHQtxjYMpcm2yDVoWkzXDDoSsapnMH7KuWc3I-vBzeaM3a62YsFwe5wiblPJGNyn7YUstVcaiCSVNFVEPV__z2_DfwoEKDh8PiLZWd6evWK0sQIQutO3SE87t4ahRFExdUwAx8-zvXkviqsgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None',
'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrJnICsaJQe8CeYsOVq11yHf77NWz_0grJcvOhtnxqsfWpVXnqXFLO4H_Z6QM7Vz9zhqTBD7HaZQ-Mvbrsvsa7zGLoVwbhJdtzUgz3eUzfkTV7yLC3gs4lmbjzfxndA-bSmcdwVf_bfC9r5dnbrtMzLoxLSYv9m4vXCh3-9rDF2eogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None',
'Set-Cookie',
'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
'Set-Cookie',
'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
'Date',
'Mon, 29 Nov 2021 07:36:50 GMT',
'Tue, 21 Dec 2021 08:35:01 GMT',
'Content-Length',
'980'
]);
@ -58,25 +58,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
'P3P',
'CP="DSP CUR OTPi IND OTRi ONL FIN"',
'x-ms-request-id',
'7f6f33c0-2e74-490e-8f6c-dc65cef63b00',
'e5f8b3bb-d617-4d20-a5d6-39aa7f550500',
'x-ms-ests-server',
'2.1.12249.14 - SEASLR1 ProdSlices',
'2.1.12261.17 - SEASLR2 ProdSlices',
'Set-Cookie',
'fpc=ArjBbbNnJ0ZJizct2hwGDhs; expires=Wed, 29-Dec-2021 07:36:51 GMT; path=/; secure; HttpOnly; SameSite=None',
'fpc=AsoGz01_b-5PoIS95PRu0TY; expires=Thu, 20-Jan-2022 08:35:02 GMT; path=/; secure; HttpOnly; SameSite=None',
'Set-Cookie',
'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrPEccV8PDNte8zitIaVgA1HaDtm0Pqupqh9A0ls0Kuh9pXlcyDS-thcjH4Aqd2T1F1x90Wdrtj5vj6yhrm9NTEqxmSXvzNhcZTEAwcNS6elALkQSgOhOjPtrYehchbwlbSP539QInZNjr2jQyxB88YUlkCFBkHY0a3oRUmkjXJIsgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None',
'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr6tEJ19ri9WMICskFOswCrErgMtNaTqeCRl2MHrG0aRSXUjU6XZiuFfcvKHwRAjEDEkwni0qmTQRGPLg58zOJvePyQElsgM2OQI2kf3Nzj7jT73Bqvt2aSzHwdWjVqDXejqtf4ym134762BeyUl-6viUZnulQgt1tw-4R1xUAhrggAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None',
'Set-Cookie',
'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
'Set-Cookie',
'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
'Date',
'Mon, 29 Nov 2021 07:36:50 GMT',
'Tue, 21 Dec 2021 08:35:02 GMT',
'Content-Length',
'1753'
]);
nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
.post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.3&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=9a3043b5-5b36-4057-998e-9cb4e6753305&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")
.post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.4.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=9ebe80c5-6007-4cfe-8ecf-d8be580e951b&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"}, [
'Cache-Control',
'no-store, no-cache',
@ -93,21 +93,21 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
'P3P',
'CP="DSP CUR OTPi IND OTRi ONL FIN"',
'x-ms-request-id',
'072cda1b-922b-40cc-b9fc-db3ce0463b00',
'9dd0c33e-2a73-4b99-a0e0-506f2a250b00',
'x-ms-ests-server',
'2.1.12249.14 - KRSLR2 ProdSlices',
'2.1.12261.17 - KRSLR2 ProdSlices',
'x-ms-clitelem',
'1,0,0,,',
'Set-Cookie',
'fpc=AgoMMYBxVldPk7TDVmBnYtgWPr5BAQAAABJ6NtkOAAAA; expires=Wed, 29-Dec-2021 07:36:51 GMT; path=/; secure; HttpOnly; SameSite=None',
'fpc=Ath_JBNpeuVAhwFQ0ViIOVHLj78gAQAAALaIU9kOAAAA; expires=Thu, 20-Jan-2022 08:35:02 GMT; path=/; secure; HttpOnly; SameSite=None',
'Set-Cookie',
'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
'Set-Cookie',
'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
'Date',
'Mon, 29 Nov 2021 07:36:50 GMT',
'Tue, 21 Dec 2021 08:35:02 GMT',
'Content-Length',
'1374'
'1393'
]);
nock('https://management.azure.com:443', {"encodedQueryParams":true})
@ -125,23 +125,23 @@ nock('https://management.azure.com:443', {"encodedQueryParams":true})
'Expires',
'-1',
'ETag',
`W/"datetime'2021-11-29T07%3A37%3A00.9040836Z'"`,
`W/"datetime'2021-12-21T08%3A35%3A12.0802951Z'"`,
'x-ms-request-id',
'cf196434-8c1d-44f0-87a7-b07694cf2f14',
'881eb399-5f62-470b-9688-c30eb5ace531',
'request-id',
'cf196434-8c1d-44f0-87a7-b07694cf2f14',
'881eb399-5f62-470b-9688-c30eb5ace531',
'elapsed-time',
'2483',
'1947',
'Strict-Transport-Security',
'max-age=31536000; includeSubDomains',
'x-ms-ratelimit-remaining-subscription-writes',
'1199',
'x-ms-correlation-request-id',
'f35c88b7-0855-4c3a-b3e0-1cd6cef6c80f',
'dd813805-e194-447a-822f-e938b9f00ce1',
'x-ms-routing-request-id',
'JAPANEAST:20211129T073702Z:f35c88b7-0855-4c3a-b3e0-1cd6cef6c80f',
'SOUTHEASTASIA:20211221T083513Z:dd813805-e194-447a-822f-e938b9f00ce1',
'X-Content-Type-Options',
'nosniff',
'Date',
'Mon, 29 Nov 2021 07:37:01 GMT'
'Tue, 21 Dec 2021 08:35:12 GMT'
]);

Просмотреть файл

@ -23,19 +23,19 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
'P3P',
'CP="DSP CUR OTPi IND OTRi ONL FIN"',
'x-ms-request-id',
'7f6f33c0-2e74-490e-8f6c-dc6588f73b00',
'f480e226-70a1-4283-a533-9f5ea7f00c00',
'x-ms-ests-server',
'2.1.12249.14 - SEASLR1 ProdSlices',
'2.1.12261.17 - SEASLR2 ProdSlices',
'Set-Cookie',
'fpc=AsHO3CCmJaxOhH5bP1Y1DwQ; expires=Wed, 29-Dec-2021 07:37:08 GMT; path=/; secure; HttpOnly; SameSite=None',
'fpc=AoeIgI_6MqxPraHs8RK0vZI; expires=Thu, 20-Jan-2022 08:35:20 GMT; path=/; secure; HttpOnly; SameSite=None',
'Set-Cookie',
'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr052CMdHYRfYQfVAKKJSKtPfcq1g_XJthoZJQslI_UaDgHP8IVF50B1Ylpek5xFIEaUDn1RLvojsiFKGLU5uSZ1eynkvWBs8BsuMGlBQR8hzvu8NvyJ6IRjZ6PAdWlTGDuJ0fzrMPaFFbU4yd88lJdmXD-umYnEnO8U5llcqyRUAgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None',
'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr8SVLKN1vrcqVimxO-1gX7tmo3m8vNJC7e_f7ELJr7IWWVMs0P2uyjk0wT_O2hy3HvRwZnvtY7pcto0a9aQhVJMp6gnuEogSEiRV8VN0cX1uKaLYHjfvu176KxGhQ3rsPg7mQ0020qOEpvooPuB1SZBrRxA6asrLip2Q74Ts6WWYgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None',
'Set-Cookie',
'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
'Set-Cookie',
'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
'Date',
'Mon, 29 Nov 2021 07:37:08 GMT',
'Tue, 21 Dec 2021 08:35:20 GMT',
'Content-Length',
'980'
]);
@ -58,25 +58,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
'P3P',
'CP="DSP CUR OTPi IND OTRi ONL FIN"',
'x-ms-request-id',
'072cda1b-922b-40cc-b9fc-db3c78473b00',
'9dd0c33e-2a73-4b99-a0e0-506fa6250b00',
'x-ms-ests-server',
'2.1.12249.14 - KRSLR2 ProdSlices',
'2.1.12261.17 - KRSLR2 ProdSlices',
'Set-Cookie',
'fpc=Attfl_2Th2tJuX6uDHUcOkI; expires=Wed, 29-Dec-2021 07:37:08 GMT; path=/; secure; HttpOnly; SameSite=None',
'fpc=AuhDB6YIeaRFpdPTtSz2B5w; expires=Thu, 20-Jan-2022 08:35:20 GMT; path=/; secure; HttpOnly; SameSite=None',
'Set-Cookie',
'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrTfNNTGnw1TIsg12xfIVUMpbfKJiCmgw_-b_3f5rEWDWOBh1Uk_oReSrmi75jhn-1v51EDtAnCA51A4vg5TUpPd-F24wlMffvIJAJzVINjQtDzfE4BJ6zpW_DJpdZiDRilergJgtlHyeS0c6dWtGBpDON4Nr7AqxKSrxLNlKvmnogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None',
'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrDhiNdYLzrrd2iifI1GIwMin8sjx3uFdzn9Kca1u6SuEsQtT20IAX6EAhKgLOZv6qh2aDTqUkRnZjWuEKZrjITurOW4ThC59HxvmjEFkv5TvjKCWP_nJV2wAjNXxck4PLnUFEnPwVLd7g91Vu18n2JkXHUjO9kUKz5loaeGI0oVkgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None',
'Set-Cookie',
'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
'Set-Cookie',
'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
'Date',
'Mon, 29 Nov 2021 07:37:08 GMT',
'Tue, 21 Dec 2021 08:35:20 GMT',
'Content-Length',
'1753'
]);
nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
.post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.3&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=801dc019-8e3c-423e-9605-a32c39808b68&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")
.post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.4.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=7e9d614a-cbe3-4268-ab17-a319cadc44f3&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"}, [
'Cache-Control',
'no-store, no-cache',
@ -93,21 +93,21 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
'P3P',
'CP="DSP CUR OTPi IND OTRi ONL FIN"',
'x-ms-request-id',
'3907abd4-3310-4e27-b9d6-d5757b7c3900',
'9dd0c33e-2a73-4b99-a0e0-506fa8250b00',
'x-ms-ests-server',
'2.1.12249.14 - SEASLR1 ProdSlices',
'2.1.12261.17 - KRSLR2 ProdSlices',
'x-ms-clitelem',
'1,0,0,,',
'Set-Cookie',
'fpc=Amz5vDPOZHRHmAGvNXwOcEsWPr5BAQAAACR6NtkOAAAA; expires=Wed, 29-Dec-2021 07:37:08 GMT; path=/; secure; HttpOnly; SameSite=None',
'fpc=ArFaw8QupTpEopVkvRrnTRDLj78gAQAAAMeIU9kOAAAA; expires=Thu, 20-Jan-2022 08:35:20 GMT; path=/; secure; HttpOnly; SameSite=None',
'Set-Cookie',
'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
'Set-Cookie',
'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
'Date',
'Mon, 29 Nov 2021 07:37:08 GMT',
'Tue, 21 Dec 2021 08:35:20 GMT',
'Content-Length',
'1374'
'1393'
]);
nock('https://management.azure.com:443', {"encodedQueryParams":true})
@ -121,23 +121,23 @@ nock('https://management.azure.com:443', {"encodedQueryParams":true})
'Expires',
'-1',
'x-ms-request-id',
'15eab2e1-23d3-4649-b771-85cdf92f6272',
'9e03c8c3-7b03-495c-8b8a-cef61512db2c',
'request-id',
'15eab2e1-23d3-4649-b771-85cdf92f6272',
'9e03c8c3-7b03-495c-8b8a-cef61512db2c',
'elapsed-time',
'976',
'967',
'Strict-Transport-Security',
'max-age=31536000; includeSubDomains',
'x-ms-ratelimit-remaining-subscription-deletes',
'14998',
'x-ms-correlation-request-id',
'12fabb03-1bdb-4788-878e-8494c23c6f1c',
'f7fa296a-203f-4268-8c02-b2ddf084752b',
'x-ms-routing-request-id',
'JAPANEAST:20211129T073713Z:12fabb03-1bdb-4788-878e-8494c23c6f1c',
'SOUTHEASTASIA:20211221T083526Z:f7fa296a-203f-4268-8c02-b2ddf084752b',
'X-Content-Type-Options',
'nosniff',
'Date',
'Mon, 29 Nov 2021 07:37:13 GMT',
'Tue, 21 Dec 2021 08:35:25 GMT',
'Content-Length',
'0'
]);
@ -161,17 +161,17 @@ nock('https://management.azure.com:443', {"encodedQueryParams":true})
'x-ms-ratelimit-remaining-subscription-reads',
'11997',
'x-ms-request-id',
'49e7149b-2750-4c19-96d1-cb1f15af650e',
'77309677-0bb5-45e4-810c-3a1ec2376bef',
'x-ms-correlation-request-id',
'49e7149b-2750-4c19-96d1-cb1f15af650e',
'77309677-0bb5-45e4-810c-3a1ec2376bef',
'x-ms-routing-request-id',
'JAPANEAST:20211129T073714Z:49e7149b-2750-4c19-96d1-cb1f15af650e',
'SOUTHEASTASIA:20211221T083526Z:77309677-0bb5-45e4-810c-3a1ec2376bef',
'Strict-Transport-Security',
'max-age=31536000; includeSubDomains',
'X-Content-Type-Options',
'nosniff',
'Date',
'Mon, 29 Nov 2021 07:37:13 GMT',
'Tue, 21 Dec 2021 08:35:25 GMT',
'Content-Length',
'133'
]);

Просмотреть файл

@ -23,19 +23,19 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
'P3P',
'CP="DSP CUR OTPi IND OTRi ONL FIN"',
'x-ms-request-id',
'4db399e4-6594-4f67-8a89-15a7ee0d3e00',
'c11f8f9a-6879-4d56-8cc3-1fb244120d00',
'x-ms-ests-server',
'2.1.12249.14 - SEASLR2 ProdSlices',
'2.1.12261.17 - SEASLR2 ProdSlices',
'Set-Cookie',
'fpc=AmMAZdqrQqpKkdwpllB4nEM; expires=Wed, 29-Dec-2021 07:37:02 GMT; path=/; secure; HttpOnly; SameSite=None',
'fpc=ApgTigJ6mpxLnQNWQ-l678Q; expires=Thu, 20-Jan-2022 08:35:13 GMT; path=/; secure; HttpOnly; SameSite=None',
'Set-Cookie',
'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrWERAkm_GHcXI9CYdIWFwFdCQV6NfA9GEScVJqoQKDZPjPdOM_tNYcYeK5ZCnBkf3E7ySNUry7OYQeUdMNnC5nru7b-HHSOPWC8l99WmSbardH7xbB-rzZO-LhxeyB160dX40XVT-imzJJ588x-8LdecgVnP0eswjLYflUU0AeUsgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None',
'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrnosL7YYTo7Ix4K-rLYN88o3ukFM9DUtFjhieHI6295baf2mGf3WTh5TYerNI3zTxMP1_5t0VPefcOx3Zs7TqlpeHZkr3pM97diLD9sAYhJWcolJOdT7_ZCtvyTwNE-sG9Yu0dk-9XV0h_0dX8-BcPAAatDHgVK_0POXA1ZXuZFAgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None',
'Set-Cookie',
'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
'Set-Cookie',
'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
'Date',
'Mon, 29 Nov 2021 07:37:02 GMT',
'Tue, 21 Dec 2021 08:35:13 GMT',
'Content-Length',
'980'
]);
@ -58,25 +58,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
'P3P',
'CP="DSP CUR OTPi IND OTRi ONL FIN"',
'x-ms-request-id',
'7f6f33c0-2e74-490e-8f6c-dc6550f73b00',
'f480e226-70a1-4283-a533-9f5e7df00c00',
'x-ms-ests-server',
'2.1.12249.14 - SEASLR1 ProdSlices',
'2.1.12261.17 - SEASLR2 ProdSlices',
'Set-Cookie',
'fpc=ApCQv3B5Y6ZKlIAJq3DAZpM; expires=Wed, 29-Dec-2021 07:37:02 GMT; path=/; secure; HttpOnly; SameSite=None',
'fpc=Ak83AXmifn9KtppM3yXpGv8; expires=Thu, 20-Jan-2022 08:35:13 GMT; path=/; secure; HttpOnly; SameSite=None',
'Set-Cookie',
'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrLx_CpKwlcg2tGH4QArvVnxsCC2-olWyPefwo59aPzx9aXkwZwzTjVkxQvq3Vi-F4Fs_nIB0HOsxSKEpfoj2c6xJlLQKijM4lCKX72Al3vJkx5axdvGntUoYoQWfxh3UxA9yNeEh7TERNoJQRtUDHGTDILKmE5tL4ZyAGF3s9og8gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None',
'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrAzV59MtcBVOq4Y4UXPWQvb-0RZ9OsLtESxFi9Tw2oaOmK1wB5DRMYGQBPwVcBAbpQuHomirTRlvSqDiUJeuvRjkgB2TVKn23CedKs9cGy0ScQgjBCWnONAQXKEZgkhtV7A-TS5WXFieetpik0CMuko3ZUSCWsa0Dd3Eq782bba8gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None',
'Set-Cookie',
'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
'Set-Cookie',
'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
'Date',
'Mon, 29 Nov 2021 07:37:02 GMT',
'Tue, 21 Dec 2021 08:35:13 GMT',
'Content-Length',
'1753'
]);
nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
.post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.3&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=5fc5ce79-53e6-4cf0-953c-fc533ecbc425&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")
.post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.4.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=f59569aa-17a8-49c1-ab5a-d95ed1380562&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"}, [
'Cache-Control',
'no-store, no-cache',
@ -93,21 +93,21 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
'P3P',
'CP="DSP CUR OTPi IND OTRi ONL FIN"',
'x-ms-request-id',
'23a0a219-e578-46a1-bb8e-ccefa2e53a00',
'c11f8f9a-6879-4d56-8cc3-1fb246120d00',
'x-ms-ests-server',
'2.1.12249.14 - SEASLR1 ProdSlices',
'2.1.12261.17 - SEASLR2 ProdSlices',
'x-ms-clitelem',
'1,0,0,,',
'Set-Cookie',
'fpc=Akba4QhUsmRIrdehEFbOW5IWPr5BAQAAAB56NtkOAAAA; expires=Wed, 29-Dec-2021 07:37:02 GMT; path=/; secure; HttpOnly; SameSite=None',
'fpc=AmI8vI4wfYNNlfI0v0ANMe7Lj78gAQAAAMKIU9kOAAAA; expires=Thu, 20-Jan-2022 08:35:14 GMT; path=/; secure; HttpOnly; SameSite=None',
'Set-Cookie',
'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
'Set-Cookie',
'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
'Date',
'Mon, 29 Nov 2021 07:37:02 GMT',
'Tue, 21 Dec 2021 08:35:13 GMT',
'Content-Length',
'1374'
'1393'
]);
nock('https://management.azure.com:443', {"encodedQueryParams":true})
@ -127,25 +127,25 @@ nock('https://management.azure.com:443', {"encodedQueryParams":true})
'Expires',
'-1',
'ETag',
`W/"datetime'2021-11-29T07%3A37%3A00.9040836Z'"`,
`W/"datetime'2021-12-21T08%3A35%3A12.0802951Z'"`,
'Vary',
'Accept-Encoding,Accept-Encoding',
'x-ms-request-id',
'f5e4ad66-1f14-43ae-b298-3d47ce67be19',
'ebbfc4ea-d17a-4a83-a48c-3453c29f4b26',
'request-id',
'f5e4ad66-1f14-43ae-b298-3d47ce67be19',
'ebbfc4ea-d17a-4a83-a48c-3453c29f4b26',
'elapsed-time',
'222',
'165',
'Strict-Transport-Security',
'max-age=31536000; includeSubDomains',
'x-ms-ratelimit-remaining-subscription-reads',
'11999',
'x-ms-correlation-request-id',
'33151f26-9a01-4b8e-ba68-3a1b92ec5007',
'5af7766b-5b0e-49fb-b6f0-60e0dc5a3b1f',
'x-ms-routing-request-id',
'JAPANEAST:20211129T073703Z:33151f26-9a01-4b8e-ba68-3a1b92ec5007',
'SOUTHEASTASIA:20211221T083514Z:5af7766b-5b0e-49fb-b6f0-60e0dc5a3b1f',
'X-Content-Type-Options',
'nosniff',
'Date',
'Mon, 29 Nov 2021 07:37:02 GMT'
'Tue, 21 Dec 2021 08:35:14 GMT'
]);

Просмотреть файл

@ -23,19 +23,19 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
'P3P',
'CP="DSP CUR OTPi IND OTRi ONL FIN"',
'x-ms-request-id',
'4db399e4-6594-4f67-8a89-15a7f80d3e00',
'c11f8f9a-6879-4d56-8cc3-1fb24f120d00',
'x-ms-ests-server',
'2.1.12249.14 - SEASLR2 ProdSlices',
'2.1.12261.17 - SEASLR2 ProdSlices',
'Set-Cookie',
'fpc=Ajbdle-chxJEmKmEeeBgEys; expires=Wed, 29-Dec-2021 07:37:03 GMT; path=/; secure; HttpOnly; SameSite=None',
'fpc=AmUNeS38POFClaEF95yiONs; expires=Thu, 20-Jan-2022 08:35:14 GMT; path=/; secure; HttpOnly; SameSite=None',
'Set-Cookie',
'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr7v48qN9zN6oQBaBaN5Kx81_4shUeH-fxIw9kkDmFNQmmTAC9UzxzI1qUbkbcMlXb7QAhcep2-RGK5yDdz-tY6GxD8urr8gl78HR03OYtuGEtv977MwfYJuPG5qSbJtVx2uZLy_xUIS0pffnD70LW6C-X0k5W0qBwXCKgWLJBDtUgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None',
'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrPgCzwJYYOpXJlSVjyq3k0nw2Kb1vnpoy6nISOlRi8rDZHA6AmAqGVsbKjTPzGSekSYN0g-GwSqcQ3FEDbLKFpoNw4wfR5iFd0k2Rb-ilw9e9ODyPJ5106qh8OZVUJqWwS1zeCWwS05lXnnPEiqh7PZUlDV_A4S-5dKCNVldTA2ogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None',
'Set-Cookie',
'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
'Set-Cookie',
'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
'Date',
'Mon, 29 Nov 2021 07:37:03 GMT',
'Tue, 21 Dec 2021 08:35:14 GMT',
'Content-Length',
'980'
]);
@ -58,25 +58,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
'P3P',
'CP="DSP CUR OTPi IND OTRi ONL FIN"',
'x-ms-request-id',
'23a0a219-e578-46a1-bb8e-ccefabe53a00',
'792de6b9-024e-4c20-b2f9-0fab94d90a00',
'x-ms-ests-server',
'2.1.12249.14 - SEASLR1 ProdSlices',
'2.1.12261.17 - KRSLR1 ProdSlices',
'Set-Cookie',
'fpc=AmW9AvMEZdBOpBU4lXKtJfo; expires=Wed, 29-Dec-2021 07:37:03 GMT; path=/; secure; HttpOnly; SameSite=None',
'fpc=Aiy9JPQMSkZLvNG8chHP3pE; expires=Thu, 20-Jan-2022 08:35:15 GMT; path=/; secure; HttpOnly; SameSite=None',
'Set-Cookie',
'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrd8JAbpss64WXl6RbBZERJz8HTNr2mM8tLrKCHR6Y9sSFGFcCCJB3FOauQQgOA2f6GL1_JeTqr_wmtwf_zKZRTaQ28Q8IOVQn4ZJ6BYnbI8CPonTb08qVTQ7q4dKct4JkL5cT9JBCTBwX8Rw0eYRaSoU8xmOBxeu2s0SC0DKEdnsgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None',
'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrBdcr3CX5I7CiNtTWXaon0KuvHi1z_lVd7QZvqJVerr395dMR722v2_-UheFF6rBLZIzaWf8Ogj85Q8lUbhWY0_TANJitnwjVU4F0XroGr4X5wsI241aP4xdeICnAFDG7Ud6EUB6bmtcpv4a0_aOKAiU8kz4skjRXNbpxTz6q2QsgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None',
'Set-Cookie',
'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
'Set-Cookie',
'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
'Date',
'Mon, 29 Nov 2021 07:37:03 GMT',
'Tue, 21 Dec 2021 08:35:14 GMT',
'Content-Length',
'1753'
]);
nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
.post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.3&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=650c3d18-f071-436f-b369-f499e865aaa6&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")
.post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.4.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=4b05b867-7c3d-406b-8ac8-a4d5bd540b43&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"}, [
'Cache-Control',
'no-store, no-cache',
@ -93,27 +93,27 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
'P3P',
'CP="DSP CUR OTPi IND OTRi ONL FIN"',
'x-ms-request-id',
'2aa0e74a-1391-4187-b36e-afa92bea3800',
'792de6b9-024e-4c20-b2f9-0fab95d90a00',
'x-ms-ests-server',
'2.1.12249.14 - KRSLR1 ProdSlices',
'2.1.12261.17 - KRSLR1 ProdSlices',
'x-ms-clitelem',
'1,0,0,,',
'Set-Cookie',
'fpc=AmRyFGxBmH9OhClv5_rwaYIWPr5BAQAAAB96NtkOAAAA; expires=Wed, 29-Dec-2021 07:37:04 GMT; path=/; secure; HttpOnly; SameSite=None',
'fpc=ArlLPKhWmsZMgQtNHza3cTLLj78gAQAAAMKIU9kOAAAA; expires=Thu, 20-Jan-2022 08:35:15 GMT; path=/; secure; HttpOnly; SameSite=None',
'Set-Cookie',
'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
'Set-Cookie',
'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
'Date',
'Mon, 29 Nov 2021 07:37:04 GMT',
'Tue, 21 Dec 2021 08:35:14 GMT',
'Content-Length',
'1374'
'1393'
]);
nock('https://management.azure.com:443', {"encodedQueryParams":true})
.get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Search/searchServices')
.query(true)
.reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1479759b9ce3f7af4bd5ffc5131fbe8d147779bf5a499d6c5aa2daa6573f7e1def9c3fbb383f3ed7bd34f1f6cefefeeed6f3fdc9d3ed83e989eef3c98ce26e77bfbbb77ebbca9d6f534ffbcaed6abe6eee2faa79b366fdabbabbaba2c6679dddcfda298d655539db7e3d779564fe7771bfef13aaf2f8b692eafc8478d7cf4eedd47a38f96d98230fb28fe657bbdc2973740a6866535cd30186a7c9a356dfad56bfa90505be5755b508b47bff8a33a5f95c5343ba9d6cbf6a347bbf47546dfe125f751d366ed9a5a7f54af97cb62794140e4a3a7799b1525bea18f08ee65d1d08bd4e2357d0d149bf5749ae7b37c46dfcfaba6a5afbea866f866969f67ebb2a5cf57eb0961f0226fafaafaed31b56f00f074994d4a7e6f29dfbc5a97f9eb9c10a2d95ae10f6af5bdef8f3e9a5caf327ee345b5cc3ffa2504af2e2ea9f7d3e56c5515cbf6a45a2ef32906448df04233cfea7cf6525a3d2f966f5fe91ceaf7f99bec82c07df7eeeffbd18c5ab4c522ff786f676f777b77777befe19b9d07bffbbde37bf8676767fc70677fe7e0dea73ff5f1effb11ba6edeae819f4e1ed16839cbead947bfe49710d865feae456f1f3d5aaecbf297","fc3f9952c9507e020000"], [
.reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1479759b9ce3f7af4bd5ffc5131fbe8d147779bf5a499d6c5aa2daa6573f7e1def9c3fbb383f3ed7bd34f1f6cefefeeed6f3fdc9d3ed83e989eef3c98ce26e77bfbbb77ebbca9d6f534ffbcaed6abe6eee2faa79b366fdabbabbaba2c6679dddcfda298d655539db7e3d779564fe7771bfef13aaf2f8b692eafc8478d7cf4eedd47a38f96d98230fb28fe657bbdc2973740a6866535cd30186a7c9a356dfad56bfa90505be5755b508b47bff8a33a5f95c5343ba9d6cbf6a347bbf47546dfe125f751d366ed9a5a7f54af97cb62794140e4a3a7799b1525bea18f08ee65d1d08bd4e2357d0d149bf5749ae7b37c46dfcfaba6a5afbea866f866969f67ebb2a5cf57eb0961f0226fafaafaed31b56f00f074994d4a7e6f29dfbc5a97f9eb9c10a2d95ae10f6af5bdef8f3e9a5caf327ee345b5cc3ffa2504af2e2ea9f7d3e56c5515cbf6a45a2ef32906448df04233cfea7cf6525a3d2f966f5fe91ceaf7f99bec82c07df7eeeffbd18c5ab4c522ff786f676f777b776f7b6ff7cdcec1ef7eeff8de7dfa67776fbc73b0b3f7f0feee4f7dfcfb7e84ae9bb76be0a79347345aceb27af6d12ff925047699bf6bd1db478f96ebb2fc","25ff0f4fd2ff4c7e020000"], [
'Cache-Control',
'no-cache',
'Pragma',
@ -129,21 +129,21 @@ nock('https://management.azure.com:443', {"encodedQueryParams":true})
'Vary',
'Accept-Encoding,Accept-Encoding',
'x-ms-request-id',
'99d32749-ce18-4517-a100-311c06c7b445',
'5475f7bf-8680-4a3f-a4ee-f58a9ba44ffe',
'request-id',
'99d32749-ce18-4517-a100-311c06c7b445',
'5475f7bf-8680-4a3f-a4ee-f58a9ba44ffe',
'elapsed-time',
'182',
'318',
'Strict-Transport-Security',
'max-age=31536000; includeSubDomains',
'x-ms-ratelimit-remaining-subscription-reads',
'11998',
'x-ms-correlation-request-id',
'60c8aaa8-6c7c-4f23-a3f4-d4704a4fa5b7',
'1f11eb65-a233-401b-a427-f010b56d97a8',
'x-ms-routing-request-id',
'JAPANEAST:20211129T073704Z:60c8aaa8-6c7c-4f23-a3f4-d4704a4fa5b7',
'SOUTHEASTASIA:20211221T083516Z:1f11eb65-a233-401b-a427-f010b56d97a8',
'X-Content-Type-Options',
'nosniff',
'Date',
'Mon, 29 Nov 2021 07:37:04 GMT'
'Tue, 21 Dec 2021 08:35:15 GMT'
]);

Просмотреть файл

@ -61,7 +61,7 @@ export class SearchManagementClient extends coreClient.ServiceClient {
credential: credentials
};
const packageDetails = `azsdk-js-arm-search/1.0.0-beta.1`;
const packageDetails = `azsdk-js-arm-search/3.0.0`;
const userAgentPrefix =
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`