diff --git a/sdk/search/azure-mgmt-search/tests/conftest.py b/sdk/search/azure-mgmt-search/tests/conftest.py index de673c627a44..eac32968d866 100644 --- a/sdk/search/azure-mgmt-search/tests/conftest.py +++ b/sdk/search/azure-mgmt-search/tests/conftest.py @@ -31,6 +31,8 @@ from dotenv import load_dotenv from devtools_testutils import test_proxy, add_general_regex_sanitizer +from devtools_testutils import add_header_regex_sanitizer, add_body_key_sanitizer + # Ignore async tests for Python < 3.5 collect_ignore_glob = [] @@ -44,4 +46,7 @@ def add_sanitizers(test_proxy): subscription_id = os.environ.get("AZURE_SUBSCRIPTION_ID", "00000000-0000-0000-0000-000000000000") tenant_id = os.environ.get("AZURE_TENANT_ID", "00000000-0000-0000-0000-000000000000") add_general_regex_sanitizer(regex=subscription_id, value="00000000-0000-0000-0000-000000000000") - add_general_regex_sanitizer(regex=tenant_id, value="00000000-0000-0000-0000-000000000000") \ No newline at end of file + add_general_regex_sanitizer(regex=tenant_id, value="00000000-0000-0000-0000-000000000000") + add_header_regex_sanitizer(key="Set-Cookie", value="[set-cookie;]") + add_header_regex_sanitizer(key="Cookie", value="cookie;") + add_body_key_sanitizer(json_path="$..access_token", value="access_token") \ No newline at end of file diff --git a/sdk/search/azure-mgmt-search/tests/recordings/test_mgmt_search.pyTestMgmtSearchtest_search_admin_keys.json b/sdk/search/azure-mgmt-search/tests/recordings/test_mgmt_search.pyTestMgmtSearchtest_search_admin_keys.json index a27079bafecf..4ca50f7a9d2a 100644 --- a/sdk/search/azure-mgmt-search/tests/recordings/test_mgmt_search.pyTestMgmtSearchtest_search_admin_keys.json +++ b/sdk/search/azure-mgmt-search/tests/recordings/test_mgmt_search.pyTestMgmtSearchtest_search_admin_keys.json @@ -7,7 +7,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-identity/1.7.2 Python/3.8.8 (Windows-10-10.0.19041-SP0)" + "User-Agent": "azsdk-python-identity/1.9.0b1 Python/3.9.10 (Windows-10-10.0.22000-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -17,17 +17,13 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "1753", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Nov 2021 05:47:55 GMT", + "Date": "Fri, 04 Mar 2022 09:14:17 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", - "Set-Cookie": [ - "fpc=AoicKnIQ13FCjKBqQ-dV3I7mIjFAAgAAAOOxN9kOAAAA; expires=Thu, 30-Dec-2021 05:47:55 GMT; path=/; secure; HttpOnly; SameSite=None", - "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", - "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" - ], + "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.12231.8 - WUS2 ProdSlices", - "x-ms-request-id": "55fdeb16-7f94-4aef-927e-9d7a446e8502" + "x-ms-ests-server": "2.1.12507.17 - SCUS ProdSlices", + "x-ms-request-id": "3db8a055-a148-4caa-bb08-0ea0fb8db300" }, "ResponseBody": { "token_endpoint": "https://login.microsoftonline.com/00000000-0000-0000-0000-000000000000/oauth2/v2.0/token", @@ -104,8 +100,8 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "Cookie": "fpc=AoicKnIQ13FCjKBqQ-dV3I7mIjFAAgAAAOOxN9kOAAAA; stsservicecookie=estsfd; x-ms-gateway-slice=estsfd", - "User-Agent": "azsdk-python-identity/1.7.2 Python/3.8.8 (Windows-10-10.0.19041-SP0)" + "Cookie": "cookie;", + "User-Agent": "azsdk-python-identity/1.9.0b1 Python/3.9.10 (Windows-10-10.0.22000-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -115,17 +111,13 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "945", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Nov 2021 05:47:55 GMT", + "Date": "Fri, 04 Mar 2022 09:14:17 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", - "Set-Cookie": [ - "fpc=AoicKnIQ13FCjKBqQ-dV3I7mIjFAAgAAAOOxN9kOAAAA; expires=Thu, 30-Dec-2021 05:47:55 GMT; path=/; secure; HttpOnly; SameSite=None", - "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", - "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" - ], + "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.12249.14 - KRSLR1 ProdSlices", - "x-ms-request-id": "c3233cd9-9248-4127-b0f2-7c6ef9763e00" + "x-ms-ests-server": "2.1.12529.17 - SEASLR2 ProdSlices", + "x-ms-request-id": "9eee5441-91b7-4031-be95-4d3592720d00" }, "ResponseBody": { "tenant_discovery_endpoint": "https://login.microsoftonline.com/common/.well-known/openid-configuration", @@ -180,47 +172,43 @@ "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", - "client-request-id": "9a3af1e0-2f38-4be5-810c-74b9eace74d3", + "client-request-id": "3746ec75-6530-407a-8f7e-f131f66f17b9", "Connection": "keep-alive", - "Content-Length": "286", + "Content-Length": "289", "Content-Type": "application/x-www-form-urlencoded", - "Cookie": "fpc=AoicKnIQ13FCjKBqQ-dV3I7mIjFAAgAAAOOxN9kOAAAA; stsservicecookie=estsfd; x-ms-gateway-slice=estsfd", - "User-Agent": "azsdk-python-identity/1.7.2 Python/3.8.8 (Windows-10-10.0.19041-SP0)", + "Cookie": "cookie;", + "User-Agent": "azsdk-python-identity/1.9.0b1 Python/3.9.10 (Windows-10-10.0.22000-SP0)", "x-client-cpu": "x64", "x-client-current-telemetry": "4|730,0|", "x-client-last-telemetry": "4|0|||", "x-client-os": "win32", "x-client-sku": "MSAL.Python", - "x-client-ver": "1.16.0", + "x-client-ver": "1.17.0", "x-ms-lib-capability": "retry-after, h429" }, - "RequestBody": "client_id=8c41a920-007a-4844-a189-2d0efe39f51e\u0026grant_type=client_credentials\u0026client_info=1\u0026client_secret=o0XWF_siD-FhI.5AE83-u0GaQHW_GP7cjy\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D\u0026scope=https%3A%2F%2Fmanagement.azure.com%2F.default", + "RequestBody": "client_id=a2df54d5-ab03-4725-9b80-9a00b3b1967f\u0026grant_type=client_credentials\u0026client_info=1\u0026client_secret=0vj7Q~IsFayrD0V_8oyOfygU-GE3ELOabq95a\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D\u0026scope=https%3A%2F%2Fmanagement.azure.com%2F.default", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", - "client-request-id": "9a3af1e0-2f38-4be5-810c-74b9eace74d3", - "Content-Length": "1349", + "client-request-id": "3746ec75-6530-407a-8f7e-f131f66f17b9", + "Content-Length": "93", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Nov 2021 05:47:55 GMT", + "Date": "Fri, 04 Mar 2022 09:14:18 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", - "Set-Cookie": [ - "fpc=AoicKnIQ13FCjKBqQ-dV3I7mIjFAAwAAAOOxN9kOAAAA; expires=Thu, 30-Dec-2021 05:47:55 GMT; path=/; secure; HttpOnly; SameSite=None", - "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", - "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" - ], + "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.12231.8 - SCUS ProdSlices", - "x-ms-request-id": "f80f3599-936c-48b6-b108-34e266356a02" + "x-ms-ests-server": "2.1.12507.17 - NCUS ProdSlices", + "x-ms-request-id": "b9f81a21-76f7-4b36-96ff-f64e2a048300" }, "ResponseBody": { "token_type": "Bearer", "expires_in": 3599, "ext_expires_in": 3599, - "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Imwzc1EtNTBjQ0g0eEJWWkxIVEd3blNSNzY4MCIsImtpZCI6Imwzc1EtNTBjQ0g0eEJWWkxIVEd3blNSNzY4MCJ9.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuYXp1cmUuY29tIiwiaXNzIjoiaHR0cHM6Ly9zdHMud2luZG93cy5uZXQvNTQ4MjZiMjItMzhkNi00ZmIyLWJhZDktYjdiOTNhM2U5YzVhLyIsImlhdCI6MTYzODI1MDk3NSwibmJmIjoxNjM4MjUwOTc1LCJleHAiOjE2MzgyNTQ4NzUsImFpbyI6IkUyWmdZTWhsTHZaOU1yT1lJMmIycmUrL3hEUGVBQUE9IiwiYXBwaWQiOiI4YzQxYTkyMC0wMDdhLTQ4NDQtYTE4OS0yZDBlZmUzOWY1MWUiLCJhcHBpZGFjciI6IjEiLCJpZHAiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC81NDgyNmIyMi0zOGQ2LTRmYjItYmFkOS1iN2I5M2EzZTljNWEvIiwib2lkIjoiMjI5YmVmMDAtNjUzNi00YjZhLTgyZDAtZWM4M2JmMWNkYTdlIiwicmgiOiIwLkFUY0FJbXVDVk5ZNHNrLTYyYmU1T2o2Y1dpQ3BRWXg2QUVSSW9Za3REdjQ1OVI0M0FBQS4iLCJzdWIiOiIyMjliZWYwMC02NTM2LTRiNmEtODJkMC1lYzgzYmYxY2RhN2UiLCJ0aWQiOiI1NDgyNmIyMi0zOGQ2LTRmYjItYmFkOS1iN2I5M2EzZTljNWEiLCJ1dGkiOiJtVFVQLUd5VHRraXhDRFRpWmpWcUFnIiwidmVyIjoiMS4wIiwieG1zX3RjZHQiOjE0MTIyMDY4NDB9.l_Ki4vgYUi-BKLPYbDjjDF8u1J8Vr2A6-VxSK7y8j7xOYbaxPMcenSQfAYXTsmykMIL7nKwKqMYTTW0SSwHdwS9VW72S-1A7QlmdxDmpLKAe2sVJ2NVN893RTplYD6YV0M3E1WOIVdHgRSNVaAbqpondoS-JstFvIzdm1H6y8qeT8Yk9NLy2fk8j9AarOwTmLx471qZnJX4I8gngfik8S6e2JixMRLD9qAe1bkjmupHEUIu6R6-mfOfBEGQl3Nnsnpdq_8qduWU6QH3Zf0h5Dk2pEG5_AXhgCFRyYJHmXMOoocIPkI2sA5EBK6nRdgtMLI9KCxSkxlOJOcyuTS9tJw" + "access_token": "access_token" } }, { @@ -233,27 +221,37 @@ "Connection": "keep-alive", "Content-Length": "129", "Content-Type": "application/json", - "User-Agent": "azsdk-python-mgmt-search/8.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "10bc19ea-51a1-11ec-a808-70b5e82527ff" + "User-Agent": "azsdk-python-mgmt-search/8.0.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "7f4c2550-9b9b-11ec-bbeb-d08e79139a4a" + }, + "RequestBody": { + "location": "westus", + "sku": { + "name": "free" + }, + "properties": { + "replicaCount": 1, + "partitionCount": 1, + "hostingMode": "Default" + } }, - "RequestBody": "{\u0022location\u0022: \u0022westus\u0022, \u0022sku\u0022: {\u0022name\u0022: \u0022free\u0022}, \u0022properties\u0022: {\u0022replicaCount\u0022: 1, \u0022partitionCount\u0022: 1, \u0022hostingMode\u0022: \u0022Default\u0022}}", "StatusCode": 201, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Length": "544", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Nov 2021 05:47:58 GMT", - "elapsed-time": "1327", - "ETag": "W/\u0022datetime\u00272021-11-30T05%3A47%3A58.1722939Z\u0027\u0022", + "Date": "Fri, 04 Mar 2022 09:14:21 GMT", + "elapsed-time": "1174", + "ETag": "W/\u0022datetime\u00272022-03-04T09%3A14%3A20.9111901Z\u0027\u0022", "Expires": "-1", "Pragma": "no-cache", - "request-id": "10bc19ea-51a1-11ec-a808-70b5e82527ff", + "request-id": "7f4c2550-9b9b-11ec-bbeb-d08e79139a4a", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "a14ba9dd-58c2-4096-ae43-4ea776bd65d6", + "x-ms-correlation-request-id": "e4c4e347-fc1d-49a1-a96f-c3cde922c687", "x-ms-ratelimit-remaining-subscription-writes": "1197", - "x-ms-request-id": "10bc19ea-51a1-11ec-a808-70b5e82527ff", - "x-ms-routing-request-id": "JAPANEAST:20211130T054759Z:a14ba9dd-58c2-4096-ae43-4ea776bd65d6" + "x-ms-request-id": "7f4c2550-9b9b-11ec-bbeb-d08e79139a4a", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T091422Z:e4c4e347-fc1d-49a1-a96f-c3cde922c687" }, "ResponseBody": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/c44826ac/providers/Microsoft.Search/searchServices/ptvstestquerykeys", @@ -289,8 +287,8 @@ "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-mgmt-search/8.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "130649b5-51a1-11ec-9383-70b5e82527ff" + "User-Agent": "azsdk-python-mgmt-search/8.0.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "820d6cac-9b9b-11ec-a3f6-d08e79139a4a" }, "RequestBody": null, "StatusCode": 200, @@ -298,11 +296,11 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Nov 2021 05:47:59 GMT", - "elapsed-time": "113", + "Date": "Fri, 04 Mar 2022 09:14:21 GMT", + "elapsed-time": "145", "Expires": "-1", "Pragma": "no-cache", - "request-id": "130649b5-51a1-11ec-9383-70b5e82527ff", + "request-id": "820d6cac-9b9b-11ec-a3f6-d08e79139a4a", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", "Vary": [ @@ -310,14 +308,14 @@ "Accept-Encoding" ], "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "4f94e6ac-d6d3-4e5f-8d30-4502fb8e20e1", + "x-ms-correlation-request-id": "f0ff53a1-d820-449b-8802-93e12c0425ce", "x-ms-ratelimit-remaining-subscription-writes": "1195", - "x-ms-request-id": "130649b5-51a1-11ec-9383-70b5e82527ff", - "x-ms-routing-request-id": "JAPANEAST:20211130T054759Z:4f94e6ac-d6d3-4e5f-8d30-4502fb8e20e1" + "x-ms-request-id": "820d6cac-9b9b-11ec-a3f6-d08e79139a4a", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T091422Z:f0ff53a1-d820-449b-8802-93e12c0425ce" }, "ResponseBody": { - "primaryKey": "8A97CCA1A15F40215C906BCC4CA4197C", - "secondaryKey": "EA19DA5D7C1FBCEAD0FAEEE46F9E9AA8" + "primaryKey": "D33A96B194A6E73191375E909765374A", + "secondaryKey": "A4F6ABD370AFF3DBCD8ADF79ACE0476B" } }, { @@ -329,8 +327,8 @@ "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-mgmt-search/8.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "134036d6-51a1-11ec-8af5-70b5e82527ff" + "User-Agent": "azsdk-python-mgmt-search/8.0.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "82511f31-9b9b-11ec-9e13-d08e79139a4a" }, "RequestBody": null, "StatusCode": 200, @@ -338,11 +336,11 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Nov 2021 05:47:59 GMT", - "elapsed-time": "257", + "Date": "Fri, 04 Mar 2022 09:14:22 GMT", + "elapsed-time": "319", "Expires": "-1", "Pragma": "no-cache", - "request-id": "134036d6-51a1-11ec-8af5-70b5e82527ff", + "request-id": "82511f31-9b9b-11ec-9e13-d08e79139a4a", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", "Vary": [ @@ -350,14 +348,14 @@ "Accept-Encoding" ], "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "99ff91fe-2db9-4f57-abbd-995cc56ca017", + "x-ms-correlation-request-id": "f3f894f1-6b2c-46f5-adbd-49e307b6c979", "x-ms-ratelimit-remaining-subscription-writes": "1194", - "x-ms-request-id": "134036d6-51a1-11ec-8af5-70b5e82527ff", - "x-ms-routing-request-id": "JAPANEAST:20211130T054759Z:99ff91fe-2db9-4f57-abbd-995cc56ca017" + "x-ms-request-id": "82511f31-9b9b-11ec-9e13-d08e79139a4a", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T091423Z:f3f894f1-6b2c-46f5-adbd-49e307b6c979" }, "ResponseBody": { - "primaryKey": "65D902C9E5558538B6278F7D7A532496", - "secondaryKey": "EA19DA5D7C1FBCEAD0FAEEE46F9E9AA8" + "primaryKey": "ADD2F891CBCA2DDAC90DE27FBA9C9572", + "secondaryKey": "A4F6ABD370AFF3DBCD8ADF79ACE0476B" } } ], diff --git a/sdk/search/azure-mgmt-search/tests/recordings/test_mgmt_search.pyTestMgmtSearchtest_search_query_keys.json b/sdk/search/azure-mgmt-search/tests/recordings/test_mgmt_search.pyTestMgmtSearchtest_search_query_keys.json index 36fb370ef9e6..054846ab481a 100644 --- a/sdk/search/azure-mgmt-search/tests/recordings/test_mgmt_search.pyTestMgmtSearchtest_search_query_keys.json +++ b/sdk/search/azure-mgmt-search/tests/recordings/test_mgmt_search.pyTestMgmtSearchtest_search_query_keys.json @@ -7,7 +7,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-identity/1.7.2 Python/3.8.8 (Windows-10-10.0.19041-SP0)" + "User-Agent": "azsdk-python-identity/1.9.0b1 Python/3.9.10 (Windows-10-10.0.22000-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -17,17 +17,13 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "1753", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Nov 2021 05:47:39 GMT", + "Date": "Fri, 04 Mar 2022 09:14:00 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", - "Set-Cookie": [ - "fpc=AoicKnIQ13FCjKBqQ-dV3I7mIjFAAQAAAOOxN9kOAAAA; expires=Thu, 30-Dec-2021 05:47:39 GMT; path=/; secure; HttpOnly; SameSite=None", - "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", - "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" - ], + "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.12231.8 - EUS ProdSlices", - "x-ms-request-id": "4525daa2-a395-466d-9ce9-fd8c2d366302" + "x-ms-ests-server": "2.1.12507.17 - SCUS ProdSlices", + "x-ms-request-id": "4c3a2bd6-5d96-40b1-96d1-32bc94680700" }, "ResponseBody": { "token_endpoint": "https://login.microsoftonline.com/00000000-0000-0000-0000-000000000000/oauth2/v2.0/token", @@ -104,8 +100,8 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "Cookie": "fpc=AoicKnIQ13FCjKBqQ-dV3I7mIjFAAQAAAOOxN9kOAAAA; stsservicecookie=estsfd; x-ms-gateway-slice=estsfd", - "User-Agent": "azsdk-python-identity/1.7.2 Python/3.8.8 (Windows-10-10.0.19041-SP0)" + "Cookie": "cookie;", + "User-Agent": "azsdk-python-identity/1.9.0b1 Python/3.9.10 (Windows-10-10.0.22000-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -115,17 +111,13 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "945", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Nov 2021 05:47:40 GMT", + "Date": "Fri, 04 Mar 2022 09:14:00 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", - "Set-Cookie": [ - "fpc=AoicKnIQ13FCjKBqQ-dV3I7mIjFAAQAAAOOxN9kOAAAA; expires=Thu, 30-Dec-2021 05:47:40 GMT; path=/; secure; HttpOnly; SameSite=None", - "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", - "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" - ], + "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.12249.14 - SEASLR1 ProdSlices", - "x-ms-request-id": "23a0a219-e578-46a1-bb8e-ccef1b144200" + "x-ms-ests-server": "2.1.12529.17 - SEASLR2 ProdSlices", + "x-ms-request-id": "9eee5441-91b7-4031-be95-4d3502720d00" }, "ResponseBody": { "tenant_discovery_endpoint": "https://login.microsoftonline.com/common/.well-known/openid-configuration", @@ -180,47 +172,43 @@ "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", - "client-request-id": "8dc035fb-abe0-4931-9d2c-e9fb2e41d53d", + "client-request-id": "3813854e-9503-4642-ad55-923800563ee5", "Connection": "keep-alive", - "Content-Length": "286", + "Content-Length": "289", "Content-Type": "application/x-www-form-urlencoded", - "Cookie": "fpc=AoicKnIQ13FCjKBqQ-dV3I7mIjFAAQAAAOOxN9kOAAAA; stsservicecookie=estsfd; x-ms-gateway-slice=estsfd", - "User-Agent": "azsdk-python-identity/1.7.2 Python/3.8.8 (Windows-10-10.0.19041-SP0)", + "Cookie": "cookie;", + "User-Agent": "azsdk-python-identity/1.9.0b1 Python/3.9.10 (Windows-10-10.0.22000-SP0)", "x-client-cpu": "x64", "x-client-current-telemetry": "4|730,0|", "x-client-last-telemetry": "4|0|||", "x-client-os": "win32", "x-client-sku": "MSAL.Python", - "x-client-ver": "1.16.0", + "x-client-ver": "1.17.0", "x-ms-lib-capability": "retry-after, h429" }, - "RequestBody": "client_id=8c41a920-007a-4844-a189-2d0efe39f51e\u0026grant_type=client_credentials\u0026client_info=1\u0026client_secret=o0XWF_siD-FhI.5AE83-u0GaQHW_GP7cjy\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D\u0026scope=https%3A%2F%2Fmanagement.azure.com%2F.default", + "RequestBody": "client_id=a2df54d5-ab03-4725-9b80-9a00b3b1967f\u0026grant_type=client_credentials\u0026client_info=1\u0026client_secret=0vj7Q~IsFayrD0V_8oyOfygU-GE3ELOabq95a\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D\u0026scope=https%3A%2F%2Fmanagement.azure.com%2F.default", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", - "client-request-id": "8dc035fb-abe0-4931-9d2c-e9fb2e41d53d", - "Content-Length": "1349", + "client-request-id": "3813854e-9503-4642-ad55-923800563ee5", + "Content-Length": "93", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Nov 2021 05:47:40 GMT", + "Date": "Fri, 04 Mar 2022 09:14:00 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", - "Set-Cookie": [ - "fpc=AoicKnIQ13FCjKBqQ-dV3I7mIjFAAgAAAOOxN9kOAAAA; expires=Thu, 30-Dec-2021 05:47:40 GMT; path=/; secure; HttpOnly; SameSite=None", - "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", - "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" - ], + "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.12231.8 - SCUS ProdSlices", - "x-ms-request-id": "f80f3599-936c-48b6-b108-34e22f336a02" + "x-ms-ests-server": "2.1.12507.17 - SCUS ProdSlices", + "x-ms-request-id": "3db8a055-a148-4caa-bb08-0ea0e98bb300" }, "ResponseBody": { "token_type": "Bearer", "expires_in": 3599, "ext_expires_in": 3599, - "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Imwzc1EtNTBjQ0g0eEJWWkxIVEd3blNSNzY4MCIsImtpZCI6Imwzc1EtNTBjQ0g0eEJWWkxIVEd3blNSNzY4MCJ9.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuYXp1cmUuY29tIiwiaXNzIjoiaHR0cHM6Ly9zdHMud2luZG93cy5uZXQvNTQ4MjZiMjItMzhkNi00ZmIyLWJhZDktYjdiOTNhM2U5YzVhLyIsImlhdCI6MTYzODI1MDk2MCwibmJmIjoxNjM4MjUwOTYwLCJleHAiOjE2MzgyNTQ4NjAsImFpbyI6IkUyWmdZRkJhYUZMTmttZWZucEozODNMdEkxbEhBQT09IiwiYXBwaWQiOiI4YzQxYTkyMC0wMDdhLTQ4NDQtYTE4OS0yZDBlZmUzOWY1MWUiLCJhcHBpZGFjciI6IjEiLCJpZHAiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC81NDgyNmIyMi0zOGQ2LTRmYjItYmFkOS1iN2I5M2EzZTljNWEvIiwib2lkIjoiMjI5YmVmMDAtNjUzNi00YjZhLTgyZDAtZWM4M2JmMWNkYTdlIiwicmgiOiIwLkFUY0FJbXVDVk5ZNHNrLTYyYmU1T2o2Y1dpQ3BRWXg2QUVSSW9Za3REdjQ1OVI0M0FBQS4iLCJzdWIiOiIyMjliZWYwMC02NTM2LTRiNmEtODJkMC1lYzgzYmYxY2RhN2UiLCJ0aWQiOiI1NDgyNmIyMi0zOGQ2LTRmYjItYmFkOS1iN2I5M2EzZTljNWEiLCJ1dGkiOiJtVFVQLUd5VHRraXhDRFRpTHpOcUFnIiwidmVyIjoiMS4wIiwieG1zX3RjZHQiOjE0MTIyMDY4NDB9.rjq9LGRF4z5g0GLJe6ZLxlRLoBys8uIB6ERL-sEekRJnLpxnLbYuI0toIguc6xa-kTY48_BbkUmrp4w8VPhrZydIxOPoZgQxHB233zDC0J-ClbXvIx8JQF2lGURTAeFGdOGQCA1AwBqMGIC0UM1WWWpBiFY3kkJa0P76by4ryAn8bT-gG5Hpis0IxTpZ5WgkZ3z2PKFhOX6OEw24WlfQKdxOQ3KkOPbXxMibrzuiwafvQ_n3z6wukFs-V908n-Yw2HOFsyM5mDubkTbrD9qicRdb0_WRCM7Kh2_ZVgFmpTAs8CHAhjqQy9jMwdFNtIEcyehv_e_azr-PF44O3oq_Sg" + "access_token": "access_token" } }, { @@ -233,27 +221,37 @@ "Connection": "keep-alive", "Content-Length": "133", "Content-Type": "application/json", - "User-Agent": "azsdk-python-mgmt-search/8.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "07394ad0-51a1-11ec-8550-70b5e82527ff" + "User-Agent": "azsdk-python-mgmt-search/8.0.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "7559275c-9b9b-11ec-94f6-d08e79139a4a" + }, + "RequestBody": { + "location": "westus", + "sku": { + "name": "standard" + }, + "properties": { + "replicaCount": 1, + "partitionCount": 1, + "hostingMode": "Default" + } }, - "RequestBody": "{\u0022location\u0022: \u0022westus\u0022, \u0022sku\u0022: {\u0022name\u0022: \u0022standard\u0022}, \u0022properties\u0022: {\u0022replicaCount\u0022: 1, \u0022partitionCount\u0022: 1, \u0022hostingMode\u0022: \u0022Default\u0022}}", "StatusCode": 201, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Length": "554", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Nov 2021 05:47:47 GMT", - "elapsed-time": "4525", - "ETag": "W/\u0022datetime\u00272021-11-30T05%3A47%3A47.0797781Z\u0027\u0022", + "Date": "Fri, 04 Mar 2022 09:14:08 GMT", + "elapsed-time": "3899", + "ETag": "W/\u0022datetime\u00272022-03-04T09%3A14%3A07.7085541Z\u0027\u0022", "Expires": "-1", "Pragma": "no-cache", - "request-id": "07394ad0-51a1-11ec-8550-70b5e82527ff", + "request-id": "7559275c-9b9b-11ec-94f6-d08e79139a4a", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "0c1acdf3-86bb-465f-8499-dd0ec192dd9e", + "x-ms-correlation-request-id": "efa87a40-84f9-4791-9028-2617663fc603", "x-ms-ratelimit-remaining-subscription-writes": "1198", - "x-ms-request-id": "07394ad0-51a1-11ec-8550-70b5e82527ff", - "x-ms-routing-request-id": "JAPANEAST:20211130T054747Z:0c1acdf3-86bb-465f-8499-dd0ec192dd9e" + "x-ms-request-id": "7559275c-9b9b-11ec-94f6-d08e79139a4a", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T091409Z:efa87a40-84f9-4791-9028-2617663fc603" }, "ResponseBody": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/c6fd26d9/providers/Microsoft.Search/searchServices/ptvstestquerykeysxxy", @@ -289,8 +287,8 @@ "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-mgmt-search/8.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "0c6f2efd-51a1-11ec-b58d-70b5e82527ff" + "User-Agent": "azsdk-python-mgmt-search/8.0.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "7a39aa37-9b9b-11ec-b7c2-d08e79139a4a" }, "RequestBody": null, "StatusCode": 200, @@ -298,11 +296,11 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Nov 2021 05:47:48 GMT", - "elapsed-time": "209", + "Date": "Fri, 04 Mar 2022 09:14:08 GMT", + "elapsed-time": "194", "Expires": "-1", "Pragma": "no-cache", - "request-id": "0c6f2efd-51a1-11ec-b58d-70b5e82527ff", + "request-id": "7a39aa37-9b9b-11ec-b7c2-d08e79139a4a", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", "Vary": [ @@ -310,14 +308,14 @@ "Accept-Encoding" ], "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "0ae9a18f-ea9f-4ee3-862e-8f809c7be30f", + "x-ms-correlation-request-id": "044be19e-1807-4ca6-b7d0-3f2df1c9b48d", "x-ms-ratelimit-remaining-subscription-writes": "1197", - "x-ms-request-id": "0c6f2efd-51a1-11ec-b58d-70b5e82527ff", - "x-ms-routing-request-id": "JAPANEAST:20211130T054748Z:0ae9a18f-ea9f-4ee3-862e-8f809c7be30f" + "x-ms-request-id": "7a39aa37-9b9b-11ec-b7c2-d08e79139a4a", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T091409Z:044be19e-1807-4ca6-b7d0-3f2df1c9b48d" }, "ResponseBody": { "name": "testkey", - "key": "F05AF0D208487D3A551FE2942971D487" + "key": "1ED4BE536D8D2D2F41CCD94E3873F228" } }, { @@ -329,8 +327,8 @@ "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-mgmt-search/8.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "0cb7c3be-51a1-11ec-a7dc-70b5e82527ff" + "User-Agent": "azsdk-python-mgmt-search/8.0.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "7a8a4007-9b9b-11ec-8078-d08e79139a4a" }, "RequestBody": null, "StatusCode": 200, @@ -338,11 +336,11 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Nov 2021 05:47:48 GMT", - "elapsed-time": "110", + "Date": "Fri, 04 Mar 2022 09:14:09 GMT", + "elapsed-time": "132", "Expires": "-1", "Pragma": "no-cache", - "request-id": "0cb7c3be-51a1-11ec-a7dc-70b5e82527ff", + "request-id": "7a8a4007-9b9b-11ec-8078-d08e79139a4a", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", "Vary": [ @@ -350,20 +348,20 @@ "Accept-Encoding" ], "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "c8e1b710-166f-48a5-abe1-321ec635e813", + "x-ms-correlation-request-id": "95ea1192-ce56-4560-89ec-b25397b3fcca", "x-ms-ratelimit-remaining-subscription-writes": "1196", - "x-ms-request-id": "0cb7c3be-51a1-11ec-a7dc-70b5e82527ff", - "x-ms-routing-request-id": "JAPANEAST:20211130T054748Z:c8e1b710-166f-48a5-abe1-321ec635e813" + "x-ms-request-id": "7a8a4007-9b9b-11ec-8078-d08e79139a4a", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T091409Z:95ea1192-ce56-4560-89ec-b25397b3fcca" }, "ResponseBody": { "value": [ { "name": null, - "key": "7918DBC6780834A909D3EB2F378EA30E" + "key": "849208BB8F7688D9C76D26A770BC02CA" }, { "name": "testkey", - "key": "F05AF0D208487D3A551FE2942971D487" + "key": "1ED4BE536D8D2D2F41CCD94E3873F228" } ], "nextLink": null @@ -378,8 +376,8 @@ "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-mgmt-search/8.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "0cefd2bd-51a1-11ec-bc39-70b5e82527ff" + "User-Agent": "azsdk-python-mgmt-search/8.0.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "7acc59c6-9b9b-11ec-a630-d08e79139a4a" }, "RequestBody": null, "StatusCode": 404, @@ -388,22 +386,22 @@ "Content-Language": "en", "Content-Length": "181", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Nov 2021 05:47:49 GMT", - "elapsed-time": "199", + "Date": "Fri, 04 Mar 2022 09:14:09 GMT", + "elapsed-time": "113", "Expires": "-1", "Pragma": "no-cache", - "request-id": "0cefd2bd-51a1-11ec-bc39-70b5e82527ff", + "request-id": "7acc59c6-9b9b-11ec-a630-d08e79139a4a", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "2424478d-f88a-4e06-a9c8-9a80a0939d21", + "x-ms-correlation-request-id": "6f92aabd-f131-4c4f-8990-4456a323c8b9", "x-ms-ratelimit-remaining-subscription-deletes": "14998", - "x-ms-request-id": "0cefd2bd-51a1-11ec-bc39-70b5e82527ff", - "x-ms-routing-request-id": "JAPANEAST:20211130T054749Z:2424478d-f88a-4e06-a9c8-9a80a0939d21" + "x-ms-request-id": "7acc59c6-9b9b-11ec-a630-d08e79139a4a", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T091410Z:6f92aabd-f131-4c4f-8990-4456a323c8b9" }, "ResponseBody": { "error": { "code": "Unknown", - "message": "This API key does not exist for service \u0027ptvstestquerykeysxxy\u0027. RequestId: 0cefd2bd-51a1-11ec-bc39-70b5e82527ff", + "message": "This API key does not exist for service \u0027ptvstestquerykeysxxy\u0027. RequestId: 7acc59c6-9b9b-11ec-a630-d08e79139a4a", "target": null, "details": null } diff --git a/sdk/search/azure-mgmt-search/tests/recordings/test_mgmt_search.pyTestMgmtSearchtest_search_services.json b/sdk/search/azure-mgmt-search/tests/recordings/test_mgmt_search.pyTestMgmtSearchtest_search_services.json index 5cdfbb4b212c..c1551a11f994 100644 --- a/sdk/search/azure-mgmt-search/tests/recordings/test_mgmt_search.pyTestMgmtSearchtest_search_services.json +++ b/sdk/search/azure-mgmt-search/tests/recordings/test_mgmt_search.pyTestMgmtSearchtest_search_services.json @@ -7,7 +7,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-identity/1.7.2 Python/3.8.8 (Windows-10-10.0.19041-SP0)" + "User-Agent": "azsdk-python-identity/1.9.0b1 Python/3.9.10 (Windows-10-10.0.22000-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -17,18 +17,13 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "1753", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Nov 2021 05:47:14 GMT", + "Date": "Fri, 04 Mar 2022 09:13:29 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", - "Set-Cookie": [ - "fpc=AoicKnIQ13FCjKBqQ-dV3I4; expires=Thu, 30-Dec-2021 05:47:14 GMT; path=/; secure; HttpOnly; SameSite=None", - "esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrgLY1_nLUY5DL-KRbHpTQGN0mmq_wR9LPImquZUFeOdre41cvZX9p7FmP4NLKQD30gWGAm7MYnCSRfO9oGrRKqRoqinkfQPDD6Xo5Et6gB_B0PL6FzbCTwOpSf-NNwblWMn7vqmr2YUoWMSUtyXrkaaOgS_QtxTbfc-q19b_18GAgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None", - "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", - "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" - ], + "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.12231.8 - EUS ProdSlices", - "x-ms-request-id": "3303530b-6651-4719-aa48-13b919fb6102" + "x-ms-ests-server": "2.1.12529.17 - WUS2 ProdSlices", + "x-ms-request-id": "3642c1e6-8d10-4fb8-a2d2-01e689030e00" }, "ResponseBody": { "token_endpoint": "https://login.microsoftonline.com/00000000-0000-0000-0000-000000000000/oauth2/v2.0/token", @@ -105,8 +100,8 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "Cookie": "fpc=AoicKnIQ13FCjKBqQ-dV3I4; stsservicecookie=estsfd; x-ms-gateway-slice=estsfd", - "User-Agent": "azsdk-python-identity/1.7.2 Python/3.8.8 (Windows-10-10.0.19041-SP0)" + "Cookie": "cookie;", + "User-Agent": "azsdk-python-identity/1.9.0b1 Python/3.9.10 (Windows-10-10.0.22000-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -116,17 +111,13 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "945", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Nov 2021 05:47:15 GMT", + "Date": "Fri, 04 Mar 2022 09:13:29 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", - "Set-Cookie": [ - "fpc=AoicKnIQ13FCjKBqQ-dV3I4; expires=Thu, 30-Dec-2021 05:47:15 GMT; path=/; secure; HttpOnly; SameSite=None", - "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", - "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" - ], + "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.12249.14 - SEASLR1 ProdSlices", - "x-ms-request-id": "7f6f33c0-2e74-490e-8f6c-dc65aa554300" + "x-ms-ests-server": "2.1.12529.17 - KRSLR2 ProdSlices", + "x-ms-request-id": "32887fb1-9b4b-417f-8371-38135e140e00" }, "ResponseBody": { "tenant_discovery_endpoint": "https://login.microsoftonline.com/common/.well-known/openid-configuration", @@ -181,47 +172,43 @@ "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", - "client-request-id": "90b679c5-5abb-4c99-b49d-22db48304904", + "client-request-id": "4a17feca-9fc3-4df2-841d-35f34037c5bd", "Connection": "keep-alive", - "Content-Length": "286", + "Content-Length": "289", "Content-Type": "application/x-www-form-urlencoded", - "Cookie": "fpc=AoicKnIQ13FCjKBqQ-dV3I4; stsservicecookie=estsfd; x-ms-gateway-slice=estsfd", - "User-Agent": "azsdk-python-identity/1.7.2 Python/3.8.8 (Windows-10-10.0.19041-SP0)", + "Cookie": "cookie;", + "User-Agent": "azsdk-python-identity/1.9.0b1 Python/3.9.10 (Windows-10-10.0.22000-SP0)", "x-client-cpu": "x64", "x-client-current-telemetry": "4|730,0|", "x-client-last-telemetry": "4|0|||", "x-client-os": "win32", "x-client-sku": "MSAL.Python", - "x-client-ver": "1.16.0", + "x-client-ver": "1.17.0", "x-ms-lib-capability": "retry-after, h429" }, - "RequestBody": "client_id=8c41a920-007a-4844-a189-2d0efe39f51e\u0026grant_type=client_credentials\u0026client_info=1\u0026client_secret=o0XWF_siD-FhI.5AE83-u0GaQHW_GP7cjy\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D\u0026scope=https%3A%2F%2Fmanagement.azure.com%2F.default", + "RequestBody": "client_id=a2df54d5-ab03-4725-9b80-9a00b3b1967f\u0026grant_type=client_credentials\u0026client_info=1\u0026client_secret=0vj7Q~IsFayrD0V_8oyOfygU-GE3ELOabq95a\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D\u0026scope=https%3A%2F%2Fmanagement.azure.com%2F.default", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", - "client-request-id": "90b679c5-5abb-4c99-b49d-22db48304904", - "Content-Length": "1349", + "client-request-id": "4a17feca-9fc3-4df2-841d-35f34037c5bd", + "Content-Length": "93", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Nov 2021 05:47:15 GMT", + "Date": "Fri, 04 Mar 2022 09:13:30 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", - "Set-Cookie": [ - "fpc=AoicKnIQ13FCjKBqQ-dV3I7mIjFAAQAAAOOxN9kOAAAA; expires=Thu, 30-Dec-2021 05:47:15 GMT; path=/; secure; HttpOnly; SameSite=None", - "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", - "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" - ], + "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.12231.8 - WUS2 ProdSlices", - "x-ms-request-id": "7acbe72e-59e1-4de6-bc77-02c94f008f02" + "x-ms-ests-server": "2.1.12507.17 - SCUS ProdSlices", + "x-ms-request-id": "4c3a2bd6-5d96-40b1-96d1-32bcb5640700" }, "ResponseBody": { "token_type": "Bearer", "expires_in": 3599, "ext_expires_in": 3599, - "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Imwzc1EtNTBjQ0g0eEJWWkxIVEd3blNSNzY4MCIsImtpZCI6Imwzc1EtNTBjQ0g0eEJWWkxIVEd3blNSNzY4MCJ9.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuYXp1cmUuY29tIiwiaXNzIjoiaHR0cHM6Ly9zdHMud2luZG93cy5uZXQvNTQ4MjZiMjItMzhkNi00ZmIyLWJhZDktYjdiOTNhM2U5YzVhLyIsImlhdCI6MTYzODI1MDkzNSwibmJmIjoxNjM4MjUwOTM1LCJleHAiOjE2MzgyNTQ4MzUsImFpbyI6IkUyWmdZRGg2U05LWWQvczBGWXQ3eTdnK3Nudk9Bd0E9IiwiYXBwaWQiOiI4YzQxYTkyMC0wMDdhLTQ4NDQtYTE4OS0yZDBlZmUzOWY1MWUiLCJhcHBpZGFjciI6IjEiLCJpZHAiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC81NDgyNmIyMi0zOGQ2LTRmYjItYmFkOS1iN2I5M2EzZTljNWEvIiwib2lkIjoiMjI5YmVmMDAtNjUzNi00YjZhLTgyZDAtZWM4M2JmMWNkYTdlIiwicmgiOiIwLkFUY0FJbXVDVk5ZNHNrLTYyYmU1T2o2Y1dpQ3BRWXg2QUVSSW9Za3REdjQ1OVI0M0FBQS4iLCJzdWIiOiIyMjliZWYwMC02NTM2LTRiNmEtODJkMC1lYzgzYmYxY2RhN2UiLCJ0aWQiOiI1NDgyNmIyMi0zOGQ2LTRmYjItYmFkOS1iN2I5M2EzZTljNWEiLCJ1dGkiOiJMdWZMZXVGWjVrMjhkd0xKVHdDUEFnIiwidmVyIjoiMS4wIiwieG1zX3RjZHQiOjE0MTIyMDY4NDB9.J5WZggZNx0MGnQ702ovUoItGUVAA9f9x37jJLuJLpdxHSCo1SPDsHR4-tRnXYH5A4-vGYqgTJutMkxrd_6SzrtkL3dw7TYQk2e-9pPZWM9KFjyeozM7i0OjUfqs7wJXtI81uimc7x260lFx1n-_-R5lyd-KGyEy8Q6ylYDkRgKAW12B9RT0dYKA-KufW-7RTb-x7u1s5RU9N3fFc9YfAhD_pT1eYfgSfQCslJzdZaRI7mUNEBOUOY0aVbofiGK6LJngD4Z_WrX-PgyLKBZx0Rtb29kcRCTOmU__QJdJXjhX-jkK_dCF2lvnG6I--zYjE2Y617XaLRdqn1_HJGqfNXg" + "access_token": "access_token" } }, { @@ -234,20 +221,23 @@ "Connection": "keep-alive", "Content-Length": "52", "Content-Type": "application/json", - "User-Agent": "azsdk-python-mgmt-search/8.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "f7776ebf-51a0-11ec-ad6e-70b5e82527ff" + "User-Agent": "azsdk-python-mgmt-search/8.0.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "62b743db-9b9b-11ec-829b-d08e79139a4a" + }, + "RequestBody": { + "name": "ptvstestsearch", + "type": "searchServices" }, - "RequestBody": "{\u0022name\u0022: \u0022ptvstestsearch\u0022, \u0022type\u0022: \u0022searchServices\u0022}", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Nov 2021 05:47:16 GMT", - "elapsed-time": "101", + "Date": "Fri, 04 Mar 2022 09:13:33 GMT", + "elapsed-time": "283", "Expires": "-1", "Pragma": "no-cache", - "request-id": "f7776ebf-51a0-11ec-ad6e-70b5e82527ff", + "request-id": "62b743db-9b9b-11ec-829b-d08e79139a4a", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", "Vary": [ @@ -255,10 +245,10 @@ "Accept-Encoding" ], "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "3b7dead0-c8d5-434b-bb25-b72b4cf33fba", + "x-ms-correlation-request-id": "32443390-0dc7-4547-a2ed-8875f06ef97b", "x-ms-ratelimit-remaining-subscription-writes": "1199", - "x-ms-request-id": "f7776ebf-51a0-11ec-ad6e-70b5e82527ff", - "x-ms-routing-request-id": "JAPANEAST:20211130T054717Z:3b7dead0-c8d5-434b-bb25-b72b4cf33fba" + "x-ms-request-id": "62b743db-9b9b-11ec-829b-d08e79139a4a", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T091333Z:32443390-0dc7-4547-a2ed-8875f06ef97b" }, "ResponseBody": { "nameAvailable": true, @@ -276,27 +266,37 @@ "Connection": "keep-alive", "Content-Length": "133", "Content-Type": "application/json", - "User-Agent": "azsdk-python-mgmt-search/8.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "fa8aa9a1-51a0-11ec-afd1-70b5e82527ff" + "User-Agent": "azsdk-python-mgmt-search/8.0.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "65547c8b-9b9b-11ec-b2eb-d08e79139a4a" + }, + "RequestBody": { + "location": "westus", + "sku": { + "name": "standard" + }, + "properties": { + "replicaCount": 1, + "partitionCount": 1, + "hostingMode": "Default" + } }, - "RequestBody": "{\u0022location\u0022: \u0022westus\u0022, \u0022sku\u0022: {\u0022name\u0022: \u0022standard\u0022}, \u0022properties\u0022: {\u0022replicaCount\u0022: 1, \u0022partitionCount\u0022: 1, \u0022hostingMode\u0022: \u0022Default\u0022}}", "StatusCode": 201, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Length": "542", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Nov 2021 05:47:25 GMT", - "elapsed-time": "4398", - "ETag": "W/\u0022datetime\u00272021-11-30T05%3A47%3A24.7547912Z\u0027\u0022", + "Date": "Fri, 04 Mar 2022 09:13:44 GMT", + "elapsed-time": "4718", + "ETag": "W/\u0022datetime\u00272022-03-04T09%3A13%3A42.5785524Z\u0027\u0022", "Expires": "-1", "Pragma": "no-cache", - "request-id": "fa8aa9a1-51a0-11ec-afd1-70b5e82527ff", + "request-id": "65547c8b-9b9b-11ec-b2eb-d08e79139a4a", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "46c3dd08-53b3-4f35-8f4b-53228742afc3", + "x-ms-correlation-request-id": "580fd688-bed0-4ad0-9df9-670d0ca77e37", "x-ms-ratelimit-remaining-subscription-writes": "1199", - "x-ms-request-id": "fa8aa9a1-51a0-11ec-afd1-70b5e82527ff", - "x-ms-routing-request-id": "JAPANEAST:20211130T054725Z:46c3dd08-53b3-4f35-8f4b-53228742afc3" + "x-ms-request-id": "65547c8b-9b9b-11ec-b2eb-d08e79139a4a", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T091344Z:580fd688-bed0-4ad0-9df9-670d0ca77e37" }, "ResponseBody": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/772d25ec/providers/Microsoft.Search/searchServices/ptvstestsearch", @@ -333,20 +333,23 @@ "Connection": "keep-alive", "Content-Length": "52", "Content-Type": "application/json", - "User-Agent": "azsdk-python-mgmt-search/8.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "ff2555ad-51a0-11ec-b121-70b5e82527ff" + "User-Agent": "azsdk-python-mgmt-search/8.0.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "6bb31077-9b9b-11ec-8b3a-d08e79139a4a" + }, + "RequestBody": { + "name": "ptvstestsearch", + "type": "searchServices" }, - "RequestBody": "{\u0022name\u0022: \u0022ptvstestsearch\u0022, \u0022type\u0022: \u0022searchServices\u0022}", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Nov 2021 05:47:25 GMT", + "Date": "Fri, 04 Mar 2022 09:13:44 GMT", "elapsed-time": "81", "Expires": "-1", "Pragma": "no-cache", - "request-id": "ff2555ad-51a0-11ec-b121-70b5e82527ff", + "request-id": "6bb31077-9b9b-11ec-8b3a-d08e79139a4a", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", "Vary": [ @@ -354,10 +357,10 @@ "Accept-Encoding" ], "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "1d0e9293-e9eb-4ee0-b593-26bc1e58fee3", + "x-ms-correlation-request-id": "8e752756-e92d-48bd-9037-8e4c35cb3c25", "x-ms-ratelimit-remaining-subscription-writes": "1198", - "x-ms-request-id": "ff2555ad-51a0-11ec-b121-70b5e82527ff", - "x-ms-routing-request-id": "JAPANEAST:20211130T054725Z:1d0e9293-e9eb-4ee0-b593-26bc1e58fee3" + "x-ms-request-id": "6bb31077-9b9b-11ec-8b3a-d08e79139a4a", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T091345Z:8e752756-e92d-48bd-9037-8e4c35cb3c25" }, "ResponseBody": { "nameAvailable": false, @@ -373,8 +376,8 @@ "Accept-Encoding": "gzip, deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-python-mgmt-search/8.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "ff5a4572-51a0-11ec-a911-70b5e82527ff" + "User-Agent": "azsdk-python-mgmt-search/8.0.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "6c00b33d-9b9b-11ec-bc97-d08e79139a4a" }, "RequestBody": null, "StatusCode": 200, @@ -382,12 +385,12 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Nov 2021 05:47:26 GMT", - "elapsed-time": "196", - "ETag": "W/\u0022datetime\u00272021-11-30T05%3A47%3A24.7547912Z\u0027\u0022", + "Date": "Fri, 04 Mar 2022 09:13:44 GMT", + "elapsed-time": "173", + "ETag": "W/\u0022datetime\u00272022-03-04T09%3A13%3A42.5785524Z\u0027\u0022", "Expires": "-1", "Pragma": "no-cache", - "request-id": "ff5a4572-51a0-11ec-a911-70b5e82527ff", + "request-id": "6c00b33d-9b9b-11ec-bc97-d08e79139a4a", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", "Vary": [ @@ -395,10 +398,10 @@ "Accept-Encoding" ], "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "6411a66c-beed-43de-b46b-0fbf1c4b37bf", + "x-ms-correlation-request-id": "06503a4e-ceaf-4f49-9a51-b7a8ed8be35c", "x-ms-ratelimit-remaining-subscription-reads": "11999", - "x-ms-request-id": "ff5a4572-51a0-11ec-a911-70b5e82527ff", - "x-ms-routing-request-id": "JAPANEAST:20211130T054726Z:6411a66c-beed-43de-b46b-0fbf1c4b37bf" + "x-ms-request-id": "6c00b33d-9b9b-11ec-bc97-d08e79139a4a", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T091345Z:06503a4e-ceaf-4f49-9a51-b7a8ed8be35c" }, "ResponseBody": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/772d25ec/providers/Microsoft.Search/searchServices/ptvstestsearch", @@ -433,8 +436,8 @@ "Accept-Encoding": "gzip, deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-python-mgmt-search/8.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "ffaa463e-51a0-11ec-adf4-70b5e82527ff" + "User-Agent": "azsdk-python-mgmt-search/8.0.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "6c44b7af-9b9b-11ec-a48b-d08e79139a4a" }, "RequestBody": null, "StatusCode": 200, @@ -442,11 +445,11 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Nov 2021 05:47:27 GMT", - "elapsed-time": "610", + "Date": "Fri, 04 Mar 2022 09:13:45 GMT", + "elapsed-time": "657", "Expires": "-1", "Pragma": "no-cache", - "request-id": "ffaa463e-51a0-11ec-adf4-70b5e82527ff", + "request-id": "6c44b7af-9b9b-11ec-a48b-d08e79139a4a", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", "Vary": [ @@ -454,10 +457,10 @@ "Accept-Encoding" ], "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "ba2b9373-1256-43d7-a430-22a0c05d84d1", + "x-ms-correlation-request-id": "482c873f-36eb-463e-b3da-0fd68adcae64", "x-ms-ratelimit-remaining-subscription-reads": "11998", - "x-ms-request-id": "ffaa463e-51a0-11ec-adf4-70b5e82527ff", - "x-ms-routing-request-id": "JAPANEAST:20211130T054727Z:ba2b9373-1256-43d7-a430-22a0c05d84d1" + "x-ms-request-id": "6c44b7af-9b9b-11ec-a48b-d08e79139a4a", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T091346Z:482c873f-36eb-463e-b3da-0fd68adcae64" }, "ResponseBody": { "value": [ @@ -480,7 +483,7 @@ }, "privateEndpointConnections": [], "sharedPrivateLinkResources": [], - "eTag": "W/\u0022datetime\u00272021-11-30T05%3A47%3A24.7547912Z\u0027\u0022" + "eTag": "W/\u0022datetime\u00272022-03-04T09%3A13%3A42.5785524Z\u0027\u0022" }, "sku": { "name": "standard" @@ -499,25 +502,25 @@ "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-mgmt-search/8.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "002c81ff-51a1-11ec-8b03-70b5e82527ff" + "User-Agent": "azsdk-python-mgmt-search/8.0.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "6cd33ae8-9b9b-11ec-b56b-d08e79139a4a" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Tue, 30 Nov 2021 05:47:33 GMT", - "elapsed-time": "774", + "Date": "Fri, 04 Mar 2022 09:13:51 GMT", + "elapsed-time": "744", "Expires": "-1", "Pragma": "no-cache", - "request-id": "002c81ff-51a1-11ec-8b03-70b5e82527ff", + "request-id": "6cd33ae8-9b9b-11ec-b56b-d08e79139a4a", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "55dc41a9-2dba-4f5d-b2ea-0bd239ae9e98", + "x-ms-correlation-request-id": "617b52d0-a11f-4e03-b4ff-0dbf7bc81084", "x-ms-ratelimit-remaining-subscription-deletes": "14999", - "x-ms-request-id": "002c81ff-51a1-11ec-8b03-70b5e82527ff", - "x-ms-routing-request-id": "JAPANEAST:20211130T054733Z:55dc41a9-2dba-4f5d-b2ea-0bd239ae9e98" + "x-ms-request-id": "6cd33ae8-9b9b-11ec-b56b-d08e79139a4a", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T091352Z:617b52d0-a11f-4e03-b4ff-0dbf7bc81084" }, "ResponseBody": null }