From de8da0346a78338be5bbb8a038268704f2144db2 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Fri, 11 Mar 2022 10:33:29 +0800 Subject: [PATCH] update servicebus test (#23401) Co-authored-by: ZiWei Chen (WICRESOFT NORTH AMERICA LTD) --- .../azure-mgmt-servicebus/tests/conftest.py | 6 +- ..._queue.pyTestMgmtServiceBustest_queue.json | 280 +++++++-------- ...tServiceBustest_subscrpition_and_rule.json | 262 +++++++------- ..._topic.pyTestMgmtServiceBustest_topic.json | 322 +++++++++++------- 4 files changed, 479 insertions(+), 391 deletions(-) diff --git a/sdk/servicebus/azure-mgmt-servicebus/tests/conftest.py b/sdk/servicebus/azure-mgmt-servicebus/tests/conftest.py index de673c627a44..4a0f08a367f8 100644 --- a/sdk/servicebus/azure-mgmt-servicebus/tests/conftest.py +++ b/sdk/servicebus/azure-mgmt-servicebus/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/servicebus/azure-mgmt-servicebus/tests/recordings/test_cli_mgmt_servicebus_queue.pyTestMgmtServiceBustest_queue.json b/sdk/servicebus/azure-mgmt-servicebus/tests/recordings/test_cli_mgmt_servicebus_queue.pyTestMgmtServiceBustest_queue.json index 2e596e36a713..27ae5a1d1194 100644 --- a/sdk/servicebus/azure-mgmt-servicebus/tests/recordings/test_cli_mgmt_servicebus_queue.pyTestMgmtServiceBustest_queue.json +++ b/sdk/servicebus/azure-mgmt-servicebus/tests/recordings/test_cli_mgmt_servicebus_queue.pyTestMgmtServiceBustest_queue.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.8.0 Python/3.9.8 (Windows-10-10.0.19044)" }, "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, 28 Dec 2021 06:37:51 GMT", + "Date": "Tue, 08 Mar 2022 07:34:08 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", - "Set-Cookie": [ - "fpc=AjtD23MtcQJPpdCXs47qIV8; expires=Thu, 27-Jan-2022 06:37:51 GMT; path=/; secure; HttpOnly; SameSite=None", - "esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevro_n53UaLmvqEsCi1-a-wLONGGNDQ57D-_XY5VNpRlZrRfVmeUGqBJvOjlJlHNUADitbQLJYnJ5ixldb6ahfe7BW2xKAivqBXcjS1-PqgJJ4QhoFl9v-V9_F9TlySdAEkrZg-Rius0Xf9LqDWVOdPHEHJZLq-Q2BW4gf2WeZBhBQgAA; 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": "8f427910-7dd2-4228-b1c6-f1358bb55101" + "x-ms-ests-server": "2.1.12529.17 - EUS ProdSlices", + "x-ms-request-id": "a45e6041-aa8b-4550-9e61-b316173ea600" }, "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=AjtD23MtcQJPpdCXs47qIV8; 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.8.0 Python/3.9.8 (Windows-10-10.0.19044)" }, "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, 28 Dec 2021 06:37:51 GMT", + "Date": "Tue, 08 Mar 2022 07:34:08 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", - "Set-Cookie": [ - "fpc=AjtD23MtcQJPpdCXs47qIV8; expires=Thu, 27-Jan-2022 06:37:51 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 - KRSLR2 ProdSlices", - "x-ms-request-id": "96a016c5-541f-49ed-980f-cd1a84164700" + "x-ms-ests-server": "2.1.12559.4 - SEASLR1 ProdSlices", + "x-ms-request-id": "39428306-63bd-4369-bb68-454699f91900" }, "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": "70614c56-a393-4752-9f62-57a351775350", + "client-request-id": "af47ac99-8e72-4592-9309-894ab5d2aa25", "Connection": "keep-alive", "Content-Length": "289", "Content-Type": "application/x-www-form-urlencoded", - "Cookie": "fpc=AjtD23MtcQJPpdCXs47qIV8; 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.8.0 Python/3.9.8 (Windows-10-10.0.19044)", "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": "70614c56-a393-4752-9f62-57a351775350", - "Content-Length": "1391", + "client-request-id": "af47ac99-8e72-4592-9309-894ab5d2aa25", + "Content-Length": "93", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 28 Dec 2021 06:37:51 GMT", + "Date": "Tue, 08 Mar 2022 07:34:09 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", - "Set-Cookie": [ - "fpc=AjtD23MtcQJPpdCXs47qIV-ZHqKEAQAAAL6nXNkOAAAA; expires=Thu, 27-Jan-2022 06:37:51 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": "8f427910-7dd2-4228-b1c6-f1359db55101" + "x-ms-ests-server": "2.1.12529.17 - SCUS ProdSlices", + "x-ms-request-id": "f129dcf1-5aad-4308-9d27-fd21d53eb300" }, "ResponseBody": { "token_type": "Bearer", "expires_in": 3599, "ext_expires_in": 3599, - "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ik1yNS1BVWliZkJpaTdOZDFqQmViYXhib1hXMCIsImtpZCI6Ik1yNS1BVWliZkJpaTdOZDFqQmViYXhib1hXMCJ9.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuYXp1cmUuY29tIiwiaXNzIjoiaHR0cHM6Ly9zdHMud2luZG93cy5uZXQvNTQ4MjZiMjItMzhkNi00ZmIyLWJhZDktYjdiOTNhM2U5YzVhLyIsImlhdCI6MTY0MDY3MzE3MSwibmJmIjoxNjQwNjczMTcxLCJleHAiOjE2NDA2NzcwNzEsImFpbyI6IkUyWmdZREEyTG0wK0dhbk9WenpiOFAzcFBSUGVBUUE9IiwiYXBwaWQiOiJhMmRmNTRkNS1hYjAzLTQ3MjUtOWI4MC05YTAwYjNiMTk2N2YiLCJhcHBpZGFjciI6IjEiLCJpZHAiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC81NDgyNmIyMi0zOGQ2LTRmYjItYmFkOS1iN2I5M2EzZTljNWEvIiwiaWR0eXAiOiJhcHAiLCJvaWQiOiI4ODdjNDJiMS03OTQ2LTRjMjItYmFhNi0xNTA0M2U0YjEzMjMiLCJyaCI6IjAuQVRjQUltdUNWTlk0c2stNjJiZTVPajZjV3RWVTM2SURxeVZIbTRDYUFMT3hsbjgzQUFBLiIsInN1YiI6Ijg4N2M0MmIxLTc5NDYtNGMyMi1iYWE2LTE1MDQzZTRiMTMyMyIsInRpZCI6IjU0ODI2YjIyLTM4ZDYtNGZiMi1iYWQ5LWI3YjkzYTNlOWM1YSIsInV0aSI6IkVIbENqOUo5S0VLeHh2RTFuYlZSQVEiLCJ2ZXIiOiIxLjAiLCJ4bXNfY2MiOlsiQ1AxIl0sInhtc190Y2R0IjoxNDEyMjA2ODQwfQ.fvnYNeg7ETgrDSQHkylkVcz51sefm5pB98MrHfLzMpegAxvhN6vsi_pmI4ycMhsSb5XgXen8CEXZmn0S1GDmyPY_pBwwv4DWaBHMS-fpNqNE5SiGkg_shBBaHTRH2s9X-s9J93sIPZJi8UYZkE4LRNO2CtMYRN3YyUiS03-2uvoOyZxE7oH2fvytrSsvsVVUTG-TaDXCvZAIG_d3mFNv_KyMhph8DTXcwhHo4QCyegBjAj7W9XP-IkkguHVoqqVSgmgyyOwSffOq7IDdkKX11meZeKs-utRnu4TxLFk8ITOx8fWln9rrtu0k2IReuYdUcpm1MaLKEJB5QYtPzVtm9g" + "access_token": "access_token" } }, { @@ -234,16 +221,26 @@ "Connection": "keep-alive", "Content-Length": "117", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "ad4b7c74-67a8-11ec-865b-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.9.8 (Windows-10-10.0.19044)", + "x-ms-client-request-id": "249649e8-9eb2-11ec-8cf7-2811a8e804f3" + }, + "RequestBody": { + "location": "eastus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + } }, - "RequestBody": "{\u0022location\u0022: \u0022eastus\u0022, \u0022tags\u0022: {\u0022tag1\u0022: \u0022value1\u0022, \u0022tag2\u0022: \u0022value2\u0022}, \u0022sku\u0022: {\u0022name\u0022: \u0022Standard\u0022, \u0022tier\u0022: \u0022Standard\u0022}}", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 28 Dec 2021 06:37:58 GMT", + "Date": "Tue, 08 Mar 2022 07:34:16 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -255,10 +252,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "a9343570-2798-494c-8005-dbd2bf9e3c0b", + "x-ms-correlation-request-id": "20b47186-4b56-4304-877d-6fcabece2b62", "x-ms-ratelimit-remaining-subscription-writes": "1199", - "x-ms-request-id": "b0043696-1e05-4974-873f-9e9c2be62735_M3CH3_M3CH3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211228T063759Z:a9343570-2798-494c-8005-dbd2bf9e3c0b" + "x-ms-request-id": "3c6570cf-eb6d-4cda-af20-be239b176948_M5CH3_M5CH3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220308T073416Z:20b47186-4b56-4304-877d-6fcabece2b62" }, "ResponseBody": { "sku": { @@ -276,8 +273,8 @@ "properties": { "provisioningState": "Created", "metricId": "00000000-0000-0000-0000-000000000000:mynamespacexxyyzzybx", - "createdAt": "2021-12-28T06:37:57.457Z", - "updatedAt": "2021-12-28T06:37:57.457Z", + "createdAt": "2022-03-08T07:34:15.043Z", + "updatedAt": "2022-03-08T07:34:15.043Z", "serviceBusEndpoint": "https://myNamespacexxyyzzybx.servicebus.windows.net:443/", "status": "Activating" } @@ -291,8 +288,8 @@ "Accept-Encoding": "gzip, deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "ad4b7c74-67a8-11ec-865b-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.9.8 (Windows-10-10.0.19044)", + "x-ms-client-request-id": "249649e8-9eb2-11ec-8cf7-2811a8e804f3" }, "RequestBody": null, "StatusCode": 200, @@ -300,7 +297,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 28 Dec 2021 06:38:28 GMT", + "Date": "Tue, 08 Mar 2022 07:34:47 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -312,10 +309,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "e3295188-54b4-48f9-b6a6-83520dbd257d", + "x-ms-correlation-request-id": "02196101-f171-4b13-be43-01d5655b0e6b", "x-ms-ratelimit-remaining-subscription-reads": "11999", - "x-ms-request-id": "7dac15bd-c08c-4203-ac2f-100378a628d2_M4CH3_M4CH3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211228T063829Z:e3295188-54b4-48f9-b6a6-83520dbd257d" + "x-ms-request-id": "7a729093-2ad6-4424-b5a5-406ae2226a34_M3CH3_M3CH3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220308T073448Z:02196101-f171-4b13-be43-01d5655b0e6b" }, "ResponseBody": { "sku": { @@ -333,8 +330,8 @@ "properties": { "provisioningState": "Created", "metricId": "00000000-0000-0000-0000-000000000000:mynamespacexxyyzzybx", - "createdAt": "2021-12-28T06:37:57.457Z", - "updatedAt": "2021-12-28T06:37:57.457Z", + "createdAt": "2022-03-08T07:34:15.043Z", + "updatedAt": "2022-03-08T07:34:15.043Z", "serviceBusEndpoint": "https://myNamespacexxyyzzybx.servicebus.windows.net:443/", "status": "Activating" } @@ -348,8 +345,8 @@ "Accept-Encoding": "gzip, deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "ad4b7c74-67a8-11ec-865b-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.9.8 (Windows-10-10.0.19044)", + "x-ms-client-request-id": "249649e8-9eb2-11ec-8cf7-2811a8e804f3" }, "RequestBody": null, "StatusCode": 200, @@ -357,7 +354,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 28 Dec 2021 06:39:00 GMT", + "Date": "Tue, 08 Mar 2022 07:35:18 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -369,10 +366,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "59986d69-14e8-4202-bde2-044a6126cd59", + "x-ms-correlation-request-id": "86aabed4-9fba-4cba-a457-37824a444356", "x-ms-ratelimit-remaining-subscription-reads": "11998", - "x-ms-request-id": "213c7634-b0e4-4eb9-b260-aeeba2987358_M4CH3_M4CH3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211228T063900Z:59986d69-14e8-4202-bde2-044a6126cd59" + "x-ms-request-id": "03240d65-d87f-453e-983f-e9bab2ef78d5_M7CH3_M7CH3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220308T073518Z:86aabed4-9fba-4cba-a457-37824a444356" }, "ResponseBody": { "sku": { @@ -390,8 +387,8 @@ "properties": { "provisioningState": "Succeeded", "metricId": "00000000-0000-0000-0000-000000000000:mynamespacexxyyzzybx", - "createdAt": "2021-12-28T06:37:57.457Z", - "updatedAt": "2021-12-28T06:38:39.427Z", + "createdAt": "2022-03-08T07:34:15.043Z", + "updatedAt": "2022-03-08T07:34:56.713Z", "serviceBusEndpoint": "https://myNamespacexxyyzzybx.servicebus.windows.net:443/", "status": "Active" } @@ -407,16 +404,20 @@ "Connection": "keep-alive", "Content-Length": "44", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "d71512ba-67a8-11ec-ace5-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.9.8 (Windows-10-10.0.19044)", + "x-ms-client-request-id": "4ea667ca-9eb2-11ec-bccc-2811a8e804f3" + }, + "RequestBody": { + "properties": { + "enablePartitioning": true + } }, - "RequestBody": "{\u0022properties\u0022: {\u0022enablePartitioning\u0022: true}}", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 28 Dec 2021 06:39:02 GMT", + "Date": "Tue, 08 Mar 2022 07:35:20 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -428,10 +429,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "6ebda194-09f8-412f-988f-588dd8f508b7", + "x-ms-correlation-request-id": "8055729f-8c25-44a0-a1f8-ecf3d95db71c", "x-ms-ratelimit-remaining-subscription-writes": "1198", - "x-ms-request-id": "6e87de2a-a491-4c14-9b59-dd15f13398ee_M4CH3_M4CH3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211228T063902Z:6ebda194-09f8-412f-988f-588dd8f508b7" + "x-ms-request-id": "45a6e886-042a-4ad1-b277-d2ac1977e3a1_M7CH3_M7CH3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220308T073521Z:8055729f-8c25-44a0-a1f8-ecf3d95db71c" }, "ResponseBody": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.ServiceBus/namespaces/myNamespacexxyyzzybx/queues/myQueue", @@ -461,8 +462,8 @@ "transferMessageCount": 0, "transferDeadLetterMessageCount": 0 }, - "createdAt": "2021-12-28T06:39:02.04Z", - "updatedAt": "2021-12-28T06:39:02.293Z", + "createdAt": "2022-03-08T07:35:20.52Z", + "updatedAt": "2022-03-08T07:35:20.713Z", "accessedAt": "0001-01-01T00:00:00" } } @@ -477,16 +478,23 @@ "Connection": "keep-alive", "Content-Length": "46", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "d89fc03e-67a8-11ec-aed3-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.9.8 (Windows-10-10.0.19044)", + "x-ms-client-request-id": "501ed777-9eb2-11ec-ab2a-2811a8e804f3" + }, + "RequestBody": { + "properties": { + "rights": [ + "Listen", + "Send" + ] + } }, - "RequestBody": "{\u0022properties\u0022: {\u0022rights\u0022: [\u0022Listen\u0022, \u0022Send\u0022]}}", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 28 Dec 2021 06:39:03 GMT", + "Date": "Tue, 08 Mar 2022 07:35:21 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -498,10 +506,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "e01b1b83-6aa7-444a-9d3e-290e7c70b8ae", + "x-ms-correlation-request-id": "34d26e59-8854-40ea-bdbb-263fa405074c", "x-ms-ratelimit-remaining-subscription-writes": "1197", - "x-ms-request-id": "80abb0a8-6696-4e62-a798-f111628ada05_M4CH3_M4CH3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211228T063903Z:e01b1b83-6aa7-444a-9d3e-290e7c70b8ae" + "x-ms-request-id": "f89153bd-86f3-4694-a27c-e085deda96f9_M7CH3_M7CH3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220308T073522Z:34d26e59-8854-40ea-bdbb-263fa405074c" }, "ResponseBody": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.ServiceBus/namespaces/myNamespacexxyyzzybx/queues/myQueue/authorizationRules/myAuthorizationRule", @@ -524,8 +532,8 @@ "Accept-Encoding": "gzip, deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "d91cf99b-67a8-11ec-93b0-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.9.8 (Windows-10-10.0.19044)", + "x-ms-client-request-id": "5094e072-9eb2-11ec-af3f-2811a8e804f3" }, "RequestBody": null, "StatusCode": 200, @@ -533,7 +541,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 28 Dec 2021 06:39:04 GMT", + "Date": "Tue, 08 Mar 2022 07:35:22 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -545,10 +553,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "6ebc79fd-81fb-464e-9620-1f1525feb233", + "x-ms-correlation-request-id": "84d0cd1b-691a-4374-99dd-e4776760c8c1", "x-ms-ratelimit-remaining-subscription-reads": "11997", - "x-ms-request-id": "7a1b4590-a540-4515-8390-bc6ecd54e97f_M3CH3_M3CH3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211228T063904Z:6ebc79fd-81fb-464e-9620-1f1525feb233" + "x-ms-request-id": "b513ce93-e6d0-4907-a8f8-3553bc436a90_M7CH3_M7CH3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220308T073522Z:84d0cd1b-691a-4374-99dd-e4776760c8c1" }, "ResponseBody": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.ServiceBus/namespaces/myNamespacexxyyzzybx/queues/myQueue/authorizationRules/myAuthorizationRule", @@ -571,8 +579,8 @@ "Accept-Encoding": "gzip, deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "d987025f-67a8-11ec-a566-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.9.8 (Windows-10-10.0.19044)", + "x-ms-client-request-id": "50ebec4d-9eb2-11ec-a681-2811a8e804f3" }, "RequestBody": null, "StatusCode": 200, @@ -580,7 +588,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 28 Dec 2021 06:39:04 GMT", + "Date": "Tue, 08 Mar 2022 07:35:22 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -592,10 +600,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "e7b4df07-0c23-449b-a574-058bd7f7182a", + "x-ms-correlation-request-id": "9a92834c-c0d1-4931-a98b-ec9d01a36ee4", "x-ms-ratelimit-remaining-subscription-reads": "11996", - "x-ms-request-id": "517e2c2d-bbed-4e81-bee1-6ed3f0118f76_M3CH3_M3CH3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211228T063904Z:e7b4df07-0c23-449b-a574-058bd7f7182a" + "x-ms-request-id": "2733fce6-29c2-4af1-a4eb-1f0265c58871_M7CH3_M7CH3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220308T073522Z:9a92834c-c0d1-4931-a98b-ec9d01a36ee4" }, "ResponseBody": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.ServiceBus/namespaces/myNamespacexxyyzzybx/queues/myQueue", @@ -625,8 +633,8 @@ "transferMessageCount": 0, "transferDeadLetterMessageCount": 0 }, - "createdAt": "2021-12-28T06:39:02.04Z", - "updatedAt": "2021-12-28T06:39:03.4870062Z", + "createdAt": "2022-03-08T07:35:20.52Z", + "updatedAt": "2022-03-08T07:35:21.91Z", "accessedAt": "0001-01-01T00:00:00Z" } } @@ -641,16 +649,18 @@ "Connection": "keep-alive", "Content-Length": "25", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "d9cc4e76-67a8-11ec-93f9-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.9.8 (Windows-10-10.0.19044)", + "x-ms-client-request-id": "512012e0-9eb2-11ec-8bb6-2811a8e804f3" + }, + "RequestBody": { + "keyType": "PrimaryKey" }, - "RequestBody": "{\u0022keyType\u0022: \u0022PrimaryKey\u0022}", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 28 Dec 2021 06:39:05 GMT", + "Date": "Tue, 08 Mar 2022 07:35:23 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -662,16 +672,16 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "a5b69b61-cf3e-46bf-847d-bf39f4c1c2a9", + "x-ms-correlation-request-id": "491bcc6b-7028-428f-b83f-de76e924c8c3", "x-ms-ratelimit-remaining-subscription-writes": "1199", - "x-ms-request-id": "ab58ea38-62a3-4b74-bd11-3fa17b3d51b6_M3CH3_M3CH3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211228T063905Z:a5b69b61-cf3e-46bf-847d-bf39f4c1c2a9" + "x-ms-request-id": "db4e5591-d753-4026-9a97-effb87c62d7a_M7CH3_M7CH3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220308T073523Z:491bcc6b-7028-428f-b83f-de76e924c8c3" }, "ResponseBody": { - "primaryConnectionString": "Endpoint=sb://mynamespacexxyyzzybx.servicebus.windows.net/;SharedAccessKeyName=myAuthorizationRule;SharedAccessKey=lca/0D5kPMltPFoTrc8MRGS6y2Iws24f2i/oNWW6rY0=;EntityPath=myQueue", - "secondaryConnectionString": "Endpoint=sb://mynamespacexxyyzzybx.servicebus.windows.net/;SharedAccessKeyName=myAuthorizationRule;SharedAccessKey=c\u002B4Pkz4TUOPwRRBPcd0AuY5hKLKFn5TjnNhv5DsS6vo=;EntityPath=myQueue", - "primaryKey": "lca/0D5kPMltPFoTrc8MRGS6y2Iws24f2i/oNWW6rY0=", - "secondaryKey": "c\u002B4Pkz4TUOPwRRBPcd0AuY5hKLKFn5TjnNhv5DsS6vo=", + "primaryConnectionString": "Endpoint=sb://mynamespacexxyyzzybx.servicebus.windows.net/;SharedAccessKeyName=myAuthorizationRule;SharedAccessKey=6icqqrk\u002BL38g/tpKMEnhtWCfAxvI34lwFYbTCwazMvE=;EntityPath=myQueue", + "secondaryConnectionString": "Endpoint=sb://mynamespacexxyyzzybx.servicebus.windows.net/;SharedAccessKeyName=myAuthorizationRule;SharedAccessKey=NLUFk\u002BONaBg6/8losBK4IBCJLrA3tdUsahu6w2q7wJw=;EntityPath=myQueue", + "primaryKey": "6icqqrk\u002BL38g/tpKMEnhtWCfAxvI34lwFYbTCwazMvE=", + "secondaryKey": "NLUFk\u002BONaBg6/8losBK4IBCJLrA3tdUsahu6w2q7wJw=", "keyName": "myAuthorizationRule" } }, @@ -684,8 +694,8 @@ "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "da6341d1-67a8-11ec-899e-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.9.8 (Windows-10-10.0.19044)", + "x-ms-client-request-id": "51a183f9-9eb2-11ec-9971-2811a8e804f3" }, "RequestBody": null, "StatusCode": 200, @@ -693,7 +703,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 28 Dec 2021 06:39:06 GMT", + "Date": "Tue, 08 Mar 2022 07:35:23 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -705,16 +715,16 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "548fc560-7260-418b-ba9c-1ffd32a1b4c0", + "x-ms-correlation-request-id": "e29a5340-bb79-47fe-9e61-ae6113d6ebd8", "x-ms-ratelimit-remaining-subscription-writes": "1198", - "x-ms-request-id": "9add3d82-b60b-4512-9643-1c8997b35921_M3CH3_M3CH3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211228T063906Z:548fc560-7260-418b-ba9c-1ffd32a1b4c0" + "x-ms-request-id": "0da00395-592c-4146-af80-12f2500226a2_M7CH3_M7CH3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220308T073524Z:e29a5340-bb79-47fe-9e61-ae6113d6ebd8" }, "ResponseBody": { - "primaryConnectionString": "Endpoint=sb://mynamespacexxyyzzybx.servicebus.windows.net/;SharedAccessKeyName=myAuthorizationRule;SharedAccessKey=lca/0D5kPMltPFoTrc8MRGS6y2Iws24f2i/oNWW6rY0=;EntityPath=myQueue", - "secondaryConnectionString": "Endpoint=sb://mynamespacexxyyzzybx.servicebus.windows.net/;SharedAccessKeyName=myAuthorizationRule;SharedAccessKey=c\u002B4Pkz4TUOPwRRBPcd0AuY5hKLKFn5TjnNhv5DsS6vo=;EntityPath=myQueue", - "primaryKey": "lca/0D5kPMltPFoTrc8MRGS6y2Iws24f2i/oNWW6rY0=", - "secondaryKey": "c\u002B4Pkz4TUOPwRRBPcd0AuY5hKLKFn5TjnNhv5DsS6vo=", + "primaryConnectionString": "Endpoint=sb://mynamespacexxyyzzybx.servicebus.windows.net/;SharedAccessKeyName=myAuthorizationRule;SharedAccessKey=6icqqrk\u002BL38g/tpKMEnhtWCfAxvI34lwFYbTCwazMvE=;EntityPath=myQueue", + "secondaryConnectionString": "Endpoint=sb://mynamespacexxyyzzybx.servicebus.windows.net/;SharedAccessKeyName=myAuthorizationRule;SharedAccessKey=NLUFk\u002BONaBg6/8losBK4IBCJLrA3tdUsahu6w2q7wJw=;EntityPath=myQueue", + "primaryKey": "6icqqrk\u002BL38g/tpKMEnhtWCfAxvI34lwFYbTCwazMvE=", + "secondaryKey": "NLUFk\u002BONaBg6/8losBK4IBCJLrA3tdUsahu6w2q7wJw=", "keyName": "myAuthorizationRule" } }, @@ -727,15 +737,15 @@ "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "db0e99dd-67a8-11ec-a86c-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.9.8 (Windows-10-10.0.19044)", + "x-ms-client-request-id": "51f2f042-9eb2-11ec-9d8d-2811a8e804f3" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Tue, 28 Dec 2021 06:39:07 GMT", + "Date": "Tue, 08 Mar 2022 07:35:24 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -745,10 +755,10 @@ "Server-SB": "Service-Bus-Resource-Provider/CH3", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "71d27b6d-20fd-44f7-9326-a20fbf9a4354", + "x-ms-correlation-request-id": "5775731a-df75-4164-ae42-c9f58e48a45a", "x-ms-ratelimit-remaining-subscription-deletes": "14999", - "x-ms-request-id": "f3f63204-ffea-4f40-8182-dc78b9d9d572_M4CH3_M4CH3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211228T063908Z:71d27b6d-20fd-44f7-9326-a20fbf9a4354" + "x-ms-request-id": "08f8fc0b-545e-40ea-bb30-856a417550be_M7CH3_M7CH3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220308T073524Z:5775731a-df75-4164-ae42-c9f58e48a45a" }, "ResponseBody": null }, @@ -761,15 +771,15 @@ "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "dbd57d06-67a8-11ec-bf29-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.9.8 (Windows-10-10.0.19044)", + "x-ms-client-request-id": "524568d2-9eb2-11ec-b0ac-2811a8e804f3" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Tue, 28 Dec 2021 06:39:09 GMT", + "Date": "Tue, 08 Mar 2022 07:35:25 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -779,10 +789,10 @@ "Server-SB": "Service-Bus-Resource-Provider/CH3", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "3ec65a16-6853-441c-89f8-6b358504285e", + "x-ms-correlation-request-id": "0b7b4c0b-a2d6-4384-98f1-b9e665adc6e7", "x-ms-ratelimit-remaining-subscription-deletes": "14998", - "x-ms-request-id": "e6bcfea9-6863-4ba2-8d11-c6aaef3519b9_M4CH3_M4CH3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211228T063909Z:3ec65a16-6853-441c-89f8-6b358504285e" + "x-ms-request-id": "4832d7a4-260d-4c06-94d4-6117f0143913_M7CH3_M7CH3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220308T073525Z:0b7b4c0b-a2d6-4384-98f1-b9e665adc6e7" }, "ResponseBody": null }, @@ -795,15 +805,15 @@ "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "dc729d95-67a8-11ec-b63d-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.9.8 (Windows-10-10.0.19044)", + "x-ms-client-request-id": "52ca6393-9eb2-11ec-a4ef-2811a8e804f3" }, "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Tue, 28 Dec 2021 06:39:16 GMT", + "Date": "Tue, 08 Mar 2022 07:35:27 GMT", "Expires": "-1", "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.ServiceBus/namespaces/myNamespacexxyyzzybx/operationresults/myNamespacexxyyzzybx?api-version=2017-04-01", "Pragma": "no-cache", @@ -814,10 +824,10 @@ "Server-SB": "Service-Bus-Resource-Provider/CH3", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "ca45a21b-ec2c-4226-8175-a5a491ce2c56", + "x-ms-correlation-request-id": "e85288e1-b6ab-46e9-961f-cb4741f472a4", "x-ms-ratelimit-remaining-subscription-deletes": "14997", - "x-ms-request-id": "fbcc48b7-1c68-430c-8073-57108d1ed9d4_M4CH3_M4CH3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211228T063916Z:ca45a21b-ec2c-4226-8175-a5a491ce2c56" + "x-ms-request-id": "0a353f78-fd6a-4592-8bad-9137cdce55c0_M6CH3_M6CH3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220308T073527Z:e85288e1-b6ab-46e9-961f-cb4741f472a4" }, "ResponseBody": null }, @@ -829,15 +839,15 @@ "Accept-Encoding": "gzip, deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "dc729d95-67a8-11ec-b63d-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.9.8 (Windows-10-10.0.19044)", + "x-ms-client-request-id": "52ca6393-9eb2-11ec-a4ef-2811a8e804f3" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Tue, 28 Dec 2021 06:39:46 GMT", + "Date": "Tue, 08 Mar 2022 07:35:58 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -847,10 +857,10 @@ "Server-SB": "Service-Bus-Resource-Provider/CH3", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "38197983-8342-441b-8c3e-6ebd70a3994b", + "x-ms-correlation-request-id": "62c993be-23d3-4371-914c-6f25b26b32d9", "x-ms-ratelimit-remaining-subscription-reads": "11995", - "x-ms-request-id": "c9b5c8b2-6a17-44ad-9a95-ccb8169c689a_M4CH3_M4CH3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211228T063947Z:38197983-8342-441b-8c3e-6ebd70a3994b" + "x-ms-request-id": "3153a3b9-1cee-4685-8c10-fa157fe86eac_M6CH3_M6CH3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220308T073558Z:62c993be-23d3-4371-914c-6f25b26b32d9" }, "ResponseBody": null } diff --git a/sdk/servicebus/azure-mgmt-servicebus/tests/recordings/test_cli_mgmt_servicebus_topic.pyTestMgmtServiceBustest_subscrpition_and_rule.json b/sdk/servicebus/azure-mgmt-servicebus/tests/recordings/test_cli_mgmt_servicebus_topic.pyTestMgmtServiceBustest_subscrpition_and_rule.json index 8a8faf2fb54d..02c8ffc28012 100644 --- a/sdk/servicebus/azure-mgmt-servicebus/tests/recordings/test_cli_mgmt_servicebus_topic.pyTestMgmtServiceBustest_subscrpition_and_rule.json +++ b/sdk/servicebus/azure-mgmt-servicebus/tests/recordings/test_cli_mgmt_servicebus_topic.pyTestMgmtServiceBustest_subscrpition_and_rule.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.8.0 Python/3.9.8 (Windows-10-10.0.19044)" }, "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, 28 Dec 2021 06:39:54 GMT", + "Date": "Tue, 08 Mar 2022 07:36:08 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", - "Set-Cookie": [ - "fpc=AjtD23MtcQJPpdCXs47qIV-ZHqKEAQAAAL6nXNkOAAAA; expires=Thu, 27-Jan-2022 06:39: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.12261.17 - EUS ProdSlices", - "x-ms-request-id": "7635d73a-963d-4362-9b65-5a8b35702b01" + "x-ms-ests-server": "2.1.12529.17 - NCUS ProdSlices", + "x-ms-request-id": "75aa9548-fc10-48d2-8421-da5b44887100" }, "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=AjtD23MtcQJPpdCXs47qIV-ZHqKEAQAAAL6nXNkOAAAA; 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.8.0 Python/3.9.8 (Windows-10-10.0.19044)" }, "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, 28 Dec 2021 06:39:55 GMT", + "Date": "Tue, 08 Mar 2022 07:36:09 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", - "Set-Cookie": [ - "fpc=AjtD23MtcQJPpdCXs47qIV-ZHqKEAQAAAL6nXNkOAAAA; expires=Thu, 27-Jan-2022 06:39: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.12261.17 - SEASLR2 ProdSlices", - "x-ms-request-id": "70f2d6e6-a657-4463-8780-712482c04500" + "x-ms-ests-server": "2.1.12559.4 - SEASLR2 ProdSlices", + "x-ms-request-id": "5d637cd1-18ce-4e2d-87c9-e06745f31b00" }, "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": "772b9b2b-5301-4a43-b50b-d896e791d9da", + "client-request-id": "1baef054-b91a-4133-b5e4-87f9fca05f7b", "Connection": "keep-alive", "Content-Length": "289", "Content-Type": "application/x-www-form-urlencoded", - "Cookie": "fpc=AjtD23MtcQJPpdCXs47qIV-ZHqKEAQAAAL6nXNkOAAAA; 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.8.0 Python/3.9.8 (Windows-10-10.0.19044)", "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": "772b9b2b-5301-4a43-b50b-d896e791d9da", - "Content-Length": "1391", + "client-request-id": "1baef054-b91a-4133-b5e4-87f9fca05f7b", + "Content-Length": "93", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 28 Dec 2021 06:39:55 GMT", + "Date": "Tue, 08 Mar 2022 07:36:09 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", - "Set-Cookie": [ - "fpc=AjtD23MtcQJPpdCXs47qIV-ZHqKEAgAAAL6nXNkOAAAA; expires=Thu, 27-Jan-2022 06:39:56 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 - NCUS ProdSlices", - "x-ms-request-id": "f04abf54-2b73-41b0-bb81-1228e93e1b01" + "x-ms-ests-server": "2.1.12529.17 - SCUS ProdSlices", + "x-ms-request-id": "b6197296-7979-4433-8bdf-b518a982b200" }, "ResponseBody": { "token_type": "Bearer", "expires_in": 3599, "ext_expires_in": 3599, - "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ik1yNS1BVWliZkJpaTdOZDFqQmViYXhib1hXMCIsImtpZCI6Ik1yNS1BVWliZkJpaTdOZDFqQmViYXhib1hXMCJ9.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuYXp1cmUuY29tIiwiaXNzIjoiaHR0cHM6Ly9zdHMud2luZG93cy5uZXQvNTQ4MjZiMjItMzhkNi00ZmIyLWJhZDktYjdiOTNhM2U5YzVhLyIsImlhdCI6MTY0MDY3MzI5NiwibmJmIjoxNjQwNjczMjk2LCJleHAiOjE2NDA2NzcxOTYsImFpbyI6IkUyWmdZRGo3dXNEWlorbnpJTzc5ejgrdGtqZlBCUUE9IiwiYXBwaWQiOiJhMmRmNTRkNS1hYjAzLTQ3MjUtOWI4MC05YTAwYjNiMTk2N2YiLCJhcHBpZGFjciI6IjEiLCJpZHAiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC81NDgyNmIyMi0zOGQ2LTRmYjItYmFkOS1iN2I5M2EzZTljNWEvIiwiaWR0eXAiOiJhcHAiLCJvaWQiOiI4ODdjNDJiMS03OTQ2LTRjMjItYmFhNi0xNTA0M2U0YjEzMjMiLCJyaCI6IjAuQVRjQUltdUNWTlk0c2stNjJiZTVPajZjV3RWVTM2SURxeVZIbTRDYUFMT3hsbjgzQUFBLiIsInN1YiI6Ijg4N2M0MmIxLTc5NDYtNGMyMi1iYWE2LTE1MDQzZTRiMTMyMyIsInRpZCI6IjU0ODI2YjIyLTM4ZDYtNGZiMi1iYWQ5LWI3YjkzYTNlOWM1YSIsInV0aSI6IlZMOUs4SE1yc0VHN2dSSW82VDRiQVEiLCJ2ZXIiOiIxLjAiLCJ4bXNfY2MiOlsiQ1AxIl0sInhtc190Y2R0IjoxNDEyMjA2ODQwfQ.RCyjFS3y-FVLnH_UH62phEzHAKt9QSPuaLelws_ADeOtleqmM-mBhzmzNhxflxz12UFTsHt5iM0PW8-GoitzGc8tERyBBk5QKmYNHh7-Wtyt6FGqGvwaiSQWxegcapHK7WpcJ1Vgi7yzzVIj8mxLGAmhLVy0AyCBNj-gGzf-7Gm76PX_KXGrM0kpNGDfaoolUHfbJJ-4dNU7MA_dfgVCuONC_FHm4kpVfUmqzRCQySOl4AUioVOUSiA4rjJlbma9rqT1qeaGA5dcKtu1Eyv-JNlCRTYaXwjrivBKhVV2qddP5l84ys9lak3t4S3eD6Tz-bUr81Mwf0ORnfK91uhCZw" + "access_token": "access_token" } }, { @@ -233,16 +221,26 @@ "Connection": "keep-alive", "Content-Length": "117", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "f7a568f5-67a8-11ec-b89c-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.9.8 (Windows-10-10.0.19044)", + "x-ms-client-request-id": "6c195805-9eb2-11ec-8541-2811a8e804f3" + }, + "RequestBody": { + "location": "eastus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + } }, - "RequestBody": "{\u0022location\u0022: \u0022eastus\u0022, \u0022tags\u0022: {\u0022tag1\u0022: \u0022value1\u0022, \u0022tag2\u0022: \u0022value2\u0022}, \u0022sku\u0022: {\u0022name\u0022: \u0022Standard\u0022, \u0022tier\u0022: \u0022Standard\u0022}}", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 28 Dec 2021 06:40:01 GMT", + "Date": "Tue, 08 Mar 2022 07:36:14 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -254,10 +252,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "f0043756-b56f-40ae-b7da-a3e45bb76ca6", + "x-ms-correlation-request-id": "93653167-fc0d-4a3b-b7c3-805fb5237fe6", "x-ms-ratelimit-remaining-subscription-writes": "1196", - "x-ms-request-id": "50ac19fb-81b4-4050-ba7e-03e87fbe18f6_M4CH3_M4CH3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211228T064001Z:f0043756-b56f-40ae-b7da-a3e45bb76ca6" + "x-ms-request-id": "5f73cf17-2f13-46c6-8f3d-772ce16a756c_M7CH3_M7CH3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220308T073614Z:93653167-fc0d-4a3b-b7c3-805fb5237fe6" }, "ResponseBody": { "sku": { @@ -275,8 +273,8 @@ "properties": { "provisioningState": "Created", "metricId": "00000000-0000-0000-0000-000000000000:mynamespacexxyyzzxyye", - "createdAt": "2021-12-28T06:40:00.037Z", - "updatedAt": "2021-12-28T06:40:00.037Z", + "createdAt": "2022-03-08T07:36:12.583Z", + "updatedAt": "2022-03-08T07:36:12.583Z", "serviceBusEndpoint": "https://myNamespacexxyyzzxyye.servicebus.windows.net:443/", "status": "Activating" } @@ -290,8 +288,8 @@ "Accept-Encoding": "gzip, deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "f7a568f5-67a8-11ec-b89c-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.9.8 (Windows-10-10.0.19044)", + "x-ms-client-request-id": "6c195805-9eb2-11ec-8541-2811a8e804f3" }, "RequestBody": null, "StatusCode": 200, @@ -299,7 +297,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 28 Dec 2021 06:40:32 GMT", + "Date": "Tue, 08 Mar 2022 07:36:44 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -311,10 +309,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "61d516fd-781f-4947-a802-4687ba0832e7", + "x-ms-correlation-request-id": "9e30107a-dc17-42ba-a00d-22dd481b8a1e", "x-ms-ratelimit-remaining-subscription-reads": "11994", - "x-ms-request-id": "5cdc3063-1fb0-4c89-b0ac-a11418645416_M6CH3_M6CH3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211228T064033Z:61d516fd-781f-4947-a802-4687ba0832e7" + "x-ms-request-id": "132498c4-81b5-43a8-bd19-b380982c40f2_M7CH3_M7CH3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220308T073645Z:9e30107a-dc17-42ba-a00d-22dd481b8a1e" }, "ResponseBody": { "sku": { @@ -332,8 +330,8 @@ "properties": { "provisioningState": "Created", "metricId": "00000000-0000-0000-0000-000000000000:mynamespacexxyyzzxyye", - "createdAt": "2021-12-28T06:40:00.037Z", - "updatedAt": "2021-12-28T06:40:00.037Z", + "createdAt": "2022-03-08T07:36:12.583Z", + "updatedAt": "2022-03-08T07:36:12.583Z", "serviceBusEndpoint": "https://myNamespacexxyyzzxyye.servicebus.windows.net:443/", "status": "Activating" } @@ -347,8 +345,8 @@ "Accept-Encoding": "gzip, deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "f7a568f5-67a8-11ec-b89c-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.9.8 (Windows-10-10.0.19044)", + "x-ms-client-request-id": "6c195805-9eb2-11ec-8541-2811a8e804f3" }, "RequestBody": null, "StatusCode": 200, @@ -356,7 +354,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 28 Dec 2021 06:41:04 GMT", + "Date": "Tue, 08 Mar 2022 07:37:14 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -368,10 +366,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "4177fa04-0029-4237-a38f-3c95e7860d65", + "x-ms-correlation-request-id": "042f1d37-0d04-422c-8bcc-16dba826000f", "x-ms-ratelimit-remaining-subscription-reads": "11993", - "x-ms-request-id": "82c679f0-55cd-4127-abdc-090ba623dd50_M1CH3_M1CH3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211228T064104Z:4177fa04-0029-4237-a38f-3c95e7860d65" + "x-ms-request-id": "a0d5f399-4456-4a54-958c-a6a9f7c1b299_M4CH3_M4CH3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220308T073715Z:042f1d37-0d04-422c-8bcc-16dba826000f" }, "ResponseBody": { "sku": { @@ -389,8 +387,8 @@ "properties": { "provisioningState": "Succeeded", "metricId": "00000000-0000-0000-0000-000000000000:mynamespacexxyyzzxyye", - "createdAt": "2021-12-28T06:40:00.037Z", - "updatedAt": "2021-12-28T06:40:42.197Z", + "createdAt": "2022-03-08T07:36:12.583Z", + "updatedAt": "2022-03-08T07:36:55.847Z", "serviceBusEndpoint": "https://myNamespacexxyyzzxyye.servicebus.windows.net:443/", "status": "Active" } @@ -406,16 +404,20 @@ "Connection": "keep-alive", "Content-Length": "39", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "21268f8c-67a9-11ec-a92f-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.9.8 (Windows-10-10.0.19044)", + "x-ms-client-request-id": "94243633-9eb2-11ec-a843-2811a8e804f3" + }, + "RequestBody": { + "properties": { + "enableExpress": true + } }, - "RequestBody": "{\u0022properties\u0022: {\u0022enableExpress\u0022: true}}", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 28 Dec 2021 06:41:06 GMT", + "Date": "Tue, 08 Mar 2022 07:37:16 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -427,10 +429,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "d234ce15-eb85-48d2-be7e-f7f6c7f11584", + "x-ms-correlation-request-id": "ea351f5f-dc99-40af-b2ce-9ef522baa524", "x-ms-ratelimit-remaining-subscription-writes": "1195", - "x-ms-request-id": "30c5e2d8-2651-47b4-8004-1aeb5f0ea609_M1CH3_M1CH3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211228T064106Z:d234ce15-eb85-48d2-be7e-f7f6c7f11584" + "x-ms-request-id": "7fe53854-4228-49e8-a32e-48cb63985c5f_M4CH3_M4CH3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220308T073717Z:ea351f5f-dc99-40af-b2ce-9ef522baa524" }, "ResponseBody": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.ServiceBus/namespaces/myNamespacexxyyzzxyye/topics/myTopic", @@ -449,8 +451,8 @@ "autoDeleteOnIdle": "P10675199DT2H48M5.4775807S", "enablePartitioning": false, "enableExpress": true, - "createdAt": "2021-12-28T06:41:06.19Z", - "updatedAt": "2021-12-28T06:41:06.24Z", + "createdAt": "2022-03-08T07:37:16.89Z", + "updatedAt": "2022-03-08T07:37:16.947Z", "accessedAt": "0001-01-01T00:00:00", "subscriptionCount": 0, "countDetails": { @@ -473,16 +475,20 @@ "Connection": "keep-alive", "Content-Length": "49", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "2283eef2-67a9-11ec-9282-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.9.8 (Windows-10-10.0.19044)", + "x-ms-client-request-id": "956e8603-9eb2-11ec-ba45-2811a8e804f3" + }, + "RequestBody": { + "properties": { + "enableBatchedOperations": true + } }, - "RequestBody": "{\u0022properties\u0022: {\u0022enableBatchedOperations\u0022: true}}", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 28 Dec 2021 06:41:08 GMT", + "Date": "Tue, 08 Mar 2022 07:37:18 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -494,10 +500,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "010ca815-c5fa-4bbc-9765-f3c6f21a5e66", + "x-ms-correlation-request-id": "bcfaf09c-e07c-4d46-8413-f64f44080d1e", "x-ms-ratelimit-remaining-subscription-writes": "1194", - "x-ms-request-id": "f7ca21ba-662a-4cba-9ca8-26f3304b64df_M1CH3_M1CH3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211228T064108Z:010ca815-c5fa-4bbc-9765-f3c6f21a5e66" + "x-ms-request-id": "de664aac-3f50-43e6-80b6-778ed9b20d85_M4CH3_M4CH3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220308T073719Z:bcfaf09c-e07c-4d46-8413-f64f44080d1e" }, "ResponseBody": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.ServiceBus/namespaces/myNamespacexxyyzzxyye/topics/myTopic/subscriptions/mySubscription", @@ -514,8 +520,8 @@ "maxDeliveryCount": 10, "status": "Active", "enableBatchedOperations": true, - "createdAt": "2021-12-28T06:41:08.5274806Z", - "updatedAt": "2021-12-28T06:41:08.5274806Z", + "createdAt": "2022-03-08T07:37:18.8265335Z", + "updatedAt": "2022-03-08T07:37:18.8265335Z", "accessedAt": "0001-01-01T00:00:00", "countDetails": { "activeMessageCount": 0, @@ -538,8 +544,8 @@ "Connection": "keep-alive", "Content-Length": "2", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "23ad4ede-67a9-11ec-a76a-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.9.8 (Windows-10-10.0.19044)", + "x-ms-client-request-id": "96594548-9eb2-11ec-8993-2811a8e804f3" }, "RequestBody": {}, "StatusCode": 200, @@ -547,7 +553,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 28 Dec 2021 06:41:10 GMT", + "Date": "Tue, 08 Mar 2022 07:37:20 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -559,10 +565,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "c9e9f2b1-3592-4b9d-9df5-8140368b6e99", + "x-ms-correlation-request-id": "930be9be-1250-4f38-a7ac-fc70c4c367b2", "x-ms-ratelimit-remaining-subscription-writes": "1193", - "x-ms-request-id": "cf7095c3-722c-4e79-8190-4b4e048a33ae_M1CH3_M1CH3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211228T064110Z:c9e9f2b1-3592-4b9d-9df5-8140368b6e99" + "x-ms-request-id": "33e08cd6-d037-4900-b685-bbac23ffe2e1_M4CH3_M4CH3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220308T073720Z:930be9be-1250-4f38-a7ac-fc70c4c367b2" }, "ResponseBody": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.ServiceBus/namespaces/myNamespacexxyyzzxyye/topics/myTopic/subscriptions/mySubscription/rules/myRule", @@ -587,8 +593,8 @@ "Accept-Encoding": "gzip, deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "24ea21b0-67a9-11ec-bada-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.9.8 (Windows-10-10.0.19044)", + "x-ms-client-request-id": "9743701c-9eb2-11ec-8b7c-2811a8e804f3" }, "RequestBody": null, "StatusCode": 200, @@ -596,7 +602,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 28 Dec 2021 06:41:10 GMT", + "Date": "Tue, 08 Mar 2022 07:37:20 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -608,10 +614,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "2324444c-60ee-43cf-9be7-32b6289dc3d0", + "x-ms-correlation-request-id": "27ae3794-5a27-4e05-a709-b98b66d81506", "x-ms-ratelimit-remaining-subscription-reads": "11992", - "x-ms-request-id": "6ea22d66-9787-47e1-8fb5-126710e4fedb_M1CH3_M1CH3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211228T064111Z:2324444c-60ee-43cf-9be7-32b6289dc3d0" + "x-ms-request-id": "ad1fbca5-335b-449a-a0f2-ce571849be6b_M4CH3_M4CH3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220308T073721Z:27ae3794-5a27-4e05-a709-b98b66d81506" }, "ResponseBody": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.ServiceBus/namespaces/myNamespacexxyyzzxyye/topics/myTopic/subscriptions/mySubscription", @@ -628,9 +634,9 @@ "maxDeliveryCount": 10, "status": "Active", "enableBatchedOperations": true, - "createdAt": "2021-12-28T06:41:08.5382113Z", - "updatedAt": "2021-12-28T06:41:08.5382113Z", - "accessedAt": "2021-12-28T06:41:08.5382113Z", + "createdAt": "2022-03-08T07:37:18.8314468Z", + "updatedAt": "2022-03-08T07:37:18.8314468Z", + "accessedAt": "2022-03-08T07:37:18.8314468Z", "countDetails": { "activeMessageCount": 0, "deadLetterMessageCount": 0, @@ -650,8 +656,8 @@ "Accept-Encoding": "gzip, deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "2522747e-67a9-11ec-9902-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.9.8 (Windows-10-10.0.19044)", + "x-ms-client-request-id": "977ac2ef-9eb2-11ec-b59b-2811a8e804f3" }, "RequestBody": null, "StatusCode": 200, @@ -659,7 +665,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 28 Dec 2021 06:41:11 GMT", + "Date": "Tue, 08 Mar 2022 07:37:20 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -671,10 +677,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "a93241aa-aaff-45a1-bd7e-a3f3a72764ee", + "x-ms-correlation-request-id": "9ea24dce-0e54-4302-afd5-df50d89223b2", "x-ms-ratelimit-remaining-subscription-reads": "11991", - "x-ms-request-id": "a7e1139d-1570-44c3-940f-7b676c00976d_M1CH3_M1CH3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211228T064111Z:a93241aa-aaff-45a1-bd7e-a3f3a72764ee" + "x-ms-request-id": "ff3e512a-9461-4101-b633-1759e039bd77_M4CH3_M4CH3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220308T073721Z:9ea24dce-0e54-4302-afd5-df50d89223b2" }, "ResponseBody": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.ServiceBus/namespaces/myNamespacexxyyzzxyye/topics/myTopic/subscriptions/mySubscription/rules/myRule", @@ -700,15 +706,15 @@ "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "255977bc-67a9-11ec-8bac-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.9.8 (Windows-10-10.0.19044)", + "x-ms-client-request-id": "97b211da-9eb2-11ec-89be-2811a8e804f3" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Tue, 28 Dec 2021 06:41:11 GMT", + "Date": "Tue, 08 Mar 2022 07:37:21 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -718,10 +724,10 @@ "Server-SB": "Service-Bus-Resource-Provider/CH3", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "191fa934-ea7c-4c55-82a0-3007733574f2", + "x-ms-correlation-request-id": "747f957b-4e31-4ade-a395-e6b8a8b1c3ab", "x-ms-ratelimit-remaining-subscription-deletes": "14996", - "x-ms-request-id": "67dfab77-b9db-41ca-9680-95d73da17c1e_M1CH3_M1CH3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211228T064112Z:191fa934-ea7c-4c55-82a0-3007733574f2" + "x-ms-request-id": "f69c97ac-8e49-48f1-9f91-274e5dbae5ca_M4CH3_M4CH3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220308T073721Z:747f957b-4e31-4ade-a395-e6b8a8b1c3ab" }, "ResponseBody": null }, @@ -734,15 +740,15 @@ "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "25a03d9c-67a9-11ec-b729-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.9.8 (Windows-10-10.0.19044)", + "x-ms-client-request-id": "97f0c077-9eb2-11ec-9a6e-2811a8e804f3" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Tue, 28 Dec 2021 06:41:12 GMT", + "Date": "Tue, 08 Mar 2022 07:37:21 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -752,10 +758,10 @@ "Server-SB": "Service-Bus-Resource-Provider/CH3", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "8a1a43d7-7970-46e3-a11c-fead6e0c84f7", + "x-ms-correlation-request-id": "72222f48-9d95-48ca-aa90-15d45cfb4d91", "x-ms-ratelimit-remaining-subscription-deletes": "14995", - "x-ms-request-id": "b0fb3764-29d4-4465-bee5-4ed2cf3da45c_M1CH3_M1CH3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211228T064112Z:8a1a43d7-7970-46e3-a11c-fead6e0c84f7" + "x-ms-request-id": "83b2caf4-5f32-4cc6-bcd5-e9d3283b6f60_M4CH3_M4CH3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220308T073722Z:72222f48-9d95-48ca-aa90-15d45cfb4d91" }, "ResponseBody": null }, @@ -768,15 +774,15 @@ "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "25f72ada-67a9-11ec-8dcd-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.9.8 (Windows-10-10.0.19044)", + "x-ms-client-request-id": "9837e820-9eb2-11ec-a641-2811a8e804f3" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Tue, 28 Dec 2021 06:41:13 GMT", + "Date": "Tue, 08 Mar 2022 07:37:22 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -786,10 +792,10 @@ "Server-SB": "Service-Bus-Resource-Provider/CH3", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "0918d1fb-10df-4ec1-acb8-e3ab8925b63e", + "x-ms-correlation-request-id": "8e80de19-7945-40fb-8edb-90f84769b1ba", "x-ms-ratelimit-remaining-subscription-deletes": "14994", - "x-ms-request-id": "0923ee27-0157-4ef9-b378-6b38a33f2ff4_M1CH3_M1CH3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211228T064113Z:0918d1fb-10df-4ec1-acb8-e3ab8925b63e" + "x-ms-request-id": "b912fcba-2f02-4233-87fa-486116bd1d0f_M4CH3_M4CH3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220308T073723Z:8e80de19-7945-40fb-8edb-90f84769b1ba" }, "ResponseBody": null }, @@ -802,15 +808,15 @@ "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "26828c6f-67a9-11ec-bcbb-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.9.8 (Windows-10-10.0.19044)", + "x-ms-client-request-id": "98b8f388-9eb2-11ec-a081-2811a8e804f3" }, "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Tue, 28 Dec 2021 06:41:14 GMT", + "Date": "Tue, 08 Mar 2022 07:37:24 GMT", "Expires": "-1", "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.ServiceBus/namespaces/myNamespacexxyyzzxyye/operationresults/myNamespacexxyyzzxyye?api-version=2017-04-01", "Pragma": "no-cache", @@ -821,10 +827,10 @@ "Server-SB": "Service-Bus-Resource-Provider/CH3", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "0c2d4e6c-50b2-45f3-96a0-62e81fda8647", + "x-ms-correlation-request-id": "fc8565f8-8b82-45b4-839d-235b1bd941e2", "x-ms-ratelimit-remaining-subscription-deletes": "14993", - "x-ms-request-id": "5e22cd60-fbc6-4ee3-b0f5-03f9d7a6ea1d_M1CH3_M1CH3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211228T064114Z:0c2d4e6c-50b2-45f3-96a0-62e81fda8647" + "x-ms-request-id": "04ebed26-4fbb-4501-946d-3f0f2dec5e7f_M4CH3_M4CH3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220308T073724Z:fc8565f8-8b82-45b4-839d-235b1bd941e2" }, "ResponseBody": null }, @@ -836,15 +842,15 @@ "Accept-Encoding": "gzip, deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "26828c6f-67a9-11ec-bcbb-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.9.8 (Windows-10-10.0.19044)", + "x-ms-client-request-id": "98b8f388-9eb2-11ec-a081-2811a8e804f3" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Tue, 28 Dec 2021 06:41:44 GMT", + "Date": "Tue, 08 Mar 2022 07:37:54 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -854,10 +860,10 @@ "Server-SB": "Service-Bus-Resource-Provider/CH3", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "b806fa78-8f8d-465d-85dc-5fcc6d3c9fda", + "x-ms-correlation-request-id": "12c4a0e6-becb-4823-a699-3ab9d8512ad3", "x-ms-ratelimit-remaining-subscription-reads": "11990", - "x-ms-request-id": "77a4ab12-cb99-4035-ba56-2687f82b5bf6_M1CH3_M1CH3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211228T064144Z:b806fa78-8f8d-465d-85dc-5fcc6d3c9fda" + "x-ms-request-id": "b4dfacaf-7325-4753-ad3a-ce2b19da759e_M4CH3_M4CH3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220308T073755Z:12c4a0e6-becb-4823-a699-3ab9d8512ad3" }, "ResponseBody": null } diff --git a/sdk/servicebus/azure-mgmt-servicebus/tests/recordings/test_cli_mgmt_servicebus_topic.pyTestMgmtServiceBustest_topic.json b/sdk/servicebus/azure-mgmt-servicebus/tests/recordings/test_cli_mgmt_servicebus_topic.pyTestMgmtServiceBustest_topic.json index b24c4b0a64fa..3cfd51c096e5 100644 --- a/sdk/servicebus/azure-mgmt-servicebus/tests/recordings/test_cli_mgmt_servicebus_topic.pyTestMgmtServiceBustest_topic.json +++ b/sdk/servicebus/azure-mgmt-servicebus/tests/recordings/test_cli_mgmt_servicebus_topic.pyTestMgmtServiceBustest_topic.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.8.0 Python/3.9.8 (Windows-10-10.0.19044)" }, "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, 28 Dec 2021 06:41:53 GMT", + "Date": "Tue, 08 Mar 2022 07:38:00 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", - "Set-Cookie": [ - "fpc=AjtD23MtcQJPpdCXs47qIV-ZHqKEAgAAAL6nXNkOAAAA; expires=Thu, 27-Jan-2022 06:41:54 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": "7635d73a-963d-4362-9b65-5a8b067d2b01" + "x-ms-ests-server": "2.1.12529.17 - WUS2 ProdSlices", + "x-ms-request-id": "0094294a-0ef0-42eb-aa5e-137cad4edf00" }, "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=AjtD23MtcQJPpdCXs47qIV-ZHqKEAgAAAL6nXNkOAAAA; 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.8.0 Python/3.9.8 (Windows-10-10.0.19044)" }, "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, 28 Dec 2021 06:41:53 GMT", + "Date": "Tue, 08 Mar 2022 07:38:00 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", - "Set-Cookie": [ - "fpc=AjtD23MtcQJPpdCXs47qIV-ZHqKEAgAAAL6nXNkOAAAA; expires=Thu, 27-Jan-2022 06:41:54 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 - KRSLR2 ProdSlices", - "x-ms-request-id": "882ce76a-8151-44e0-b77f-469e7a334100" + "x-ms-ests-server": "2.1.12559.4 - SEASLR1 ProdSlices", + "x-ms-request-id": "3571f0c5-197d-427a-8139-86b4f7d11a00" }, "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": "0d5830c0-1fea-4eeb-be88-78ae9d692b9b", + "client-request-id": "08974842-f9f1-435c-b4b3-6ed123d8386a", "Connection": "keep-alive", "Content-Length": "289", "Content-Type": "application/x-www-form-urlencoded", - "Cookie": "fpc=AjtD23MtcQJPpdCXs47qIV-ZHqKEAgAAAL6nXNkOAAAA; 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.8.0 Python/3.9.8 (Windows-10-10.0.19044)", "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": "0d5830c0-1fea-4eeb-be88-78ae9d692b9b", - "Content-Length": "1391", + "client-request-id": "08974842-f9f1-435c-b4b3-6ed123d8386a", + "Content-Length": "93", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 28 Dec 2021 06:41:54 GMT", + "Date": "Tue, 08 Mar 2022 07:38:00 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", - "Set-Cookie": [ - "fpc=AjtD23MtcQJPpdCXs47qIV-ZHqKEAwAAAL6nXNkOAAAA; expires=Thu, 27-Jan-2022 06:41:54 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": "c3c2460b-a340-4655-9664-51cf1e596b01" + "x-ms-ests-server": "2.1.12529.17 - NCUS ProdSlices", + "x-ms-request-id": "b0d9c0c0-c81b-4aec-82ba-46c3fbbf7000" }, "ResponseBody": { "token_type": "Bearer", "expires_in": 3599, "ext_expires_in": 3599, - "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ik1yNS1BVWliZkJpaTdOZDFqQmViYXhib1hXMCIsImtpZCI6Ik1yNS1BVWliZkJpaTdOZDFqQmViYXhib1hXMCJ9.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuYXp1cmUuY29tIiwiaXNzIjoiaHR0cHM6Ly9zdHMud2luZG93cy5uZXQvNTQ4MjZiMjItMzhkNi00ZmIyLWJhZDktYjdiOTNhM2U5YzVhLyIsImlhdCI6MTY0MDY3MzQxNCwibmJmIjoxNjQwNjczNDE0LCJleHAiOjE2NDA2NzczMTQsImFpbyI6IkUyWmdZRWo2OTJaWHVMSHMrWWpnMVBKZHJ6dUxBQT09IiwiYXBwaWQiOiJhMmRmNTRkNS1hYjAzLTQ3MjUtOWI4MC05YTAwYjNiMTk2N2YiLCJhcHBpZGFjciI6IjEiLCJpZHAiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC81NDgyNmIyMi0zOGQ2LTRmYjItYmFkOS1iN2I5M2EzZTljNWEvIiwiaWR0eXAiOiJhcHAiLCJvaWQiOiI4ODdjNDJiMS03OTQ2LTRjMjItYmFhNi0xNTA0M2U0YjEzMjMiLCJyaCI6IjAuQVRjQUltdUNWTlk0c2stNjJiZTVPajZjV3RWVTM2SURxeVZIbTRDYUFMT3hsbjgzQUFBLiIsInN1YiI6Ijg4N2M0MmIxLTc5NDYtNGMyMi1iYWE2LTE1MDQzZTRiMTMyMyIsInRpZCI6IjU0ODI2YjIyLTM4ZDYtNGZiMi1iYWQ5LWI3YjkzYTNlOWM1YSIsInV0aSI6IkMwYkN3MENqVlVhV1pGSFBIbGxyQVEiLCJ2ZXIiOiIxLjAiLCJ4bXNfY2MiOlsiQ1AxIl0sInhtc190Y2R0IjoxNDEyMjA2ODQwfQ.KjAuJFiamweVNJY1InEh43bXr-5liwrJ56AF-6jB09CYxYyfp7Msm0rHOPvTi1SS_IwXCQ9NSr_uRNrF01Bs-hnhanf3Od2tFXqHPbMo8Ud2c9SxAdQJkfUdTMC7lCRCgj7-f-sFoQs5EJ_FLo9YWXTY-YCmy2UXfAlhostyyyKFKUHJx6G0I0ttsFstO8BBF2Fk5mh3cRu7nFTr5D3RBwE7Y0M9KaMA_K2LpVHh7-PqHO-b9CtYRbRHS9ee-bwaTpQhcco1rdHUbAcVZOugSh6QrlKeX6PNJZ8_5WdVz85bto06lixaw46CL_hn_0SNF-TabfIIvGS_Lk6t05xvZw" + "access_token": "access_token" } }, { @@ -233,16 +221,26 @@ "Connection": "keep-alive", "Content-Length": "117", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "3e3a2591-67a9-11ec-9522-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.9.8 (Windows-10-10.0.19044)", + "x-ms-client-request-id": "af10959e-9eb2-11ec-a85d-2811a8e804f3" + }, + "RequestBody": { + "location": "eastus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + } }, - "RequestBody": "{\u0022location\u0022: \u0022eastus\u0022, \u0022tags\u0022: {\u0022tag1\u0022: \u0022value1\u0022, \u0022tag2\u0022: \u0022value2\u0022}, \u0022sku\u0022: {\u0022name\u0022: \u0022Standard\u0022, \u0022tier\u0022: \u0022Standard\u0022}}", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 28 Dec 2021 06:41:58 GMT", + "Date": "Tue, 08 Mar 2022 07:38:06 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -254,10 +252,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "7da362a3-4423-4748-8a2f-f71e5cd5e606", + "x-ms-correlation-request-id": "dfce3db5-d716-44fe-b6f5-1b32ba3888cf", "x-ms-ratelimit-remaining-subscription-writes": "1192", - "x-ms-request-id": "c0f9663b-6ed9-4a3e-abe9-f3c98569e4ce_M1CH3_M1CH3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211228T064159Z:7da362a3-4423-4748-8a2f-f71e5cd5e606" + "x-ms-request-id": "fb2c45da-2d54-47e3-90fd-315c36f2cd99_M4CH3_M4CH3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220308T073806Z:dfce3db5-d716-44fe-b6f5-1b32ba3888cf" }, "ResponseBody": { "sku": { @@ -275,8 +273,8 @@ "properties": { "provisioningState": "Created", "metricId": "00000000-0000-0000-0000-000000000000:mynamespacexxyyzzxyyf", - "createdAt": "2021-12-28T06:41:57.6Z", - "updatedAt": "2021-12-28T06:41:57.6Z", + "createdAt": "2022-03-08T07:38:03.743Z", + "updatedAt": "2022-03-08T07:38:03.743Z", "serviceBusEndpoint": "https://myNamespacexxyyzzxyyf.servicebus.windows.net:443/", "status": "Activating" } @@ -290,8 +288,8 @@ "Accept-Encoding": "gzip, deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "3e3a2591-67a9-11ec-9522-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.9.8 (Windows-10-10.0.19044)", + "x-ms-client-request-id": "af10959e-9eb2-11ec-a85d-2811a8e804f3" }, "RequestBody": null, "StatusCode": 200, @@ -299,7 +297,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 28 Dec 2021 06:42:29 GMT", + "Date": "Tue, 08 Mar 2022 07:38:36 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -311,10 +309,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "0b6e1354-f029-4355-b6c3-48bb717d2507", + "x-ms-correlation-request-id": "81665ab3-c24b-4d0c-a700-99224aa4e8b4", "x-ms-ratelimit-remaining-subscription-reads": "11989", - "x-ms-request-id": "a0646a02-d523-4aa1-9c86-07e3d1cf5e09_M1CH3_M1CH3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211228T064229Z:0b6e1354-f029-4355-b6c3-48bb717d2507" + "x-ms-request-id": "c7dfad4f-4c04-4a1b-b110-3102377441ca_M1CH3_M1CH3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220308T073836Z:81665ab3-c24b-4d0c-a700-99224aa4e8b4" }, "ResponseBody": { "sku": { @@ -332,8 +330,8 @@ "properties": { "provisioningState": "Created", "metricId": "00000000-0000-0000-0000-000000000000:mynamespacexxyyzzxyyf", - "createdAt": "2021-12-28T06:41:57.6Z", - "updatedAt": "2021-12-28T06:41:57.6Z", + "createdAt": "2022-03-08T07:38:03.743Z", + "updatedAt": "2022-03-08T07:38:03.743Z", "serviceBusEndpoint": "https://myNamespacexxyyzzxyyf.servicebus.windows.net:443/", "status": "Activating" } @@ -347,8 +345,8 @@ "Accept-Encoding": "gzip, deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "3e3a2591-67a9-11ec-9522-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.9.8 (Windows-10-10.0.19044)", + "x-ms-client-request-id": "af10959e-9eb2-11ec-a85d-2811a8e804f3" }, "RequestBody": null, "StatusCode": 200, @@ -356,7 +354,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 28 Dec 2021 06:43:00 GMT", + "Date": "Tue, 08 Mar 2022 07:39:06 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -368,10 +366,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "601a7111-cab9-48ee-960c-a910b48a47d4", + "x-ms-correlation-request-id": "86c8fe2e-6108-4826-8909-5df4c4378a63", "x-ms-ratelimit-remaining-subscription-reads": "11988", - "x-ms-request-id": "6ff7bc13-e338-4089-b77a-7f198a5b950f_M1CH3_M1CH3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211228T064300Z:601a7111-cab9-48ee-960c-a910b48a47d4" + "x-ms-request-id": "1e7854b5-54b8-403e-9f44-1215d47930c8_M1CH3_M1CH3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220308T073906Z:86c8fe2e-6108-4826-8909-5df4c4378a63" }, "ResponseBody": { "sku": { @@ -389,8 +387,8 @@ "properties": { "provisioningState": "Succeeded", "metricId": "00000000-0000-0000-0000-000000000000:mynamespacexxyyzzxyyf", - "createdAt": "2021-12-28T06:41:57.6Z", - "updatedAt": "2021-12-28T06:42:41.56Z", + "createdAt": "2022-03-08T07:38:03.743Z", + "updatedAt": "2022-03-08T07:38:46.003Z", "serviceBusEndpoint": "https://myNamespacexxyyzzxyyf.servicebus.windows.net:443/", "status": "Active" } @@ -406,16 +404,20 @@ "Connection": "keep-alive", "Content-Length": "39", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "661b291f-67a9-11ec-87e7-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.9.8 (Windows-10-10.0.19044)", + "x-ms-client-request-id": "d688adc2-9eb2-11ec-801d-2811a8e804f3" + }, + "RequestBody": { + "properties": { + "enableExpress": true + } }, - "RequestBody": "{\u0022properties\u0022: {\u0022enableExpress\u0022: true}}", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 28 Dec 2021 06:43:02 GMT", + "Date": "Tue, 08 Mar 2022 07:39:08 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -427,10 +429,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "98ba0530-0371-4679-9851-0e4344336fb5", + "x-ms-correlation-request-id": "8e795048-e7b3-472e-911e-ff310b308365", "x-ms-ratelimit-remaining-subscription-writes": "1191", - "x-ms-request-id": "8314d9a4-f9e3-4abf-9c75-900c5342b321_M1CH3_M1CH3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211228T064302Z:98ba0530-0371-4679-9851-0e4344336fb5" + "x-ms-request-id": "00c625c3-18b2-4cc4-9f1b-8b009f16ddad_M4CH3_M4CH3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220308T073908Z:8e795048-e7b3-472e-911e-ff310b308365" }, "ResponseBody": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.ServiceBus/namespaces/myNamespacexxyyzzxyyf/topics/myTopic", @@ -449,8 +451,8 @@ "autoDeleteOnIdle": "P10675199DT2H48M5.4775807S", "enablePartitioning": false, "enableExpress": true, - "createdAt": "2021-12-28T06:43:01.677Z", - "updatedAt": "2021-12-28T06:43:01.773Z", + "createdAt": "2022-03-08T07:39:08.28Z", + "updatedAt": "2022-03-08T07:39:08.337Z", "accessedAt": "0001-01-01T00:00:00", "subscriptionCount": 0, "countDetails": { @@ -473,16 +475,23 @@ "Connection": "keep-alive", "Content-Length": "46", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "6767e3b0-67a9-11ec-bd90-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.9.8 (Windows-10-10.0.19044)", + "x-ms-client-request-id": "d7c5dd65-9eb2-11ec-88c1-2811a8e804f3" + }, + "RequestBody": { + "properties": { + "rights": [ + "Listen", + "Send" + ] + } }, - "RequestBody": "{\u0022properties\u0022: {\u0022rights\u0022: [\u0022Listen\u0022, \u0022Send\u0022]}}", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 28 Dec 2021 06:43:02 GMT", + "Date": "Tue, 08 Mar 2022 07:39:08 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -494,10 +503,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "175a0a67-1092-4194-83a0-8fab9702c767", + "x-ms-correlation-request-id": "0f1ee8dd-e73f-4e1c-80a6-9e587ebe9dc3", "x-ms-ratelimit-remaining-subscription-writes": "1190", - "x-ms-request-id": "882d7a84-c033-482b-b088-921f39062b45_M1CH3_M1CH3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211228T064303Z:175a0a67-1092-4194-83a0-8fab9702c767" + "x-ms-request-id": "5f6044c7-b8f3-4e5b-95de-4486414d6227_M4CH3_M4CH3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220308T073909Z:0f1ee8dd-e73f-4e1c-80a6-9e587ebe9dc3" }, "ResponseBody": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.ServiceBus/namespaces/myNamespacexxyyzzxyyf/topics/myTopic/authorizationRules/myAuthorizationRule", @@ -520,8 +529,8 @@ "Accept-Encoding": "gzip, deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "67d9f3e5-67a9-11ec-99fc-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.9.8 (Windows-10-10.0.19044)", + "x-ms-client-request-id": "d8176469-9eb2-11ec-9400-2811a8e804f3" }, "RequestBody": null, "StatusCode": 200, @@ -529,7 +538,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 28 Dec 2021 06:43:03 GMT", + "Date": "Tue, 08 Mar 2022 07:39:09 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -541,10 +550,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "07e1f038-1298-48fb-96d7-958edd55b0b8", + "x-ms-correlation-request-id": "07ad251b-d168-46ee-a108-6d85d85e7e45", "x-ms-ratelimit-remaining-subscription-reads": "11987", - "x-ms-request-id": "066368a3-a6c0-4cc4-930b-34fe99869123_M1CH3_M1CH3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211228T064303Z:07e1f038-1298-48fb-96d7-958edd55b0b8" + "x-ms-request-id": "29395a76-681b-40bf-9dad-4a5902e4a81e_M4CH3_M4CH3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220308T073909Z:07ad251b-d168-46ee-a108-6d85d85e7e45" }, "ResponseBody": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.ServiceBus/namespaces/myNamespacexxyyzzxyyf/topics/myTopic/authorizationRules/myAuthorizationRule", @@ -569,16 +578,18 @@ "Connection": "keep-alive", "Content-Length": "25", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "68348898-67a9-11ec-9969-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.9.8 (Windows-10-10.0.19044)", + "x-ms-client-request-id": "d866c4a0-9eb2-11ec-90c0-2811a8e804f3" + }, + "RequestBody": { + "keyType": "PrimaryKey" }, - "RequestBody": "{\u0022keyType\u0022: \u0022PrimaryKey\u0022}", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 28 Dec 2021 06:43:04 GMT", + "Date": "Tue, 08 Mar 2022 07:39:09 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -590,16 +601,16 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "4e41872f-e407-428c-822f-867ad593c0c7", + "x-ms-correlation-request-id": "50f17fbb-91f1-4319-88fc-85a85f9d8bb1", "x-ms-ratelimit-remaining-subscription-writes": "1197", - "x-ms-request-id": "e73bac93-06fc-4a7f-a773-c446666f3a38_M1CH3_M1CH3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211228T064304Z:4e41872f-e407-428c-822f-867ad593c0c7" + "x-ms-request-id": "a85e367d-7256-4f20-8d07-da6742ae516e_M4CH3_M4CH3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220308T073910Z:50f17fbb-91f1-4319-88fc-85a85f9d8bb1" }, "ResponseBody": { - "primaryConnectionString": "Endpoint=sb://mynamespacexxyyzzxyyf.servicebus.windows.net/;SharedAccessKeyName=myAuthorizationRule;SharedAccessKey=0SFv7DY\u002BArqvO68zwFY8J6KQ0Xt2D\u002BiYf/LW\u002B5W1okE=;EntityPath=myTopic", - "secondaryConnectionString": "Endpoint=sb://mynamespacexxyyzzxyyf.servicebus.windows.net/;SharedAccessKeyName=myAuthorizationRule;SharedAccessKey=3UdBtiLeB5tC4Qhny9zvJRRKNc/tVeilV4rGQsLzl\u002BU=;EntityPath=myTopic", - "primaryKey": "0SFv7DY\u002BArqvO68zwFY8J6KQ0Xt2D\u002BiYf/LW\u002B5W1okE=", - "secondaryKey": "3UdBtiLeB5tC4Qhny9zvJRRKNc/tVeilV4rGQsLzl\u002BU=", + "primaryConnectionString": "Endpoint=sb://mynamespacexxyyzzxyyf.servicebus.windows.net/;SharedAccessKeyName=myAuthorizationRule;SharedAccessKey=KDr\u002BKRZq/dKeX7jiQCQoZr1afRwLiUsJGTqgT/KwsCQ=;EntityPath=myTopic", + "secondaryConnectionString": "Endpoint=sb://mynamespacexxyyzzxyyf.servicebus.windows.net/;SharedAccessKeyName=myAuthorizationRule;SharedAccessKey=HfjOD9XO43FZ\u002BN61oCW8EeC0CaL2/xSy5TC/TSuXvTY=;EntityPath=myTopic", + "primaryKey": "KDr\u002BKRZq/dKeX7jiQCQoZr1afRwLiUsJGTqgT/KwsCQ=", + "secondaryKey": "HfjOD9XO43FZ\u002BN61oCW8EeC0CaL2/xSy5TC/TSuXvTY=", "keyName": "myAuthorizationRule" } }, @@ -612,8 +623,8 @@ "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "688fdd31-67a9-11ec-97cb-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.9.8 (Windows-10-10.0.19044)", + "x-ms-client-request-id": "d8c365ed-9eb2-11ec-a183-2811a8e804f3" }, "RequestBody": null, "StatusCode": 200, @@ -621,7 +632,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 28 Dec 2021 06:43:04 GMT", + "Date": "Tue, 08 Mar 2022 07:39:10 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -633,16 +644,16 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "92cc7b41-f7da-45a5-b5a7-942fce750047", + "x-ms-correlation-request-id": "396a2edb-b4d3-42fb-84f4-d47913070697", "x-ms-ratelimit-remaining-subscription-writes": "1196", - "x-ms-request-id": "4aadb64b-f710-41fb-ac99-328adc03326f_M1CH3_M1CH3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211228T064304Z:92cc7b41-f7da-45a5-b5a7-942fce750047" + "x-ms-request-id": "59aa148e-7409-4c6f-896b-1a89d07bd40d_M1CH3_M1CH3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220308T073911Z:396a2edb-b4d3-42fb-84f4-d47913070697" }, "ResponseBody": { - "primaryConnectionString": "Endpoint=sb://mynamespacexxyyzzxyyf.servicebus.windows.net/;SharedAccessKeyName=myAuthorizationRule;SharedAccessKey=0SFv7DY\u002BArqvO68zwFY8J6KQ0Xt2D\u002BiYf/LW\u002B5W1okE=;EntityPath=myTopic", - "secondaryConnectionString": "Endpoint=sb://mynamespacexxyyzzxyyf.servicebus.windows.net/;SharedAccessKeyName=myAuthorizationRule;SharedAccessKey=3UdBtiLeB5tC4Qhny9zvJRRKNc/tVeilV4rGQsLzl\u002BU=;EntityPath=myTopic", - "primaryKey": "0SFv7DY\u002BArqvO68zwFY8J6KQ0Xt2D\u002BiYf/LW\u002B5W1okE=", - "secondaryKey": "3UdBtiLeB5tC4Qhny9zvJRRKNc/tVeilV4rGQsLzl\u002BU=", + "primaryConnectionString": "Endpoint=sb://mynamespacexxyyzzxyyf.servicebus.windows.net/;SharedAccessKeyName=myAuthorizationRule;SharedAccessKey=KDr\u002BKRZq/dKeX7jiQCQoZr1afRwLiUsJGTqgT/KwsCQ=;EntityPath=myTopic", + "secondaryConnectionString": "Endpoint=sb://mynamespacexxyyzzxyyf.servicebus.windows.net/;SharedAccessKeyName=myAuthorizationRule;SharedAccessKey=HfjOD9XO43FZ\u002BN61oCW8EeC0CaL2/xSy5TC/TSuXvTY=;EntityPath=myTopic", + "primaryKey": "KDr\u002BKRZq/dKeX7jiQCQoZr1afRwLiUsJGTqgT/KwsCQ=", + "secondaryKey": "HfjOD9XO43FZ\u002BN61oCW8EeC0CaL2/xSy5TC/TSuXvTY=", "keyName": "myAuthorizationRule" } }, @@ -655,15 +666,15 @@ "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "68dce3d5-67a9-11ec-b1e8-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.9.8 (Windows-10-10.0.19044)", + "x-ms-client-request-id": "d9137ee2-9eb2-11ec-9aad-2811a8e804f3" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Tue, 28 Dec 2021 06:43:05 GMT", + "Date": "Tue, 08 Mar 2022 07:39:11 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -673,10 +684,10 @@ "Server-SB": "Service-Bus-Resource-Provider/CH3", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "de58e81e-5387-41d0-bece-0c82f56cb772", + "x-ms-correlation-request-id": "e2e5536f-9051-4b4d-a2f1-dcfc3c519e5e", "x-ms-ratelimit-remaining-subscription-deletes": "14992", - "x-ms-request-id": "ce766593-f811-45ba-8d0e-d1f82e5abe10_M1CH3_M1CH3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211228T064305Z:de58e81e-5387-41d0-bece-0c82f56cb772" + "x-ms-request-id": "85954c39-e66c-45af-9a4b-6d4b5bbb0f79_M5CH3_M5CH3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220308T073911Z:e2e5536f-9051-4b4d-a2f1-dcfc3c519e5e" }, "ResponseBody": null }, @@ -689,15 +700,15 @@ "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "69389089-67a9-11ec-a5a0-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.9.8 (Windows-10-10.0.19044)", + "x-ms-client-request-id": "d993e8dc-9eb2-11ec-86af-2811a8e804f3" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Tue, 28 Dec 2021 06:43:06 GMT", + "Date": "Tue, 08 Mar 2022 07:39:12 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -707,10 +718,10 @@ "Server-SB": "Service-Bus-Resource-Provider/CH3", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "6d352029-4d52-4338-9950-656f4d249acc", + "x-ms-correlation-request-id": "4c331329-9424-4ffb-a253-19c1d77add6e", "x-ms-ratelimit-remaining-subscription-deletes": "14991", - "x-ms-request-id": "0a8be593-d7c5-4be1-a828-75f6f4f1ae21_M1CH3_M1CH3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211228T064306Z:6d352029-4d52-4338-9950-656f4d249acc" + "x-ms-request-id": "060886aa-ef20-4e6a-bbf1-65575584b6cf_M5CH3_M5CH3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220308T073912Z:4c331329-9424-4ffb-a253-19c1d77add6e" }, "ResponseBody": null }, @@ -723,15 +734,15 @@ "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "69be10c5-67a9-11ec-b57a-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.9.8 (Windows-10-10.0.19044)", + "x-ms-client-request-id": "da263886-9eb2-11ec-b80a-2811a8e804f3" }, "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Tue, 28 Dec 2021 06:43:07 GMT", + "Date": "Tue, 08 Mar 2022 07:39:13 GMT", "Expires": "-1", "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.ServiceBus/namespaces/myNamespacexxyyzzxyyf/operationresults/myNamespacexxyyzzxyyf?api-version=2017-04-01", "Pragma": "no-cache", @@ -742,10 +753,10 @@ "Server-SB": "Service-Bus-Resource-Provider/CH3", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "d8c804b8-fb0c-4879-8057-4ec7e0551a68", + "x-ms-correlation-request-id": "63cac75f-ff0b-465c-890c-efc942e9ab22", "x-ms-ratelimit-remaining-subscription-deletes": "14990", - "x-ms-request-id": "dd25c084-6b92-49bf-800a-9662e2a01eb6_M1CH3_M1CH3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211228T064307Z:d8c804b8-fb0c-4879-8057-4ec7e0551a68" + "x-ms-request-id": "daa1775a-1063-48e4-b735-5f83c057c475_M5CH3_M5CH3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220308T073914Z:63cac75f-ff0b-465c-890c-efc942e9ab22" }, "ResponseBody": null }, @@ -757,15 +768,72 @@ "Accept-Encoding": "gzip, deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "69be10c5-67a9-11ec-b57a-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.9.8 (Windows-10-10.0.19044)", + "x-ms-client-request-id": "da263886-9eb2-11ec-b80a-2811a8e804f3" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "622", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 08 Mar 2022 07:39:50 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.ServiceBus/namespaces/myNamespacexxyyzzxyyf/operationresults/myNamespacexxyyzzxyyf?api-version=2017-04-01", + "Pragma": "no-cache", + "Retry-After": "33", + "Server": [ + "Service-Bus-Resource-Provider/CH3", + "Microsoft-HTTPAPI/2.0" + ], + "Server-SB": "Service-Bus-Resource-Provider/CH3", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "23bdf811-7532-4bbe-8380-9da6db9ccc41", + "x-ms-ratelimit-remaining-subscription-reads": "11986", + "x-ms-request-id": "90aa962c-259e-465f-b65b-e66d07c1d810_M10CH3_M10CH3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220308T073951Z:23bdf811-7532-4bbe-8380-9da6db9ccc41" + }, + "ResponseBody": { + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.ServiceBus/namespaces/myNamespacexxyyzzxyyf", + "name": "myNamespacexxyyzzxyyf", + "type": "Microsoft.ServiceBus/Namespaces", + "location": "East US", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "provisioningState": "Succeeded", + "metricId": "00000000-0000-0000-0000-000000000000:mynamespacexxyyzzxyyf", + "createdAt": "2022-03-08T07:38:03.743Z", + "updatedAt": "2022-03-08T07:39:13.623Z", + "serviceBusEndpoint": "https://myNamespacexxyyzzxyyf.servicebus.windows.net:443/", + "status": "Removing" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.ServiceBus/namespaces/myNamespacexxyyzzxyyf/operationresults/myNamespacexxyyzzxyyf?api-version=2017-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-python-azure-mgmt-servicebus/7.1.0 Python/3.9.8 (Windows-10-10.0.19044)", + "x-ms-client-request-id": "da263886-9eb2-11ec-b80a-2811a8e804f3" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Tue, 28 Dec 2021 06:43:37 GMT", + "Date": "Tue, 08 Mar 2022 07:40:23 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -775,10 +843,10 @@ "Server-SB": "Service-Bus-Resource-Provider/CH3", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "9152ca56-d5fc-4c41-aedb-3f0365a1ed40", - "x-ms-ratelimit-remaining-subscription-reads": "11986", - "x-ms-request-id": "11efca55-6452-41db-88b9-5ed108c31a62_M1CH3_M1CH3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211228T064337Z:9152ca56-d5fc-4c41-aedb-3f0365a1ed40" + "x-ms-correlation-request-id": "53dd2983-c666-46ef-80d3-79e5089bc80e", + "x-ms-ratelimit-remaining-subscription-reads": "11985", + "x-ms-request-id": "158b3500-b41a-4df0-80a1-459926f5fe37_M3CH3_M3CH3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220308T074024Z:53dd2983-c666-46ef-80d3-79e5089bc80e" }, "ResponseBody": null }