diff --git a/sdk/notificationhubs/azure-mgmt-notificationhubs/tests/conftest.py b/sdk/notificationhubs/azure-mgmt-notificationhubs/tests/conftest.py index de673c627a44..4a0f08a367f8 100644 --- a/sdk/notificationhubs/azure-mgmt-notificationhubs/tests/conftest.py +++ b/sdk/notificationhubs/azure-mgmt-notificationhubs/tests/conftest.py @@ -31,6 +31,7 @@ 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 +45,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/notificationhubs/azure-mgmt-notificationhubs/tests/recordings/test_mgmt_notificationhubs.pyTestMgmtNotificationHubstest_namespaces.json b/sdk/notificationhubs/azure-mgmt-notificationhubs/tests/recordings/test_mgmt_notificationhubs.pyTestMgmtNotificationHubstest_namespaces.json index d226e5ab7096..3d16dd89e3e6 100644 --- a/sdk/notificationhubs/azure-mgmt-notificationhubs/tests/recordings/test_mgmt_notificationhubs.pyTestMgmtNotificationHubstest_namespaces.json +++ b/sdk/notificationhubs/azure-mgmt-notificationhubs/tests/recordings/test_mgmt_notificationhubs.pyTestMgmtNotificationHubstest_namespaces.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": "Fri, 31 Dec 2021 08:20:41 GMT", + "Date": "Fri, 04 Mar 2022 08:11:41 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", - "Set-Cookie": [ - "fpc=AtqrJk_1DbZLo1VtKcatuDyZHqKEAQAAAD60YNkOAAAA; expires=Sun, 30-Jan-2022 08:20:42 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.12261.17 - EUS ProdSlices", - "x-ms-request-id": "9a88203e-e1f1-434e-a6df-24eed2ffb201" + "x-ms-ests-server": "2.1.12507.17 - EUS ProdSlices", + "x-ms-request-id": "b198224d-6380-4eca-b00e-ed4793159f00" }, "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=AtqrJk_1DbZLo1VtKcatuDyZHqKEAQAAAD60YNkOAAAA; 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": "Fri, 31 Dec 2021 08:20:41 GMT", + "Date": "Fri, 04 Mar 2022 08:11:42 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", - "Set-Cookie": [ - "fpc=AtqrJk_1DbZLo1VtKcatuDyZHqKEAQAAAD60YNkOAAAA; expires=Sun, 30-Jan-2022 08:20:42 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.12261.17 - SEASLR2 ProdSlices", - "x-ms-request-id": "f480e226-70a1-4283-a533-9f5e54e75600" + "x-ms-ests-server": "2.1.12529.17 - KRSLR1 ProdSlices", + "x-ms-request-id": "599c0258-b96a-4752-8240-152bb19f0e00" }, "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": "7650a8e3-f4b3-4ebf-b40e-448f4cbe3900", + "client-request-id": "7c8d461d-26cb-44a5-a2eb-a3e32d8934bd", "Connection": "keep-alive", "Content-Length": "289", "Content-Type": "application/x-www-form-urlencoded", - "Cookie": "fpc=AtqrJk_1DbZLo1VtKcatuDyZHqKEAQAAAD60YNkOAAAA; 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=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": "7650a8e3-f4b3-4ebf-b40e-448f4cbe3900", - "Content-Length": "1391", + "client-request-id": "7c8d461d-26cb-44a5-a2eb-a3e32d8934bd", + "Content-Length": "93", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 31 Dec 2021 08:20:42 GMT", + "Date": "Fri, 04 Mar 2022 08:11:42 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", - "Set-Cookie": [ - "fpc=AtqrJk_1DbZLo1VtKcatuDyZHqKEAgAAAD60YNkOAAAA; expires=Sun, 30-Jan-2022 08:20:42 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.12261.17 - WUS2 ProdSlices", - "x-ms-request-id": "31332d36-1a20-4a6d-bd98-3ba52bdb1202" + "x-ms-ests-server": "2.1.12507.17 - EUS ProdSlices", + "x-ms-request-id": "b198224d-6380-4eca-b00e-ed4798159f00" }, "ResponseBody": { "token_type": "Bearer", "expires_in": 3599, "ext_expires_in": 3599, - "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ik1yNS1BVWliZkJpaTdOZDFqQmViYXhib1hXMCIsImtpZCI6Ik1yNS1BVWliZkJpaTdOZDFqQmViYXhib1hXMCJ9.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuYXp1cmUuY29tIiwiaXNzIjoiaHR0cHM6Ly9zdHMud2luZG93cy5uZXQvNTQ4MjZiMjItMzhkNi00ZmIyLWJhZDktYjdiOTNhM2U5YzVhLyIsImlhdCI6MTY0MDkzODU0MiwibmJmIjoxNjQwOTM4NTQyLCJleHAiOjE2NDA5NDI0NDIsImFpbyI6IkUyWmdZTmdRdHVTeHFlbjJ0d2J2a2xYYWhUV3lBQT09IiwiYXBwaWQiOiJhMmRmNTRkNS1hYjAzLTQ3MjUtOWI4MC05YTAwYjNiMTk2N2YiLCJhcHBpZGFjciI6IjEiLCJpZHAiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC81NDgyNmIyMi0zOGQ2LTRmYjItYmFkOS1iN2I5M2EzZTljNWEvIiwiaWR0eXAiOiJhcHAiLCJvaWQiOiI4ODdjNDJiMS03OTQ2LTRjMjItYmFhNi0xNTA0M2U0YjEzMjMiLCJyaCI6IjAuQVRjQUltdUNWTlk0c2stNjJiZTVPajZjV3RWVTM2SURxeVZIbTRDYUFMT3hsbjgzQUFBLiIsInN1YiI6Ijg4N2M0MmIxLTc5NDYtNGMyMi1iYWE2LTE1MDQzZTRiMTMyMyIsInRpZCI6IjU0ODI2YjIyLTM4ZDYtNGZiMi1iYWQ5LWI3YjkzYTNlOWM1YSIsInV0aSI6Ik5pMHpNU0FhYlVxOW1EdWxLOXNTQWciLCJ2ZXIiOiIxLjAiLCJ4bXNfY2MiOlsiQ1AxIl0sInhtc190Y2R0IjoxNDEyMjA2ODQwfQ.tWdlmP_PGhoYNtcNyM2Ive2MJJgqePPY3UE9hHXkrZXjbm7C1y_BIxRgf-C8brls1onGuVzH4IZYP10ECsu0BefbRQnm8ENmsEIrQftW4InP37gKz_9LJpDcVNDNiA93Ui_i9f8JkeuDYNUKAyGQvw61KOdw2veDIQgXtRpoTT9r7fC6PFHzXoF-co3xzSEZxY3LWevtVMIj93wi0_gxENn60ea7JU-co0PXZvzgsCqeqNSWiVv8J0K5nxIy6012QeWtuzDSOAe2IuG_NTfAj-5gVXAU1Pd9sQnCvLqFgH-HhMPvBWenevEdmPTqjsdiyuwANDXi1S351Air17iDIQ" + "access_token": "access_token" } }, { @@ -233,10 +221,12 @@ "Connection": "keep-alive", "Content-Length": "22", "Content-Type": "application/json", - "User-Agent": "azsdk-python-mgmt-notificationhubs/7.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "8ae199b9-6a12-11ec-8658-70b5e82527ff" + "User-Agent": "azsdk-python-mgmt-notificationhubs/8.0.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "c0b7b2f3-9b92-11ec-99d6-d08e79139a4a" + }, + "RequestBody": { + "location": "eastus" }, - "RequestBody": "{\u0022location\u0022: \u0022eastus\u0022}", "StatusCode": 201, "ResponseHeaders": { "api-supported-versions": "2014-09-01, 2016-03-01, 2017-04-01, 2020-01-01-preview", @@ -244,19 +234,19 @@ "Cache-Control": "no-cache", "Content-Length": "297", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 31 Dec 2021 08:20:48 GMT", + "Date": "Fri, 04 Mar 2022 08:11:48 GMT", "Expires": "-1", "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/1b2b34bf/providers/Microsoft.NotificationHubs/namespaces/namespacexxx?api-version=2017-04-01", "Pragma": "no-cache", "Retry-After": "10", "Server": "Kestrel", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "TrackingId": "3695a4c1-b416-4325-9e51-9fdfce80cacb", + "TrackingId": "379b125a-fcd9-4a69-8c50-dbf2af2a4c05", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "f6ff2e76-685a-448d-9b7d-0c8de62350f7", + "x-ms-correlation-request-id": "a08e5c92-7c61-45e2-b6f1-878ca83e60a1", "x-ms-ratelimit-remaining-subscription-writes": "1197", - "x-ms-request-id": "f6ff2e76-685a-448d-9b7d-0c8de62350f7", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211231T082048Z:f6ff2e76-685a-448d-9b7d-0c8de62350f7" + "x-ms-request-id": "a08e5c92-7c61-45e2-b6f1-878ca83e60a1", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T081149Z:a08e5c92-7c61-45e2-b6f1-878ca83e60a1" }, "ResponseBody": { "properties": { @@ -277,8 +267,8 @@ "Accept-Encoding": "gzip, deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-python-mgmt-notificationhubs/7.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "8f005848-6a12-11ec-9df3-70b5e82527ff" + "User-Agent": "azsdk-python-mgmt-notificationhubs/8.0.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "c55ca2c7-9b92-11ec-b9a0-d08e79139a4a" }, "RequestBody": null, "StatusCode": 200, @@ -287,19 +277,19 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 31 Dec 2021 08:20:49 GMT", + "Date": "Fri, 04 Mar 2022 08:11:49 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": "Kestrel", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "TrackingId": "4571081f-b03d-4b23-8097-b5c43199ebea", + "TrackingId": "7ca65553-c17b-460d-93e4-e8ef927da0da", "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "14685727-5c09-4b0c-86dd-9a3c9380d655", + "x-ms-correlation-request-id": "5de5d287-d2ee-4913-b8c8-f0d9d15ecaf9", "x-ms-ratelimit-remaining-subscription-reads": "11997", - "x-ms-request-id": "14685727-5c09-4b0c-86dd-9a3c9380d655", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211231T082049Z:14685727-5c09-4b0c-86dd-9a3c9380d655" + "x-ms-request-id": "5de5d287-d2ee-4913-b8c8-f0d9d15ecaf9", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T081149Z:5de5d287-d2ee-4913-b8c8-f0d9d15ecaf9" }, "ResponseBody": { "sku": { @@ -308,12 +298,14 @@ "properties": { "provisioningState": "Succeeded", "status": "Active", - "createdAt": "2021-12-31T08:20:48.2500000Z", - "updatedAt": "2021-12-31T08:20:48.3900000Z", + "createdAt": "2022-03-04T08:11:46.5300000Z", + "updatedAt": "2022-03-04T08:11:46.5370000Z", "serviceBusEndpoint": "https://namespacexxx.servicebus.windows.net:443/", "enabled": true, "critical": false, - "zoneRedundant": false + "zoneRedundant": false, + "networkACLs": {}, + "privateEndpointConnections": [] }, "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/1b2b34bf/providers/Microsoft.NotificationHubs/namespaces/namespacexxx", "name": "namespacexxx", @@ -332,8 +324,8 @@ "Connection": "keep-alive", "Content-Length": "2", "Content-Type": "application/json", - "User-Agent": "azsdk-python-mgmt-notificationhubs/7.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "8f37255c-6a12-11ec-85d4-70b5e82527ff" + "User-Agent": "azsdk-python-mgmt-notificationhubs/8.0.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "c594fc5a-9b92-11ec-8bb3-d08e79139a4a" }, "RequestBody": {}, "StatusCode": 200, @@ -342,19 +334,19 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 31 Dec 2021 08:20:50 GMT", + "Date": "Fri, 04 Mar 2022 08:11:50 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": "Kestrel", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "TrackingId": "a12d9711-0c22-418a-9a7d-8c4bdbe40040", + "TrackingId": "638a1acf-7688-41cf-a8b1-4dc335741e61", "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "cec84e50-29ad-4bc7-939d-db302fa66646", + "x-ms-correlation-request-id": "fa83c633-f022-494b-94f9-ed9a225b31e0", "x-ms-ratelimit-remaining-subscription-writes": "1196", - "x-ms-request-id": "cec84e50-29ad-4bc7-939d-db302fa66646", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211231T082050Z:cec84e50-29ad-4bc7-939d-db302fa66646" + "x-ms-request-id": "fa83c633-f022-494b-94f9-ed9a225b31e0", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T081151Z:fa83c633-f022-494b-94f9-ed9a225b31e0" }, "ResponseBody": { "sku": { @@ -362,12 +354,13 @@ }, "properties": { "status": "Active", - "createdAt": "2021-12-31T08:20:48.2500000Z", - "updatedAt": "2021-12-31T08:20:48.3900000Z", + "createdAt": "2022-03-04T08:11:46.5300000Z", + "updatedAt": "2022-03-04T08:11:50.2100000Z", "serviceBusEndpoint": "https://namespacexxx.servicebus.windows.net:443/", "enabled": true, "critical": false, - "zoneRedundant": false + "zoneRedundant": false, + "networkACLs": {} }, "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/1b2b34bf/providers/Microsoft.NotificationHubs/namespaces/namespacexxx", "name": "namespacexxx", @@ -384,25 +377,25 @@ "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-mgmt-notificationhubs/7.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "8fef700c-6a12-11ec-851c-70b5e82527ff" + "User-Agent": "azsdk-python-mgmt-notificationhubs/8.0.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "c643edd9-9b92-11ec-9413-d08e79139a4a" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { "api-supported-versions": "2014-09-01, 2016-03-01, 2017-04-01, 2020-01-01-preview", "Cache-Control": "no-cache", - "Date": "Fri, 31 Dec 2021 08:20:53 GMT", + "Date": "Fri, 04 Mar 2022 08:11:54 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": "Kestrel", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "TrackingId": "0b60f087-1b87-4699-ace3-e4204106921b", + "TrackingId": "9b57d6ef-7b0a-4455-8d8f-9612fa21949f", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "a39bbb92-3201-4243-a06e-a5fbf2920f5e", + "x-ms-correlation-request-id": "d04d566b-d8d3-4cca-b2ae-c1474a3867dc", "x-ms-ratelimit-remaining-subscription-deletes": "14998", - "x-ms-request-id": "a39bbb92-3201-4243-a06e-a5fbf2920f5e", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211231T082053Z:a39bbb92-3201-4243-a06e-a5fbf2920f5e" + "x-ms-request-id": "d04d566b-d8d3-4cca-b2ae-c1474a3867dc", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T081155Z:d04d566b-d8d3-4cca-b2ae-c1474a3867dc" }, "ResponseBody": null } diff --git a/sdk/notificationhubs/azure-mgmt-notificationhubs/tests/recordings/test_mgmt_notificationhubs.pyTestMgmtNotificationHubstest_notification_hubs.json b/sdk/notificationhubs/azure-mgmt-notificationhubs/tests/recordings/test_mgmt_notificationhubs.pyTestMgmtNotificationHubstest_notification_hubs.json index 12518f53fc19..cece88a2fc26 100644 --- a/sdk/notificationhubs/azure-mgmt-notificationhubs/tests/recordings/test_mgmt_notificationhubs.pyTestMgmtNotificationHubstest_notification_hubs.json +++ b/sdk/notificationhubs/azure-mgmt-notificationhubs/tests/recordings/test_mgmt_notificationhubs.pyTestMgmtNotificationHubstest_notification_hubs.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": "Fri, 31 Dec 2021 08:20:14 GMT", + "Date": "Fri, 04 Mar 2022 08:11:09 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", - "Set-Cookie": [ - "fpc=AtqrJk_1DbZLo1VtKcatuDw; expires=Sun, 30-Jan-2022 08:20:14 GMT; path=/; secure; HttpOnly; SameSite=None", - "esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrv_Q980A1_Deubn6aeiI_0mtJYtGW-pIE_Gdx5R4HWqkfcZ6CUbWZIqyNxGvq0waKvd3wb9sOHSSP7ALzU8_SY2jY2Qp5AECKBT44cg832pw7QmpkXPnsplEHZnK_0CbqR2c9Hw6mTDjFOKK02hGUvnBVGyvPmeYvpaz84KPAQH4gAA; 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.12261.17 - SCUS ProdSlices", - "x-ms-request-id": "1659079c-279a-49b9-9460-221a5f38f501" + "x-ms-ests-server": "2.1.12507.17 - EUS ProdSlices", + "x-ms-request-id": "f854199b-fa0b-4f09-a7d6-7b89fef59800" }, "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=AtqrJk_1DbZLo1VtKcatuDw; 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": "Fri, 31 Dec 2021 08:20:14 GMT", + "Date": "Fri, 04 Mar 2022 08:11:10 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", - "Set-Cookie": [ - "fpc=AtqrJk_1DbZLo1VtKcatuDw; expires=Sun, 30-Jan-2022 08:20: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.12261.17 - SEASLR2 ProdSlices", - "x-ms-request-id": "1bd63f88-8ecd-4df1-9d86-9bcf13806400" + "x-ms-ests-server": "2.1.12529.17 - SEASLR1 ProdSlices", + "x-ms-request-id": "a89171f1-8c8a-46e9-81da-0f306fe00d00" }, "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": "be0ab176-346b-428c-9e2a-d0aa96fa9c80", + "client-request-id": "af5849d5-e20f-4570-b5c4-5b80964a91a1", "Connection": "keep-alive", "Content-Length": "289", "Content-Type": "application/x-www-form-urlencoded", - "Cookie": "fpc=AtqrJk_1DbZLo1VtKcatuDw; 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=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": "be0ab176-346b-428c-9e2a-d0aa96fa9c80", - "Content-Length": "1391", + "client-request-id": "af5849d5-e20f-4570-b5c4-5b80964a91a1", + "Content-Length": "93", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 31 Dec 2021 08:20:14 GMT", + "Date": "Fri, 04 Mar 2022 08:11:10 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", - "Set-Cookie": [ - "fpc=AtqrJk_1DbZLo1VtKcatuDyZHqKEAQAAAD60YNkOAAAA; expires=Sun, 30-Jan-2022 08:20: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.12261.17 - SCUS ProdSlices", - "x-ms-request-id": "6b49165f-f708-4114-b32e-1afd2d680502" + "x-ms-ests-server": "2.1.12507.17 - EUS ProdSlices", + "x-ms-request-id": "b198224d-6380-4eca-b00e-ed476e129f00" }, "ResponseBody": { "token_type": "Bearer", "expires_in": 3599, "ext_expires_in": 3599, - "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ik1yNS1BVWliZkJpaTdOZDFqQmViYXhib1hXMCIsImtpZCI6Ik1yNS1BVWliZkJpaTdOZDFqQmViYXhib1hXMCJ9.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuYXp1cmUuY29tIiwiaXNzIjoiaHR0cHM6Ly9zdHMud2luZG93cy5uZXQvNTQ4MjZiMjItMzhkNi00ZmIyLWJhZDktYjdiOTNhM2U5YzVhLyIsImlhdCI6MTY0MDkzODUxNSwibmJmIjoxNjQwOTM4NTE1LCJleHAiOjE2NDA5NDI0MTUsImFpbyI6IkUyWmdZR0E4UGZ0OS9aemQrMmVMUkhvcEgxNXdEQUE9IiwiYXBwaWQiOiJhMmRmNTRkNS1hYjAzLTQ3MjUtOWI4MC05YTAwYjNiMTk2N2YiLCJhcHBpZGFjciI6IjEiLCJpZHAiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC81NDgyNmIyMi0zOGQ2LTRmYjItYmFkOS1iN2I5M2EzZTljNWEvIiwiaWR0eXAiOiJhcHAiLCJvaWQiOiI4ODdjNDJiMS03OTQ2LTRjMjItYmFhNi0xNTA0M2U0YjEzMjMiLCJyaCI6IjAuQVRjQUltdUNWTlk0c2stNjJiZTVPajZjV3RWVTM2SURxeVZIbTRDYUFMT3hsbjgzQUFBLiIsInN1YiI6Ijg4N2M0MmIxLTc5NDYtNGMyMi1iYWE2LTE1MDQzZTRiMTMyMyIsInRpZCI6IjU0ODI2YjIyLTM4ZDYtNGZiMi1iYWQ5LWI3YjkzYTNlOWM1YSIsInV0aSI6Ilh4Wkphd2ozRkVHekxocjlMV2dGQWciLCJ2ZXIiOiIxLjAiLCJ4bXNfY2MiOlsiQ1AxIl0sInhtc190Y2R0IjoxNDEyMjA2ODQwfQ.b8Abf-Iv9vt_Chlhy2Yg0s_kNOamRrKnpElsm8EAI02gqfbyKPFkAcM26DqrDokqRCkz7lmt1rFlFPXBH991JTG0XTQ_tHH2Gu8qlRookOuRmVx6859F7q75_F2fsBujxQifrR7qdu3GjdrlmQhN-1A9_fj6vnkI54YwrBzR1rXRBbnwuAKtZeW7hqiSbAFwg1JmNDW9G93oFF9ZvpZU722aY4EP4-mz2w8KwTAnzuCySL2fMeFFaHXi_j6prjzwa4AAJjW6qJb-4QQJmyhi9CqySYHlFJxjRCk7gZHCqNDeqbsGtCGXxedD3mu7DRS5PpCbWKILH_MLXXKvU_nSZQ" + "access_token": "access_token" } }, { @@ -234,10 +221,12 @@ "Connection": "keep-alive", "Content-Length": "22", "Content-Type": "application/json", - "User-Agent": "azsdk-python-mgmt-notificationhubs/7.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "79d6c953-6a12-11ec-85a5-70b5e82527ff" + "User-Agent": "azsdk-python-mgmt-notificationhubs/8.0.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "acaa56b9-9b92-11ec-855e-d08e79139a4a" + }, + "RequestBody": { + "location": "eastus" }, - "RequestBody": "{\u0022location\u0022: \u0022eastus\u0022}", "StatusCode": 201, "ResponseHeaders": { "api-supported-versions": "2014-09-01, 2016-03-01, 2017-04-01, 2020-01-01-preview", @@ -245,19 +234,19 @@ "Cache-Control": "no-cache", "Content-Length": "297", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 31 Dec 2021 08:20:24 GMT", + "Date": "Fri, 04 Mar 2022 08:11:20 GMT", "Expires": "-1", "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/9f4b37b7/providers/Microsoft.NotificationHubs/namespaces/namespacexxz?api-version=2017-04-01", "Pragma": "no-cache", "Retry-After": "10", "Server": "Kestrel", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "TrackingId": "f33e699f-86e0-45e7-9284-54b6474a5cee", + "TrackingId": "a9576dae-76f1-480f-8f0d-e56223d30cbc", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "64fb661e-411b-4996-90fe-d663d7801763", + "x-ms-correlation-request-id": "2c23715b-33fa-4f6e-a67b-c0d09128f850", "x-ms-ratelimit-remaining-subscription-writes": "1199", - "x-ms-request-id": "64fb661e-411b-4996-90fe-d663d7801763", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211231T082025Z:64fb661e-411b-4996-90fe-d663d7801763" + "x-ms-request-id": "2c23715b-33fa-4f6e-a67b-c0d09128f850", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T081121Z:2c23715b-33fa-4f6e-a67b-c0d09128f850" }, "ResponseBody": { "properties": { @@ -278,8 +267,8 @@ "Accept-Encoding": "gzip, deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-python-mgmt-notificationhubs/7.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "80dbfffa-6a12-11ec-93fc-70b5e82527ff" + "User-Agent": "azsdk-python-mgmt-notificationhubs/8.0.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "b4b18641-9b92-11ec-912b-d08e79139a4a" }, "RequestBody": null, "StatusCode": 200, @@ -288,19 +277,19 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 31 Dec 2021 08:20:25 GMT", + "Date": "Fri, 04 Mar 2022 08:11:21 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": "Kestrel", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "TrackingId": "bf52d089-7d89-4ada-b0da-66ff847c0fd8", + "TrackingId": "e1436054-d6c7-4fc9-9922-f39a6d5c7436", "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "aea45158-affd-42d0-b394-87d3e2888676", + "x-ms-correlation-request-id": "57787f40-3f39-4b03-83b1-63086af7ea31", "x-ms-ratelimit-remaining-subscription-reads": "11999", - "x-ms-request-id": "aea45158-affd-42d0-b394-87d3e2888676", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211231T082025Z:aea45158-affd-42d0-b394-87d3e2888676" + "x-ms-request-id": "57787f40-3f39-4b03-83b1-63086af7ea31", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T081121Z:57787f40-3f39-4b03-83b1-63086af7ea31" }, "ResponseBody": { "sku": { @@ -309,12 +298,14 @@ "properties": { "provisioningState": "Succeeded", "status": "Active", - "createdAt": "2021-12-31T08:20:24.3800000Z", - "updatedAt": "2021-12-31T08:20:24.3930000Z", + "createdAt": "2022-03-04T08:11:19.1700000Z", + "updatedAt": "2022-03-04T08:11:19.2030000Z", "serviceBusEndpoint": "https://namespacexxz.servicebus.windows.net:443/", "enabled": true, "critical": false, - "zoneRedundant": false + "zoneRedundant": false, + "networkACLs": {}, + "privateEndpointConnections": [] }, "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/9f4b37b7/providers/Microsoft.NotificationHubs/namespaces/namespacexxz", "name": "namespacexxz", @@ -333,27 +324,29 @@ "Connection": "keep-alive", "Content-Length": "22", "Content-Type": "application/json", - "User-Agent": "azsdk-python-mgmt-notificationhubs/7.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "81241ca3-6a12-11ec-ba25-70b5e82527ff" + "User-Agent": "azsdk-python-mgmt-notificationhubs/8.0.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "b4eab0a8-9b92-11ec-9494-d08e79139a4a" + }, + "RequestBody": { + "location": "eastus" }, - "RequestBody": "{\u0022location\u0022: \u0022eastus\u0022}", "StatusCode": 201, "ResponseHeaders": { "api-supported-versions": "2014-09-01, 2016-03-01, 2017-04-01, 2020-01-01-preview", "Cache-Control": "no-cache", "Content-Length": "383", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 31 Dec 2021 08:20:29 GMT", + "Date": "Fri, 04 Mar 2022 08:11:26 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": "Kestrel", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "TrackingId": "6ad02d9c-ab10-4efd-8682-4d0376097c2d", + "TrackingId": "44c99d07-df5e-4560-b990-8a7fb985cd9d", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "c2830bbb-28d8-4b27-a186-f68a407e3752", + "x-ms-correlation-request-id": "de2a1c05-54d9-42ea-a4d6-52f5e067088f", "x-ms-ratelimit-remaining-subscription-writes": "1198", - "x-ms-request-id": "c2830bbb-28d8-4b27-a186-f68a407e3752", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211231T082030Z:c2830bbb-28d8-4b27-a186-f68a407e3752" + "x-ms-request-id": "de2a1c05-54d9-42ea-a4d6-52f5e067088f", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T081127Z:de2a1c05-54d9-42ea-a4d6-52f5e067088f" }, "ResponseBody": { "properties": { @@ -374,8 +367,8 @@ "Accept-Encoding": "gzip, deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-python-mgmt-notificationhubs/7.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "84069eb1-6a12-11ec-a996-70b5e82527ff" + "User-Agent": "azsdk-python-mgmt-notificationhubs/8.0.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "b845b6b3-9b92-11ec-a134-d08e79139a4a" }, "RequestBody": null, "StatusCode": 200, @@ -384,19 +377,19 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 31 Dec 2021 08:20:30 GMT", + "Date": "Fri, 04 Mar 2022 08:11:27 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": "Kestrel", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "TrackingId": "143e54d6-3e83-4c78-8453-c175004fabcc", + "TrackingId": "2ffba0ef-81cb-43b4-b3af-a79fae49ebef", "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "2b8635c9-5a50-4ff6-82fd-d0a38ae27a89", + "x-ms-correlation-request-id": "7c11c21e-dc75-4869-aa8e-761511e9a3b0", "x-ms-ratelimit-remaining-subscription-reads": "11998", - "x-ms-request-id": "2b8635c9-5a50-4ff6-82fd-d0a38ae27a89", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211231T082030Z:2b8635c9-5a50-4ff6-82fd-d0a38ae27a89" + "x-ms-request-id": "7c11c21e-dc75-4869-aa8e-761511e9a3b0", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T081127Z:7c11c21e-dc75-4869-aa8e-761511e9a3b0" }, "ResponseBody": { "properties": { @@ -419,8 +412,8 @@ "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-mgmt-notificationhubs/7.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "843e669a-6a12-11ec-ae3e-70b5e82527ff" + "User-Agent": "azsdk-python-mgmt-notificationhubs/8.0.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "b917f653-9b92-11ec-8372-d08e79139a4a" }, "RequestBody": null, "StatusCode": 200, @@ -428,17 +421,17 @@ "api-supported-versions": "2014-09-01, 2016-03-01, 2017-04-01, 2020-01-01-preview", "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Fri, 31 Dec 2021 08:20:34 GMT", + "Date": "Fri, 04 Mar 2022 08:11:31 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": "Kestrel", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "TrackingId": "66d89d05-61f7-4b94-9dd5-05ce874d50a7", + "TrackingId": "db6027d2-9138-4ef3-87b5-e7f306676df3", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "db47e448-a33f-43dc-ae9b-7784aadcce83", + "x-ms-correlation-request-id": "4d8abdef-8c39-449c-b0cf-5115e51a3a4d", "x-ms-ratelimit-remaining-subscription-deletes": "14999", - "x-ms-request-id": "db47e448-a33f-43dc-ae9b-7784aadcce83", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211231T082034Z:db47e448-a33f-43dc-ae9b-7784aadcce83" + "x-ms-request-id": "4d8abdef-8c39-449c-b0cf-5115e51a3a4d", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T081132Z:4d8abdef-8c39-449c-b0cf-5115e51a3a4d" }, "ResponseBody": null }