diff --git a/sdk/eventgrid/azure-mgmt-eventgrid/tests/conftest.py b/sdk/eventgrid/azure-mgmt-eventgrid/tests/conftest.py index de673c627a44..4a0f08a367f8 100644 --- a/sdk/eventgrid/azure-mgmt-eventgrid/tests/conftest.py +++ b/sdk/eventgrid/azure-mgmt-eventgrid/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/eventgrid/azure-mgmt-eventgrid/tests/recordings/test_domain.pyTestMgmtEventGridtest_domain.json b/sdk/eventgrid/azure-mgmt-eventgrid/tests/recordings/test_domain.pyTestMgmtEventGridtest_domain.json index d44e724a361c..de1c3f4254ee 100644 --- a/sdk/eventgrid/azure-mgmt-eventgrid/tests/recordings/test_domain.pyTestMgmtEventGridtest_domain.json +++ b/sdk/eventgrid/azure-mgmt-eventgrid/tests/recordings/test_domain.pyTestMgmtEventGridtest_domain.json @@ -7,7 +7,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-identity/1.8.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)" + "User-Agent": "azsdk-python-identity/1.9.0b2 Python/3.6.2 (Windows-10-10.0.19041-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": "Mon, 24 Jan 2022 08:34:22 GMT", + "Date": "Thu, 10 Mar 2022 01:56:54 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", - "Set-Cookie": [ - "fpc=AuKI84CJwuxIqYXG2PYTlw0; expires=Wed, 23-Feb-2022 08:34:22 GMT; path=/; secure; HttpOnly; SameSite=None", - "esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr_muNRH2SMYeLXu3tE2NfokdqS6m1rGYxln2VafufOvgkb0q22NKdNyhSvM9IKMmIRcUicRRaMSMYA1XlrQdTncQm1XD6x04960xnynfv3z7d6_TSi0YVbkizOSl6t9ZvOeKn-gne1sZ4hSAQkVrt_Mwuj33iEJvDx2kq57n9EAcgAA; 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.22 - SCUS ProdSlices", - "x-ms-request-id": "bf8b55b2-fcf5-4756-8469-c05e21d7c600" + "x-ms-ests-server": "2.1.12529.17 - SCUS ProdSlices", + "x-ms-request-id": "468d883a-fd65-490e-ab0a-ef77aa0e2001" }, "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=AuKI84CJwuxIqYXG2PYTlw0; stsservicecookie=estsfd; x-ms-gateway-slice=estsfd", - "User-Agent": "azsdk-python-identity/1.8.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)" + "Cookie": "cookie;", + "User-Agent": "azsdk-python-identity/1.9.0b2 Python/3.6.2 (Windows-10-10.0.19041-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": "Mon, 24 Jan 2022 08:34:22 GMT", + "Date": "Thu, 10 Mar 2022 01:56:54 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", - "Set-Cookie": [ - "fpc=AuKI84CJwuxIqYXG2PYTlw0; expires=Wed, 23-Feb-2022 08:34:22 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.12381.20 - SEASLR2 ProdSlices", - "x-ms-request-id": "5f5939bb-c88c-4f32-b167-89ffb2cd0d00" + "x-ms-ests-server": "2.1.12529.18 - SEASLR1 ProdSlices", + "x-ms-request-id": "706e43c6-274c-4a0a-ad0a-3192af430200" }, "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": "9b28099c-4fd4-4b1d-92ed-5632d3c7b517", + "client-request-id": "8b7c39e6-b061-4774-8dae-8c90c8e5b9d2", "Connection": "keep-alive", - "Content-Length": "289", + "Content-Length": "291", "Content-Type": "application/x-www-form-urlencoded", - "Cookie": "fpc=AuKI84CJwuxIqYXG2PYTlw0; stsservicecookie=estsfd; x-ms-gateway-slice=estsfd", - "User-Agent": "azsdk-python-identity/1.8.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", + "Cookie": "cookie;", + "User-Agent": "azsdk-python-identity/1.9.0b2 Python/3.6.2 (Windows-10-10.0.19041-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", + "RequestBody": "client_id=a2df54d5-ab03-4725-9b80-9a00b3b1967f\u0026grant_type=client_credentials\u0026client_info=1\u0026client_secret=0vj7Q%7EIsFayrD0V_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": "9b28099c-4fd4-4b1d-92ed-5632d3c7b517", - "Content-Length": "1391", + "client-request-id": "8b7c39e6-b061-4774-8dae-8c90c8e5b9d2", + "Content-Length": "93", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 24 Jan 2022 08:34:22 GMT", + "Date": "Thu, 10 Mar 2022 01:56:54 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", - "Set-Cookie": [ - "fpc=AuKI84CJwuxIqYXG2PYTlw2ZHqKEAQAAAI5bgNkOAAAA; expires=Wed, 23-Feb-2022 08:34:22 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.22 - SCUS ProdSlices", - "x-ms-request-id": "bf8b55b2-fcf5-4756-8469-c05e34d7c600" + "x-ms-ests-server": "2.1.12559.4 - WUS2 ProdSlices", + "x-ms-request-id": "4bfef876-d48c-4067-a3bc-70d357321f00" }, "ResponseBody": { "token_type": "Bearer", "expires_in": 3599, "ext_expires_in": 3599, - "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ik1yNS1BVWliZkJpaTdOZDFqQmViYXhib1hXMCIsImtpZCI6Ik1yNS1BVWliZkJpaTdOZDFqQmViYXhib1hXMCJ9.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuYXp1cmUuY29tIiwiaXNzIjoiaHR0cHM6Ly9zdHMud2luZG93cy5uZXQvNTQ4MjZiMjItMzhkNi00ZmIyLWJhZDktYjdiOTNhM2U5YzVhLyIsImlhdCI6MTY0MzAxMjk2MiwibmJmIjoxNjQzMDEyOTYyLCJleHAiOjE2NDMwMTY4NjIsImFpbyI6IkUyWmdZQWlRU2ZvWFZSYnV1bGRJTjVOM3Q0b3pBQT09IiwiYXBwaWQiOiJhMmRmNTRkNS1hYjAzLTQ3MjUtOWI4MC05YTAwYjNiMTk2N2YiLCJhcHBpZGFjciI6IjEiLCJpZHAiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC81NDgyNmIyMi0zOGQ2LTRmYjItYmFkOS1iN2I5M2EzZTljNWEvIiwiaWR0eXAiOiJhcHAiLCJvaWQiOiI4ODdjNDJiMS03OTQ2LTRjMjItYmFhNi0xNTA0M2U0YjEzMjMiLCJyaCI6IjAuQVRjQUltdUNWTlk0c2stNjJiZTVPajZjV3RWVTM2SURxeVZIbTRDYUFMT3hsbjgzQUFBLiIsInN1YiI6Ijg4N2M0MmIxLTc5NDYtNGMyMi1iYWE2LTE1MDQzZTRiMTMyMyIsInRpZCI6IjU0ODI2YjIyLTM4ZDYtNGZiMi1iYWQ5LWI3YjkzYTNlOWM1YSIsInV0aSI6InNsV0x2X1g4VmtlRWFjQmVOTmZHQUEiLCJ2ZXIiOiIxLjAiLCJ4bXNfY2MiOlsiQ1AxIl0sInhtc190Y2R0IjoxNDEyMjA2ODQwfQ.aH_Kd3cZLU09plPA6U9VlWxE0BjddjfcGKc5LDSDkmolbYeRw3UG91dvkSTcjQlTGeL60h0v0RdkfJ6pNAyXafRdsTWUAJ2i4AqXY6mpIN7067K2mfm7crgXVptzD_GUu0WaVhV2i87brI5mp5Z6E6B4trIQP-MJBeRW4tZaQfiveGRGsaUIzoqWZlcImRV44CPGYBnn8wJZzep5m6wY1fAwKUf79AmMsLaCTtiDjmuriTJoYc-0Q7msnWCLreFCKRrm0dP5NNt1ZTqxTCzpvhC1smCu6pNRa7LdMPPre0h2t660iVdXzoqdbOcaNzDjAXZp0SumR1gj4nqebP60pQ" + "access_token": "access_token" } }, { @@ -234,33 +221,36 @@ "Connection": "keep-alive", "Content-Length": "27", "Content-Type": "application/json", - "User-Agent": "azsdk-python-mgmt-eventgrid/10.1.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "6c50bbb4-7cf0-11ec-a2e0-70b5e82527ff" + "User-Agent": "azsdk-python-mgmt-eventgrid/10.1.0 Python/3.6.2 (Windows-10-10.0.19041-SP0)", + "x-ms-client-request-id": "5c51fa82-a015-11ec-8f2e-c0b6f9946f2d" + }, + "RequestBody": { + "location": "eastus2euap" }, - "RequestBody": "{\u0022location\u0022: \u0022eastus2euap\u0022}", "StatusCode": 201, "ResponseHeaders": { - "Azure-AsyncOperation": "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus2euap/operationsStatus/3CB9A633-1FC2-4C2E-BA0A-B5FC397BDD0A?api-version=2021-12-01", + "Azure-AsyncOperation": "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus2euap/operationsStatus/D72CC05C-2C1F-461D-BD51-C611FA8496AE?api-version=2021-12-01", "Cache-Control": "no-cache", - "Content-Length": "295", + "Content-Length": "313", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 24 Jan 2022 08:34:32 GMT", + "Date": "Thu, 10 Mar 2022 01:57:03 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "10", "Server": "Microsoft-HTTPAPI/2.0", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "7799231b-a439-4462-b353-d3bfd6cdaa9c", + "x-ms-correlation-request-id": "8b4f5784-e3ce-42ee-9cd5-d52d8868739a", "x-ms-ratelimit-remaining-subscription-writes": "1199", - "x-ms-request-id": "04b20a20-2fa8-4ee4-b972-1b0ec79a87e2", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220124T083433Z:7799231b-a439-4462-b353-d3bfd6cdaa9c" + "x-ms-request-id": "1ca8925f-ab3f-445c-96d7-f1b9fdf72d2d", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220310T015704Z:8b4f5784-e3ce-42ee-9cd5-d52d8868739a" }, "ResponseBody": { "properties": { "provisioningState": "Creating", "endpoint": null }, + "systemData": null, "location": "eastus2euap", "tags": null, "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.EventGrid/domains/domainc98a23ef", @@ -269,15 +259,15 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus2euap/operationsStatus/3CB9A633-1FC2-4C2E-BA0A-B5FC397BDD0A?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus2euap/operationsStatus/D72CC05C-2C1F-461D-BD51-C611FA8496AE?api-version=2021-12-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-python-mgmt-eventgrid/10.1.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "6c50bbb4-7cf0-11ec-a2e0-70b5e82527ff" + "User-Agent": "azsdk-python-mgmt-eventgrid/10.1.0 Python/3.6.2 (Windows-10-10.0.19041-SP0)", + "x-ms-client-request-id": "5c51fa82-a015-11ec-8f2e-c0b6f9946f2d" }, "RequestBody": null, "StatusCode": 200, @@ -285,7 +275,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 24 Jan 2022 08:34:43 GMT", + "Date": "Thu, 10 Mar 2022 01:57:13 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": "Microsoft-HTTPAPI/2.0", @@ -293,14 +283,14 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "1cc930a7-a9c7-4a29-a546-8a06ceaf1f47", + "x-ms-correlation-request-id": "db4a050c-8c94-4ff6-a99b-76e677aff51a", "x-ms-ratelimit-remaining-subscription-reads": "11999", - "x-ms-request-id": "d104de34-2795-4bfd-9647-06196847aacf", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220124T083443Z:1cc930a7-a9c7-4a29-a546-8a06ceaf1f47" + "x-ms-request-id": "464b311d-fd9d-49b8-ade0-135206e2f478", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220310T015714Z:db4a050c-8c94-4ff6-a99b-76e677aff51a" }, "ResponseBody": { - "id": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus2euap/operationsStatus/3CB9A633-1FC2-4C2E-BA0A-B5FC397BDD0A?api-version=2021-12-01", - "name": "3cb9a633-1fc2-4c2e-ba0a-b5fc397bdd0a", + "id": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus2euap/operationsStatus/D72CC05C-2C1F-461D-BD51-C611FA8496AE?api-version=2021-12-01", + "name": "d72cc05c-2c1f-461d-bd51-c611fa8496ae", "status": "Succeeded" } }, @@ -312,8 +302,8 @@ "Accept-Encoding": "gzip, deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-python-mgmt-eventgrid/10.1.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "6c50bbb4-7cf0-11ec-a2e0-70b5e82527ff" + "User-Agent": "azsdk-python-mgmt-eventgrid/10.1.0 Python/3.6.2 (Windows-10-10.0.19041-SP0)", + "x-ms-client-request-id": "5c51fa82-a015-11ec-8f2e-c0b6f9946f2d" }, "RequestBody": null, "StatusCode": 200, @@ -321,7 +311,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 24 Jan 2022 08:34:43 GMT", + "Date": "Thu, 10 Mar 2022 01:57:14 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": "Microsoft-HTTPAPI/2.0", @@ -329,19 +319,20 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "b29e2ef0-3e09-402b-b465-1212c2ab9c66", + "x-ms-correlation-request-id": "4c204c64-88c9-473d-b427-67ee65858e33", "x-ms-ratelimit-remaining-subscription-reads": "11998", - "x-ms-request-id": "552e94cb-5044-49a0-b0df-b1fa6bddd213", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220124T083444Z:b29e2ef0-3e09-402b-b465-1212c2ab9c66" + "x-ms-request-id": "729b023b-9d6a-470f-9254-5732e811772c", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220310T015715Z:4c204c64-88c9-473d-b427-67ee65858e33" }, "ResponseBody": { "properties": { "provisioningState": "Succeeded", "endpoint": "https://domainc98a23ef.eastus2euap-1.eventgrid.azure.net/api/events", "inputSchema": "EventGridSchema", - "metricResourceId": "60b224ba-8445-4949-b214-77019ef84bfb", + "metricResourceId": "332fa8d2-8d80-42fb-99cb-5927331f637b", "publicNetworkAccess": "Enabled" }, + "systemData": null, "location": "eastus2euap", "tags": null, "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.EventGrid/domains/domainc98a23ef", @@ -359,36 +350,42 @@ "Connection": "keep-alive", "Content-Length": "46", "Content-Type": "application/json", - "User-Agent": "azsdk-python-mgmt-eventgrid/10.1.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "7aa04c1f-7cf0-11ec-a2b1-70b5e82527ff" + "User-Agent": "azsdk-python-mgmt-eventgrid/10.1.0 Python/3.6.2 (Windows-10-10.0.19041-SP0)", + "x-ms-client-request-id": "68bf2b0c-a015-11ec-b342-c0b6f9946f2d" + }, + "RequestBody": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } }, - "RequestBody": "{\u0022tags\u0022: {\u0022tag1\u0022: \u0022value1\u0022, \u0022tag2\u0022: \u0022value2\u0022}}", "StatusCode": 201, "ResponseHeaders": { - "Azure-AsyncOperation": "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus2euap/operationsStatus/508B6156-B009-40B3-BE84-6F65147F18A9?api-version=2021-12-01", + "Azure-AsyncOperation": "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus2euap/operationsStatus/6ABC2518-6503-4C56-AD0E-AE2912D0E04D?api-version=2021-12-01", "Cache-Control": "no-cache", - "Content-Length": "511", + "Content-Length": "529", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 24 Jan 2022 08:34:46 GMT", + "Date": "Thu, 10 Mar 2022 01:57:17 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "10", "Server": "Microsoft-HTTPAPI/2.0", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "b9c66f33-7e44-4ebe-bf4f-7a4d5127b365", + "x-ms-correlation-request-id": "f7dc3478-e48f-45ca-bbb2-1519dc0f5430", "x-ms-ratelimit-remaining-subscription-writes": "1198", - "x-ms-request-id": "acf53bac-bbad-445f-809d-914cf2e4a700", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220124T083447Z:b9c66f33-7e44-4ebe-bf4f-7a4d5127b365" + "x-ms-request-id": "6cefeb2c-5003-489f-b7ee-3175098c67fc", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220310T015718Z:f7dc3478-e48f-45ca-bbb2-1519dc0f5430" }, "ResponseBody": { "properties": { "provisioningState": "Updating", "endpoint": "https://domainc98a23ef.eastus2euap-1.eventgrid.azure.net/api/events", "inputSchema": "EventGridSchema", - "metricResourceId": "60b224ba-8445-4949-b214-77019ef84bfb", + "metricResourceId": "332fa8d2-8d80-42fb-99cb-5927331f637b", "publicNetworkAccess": "Enabled" }, + "systemData": null, "location": "eastus2euap", "tags": { "tag1": "value1", @@ -400,15 +397,15 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus2euap/operationsStatus/508B6156-B009-40B3-BE84-6F65147F18A9?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus2euap/operationsStatus/6ABC2518-6503-4C56-AD0E-AE2912D0E04D?api-version=2021-12-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-python-mgmt-eventgrid/10.1.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "7aa04c1f-7cf0-11ec-a2b1-70b5e82527ff" + "User-Agent": "azsdk-python-mgmt-eventgrid/10.1.0 Python/3.6.2 (Windows-10-10.0.19041-SP0)", + "x-ms-client-request-id": "68bf2b0c-a015-11ec-b342-c0b6f9946f2d" }, "RequestBody": null, "StatusCode": 200, @@ -416,7 +413,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 24 Jan 2022 08:34:57 GMT", + "Date": "Thu, 10 Mar 2022 01:57:27 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": "Microsoft-HTTPAPI/2.0", @@ -424,14 +421,14 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "dae36f77-f3cb-480c-a361-09c53cf485ca", + "x-ms-correlation-request-id": "f641859f-455a-45d8-a333-88a61b9e2488", "x-ms-ratelimit-remaining-subscription-reads": "11997", - "x-ms-request-id": "67098386-b9e6-47df-9088-8938e0b6e87d", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220124T083457Z:dae36f77-f3cb-480c-a361-09c53cf485ca" + "x-ms-request-id": "7d498b3b-e2b9-424b-b654-cf3651f42e68", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220310T015728Z:f641859f-455a-45d8-a333-88a61b9e2488" }, "ResponseBody": { - "id": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus2euap/operationsStatus/508B6156-B009-40B3-BE84-6F65147F18A9?api-version=2021-12-01", - "name": "508b6156-b009-40b3-be84-6f65147f18a9", + "id": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus2euap/operationsStatus/6ABC2518-6503-4C56-AD0E-AE2912D0E04D?api-version=2021-12-01", + "name": "6abc2518-6503-4c56-ad0e-ae2912d0e04d", "status": "Succeeded" } }, @@ -443,8 +440,8 @@ "Accept-Encoding": "gzip, deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-python-mgmt-eventgrid/10.1.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "7aa04c1f-7cf0-11ec-a2b1-70b5e82527ff" + "User-Agent": "azsdk-python-mgmt-eventgrid/10.1.0 Python/3.6.2 (Windows-10-10.0.19041-SP0)", + "x-ms-client-request-id": "68bf2b0c-a015-11ec-b342-c0b6f9946f2d" }, "RequestBody": null, "StatusCode": 200, @@ -452,7 +449,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 24 Jan 2022 08:34:57 GMT", + "Date": "Thu, 10 Mar 2022 01:57:28 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": "Microsoft-HTTPAPI/2.0", @@ -460,19 +457,20 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "7c3fcbd7-891c-442e-9cdd-0dba3a7afd76", + "x-ms-correlation-request-id": "141e7248-4b79-4ece-9df7-e5d35b78c3b7", "x-ms-ratelimit-remaining-subscription-reads": "11996", - "x-ms-request-id": "5c325786-4d69-4429-b8d3-b3b8a273603a", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220124T083458Z:7c3fcbd7-891c-442e-9cdd-0dba3a7afd76" + "x-ms-request-id": "87cd3a57-09f7-4a6f-91d7-3c8194ca49d6", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220310T015728Z:141e7248-4b79-4ece-9df7-e5d35b78c3b7" }, "ResponseBody": { "properties": { "provisioningState": "Succeeded", "endpoint": "https://domainc98a23ef.eastus2euap-1.eventgrid.azure.net/api/events", "inputSchema": "EventGridSchema", - "metricResourceId": "60b224ba-8445-4949-b214-77019ef84bfb", + "metricResourceId": "332fa8d2-8d80-42fb-99cb-5927331f637b", "publicNetworkAccess": "Enabled" }, + "systemData": null, "location": "eastus2euap", "tags": { "tag1": "value1", @@ -491,8 +489,8 @@ "Accept-Encoding": "gzip, deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-python-mgmt-eventgrid/10.1.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "82ee255b-7cf0-11ec-b8b1-70b5e82527ff" + "User-Agent": "azsdk-python-mgmt-eventgrid/10.1.0 Python/3.6.2 (Windows-10-10.0.19041-SP0)", + "x-ms-client-request-id": "710025b0-a015-11ec-aa9e-c0b6f9946f2d" }, "RequestBody": null, "StatusCode": 200, @@ -500,7 +498,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 24 Jan 2022 08:34:57 GMT", + "Date": "Thu, 10 Mar 2022 01:57:28 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": "Microsoft-HTTPAPI/2.0", @@ -508,19 +506,20 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "307208a3-ffab-4aa6-9a3a-b7456cbb3530", + "x-ms-correlation-request-id": "8f097578-9467-43bf-8778-55e8a7394be5", "x-ms-ratelimit-remaining-subscription-reads": "11995", - "x-ms-request-id": "cf10523a-4594-4d4c-a601-b24b2c3d72ed", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220124T083458Z:307208a3-ffab-4aa6-9a3a-b7456cbb3530" + "x-ms-request-id": "133bfe0e-2058-4ba3-a5f5-5658d9cdded2", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220310T015729Z:8f097578-9467-43bf-8778-55e8a7394be5" }, "ResponseBody": { "properties": { "provisioningState": "Succeeded", "endpoint": "https://domainc98a23ef.eastus2euap-1.eventgrid.azure.net/api/events", "inputSchema": "EventGridSchema", - "metricResourceId": "60b224ba-8445-4949-b214-77019ef84bfb", + "metricResourceId": "332fa8d2-8d80-42fb-99cb-5927331f637b", "publicNetworkAccess": "Enabled" }, + "systemData": null, "location": "eastus2euap", "tags": { "tag1": "value1", @@ -540,40 +539,40 @@ "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-mgmt-eventgrid/10.1.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "83255c1c-7cf0-11ec-a18f-70b5e82527ff" + "User-Agent": "azsdk-python-mgmt-eventgrid/10.1.0 Python/3.6.2 (Windows-10-10.0.19041-SP0)", + "x-ms-client-request-id": "71394dc6-a015-11ec-961d-c0b6f9946f2d" }, "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { - "Azure-AsyncOperation": "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus2euap/operationsStatus/1517ED82-FBA4-47D7-B5E6-3A9A24CDE2C7?api-version=2021-12-01", + "Azure-AsyncOperation": "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus2euap/operationsStatus/5CDEE279-75FE-48A9-BC2C-690FA92DF13A?api-version=2021-12-01", "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Mon, 24 Jan 2022 08:34:58 GMT", + "Date": "Thu, 10 Mar 2022 01:57:29 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus2euap/operationResults/1517ED82-FBA4-47D7-B5E6-3A9A24CDE2C7?api-version=2021-12-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus2euap/operationResults/5CDEE279-75FE-48A9-BC2C-690FA92DF13A?api-version=2021-12-01", "Pragma": "no-cache", "Retry-After": "10", "Server": "Microsoft-HTTPAPI/2.0", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "e5b14e06-075e-43ee-9bdd-37f4292d44ca", + "x-ms-correlation-request-id": "1a6934cb-0bb2-4911-8e9d-bee54725f47b", "x-ms-ratelimit-remaining-subscription-deletes": "14999", - "x-ms-request-id": "e5b14e06-075e-43ee-9bdd-37f4292d44ca", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220124T083459Z:e5b14e06-075e-43ee-9bdd-37f4292d44ca" + "x-ms-request-id": "1a6934cb-0bb2-4911-8e9d-bee54725f47b", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220310T015730Z:1a6934cb-0bb2-4911-8e9d-bee54725f47b" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus2euap/operationsStatus/1517ED82-FBA4-47D7-B5E6-3A9A24CDE2C7?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus2euap/operationsStatus/5CDEE279-75FE-48A9-BC2C-690FA92DF13A?api-version=2021-12-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-python-mgmt-eventgrid/10.1.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "83255c1c-7cf0-11ec-a18f-70b5e82527ff" + "User-Agent": "azsdk-python-mgmt-eventgrid/10.1.0 Python/3.6.2 (Windows-10-10.0.19041-SP0)", + "x-ms-client-request-id": "71394dc6-a015-11ec-961d-c0b6f9946f2d" }, "RequestBody": null, "StatusCode": 200, @@ -581,7 +580,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 24 Jan 2022 08:35:10 GMT", + "Date": "Thu, 10 Mar 2022 01:57:39 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": "Microsoft-HTTPAPI/2.0", @@ -589,14 +588,14 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "292f03ce-c2e2-472b-bdf8-25ed230da340", + "x-ms-correlation-request-id": "c8c089ba-d333-45cb-8818-a5a70dca206c", "x-ms-ratelimit-remaining-subscription-reads": "11994", - "x-ms-request-id": "276230e6-1259-4b58-b9be-3c4937f7fc37", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220124T083510Z:292f03ce-c2e2-472b-bdf8-25ed230da340" + "x-ms-request-id": "a201a663-6449-4187-b666-a6b9b17fadfe", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220310T015740Z:c8c089ba-d333-45cb-8818-a5a70dca206c" }, "ResponseBody": { - "id": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus2euap/operationsStatus/1517ED82-FBA4-47D7-B5E6-3A9A24CDE2C7?api-version=2021-12-01", - "name": "1517ed82-fba4-47d7-b5e6-3a9a24cde2c7", + "id": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus2euap/operationsStatus/5CDEE279-75FE-48A9-BC2C-690FA92DF13A?api-version=2021-12-01", + "name": "5cdee279-75fe-48a9-bc2c-690fa92df13a", "status": "Succeeded" } }