diff --git a/sdk/resources/azure-mgmt-resource/tests/conftest.py b/sdk/resources/azure-mgmt-resource/tests/conftest.py index de673c627a44..eac32968d866 100644 --- a/sdk/resources/azure-mgmt-resource/tests/conftest.py +++ b/sdk/resources/azure-mgmt-resource/tests/conftest.py @@ -31,6 +31,8 @@ from dotenv import load_dotenv from devtools_testutils import test_proxy, add_general_regex_sanitizer +from devtools_testutils import add_header_regex_sanitizer, add_body_key_sanitizer + # Ignore async tests for Python < 3.5 collect_ignore_glob = [] @@ -44,4 +46,7 @@ def add_sanitizers(test_proxy): subscription_id = os.environ.get("AZURE_SUBSCRIPTION_ID", "00000000-0000-0000-0000-000000000000") tenant_id = os.environ.get("AZURE_TENANT_ID", "00000000-0000-0000-0000-000000000000") add_general_regex_sanitizer(regex=subscription_id, value="00000000-0000-0000-0000-000000000000") - add_general_regex_sanitizer(regex=tenant_id, value="00000000-0000-0000-0000-000000000000") \ No newline at end of file + add_general_regex_sanitizer(regex=tenant_id, value="00000000-0000-0000-0000-000000000000") + add_header_regex_sanitizer(key="Set-Cookie", value="[set-cookie;]") + add_header_regex_sanitizer(key="Cookie", value="cookie;") + add_body_key_sanitizer(json_path="$..access_token", value="access_token") \ No newline at end of file diff --git a/sdk/resources/azure-mgmt-resource/tests/recordings/test_mgmt_resource_deployment_scripts.pyTestMgmtResourceDeploymentScripttest_deployment_scripts.json b/sdk/resources/azure-mgmt-resource/tests/recordings/test_mgmt_resource_deployment_scripts.pyTestMgmtResourceDeploymentScripttest_deployment_scripts.json index 1535c9b2ed30..3f6a4e7d3d89 100644 --- a/sdk/resources/azure-mgmt-resource/tests/recordings/test_mgmt_resource_deployment_scripts.pyTestMgmtResourceDeploymentScripttest_deployment_scripts.json +++ b/sdk/resources/azure-mgmt-resource/tests/recordings/test_mgmt_resource_deployment_scripts.pyTestMgmtResourceDeploymentScripttest_deployment_scripts.json @@ -7,7 +7,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-identity/1.7.2 Python/3.7.3 (Windows-10-10.0.22000-SP0)" + "User-Agent": "azsdk-python-identity/1.9.0b1 Python/3.9.10 (Windows-10-10.0.22000-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -17,18 +17,13 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "1753", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 26 Nov 2021 05:57:58 GMT", + "Date": "Fri, 04 Mar 2022 08:40:06 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", - "Set-Cookie": [ - "fpc=Avt8V8S-PVdJpYNuUHuZ8Pg; expires=Sun, 26-Dec-2021 05:57:58 GMT; path=/; secure; HttpOnly; SameSite=None", - "esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrZ6f3zrZkux2H-fzp3RN1v4YwTQoRAjsCYLjY_gbgQHRJ-i1PUS2uqI1gAkIhLVJQPIfd3x2FL0n6d9XMb6y1PjdPhPl5h8GQtQpXe92PljhaXiCSLRpmYvvO-xriTysiKCAAw70PASibPzfpq1P6yqEDJFlqJsiLDtB92gf4EaAgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None", - "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", - "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" - ], + "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.12231.8 - SCUS ProdSlices", - "x-ms-request-id": "85fa4a5e-8013-4fb1-96c8-c5d3fc62b401" + "x-ms-ests-server": "2.1.12529.17 - WUS2 ProdSlices", + "x-ms-request-id": "8ca48660-b619-485d-8316-b17ce9410f00" }, "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=Avt8V8S-PVdJpYNuUHuZ8Pg; stsservicecookie=estsfd; x-ms-gateway-slice=estsfd", - "User-Agent": "azsdk-python-identity/1.7.2 Python/3.7.3 (Windows-10-10.0.22000-SP0)" + "Cookie": "cookie;", + "User-Agent": "azsdk-python-identity/1.9.0b1 Python/3.9.10 (Windows-10-10.0.22000-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -116,17 +111,13 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "945", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 26 Nov 2021 05:57:58 GMT", + "Date": "Fri, 04 Mar 2022 08:40:06 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", - "Set-Cookie": [ - "fpc=Avt8V8S-PVdJpYNuUHuZ8Pg; expires=Sun, 26-Dec-2021 05:57:58 GMT; path=/; secure; HttpOnly; SameSite=None", - "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", - "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" - ], + "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.12249.14 - KRSLR2 ProdSlices", - "x-ms-request-id": "055667e2-b61d-41bf-855f-5896b8582700" + "x-ms-ests-server": "2.1.12529.17 - KRSLR1 ProdSlices", + "x-ms-request-id": "a30d6742-9f4c-4ab5-9612-11a459590e00" }, "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": "9289b385-9476-4786-980e-8abc950469e9", + "client-request-id": "a9de569b-6999-4d29-8010-054be4ab5ee8", "Connection": "keep-alive", "Content-Length": "289", "Content-Type": "application/x-www-form-urlencoded", - "Cookie": "fpc=Avt8V8S-PVdJpYNuUHuZ8Pg; stsservicecookie=estsfd; x-ms-gateway-slice=estsfd", - "User-Agent": "azsdk-python-identity/1.7.2 Python/3.7.3 (Windows-10-10.0.22000-SP0)", + "Cookie": "cookie;", + "User-Agent": "azsdk-python-identity/1.9.0b1 Python/3.9.10 (Windows-10-10.0.22000-SP0)", "x-client-cpu": "x64", "x-client-current-telemetry": "4|730,0|", "x-client-last-telemetry": "4|0|||", "x-client-os": "win32", "x-client-sku": "MSAL.Python", - "x-client-ver": "1.16.0", + "x-client-ver": "1.17.0", "x-ms-lib-capability": "retry-after, h429" }, "RequestBody": "client_id=a2df54d5-ab03-4725-9b80-9a00b3b1967f\u0026grant_type=client_credentials\u0026client_info=1\u0026client_secret=0vj7Q~IsFayrD0V_8oyOfygU-GE3ELOabq95a\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D\u0026scope=https%3A%2F%2Fmanagement.azure.com%2F.default", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", - "client-request-id": "9289b385-9476-4786-980e-8abc950469e9", - "Content-Length": "1349", + "client-request-id": "a9de569b-6999-4d29-8010-054be4ab5ee8", + "Content-Length": "93", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 26 Nov 2021 05:57:58 GMT", + "Date": "Fri, 04 Mar 2022 08:40:07 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", - "Set-Cookie": [ - "fpc=Avt8V8S-PVdJpYNuUHuZ8PiZHqKEAQAAAGZuMtkOAAAA; expires=Sun, 26-Dec-2021 05:57:59 GMT; path=/; secure; HttpOnly; SameSite=None", - "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", - "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" - ], + "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.12231.8 - EUS ProdSlices", - "x-ms-request-id": "5fd054d7-d019-4c53-88e0-62dbef34dc01" + "x-ms-ests-server": "2.1.12507.17 - NCUS ProdSlices", + "x-ms-request-id": "08aac84e-24e0-46c8-8510-700008a57500" }, "ResponseBody": { "token_type": "Bearer", "expires_in": 3599, "ext_expires_in": 3599, - "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Imwzc1EtNTBjQ0g0eEJWWkxIVEd3blNSNzY4MCIsImtpZCI6Imwzc1EtNTBjQ0g0eEJWWkxIVEd3blNSNzY4MCJ9.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuYXp1cmUuY29tIiwiaXNzIjoiaHR0cHM6Ly9zdHMud2luZG93cy5uZXQvNTQ4MjZiMjItMzhkNi00ZmIyLWJhZDktYjdiOTNhM2U5YzVhLyIsImlhdCI6MTYzNzkwNTk3OSwibmJmIjoxNjM3OTA1OTc5LCJleHAiOjE2Mzc5MDk4NzksImFpbyI6IkUyWmdZQ2lNMmF6U1lObTVxRTN6ekpVMWZkYkNBQT09IiwiYXBwaWQiOiJhMmRmNTRkNS1hYjAzLTQ3MjUtOWI4MC05YTAwYjNiMTk2N2YiLCJhcHBpZGFjciI6IjEiLCJpZHAiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC81NDgyNmIyMi0zOGQ2LTRmYjItYmFkOS1iN2I5M2EzZTljNWEvIiwib2lkIjoiODg3YzQyYjEtNzk0Ni00YzIyLWJhYTYtMTUwNDNlNGIxMzIzIiwicmgiOiIwLkFUY0FJbXVDVk5ZNHNrLTYyYmU1T2o2Y1d0VlUzNklEcXlWSG00Q2FBTE94bG44M0FBQS4iLCJzdWIiOiI4ODdjNDJiMS03OTQ2LTRjMjItYmFhNi0xNTA0M2U0YjEzMjMiLCJ0aWQiOiI1NDgyNmIyMi0zOGQ2LTRmYjItYmFkOS1iN2I5M2EzZTljNWEiLCJ1dGkiOiIxMVRRWHhuUVUweUk0R0xiN3pUY0FRIiwidmVyIjoiMS4wIiwieG1zX3RjZHQiOjE0MTIyMDY4NDB9.M9BZrE59O05jrDFD-QUFwKGK9yNBDe9Hlls9ZOItBy5x71MXgHHB82dgc5E6HOf9V0qnQ1Mh0dzNsxYOKTcqlF0uU-FobdBbRvdo2YvbB5JyhCnNXmewHTe6q8oHOxY5AZio6usDuKKWQ2_84coOC6VKmNjNJmWh5cdHSBq7PYbfMRo-tuLnoKHo0htNHilzqixZl2WAVnyH45QPuGgwG0ZmQ9oUXBkvUf6t0cyJ-_JVcrP7JNITehmQUFmKSjPAdl_KSV-Y-pii46u4U-1qKraJlNI1xUAOg_ShaLuBN16DBaqudSKXGfkKob1xQll6RrQxO17hwFYKJFJpgi1jlg" + "access_token": "access_token" } }, { @@ -234,77 +221,92 @@ "Connection": "keep-alive", "Content-Length": "591", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-resource/20.0.0 Python/3.7.3 (Windows-10-10.0.22000-SP0)", - "x-ms-client-request-id": "cdfa24ee-4e7d-11ec-a94c-2cf05d45d152" + "User-Agent": "azsdk-python-azure-mgmt-resource/20.1.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "b8f7c819-9b96-11ec-9040-d08e79139a4a" + }, + "RequestBody": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai": {} + } + }, + "location": "westus", + "kind": "AzurePowerShell", + "properties": { + "cleanupPreference": "Always", + "scriptContent": "Param([string]$Location,[string]$Name) $deploymentScriptOutputs[\u0027test\u0027] = \u0027value\u0027 Get-AzResourceGroup -Location $Location -Name $Name", + "arguments": "-Location \u0027westus\u0027 -Name \u0022*rg2\u0022", + "retentionInterval": "P1DT2H", + "timeout": "PT30M", + "azPowerShellVersion": "3.0" + } }, - "RequestBody": "{\u0022identity\u0022: {\u0022type\u0022: \u0022UserAssigned\u0022, \u0022userAssignedIdentities\u0022: {\u0022/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai\u0022: {}}}, \u0022location\u0022: \u0022westus\u0022, \u0022kind\u0022: \u0022AzurePowerShell\u0022, \u0022properties\u0022: {\u0022cleanupPreference\u0022: \u0022Always\u0022, \u0022scriptContent\u0022: \u0022Param([string]$Location,[string]$Name) $deploymentScriptOutputs[\u0027test\u0027] = \u0027value\u0027 Get-AzResourceGroup -Location $Location -Name $Name\u0022, \u0022arguments\u0022: \u0022-Location \u0027westus\u0027 -Name \\\u0022*rg2\\\u0022\u0022, \u0022retentionInterval\u0022: \u0022P1DT2H\u0022, \u0022timeout\u0022: \u0022PT30M\u0022, \u0022azPowerShellVersion\u0022: \u00223.0\u0022}}", "StatusCode": 201, "ResponseHeaders": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/locations/westus/deploymentScriptOperationResults/63b4d5d6-96a2-4eb9-9c67-d82bee9b7222?api-version=2019-10-01-preview", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/locations/westus/deploymentScriptOperationResults/16ffb8bd-4d63-4159-bddf-7dba5be984ff?api-version=2019-10-01-preview", "Cache-Control": "no-cache", "Content-Length": "1497", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 26 Nov 2021 05:58:05 GMT", + "Date": "Fri, 04 Mar 2022 08:40:17 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "17", "Server": "Microsoft-HTTPAPI/2.0", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "637d9201-e66a-45e7-89c3-471becf184cc", - "x-ms-ratelimit-remaining-subscription-writes": "1198", - "x-ms-request-id": "c9efbf35-0963-4567-842a-464239423146", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211126T055806Z:637d9201-e66a-45e7-89c3-471becf184cc" + "x-ms-correlation-request-id": "78f25642-9d0e-478c-b8f6-43f5b1230b36", + "x-ms-ratelimit-remaining-subscription-writes": "1199", + "x-ms-request-id": "923eb34b-dea6-41d1-b0fc-1726bb491027", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T084018Z:78f25642-9d0e-478c-b8f6-43f5b1230b36" }, - "ResponseBody": [ - "{\r\n", - " \u0022kind\u0022: \u0022AzurePowerShell\u0022,\r\n", - " \u0022identity\u0022: {\r\n", - " \u0022type\u0022: \u0022userAssigned\u0022,\r\n", - " \u0022tenantId\u0022: \u002200000000-0000-0000-0000-000000000000\u0022,\r\n", - " \u0022userAssignedIdentities\u0022: {\r\n", - " \u0022/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai\u0022: {\r\n", - " \u0022principalId\u0022: \u002207a49957-fd51-4e4d-9048-ba0625d3e0a0\u0022,\r\n", - " \u0022clientId\u0022: \u00225f28c26d-10a3-4c57-b651-9e17515fa424\u0022\r\n", - " }\r\n", - " }\r\n", - " },\r\n", - " \u0022location\u0022: \u0022westus\u0022,\r\n", - " \u0022properties\u0022: {\r\n", - " \u0022provisioningState\u0022: \u0022Creating\u0022,\r\n", - " \u0022azPowerShellVersion\u0022: \u00223.0\u0022,\r\n", - " \u0022scriptContent\u0022: \u0022Param([string]$Location,[string]$Name) $deploymentScriptOutputs[\u0027test\u0027] = \u0027value\u0027 Get-AzResourceGroup -Location $Location -Name $Name\u0022,\r\n", - " \u0022arguments\u0022: \u0022-Location \u0027westus\u0027 -Name \\\u0022*rg2\\\u0022\u0022,\r\n", - " \u0022retentionInterval\u0022: \u0022P1DT2H\u0022,\r\n", - " \u0022timeout\u0022: \u0022PT30M\u0022,\r\n", - " \u0022containerSettings\u0022: {},\r\n", - " \u0022status\u0022: {},\r\n", - " \u0022cleanupPreference\u0022: \u0022Always\u0022\r\n", - " },\r\n", - " \u0022systemData\u0022: {\r\n", - " \u0022createdBy\u0022: \u0022a2df54d5-ab03-4725-9b80-9a00b3b1967f\u0022,\r\n", - " \u0022createdByType\u0022: \u0022Application\u0022,\r\n", - " \u0022createdAt\u0022: \u00222021-11-26T05:58:02.7902487Z\u0022,\r\n", - " \u0022lastModifiedBy\u0022: \u0022a2df54d5-ab03-4725-9b80-9a00b3b1967f\u0022,\r\n", - " \u0022lastModifiedByType\u0022: \u0022Application\u0022,\r\n", - " \u0022lastModifiedAt\u0022: \u00222021-11-26T05:58:02.7902487Z\u0022\r\n", - " },\r\n", - " \u0022id\u0022: \u0022/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Resources/deploymentScripts/scripttest\u0022,\r\n", - " \u0022type\u0022: \u0022Microsoft.Resources/deploymentScripts\u0022,\r\n", - " \u0022name\u0022: \u0022scripttest\u0022\r\n", - "}" - ] + "ResponseBody": { + "kind": "AzurePowerShell", + "identity": { + "type": "userAssigned", + "tenantId": "00000000-0000-0000-0000-000000000000", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai": { + "principalId": "92f46337-4dfa-448d-b126-19226fa2ccbd", + "clientId": "7c48c37a-536d-4090-8363-20c67d8be276" + } + } + }, + "location": "westus", + "properties": { + "provisioningState": "Creating", + "azPowerShellVersion": "3.0", + "scriptContent": "Param([string]$Location,[string]$Name) $deploymentScriptOutputs[\u0027test\u0027] = \u0027value\u0027 Get-AzResourceGroup -Location $Location -Name $Name", + "arguments": "-Location \u0027westus\u0027 -Name \u0022*rg2\u0022", + "retentionInterval": "P1DT2H", + "timeout": "PT30M", + "containerSettings": {}, + "status": {}, + "cleanupPreference": "Always" + }, + "systemData": { + "createdBy": "a2df54d5-ab03-4725-9b80-9a00b3b1967f", + "createdByType": "Application", + "createdAt": "2022-03-04T08:40:13.8520069Z", + "lastModifiedBy": "a2df54d5-ab03-4725-9b80-9a00b3b1967f", + "lastModifiedByType": "Application", + "lastModifiedAt": "2022-03-04T08:40:13.8520069Z" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Resources/deploymentScripts/scripttest", + "type": "Microsoft.Resources/deploymentScripts", + "name": "scripttest" + } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/locations/westus/deploymentScriptOperationResults/63b4d5d6-96a2-4eb9-9c67-d82bee9b7222?api-version=2019-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/locations/westus/deploymentScriptOperationResults/16ffb8bd-4d63-4159-bddf-7dba5be984ff?api-version=2019-10-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-resource/20.0.0 Python/3.7.3 (Windows-10-10.0.22000-SP0)", - "x-ms-client-request-id": "cdfa24ee-4e7d-11ec-a94c-2cf05d45d152" + "User-Agent": "azsdk-python-azure-mgmt-resource/20.1.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "b8f7c819-9b96-11ec-9040-d08e79139a4a" }, "RequestBody": null, "StatusCode": 200, @@ -312,7 +314,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 26 Nov 2021 05:58:22 GMT", + "Date": "Fri, 04 Mar 2022 08:40:34 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": "Microsoft-HTTPAPI/2.0", @@ -320,33 +322,27 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "5594e2a8-ab48-42f2-9dce-49cf3c30b56c", + "x-ms-correlation-request-id": "e0c9b1fd-606e-4170-a1f4-216a82370c3b", "x-ms-ratelimit-remaining-subscription-reads": "11999", - "x-ms-request-id": "c2f46654-91c0-49cc-a680-325af7a93e88", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211126T055823Z:5594e2a8-ab48-42f2-9dce-49cf3c30b56c" + "x-ms-request-id": "31a83514-4c74-4049-8c8a-9954d9d5bc78", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T084035Z:e0c9b1fd-606e-4170-a1f4-216a82370c3b" }, - "ResponseBody": [ - "{\r\n", - " \u0022id\u0022: \u0022/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/locations/westus/deploymentScriptOperationResults/63b4d5d6-96a2-4eb9-9c67-d82bee9b7222\u0022,\r\n", - " \u0022name\u0022: \u002263b4d5d6-96a2-4eb9-9c67-d82bee9b7222\u0022,\r\n", - " \u0022status\u0022: \u0022provisioningResources\u0022,\r\n", - " \u0022error\u0022: {\r\n", - " \u0022code\u0022: \u0022DeploymentScriptOperationFailed\u0022,\r\n", - " \u0022message\u0022: \u0022The client \u002707a49957-fd51-4e4d-9048-ba0625d3e0a0\u0027 with object id \u002707a49957-fd51-4e4d-9048-ba0625d3e0a0\u0027 does not have authorization to perform action \u0027Microsoft.Resources/subscriptions/providers/read\u0027 over scope \u0027/subscriptions/00000000-0000-0000-0000-000000000000\u0027 or the scope is invalid. If access was recently granted, please refresh your credentials.\u0022\r\n", - " }\r\n", - "}" - ] + "ResponseBody": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/locations/westus/deploymentScriptOperationResults/16ffb8bd-4d63-4159-bddf-7dba5be984ff", + "name": "16ffb8bd-4d63-4159-bddf-7dba5be984ff", + "status": "provisioningResources" + } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/locations/westus/deploymentScriptOperationResults/63b4d5d6-96a2-4eb9-9c67-d82bee9b7222?api-version=2019-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/locations/westus/deploymentScriptOperationResults/16ffb8bd-4d63-4159-bddf-7dba5be984ff?api-version=2019-10-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-resource/20.0.0 Python/3.7.3 (Windows-10-10.0.22000-SP0)", - "x-ms-client-request-id": "cdfa24ee-4e7d-11ec-a94c-2cf05d45d152" + "User-Agent": "azsdk-python-azure-mgmt-resource/20.1.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "b8f7c819-9b96-11ec-9040-d08e79139a4a" }, "RequestBody": null, "StatusCode": 200, @@ -354,7 +350,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 26 Nov 2021 05:58:54 GMT", + "Date": "Fri, 04 Mar 2022 08:41:05 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": "Microsoft-HTTPAPI/2.0", @@ -362,33 +358,31 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "aa9d6094-8c85-43e9-a36c-7eb6d5258591", + "x-ms-correlation-request-id": "1280311e-dd3c-425d-b671-eb503432c8af", "x-ms-ratelimit-remaining-subscription-reads": "11998", - "x-ms-request-id": "65237236-cf72-4e3c-9bfd-2875d6f958d1", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211126T055854Z:aa9d6094-8c85-43e9-a36c-7eb6d5258591" + "x-ms-request-id": "af9c7770-aa3c-43e2-9a69-c84f5ba8758d", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T084105Z:1280311e-dd3c-425d-b671-eb503432c8af" }, - "ResponseBody": [ - "{\r\n", - " \u0022id\u0022: \u0022/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/locations/westus/deploymentScriptOperationResults/63b4d5d6-96a2-4eb9-9c67-d82bee9b7222\u0022,\r\n", - " \u0022name\u0022: \u002263b4d5d6-96a2-4eb9-9c67-d82bee9b7222\u0022,\r\n", - " \u0022status\u0022: \u0022provisioningResources\u0022,\r\n", - " \u0022error\u0022: {\r\n", - " \u0022code\u0022: \u0022DeploymentScriptOperationFailed\u0022,\r\n", - " \u0022message\u0022: \u0022The client \u002707a49957-fd51-4e4d-9048-ba0625d3e0a0\u0027 with object id \u002707a49957-fd51-4e4d-9048-ba0625d3e0a0\u0027 does not have authorization to perform action \u0027Microsoft.Resources/subscriptions/providers/read\u0027 over scope \u0027/subscriptions/00000000-0000-0000-0000-000000000000\u0027 or the scope is invalid. If access was recently granted, please refresh your credentials.\u0022\r\n", - " }\r\n", - "}" - ] + "ResponseBody": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/locations/westus/deploymentScriptOperationResults/16ffb8bd-4d63-4159-bddf-7dba5be984ff", + "name": "16ffb8bd-4d63-4159-bddf-7dba5be984ff", + "status": "provisioningResources", + "error": { + "code": "DeploymentScriptOperationFailed", + "message": "The client \u002792f46337-4dfa-448d-b126-19226fa2ccbd\u0027 with object id \u002792f46337-4dfa-448d-b126-19226fa2ccbd\u0027 does not have authorization to perform action \u0027Microsoft.Resources/subscriptions/providers/read\u0027 over scope \u0027/subscriptions/00000000-0000-0000-0000-000000000000\u0027 or the scope is invalid. If access was recently granted, please refresh your credentials." + } + } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/locations/westus/deploymentScriptOperationResults/63b4d5d6-96a2-4eb9-9c67-d82bee9b7222?api-version=2019-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/locations/westus/deploymentScriptOperationResults/16ffb8bd-4d63-4159-bddf-7dba5be984ff?api-version=2019-10-01-preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-resource/20.0.0 Python/3.7.3 (Windows-10-10.0.22000-SP0)", - "x-ms-client-request-id": "cdfa24ee-4e7d-11ec-a94c-2cf05d45d152" + "User-Agent": "azsdk-python-azure-mgmt-resource/20.1.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "b8f7c819-9b96-11ec-9040-d08e79139a4a" }, "RequestBody": null, "StatusCode": 200, @@ -396,7 +390,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 26 Nov 2021 05:59:24 GMT", + "Date": "Fri, 04 Mar 2022 08:41:36 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": "Microsoft-HTTPAPI/2.0", @@ -404,22 +398,60 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "47eaba45-91f6-403a-8c13-22b9d87a02f9", + "x-ms-correlation-request-id": "a1b46794-adbb-4bd9-8e68-c659d4f9b6b2", "x-ms-ratelimit-remaining-subscription-reads": "11997", - "x-ms-request-id": "2d31922e-ed1e-4eaf-8bbd-634a95a6e00a", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211126T055924Z:47eaba45-91f6-403a-8c13-22b9d87a02f9" + "x-ms-request-id": "2a2ef0e4-faf6-41c1-b5fb-ababef4914b5", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T084136Z:a1b46794-adbb-4bd9-8e68-c659d4f9b6b2" }, - "ResponseBody": [ - "{\r\n", - " \u0022id\u0022: \u0022/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/locations/westus/deploymentScriptOperationResults/63b4d5d6-96a2-4eb9-9c67-d82bee9b7222\u0022,\r\n", - " \u0022name\u0022: \u002263b4d5d6-96a2-4eb9-9c67-d82bee9b7222\u0022,\r\n", - " \u0022status\u0022: \u0022failed\u0022,\r\n", - " \u0022error\u0022: {\r\n", - " \u0022code\u0022: \u0022DeploymentScriptOperationFailed\u0022,\r\n", - " \u0022message\u0022: \u0022The client \u002707a49957-fd51-4e4d-9048-ba0625d3e0a0\u0027 with object id \u002707a49957-fd51-4e4d-9048-ba0625d3e0a0\u0027 does not have authorization to perform action \u0027Microsoft.Resources/subscriptions/providers/read\u0027 over scope \u0027/subscriptions/00000000-0000-0000-0000-000000000000\u0027 or the scope is invalid. If access was recently granted, please refresh your credentials.\u0022\r\n", - " }\r\n", - "}" - ] + "ResponseBody": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/locations/westus/deploymentScriptOperationResults/16ffb8bd-4d63-4159-bddf-7dba5be984ff", + "name": "16ffb8bd-4d63-4159-bddf-7dba5be984ff", + "status": "provisioningResources", + "error": { + "code": "DeploymentScriptOperationFailed", + "message": "The client \u002792f46337-4dfa-448d-b126-19226fa2ccbd\u0027 with object id \u002792f46337-4dfa-448d-b126-19226fa2ccbd\u0027 does not have authorization to perform action \u0027Microsoft.Resources/subscriptions/providers/read\u0027 over scope \u0027/subscriptions/00000000-0000-0000-0000-000000000000\u0027 or the scope is invalid. If access was recently granted, please refresh your credentials." + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/locations/westus/deploymentScriptOperationResults/16ffb8bd-4d63-4159-bddf-7dba5be984ff?api-version=2019-10-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-python-azure-mgmt-resource/20.1.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "b8f7c819-9b96-11ec-9040-d08e79139a4a" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 04 Mar 2022 08:42:06 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "9c7f9d70-b544-4db5-bc23-c351664d23b8", + "x-ms-ratelimit-remaining-subscription-reads": "11996", + "x-ms-request-id": "e495c426-f134-4caa-ab71-0891ccf78f4e", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T084206Z:9c7f9d70-b544-4db5-bc23-c351664d23b8" + }, + "ResponseBody": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/locations/westus/deploymentScriptOperationResults/16ffb8bd-4d63-4159-bddf-7dba5be984ff", + "name": "16ffb8bd-4d63-4159-bddf-7dba5be984ff", + "status": "failed", + "error": { + "code": "DeploymentScriptOperationFailed", + "message": "The client \u002792f46337-4dfa-448d-b126-19226fa2ccbd\u0027 with object id \u002792f46337-4dfa-448d-b126-19226fa2ccbd\u0027 does not have authorization to perform action \u0027Microsoft.Resources/subscriptions/providers/read\u0027 over scope \u0027/subscriptions/00000000-0000-0000-0000-000000000000\u0027 or the scope is invalid. If access was recently granted, please refresh your credentials." + } + } }, { "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgname/providers/Microsoft.Resources/deploymentScripts/scripttest?api-version=2019-10-01-preview", @@ -431,16 +463,20 @@ "Connection": "keep-alive", "Content-Length": "28", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-resource/20.0.0 Python/3.7.3 (Windows-10-10.0.22000-SP0)", - "x-ms-client-request-id": "01d523ba-4e7e-11ec-bdad-2cf05d45d152" + "User-Agent": "azsdk-python-azure-mgmt-resource/20.1.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "009d40d5-9b97-11ec-a1c3-d08e79139a4a" + }, + "RequestBody": { + "tags": { + "key1": "value1" + } }, - "RequestBody": "{\u0022tags\u0022: {\u0022key1\u0022: \u0022value1\u0022}}", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 26 Nov 2021 05:59:27 GMT", + "Date": "Fri, 04 Mar 2022 08:42:09 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": "Microsoft-HTTPAPI/2.0", @@ -448,60 +484,58 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "085c8924-7d2a-4f2e-b2d5-3e3add6dfa0d", - "x-ms-ratelimit-remaining-subscription-writes": "1197", - "x-ms-request-id": "7cc4a899-5572-47d5-b112-d7debe22ac0c", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211126T055927Z:085c8924-7d2a-4f2e-b2d5-3e3add6dfa0d" + "x-ms-correlation-request-id": "eeeeac9c-b785-41db-9cb7-6541c51ec4b7", + "x-ms-ratelimit-remaining-subscription-writes": "1198", + "x-ms-request-id": "640b522c-345f-4c1c-bd74-1ecee55d59d5", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T084210Z:eeeeac9c-b785-41db-9cb7-6541c51ec4b7" }, - "ResponseBody": [ - "{\r\n", - " \u0022kind\u0022: \u0022AzurePowerShell\u0022,\r\n", - " \u0022identity\u0022: {\r\n", - " \u0022type\u0022: \u0022userAssigned\u0022,\r\n", - " \u0022tenantId\u0022: \u002200000000-0000-0000-0000-000000000000\u0022,\r\n", - " \u0022userAssignedIdentities\u0022: {\r\n", - " \u0022/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai\u0022: {\r\n", - " \u0022principalId\u0022: \u002207a49957-fd51-4e4d-9048-ba0625d3e0a0\u0022,\r\n", - " \u0022clientId\u0022: \u00225f28c26d-10a3-4c57-b651-9e17515fa424\u0022\r\n", - " }\r\n", - " }\r\n", - " },\r\n", - " \u0022location\u0022: \u0022westus\u0022,\r\n", - " \u0022tags\u0022: {\r\n", - " \u0022key1\u0022: \u0022value1\u0022\r\n", - " },\r\n", - " \u0022properties\u0022: {\r\n", - " \u0022provisioningState\u0022: \u0022Failed\u0022,\r\n", - " \u0022azPowerShellVersion\u0022: \u00223.0\u0022,\r\n", - " \u0022scriptContent\u0022: \u0022Param([string]$Location,[string]$Name) $deploymentScriptOutputs[\u0027test\u0027] = \u0027value\u0027 Get-AzResourceGroup -Location $Location -Name $Name\u0022,\r\n", - " \u0022arguments\u0022: \u0022-Location \u0027westus\u0027 -Name \\\u0022*rg2\\\u0022\u0022,\r\n", - " \u0022retentionInterval\u0022: \u0022P1DT2H\u0022,\r\n", - " \u0022timeout\u0022: \u0022PT30M\u0022,\r\n", - " \u0022containerSettings\u0022: {},\r\n", - " \u0022status\u0022: {\r\n", - " \u0022startTime\u0022: \u00222021-11-26T05:59:21.7692795Z\u0022,\r\n", - " \u0022endTime\u0022: \u00222021-11-26T05:59:22.8728804Z\u0022,\r\n", - " \u0022expirationTime\u0022: \u00222021-11-27T07:59:22.8728804Z\u0022,\r\n", - " \u0022error\u0022: {\r\n", - " \u0022code\u0022: \u0022DeploymentScriptOperationFailed\u0022,\r\n", - " \u0022message\u0022: \u0022The client \u002707a49957-fd51-4e4d-9048-ba0625d3e0a0\u0027 with object id \u002707a49957-fd51-4e4d-9048-ba0625d3e0a0\u0027 does not have authorization to perform action \u0027Microsoft.Resources/subscriptions/providers/read\u0027 over scope \u0027/subscriptions/00000000-0000-0000-0000-000000000000\u0027 or the scope is invalid. If access was recently granted, please refresh your credentials.\u0022\r\n", - " }\r\n", - " },\r\n", - " \u0022cleanupPreference\u0022: \u0022Always\u0022\r\n", - " },\r\n", - " \u0022systemData\u0022: {\r\n", - " \u0022createdBy\u0022: \u0022a2df54d5-ab03-4725-9b80-9a00b3b1967f\u0022,\r\n", - " \u0022createdByType\u0022: \u0022Application\u0022,\r\n", - " \u0022createdAt\u0022: \u00222021-11-26T05:58:02.7902487Z\u0022,\r\n", - " \u0022lastModifiedBy\u0022: \u0022a2df54d5-ab03-4725-9b80-9a00b3b1967f\u0022,\r\n", - " \u0022lastModifiedByType\u0022: \u0022Application\u0022,\r\n", - " \u0022lastModifiedAt\u0022: \u00222021-11-26T05:59:25.3466523Z\u0022\r\n", - " },\r\n", - " \u0022id\u0022: \u0022/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Resources/deploymentScripts/scripttest\u0022,\r\n", - " \u0022type\u0022: \u0022Microsoft.Resources/deploymentScripts\u0022,\r\n", - " \u0022name\u0022: \u0022scripttest\u0022\r\n", - "}" - ] + "ResponseBody": { + "kind": "AzurePowerShell", + "identity": { + "type": "userAssigned", + "tenantId": "00000000-0000-0000-0000-000000000000", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai": { + "principalId": "92f46337-4dfa-448d-b126-19226fa2ccbd", + "clientId": "7c48c37a-536d-4090-8363-20c67d8be276" + } + } + }, + "location": "westus", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Failed", + "azPowerShellVersion": "3.0", + "scriptContent": "Param([string]$Location,[string]$Name) $deploymentScriptOutputs[\u0027test\u0027] = \u0027value\u0027 Get-AzResourceGroup -Location $Location -Name $Name", + "arguments": "-Location \u0027westus\u0027 -Name \u0022*rg2\u0022", + "retentionInterval": "P1DT2H", + "timeout": "PT30M", + "containerSettings": {}, + "status": { + "startTime": "2022-03-04T08:41:39.1475257Z", + "endTime": "2022-03-04T08:41:40.3506058Z", + "expirationTime": "2022-03-05T10:41:40.3506058Z", + "error": { + "code": "DeploymentScriptOperationFailed", + "message": "The client \u002792f46337-4dfa-448d-b126-19226fa2ccbd\u0027 with object id \u002792f46337-4dfa-448d-b126-19226fa2ccbd\u0027 does not have authorization to perform action \u0027Microsoft.Resources/subscriptions/providers/read\u0027 over scope \u0027/subscriptions/00000000-0000-0000-0000-000000000000\u0027 or the scope is invalid. If access was recently granted, please refresh your credentials." + } + }, + "cleanupPreference": "Always" + }, + "systemData": { + "createdBy": "a2df54d5-ab03-4725-9b80-9a00b3b1967f", + "createdByType": "Application", + "createdAt": "2022-03-04T08:40:13.8520069Z", + "lastModifiedBy": "a2df54d5-ab03-4725-9b80-9a00b3b1967f", + "lastModifiedByType": "Application", + "lastModifiedAt": "2022-03-04T08:42:08.5871328Z" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Resources/deploymentScripts/scripttest", + "type": "Microsoft.Resources/deploymentScripts", + "name": "scripttest" + } }, { "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgname/providers/Microsoft.Resources/deploymentScripts/scripttest?api-version=2019-10-01-preview", @@ -511,8 +545,8 @@ "Accept-Encoding": "gzip, deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-resource/20.0.0 Python/3.7.3 (Windows-10-10.0.22000-SP0)", - "x-ms-client-request-id": "03ab1d1a-4e7e-11ec-861e-2cf05d45d152" + "User-Agent": "azsdk-python-azure-mgmt-resource/20.1.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "02cd36af-9b97-11ec-9440-d08e79139a4a" }, "RequestBody": null, "StatusCode": 200, @@ -520,7 +554,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 26 Nov 2021 05:59:27 GMT", + "Date": "Fri, 04 Mar 2022 08:42:10 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": "Microsoft-HTTPAPI/2.0", @@ -528,60 +562,58 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "be3715ad-fca9-4829-bb36-0f200273faf4", - "x-ms-ratelimit-remaining-subscription-reads": "11996", - "x-ms-request-id": "dd5f808c-f5bd-43cc-9880-0efdb44d3007", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211126T055927Z:be3715ad-fca9-4829-bb36-0f200273faf4" + "x-ms-correlation-request-id": "40b1e452-3e07-43db-bdb2-2c2e033bdb37", + "x-ms-ratelimit-remaining-subscription-reads": "11995", + "x-ms-request-id": "65aff38f-5cbf-49a4-ba4d-bcdab4db704f", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T084210Z:40b1e452-3e07-43db-bdb2-2c2e033bdb37" }, - "ResponseBody": [ - "{\r\n", - " \u0022kind\u0022: \u0022AzurePowerShell\u0022,\r\n", - " \u0022identity\u0022: {\r\n", - " \u0022type\u0022: \u0022userAssigned\u0022,\r\n", - " \u0022tenantId\u0022: \u002200000000-0000-0000-0000-000000000000\u0022,\r\n", - " \u0022userAssignedIdentities\u0022: {\r\n", - " \u0022/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai\u0022: {\r\n", - " \u0022principalId\u0022: \u002207a49957-fd51-4e4d-9048-ba0625d3e0a0\u0022,\r\n", - " \u0022clientId\u0022: \u00225f28c26d-10a3-4c57-b651-9e17515fa424\u0022\r\n", - " }\r\n", - " }\r\n", - " },\r\n", - " \u0022location\u0022: \u0022westus\u0022,\r\n", - " \u0022tags\u0022: {\r\n", - " \u0022key1\u0022: \u0022value1\u0022\r\n", - " },\r\n", - " \u0022properties\u0022: {\r\n", - " \u0022provisioningState\u0022: \u0022Failed\u0022,\r\n", - " \u0022azPowerShellVersion\u0022: \u00223.0\u0022,\r\n", - " \u0022scriptContent\u0022: \u0022Param([string]$Location,[string]$Name) $deploymentScriptOutputs[\u0027test\u0027] = \u0027value\u0027 Get-AzResourceGroup -Location $Location -Name $Name\u0022,\r\n", - " \u0022arguments\u0022: \u0022-Location \u0027westus\u0027 -Name \\\u0022*rg2\\\u0022\u0022,\r\n", - " \u0022retentionInterval\u0022: \u0022P1DT2H\u0022,\r\n", - " \u0022timeout\u0022: \u0022PT30M\u0022,\r\n", - " \u0022containerSettings\u0022: {},\r\n", - " \u0022status\u0022: {\r\n", - " \u0022startTime\u0022: \u00222021-11-26T05:59:21.7692795Z\u0022,\r\n", - " \u0022endTime\u0022: \u00222021-11-26T05:59:22.8728804Z\u0022,\r\n", - " \u0022expirationTime\u0022: \u00222021-11-27T07:59:22.8728804Z\u0022,\r\n", - " \u0022error\u0022: {\r\n", - " \u0022code\u0022: \u0022DeploymentScriptOperationFailed\u0022,\r\n", - " \u0022message\u0022: \u0022The client \u002707a49957-fd51-4e4d-9048-ba0625d3e0a0\u0027 with object id \u002707a49957-fd51-4e4d-9048-ba0625d3e0a0\u0027 does not have authorization to perform action \u0027Microsoft.Resources/subscriptions/providers/read\u0027 over scope \u0027/subscriptions/00000000-0000-0000-0000-000000000000\u0027 or the scope is invalid. If access was recently granted, please refresh your credentials.\u0022\r\n", - " }\r\n", - " },\r\n", - " \u0022cleanupPreference\u0022: \u0022Always\u0022\r\n", - " },\r\n", - " \u0022systemData\u0022: {\r\n", - " \u0022createdBy\u0022: \u0022a2df54d5-ab03-4725-9b80-9a00b3b1967f\u0022,\r\n", - " \u0022createdByType\u0022: \u0022Application\u0022,\r\n", - " \u0022createdAt\u0022: \u00222021-11-26T05:58:02.7902487Z\u0022,\r\n", - " \u0022lastModifiedBy\u0022: \u0022a2df54d5-ab03-4725-9b80-9a00b3b1967f\u0022,\r\n", - " \u0022lastModifiedByType\u0022: \u0022Application\u0022,\r\n", - " \u0022lastModifiedAt\u0022: \u00222021-11-26T05:59:25.3466523Z\u0022\r\n", - " },\r\n", - " \u0022id\u0022: \u0022/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Resources/deploymentScripts/scripttest\u0022,\r\n", - " \u0022type\u0022: \u0022Microsoft.Resources/deploymentScripts\u0022,\r\n", - " \u0022name\u0022: \u0022scripttest\u0022\r\n", - "}" - ] + "ResponseBody": { + "kind": "AzurePowerShell", + "identity": { + "type": "userAssigned", + "tenantId": "00000000-0000-0000-0000-000000000000", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai": { + "principalId": "92f46337-4dfa-448d-b126-19226fa2ccbd", + "clientId": "7c48c37a-536d-4090-8363-20c67d8be276" + } + } + }, + "location": "westus", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Failed", + "azPowerShellVersion": "3.0", + "scriptContent": "Param([string]$Location,[string]$Name) $deploymentScriptOutputs[\u0027test\u0027] = \u0027value\u0027 Get-AzResourceGroup -Location $Location -Name $Name", + "arguments": "-Location \u0027westus\u0027 -Name \u0022*rg2\u0022", + "retentionInterval": "P1DT2H", + "timeout": "PT30M", + "containerSettings": {}, + "status": { + "startTime": "2022-03-04T08:41:39.1475257Z", + "endTime": "2022-03-04T08:41:40.3506058Z", + "expirationTime": "2022-03-05T10:41:40.3506058Z", + "error": { + "code": "DeploymentScriptOperationFailed", + "message": "The client \u002792f46337-4dfa-448d-b126-19226fa2ccbd\u0027 with object id \u002792f46337-4dfa-448d-b126-19226fa2ccbd\u0027 does not have authorization to perform action \u0027Microsoft.Resources/subscriptions/providers/read\u0027 over scope \u0027/subscriptions/00000000-0000-0000-0000-000000000000\u0027 or the scope is invalid. If access was recently granted, please refresh your credentials." + } + }, + "cleanupPreference": "Always" + }, + "systemData": { + "createdBy": "a2df54d5-ab03-4725-9b80-9a00b3b1967f", + "createdByType": "Application", + "createdAt": "2022-03-04T08:40:13.8520069Z", + "lastModifiedBy": "a2df54d5-ab03-4725-9b80-9a00b3b1967f", + "lastModifiedByType": "Application", + "lastModifiedAt": "2022-03-04T08:42:08.5871328Z" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Resources/deploymentScripts/scripttest", + "type": "Microsoft.Resources/deploymentScripts", + "name": "scripttest" + } }, { "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgname/providers/Microsoft.Resources/deploymentScripts/scripttest/logs/default?api-version=2019-10-01-preview", @@ -591,8 +623,8 @@ "Accept-Encoding": "gzip, deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-resource/20.0.0 Python/3.7.3 (Windows-10-10.0.22000-SP0)", - "x-ms-client-request-id": "03d3ed0c-4e7e-11ec-b1c2-2cf05d45d152" + "User-Agent": "azsdk-python-azure-mgmt-resource/20.1.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "02fda1f3-9b97-11ec-be27-d08e79139a4a" }, "RequestBody": null, "StatusCode": 200, @@ -600,7 +632,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 26 Nov 2021 05:59:27 GMT", + "Date": "Fri, 04 Mar 2022 08:42:10 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": "Microsoft-HTTPAPI/2.0", @@ -608,19 +640,17 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "7470c07c-4336-426c-8b80-64ee6276bbe1", - "x-ms-ratelimit-remaining-subscription-reads": "11995", - "x-ms-request-id": "e8cba5ec-05a7-4923-8318-a51182fca3cd", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211126T055928Z:7470c07c-4336-426c-8b80-64ee6276bbe1" + "x-ms-correlation-request-id": "4f0fc5da-7791-4875-b8fe-534ca4f1da19", + "x-ms-ratelimit-remaining-subscription-reads": "11994", + "x-ms-request-id": "fa5823ca-554d-4c4a-b905-8ea58cf8a4f3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T084211Z:4f0fc5da-7791-4875-b8fe-534ca4f1da19" }, - "ResponseBody": [ - "{\r\n", - " \u0022properties\u0022: {},\r\n", - " \u0022id\u0022: \u0022/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Resources/deploymentScripts/scripttest/logs/default\u0022,\r\n", - " \u0022type\u0022: \u0022Microsoft.Resources/deploymentScripts/logs\u0022,\r\n", - " \u0022name\u0022: \u0022default\u0022\r\n", - "}" - ] + "ResponseBody": { + "properties": {}, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Resources/deploymentScripts/scripttest/logs/default", + "type": "Microsoft.Resources/deploymentScripts/logs", + "name": "default" + } }, { "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgname/providers/Microsoft.Resources/deploymentScripts/scripttest/logs?api-version=2019-10-01-preview", @@ -630,8 +660,8 @@ "Accept-Encoding": "gzip, deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-resource/20.0.0 Python/3.7.3 (Windows-10-10.0.22000-SP0)", - "x-ms-client-request-id": "0407a2a8-4e7e-11ec-9d37-2cf05d45d152" + "User-Agent": "azsdk-python-azure-mgmt-resource/20.1.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "032882f5-9b97-11ec-a608-d08e79139a4a" }, "RequestBody": null, "StatusCode": 200, @@ -639,7 +669,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 26 Nov 2021 05:59:28 GMT", + "Date": "Fri, 04 Mar 2022 08:42:10 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": "Microsoft-HTTPAPI/2.0", @@ -647,23 +677,21 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "5ca25026-fc41-4c8e-bacd-5a1c837ea1ea", - "x-ms-ratelimit-remaining-subscription-reads": "11994", - "x-ms-request-id": "1a5f88d8-2c5e-40d9-bf50-de2d2d882494", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211126T055928Z:5ca25026-fc41-4c8e-bacd-5a1c837ea1ea" + "x-ms-correlation-request-id": "d009791e-8a33-46b6-807d-22339e2abd4b", + "x-ms-ratelimit-remaining-subscription-reads": "11993", + "x-ms-request-id": "4e24fba9-b5cf-4b26-9278-5246904cc070", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T084211Z:d009791e-8a33-46b6-807d-22339e2abd4b" }, - "ResponseBody": [ - "{\r\n", - " \u0022value\u0022: [\r\n", - " {\r\n", - " \u0022properties\u0022: {},\r\n", - " \u0022id\u0022: \u0022/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Resources/deploymentScripts/scripttest/logs/default\u0022,\r\n", - " \u0022type\u0022: \u0022Microsoft.Resources/deploymentScripts/logs\u0022,\r\n", - " \u0022name\u0022: \u0022default\u0022\r\n", - " }\r\n", - " ]\r\n", - "}" - ] + "ResponseBody": { + "value": [ + { + "properties": {}, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Resources/deploymentScripts/scripttest/logs/default", + "type": "Microsoft.Resources/deploymentScripts/logs", + "name": "default" + } + ] + } }, { "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgname/providers/Microsoft.Resources/deploymentScripts/scripttest?api-version=2019-10-01-preview", @@ -674,24 +702,24 @@ "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-resource/20.0.0 Python/3.7.3 (Windows-10-10.0.22000-SP0)", - "x-ms-client-request-id": "04323c54-4e7e-11ec-8f7b-2cf05d45d152" + "User-Agent": "azsdk-python-azure-mgmt-resource/20.1.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "03541818-9b97-11ec-9272-d08e79139a4a" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Fri, 26 Nov 2021 05:59:35 GMT", + "Date": "Fri, 04 Mar 2022 08:42:18 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": "Microsoft-HTTPAPI/2.0", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "973e1e29-1111-4610-bb65-e1e7f221a614", - "x-ms-ratelimit-remaining-subscription-deletes": "14998", - "x-ms-request-id": "949a9500-30fb-447b-818a-0abe14100c72", - "x-ms-routing-request-id": "SOUTHEASTASIA:20211126T055935Z:973e1e29-1111-4610-bb65-e1e7f221a614" + "x-ms-correlation-request-id": "423dbc92-afda-448b-a360-dcbb38d4ae09", + "x-ms-ratelimit-remaining-subscription-deletes": "14999", + "x-ms-request-id": "373132ea-6f53-4d3e-92e9-fc7f53cfc84f", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T084219Z:423dbc92-afda-448b-a360-dcbb38d4ae09" }, "ResponseBody": null } diff --git a/sdk/resources/azure-mgmt-resource/tests/recordings/test_mgmt_resource_links.pyTestMgmtResourceLinkstest_links.json b/sdk/resources/azure-mgmt-resource/tests/recordings/test_mgmt_resource_links.pyTestMgmtResourceLinkstest_links.json index 3975b3402c57..036c425f8493 100644 --- a/sdk/resources/azure-mgmt-resource/tests/recordings/test_mgmt_resource_links.pyTestMgmtResourceLinkstest_links.json +++ b/sdk/resources/azure-mgmt-resource/tests/recordings/test_mgmt_resource_links.pyTestMgmtResourceLinkstest_links.json @@ -7,7 +7,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-identity/1.8.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)" + "User-Agent": "azsdk-python-identity/1.9.0b1 Python/3.9.10 (Windows-10-10.0.22000-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -17,18 +17,13 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "1753", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:02:05 GMT", + "Date": "Fri, 04 Mar 2022 08:42:25 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", - "Set-Cookie": [ - "fpc=AoIiSpQDvylGqwYeeHVzaUM; expires=Thu, 24-Feb-2022 10:02:05 GMT; path=/; secure; HttpOnly; SameSite=None", - "esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrfOoJXhEB4YAmYgGZBTJl9N1S3VtM6a36EmAk1kfBj3KieX2b3fjMqjVxqEY5DAzfILnLYv7QyteFyuDBfLhPLhuJX8YfSACYAeeGJdncLLoBxbcDJ61SPLBIwczroSxvQ_Qvz75lfy0robdSomaYj40w09CLBeRjhR_l-peadicgAA; 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.12381.20 - WUS2 ProdSlices", - "x-ms-request-id": "f560141c-2142-4381-8154-27bde5ac1f00" + "x-ms-ests-server": "2.1.12507.17 - EUS ProdSlices", + "x-ms-request-id": "785fd54e-1b0a-4217-860b-0c05ce839a00" }, "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=AoIiSpQDvylGqwYeeHVzaUM; stsservicecookie=estsfd; x-ms-gateway-slice=estsfd", - "User-Agent": "azsdk-python-identity/1.8.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)" + "Cookie": "cookie;", + "User-Agent": "azsdk-python-identity/1.9.0b1 Python/3.9.10 (Windows-10-10.0.22000-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -116,17 +111,13 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "945", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:02:05 GMT", + "Date": "Fri, 04 Mar 2022 08:42:25 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", - "Set-Cookie": [ - "fpc=AoIiSpQDvylGqwYeeHVzaUM; expires=Thu, 24-Feb-2022 10:02:05 GMT; path=/; secure; HttpOnly; SameSite=None", - "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", - "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" - ], + "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.12381.20 - KRSLR1 ProdSlices", - "x-ms-request-id": "164a007c-4191-40ff-af14-d2dfc7071600" + "x-ms-ests-server": "2.1.12529.17 - KRSLR2 ProdSlices", + "x-ms-request-id": "123810eb-ebc3-4d78-9c1c-099e371a0f00" }, "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": "2b84ae1a-70b2-46f2-a334-856711fde11a", + "client-request-id": "74a69cbd-03ae-41ed-bdbd-e3aa3cbeefc6", "Connection": "keep-alive", "Content-Length": "289", "Content-Type": "application/x-www-form-urlencoded", - "Cookie": "fpc=AoIiSpQDvylGqwYeeHVzaUM; stsservicecookie=estsfd; x-ms-gateway-slice=estsfd", - "User-Agent": "azsdk-python-identity/1.8.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", + "Cookie": "cookie;", + "User-Agent": "azsdk-python-identity/1.9.0b1 Python/3.9.10 (Windows-10-10.0.22000-SP0)", "x-client-cpu": "x64", "x-client-current-telemetry": "4|730,0|", "x-client-last-telemetry": "4|0|||", "x-client-os": "win32", "x-client-sku": "MSAL.Python", - "x-client-ver": "1.16.0", + "x-client-ver": "1.17.0", "x-ms-lib-capability": "retry-after, h429" }, "RequestBody": "client_id=a2df54d5-ab03-4725-9b80-9a00b3b1967f\u0026grant_type=client_credentials\u0026client_info=1\u0026client_secret=0vj7Q~IsFayrD0V_8oyOfygU-GE3ELOabq95a\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D\u0026scope=https%3A%2F%2Fmanagement.azure.com%2F.default", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", - "client-request-id": "2b84ae1a-70b2-46f2-a334-856711fde11a", - "Content-Length": "1391", + "client-request-id": "74a69cbd-03ae-41ed-bdbd-e3aa3cbeefc6", + "Content-Length": "93", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:02:05 GMT", + "Date": "Fri, 04 Mar 2022 08:42:26 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", - "Set-Cookie": [ - "fpc=AoIiSpQDvylGqwYeeHVzaUOZHqKEAQAAAJ3BgdkOAAAA; expires=Thu, 24-Feb-2022 10:02:06 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.12381.20 - WUS2 ProdSlices", - "x-ms-request-id": "f560141c-2142-4381-8154-27bdf7ac1f00" + "x-ms-ests-server": "2.1.12529.17 - WUS2 ProdSlices", + "x-ms-request-id": "9e1f2681-fbbf-4f4e-8e4d-9e89ad4b0e00" }, "ResponseBody": { "token_type": "Bearer", "expires_in": 3599, "ext_expires_in": 3599, - "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ik1yNS1BVWliZkJpaTdOZDFqQmViYXhib1hXMCIsImtpZCI6Ik1yNS1BVWliZkJpaTdOZDFqQmViYXhib1hXMCJ9.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuYXp1cmUuY29tIiwiaXNzIjoiaHR0cHM6Ly9zdHMud2luZG93cy5uZXQvNTQ4MjZiMjItMzhkNi00ZmIyLWJhZDktYjdiOTNhM2U5YzVhLyIsImlhdCI6MTY0MzEwNDYyNiwibmJmIjoxNjQzMTA0NjI2LCJleHAiOjE2NDMxMDg1MjYsImFpbyI6IkUyWmdZUGo1OThqeGszY1BYbEUzWDNiczVVK2UrUUE9IiwiYXBwaWQiOiJhMmRmNTRkNS1hYjAzLTQ3MjUtOWI4MC05YTAwYjNiMTk2N2YiLCJhcHBpZGFjciI6IjEiLCJpZHAiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC81NDgyNmIyMi0zOGQ2LTRmYjItYmFkOS1iN2I5M2EzZTljNWEvIiwiaWR0eXAiOiJhcHAiLCJvaWQiOiI4ODdjNDJiMS03OTQ2LTRjMjItYmFhNi0xNTA0M2U0YjEzMjMiLCJyaCI6IjAuQVRjQUltdUNWTlk0c2stNjJiZTVPajZjV2taSWYza0F1dGRQdWtQYXdmajJNQk0zQUFBLiIsInN1YiI6Ijg4N2M0MmIxLTc5NDYtNGMyMi1iYWE2LTE1MDQzZTRiMTMyMyIsInRpZCI6IjU0ODI2YjIyLTM4ZDYtNGZiMi1iYWQ5LWI3YjkzYTNlOWM1YSIsInV0aSI6IkhCUmc5VUloZ1VPQlZDZTk5NndmQUEiLCJ2ZXIiOiIxLjAiLCJ4bXNfY2MiOlsiQ1AxIl0sInhtc190Y2R0IjoxNDEyMjA2ODQwfQ.jJW_NfncQaOSv_-Xhc8kJbz-OoznByzZBtw0kqCtUm4EIsjc0Lje6ZzAwD5dtsgYpwRebCvkf-lzCJdmSdLsvRJTftkElvKBIQOrtpxrqSCU9S2O04AjaFmxjKcbSfpsflj7ua198RJjj8xENyywMMD_oy5FLW1EHBBg7va3RV9eLzAD1X6CnttzxM6ylSQoL5G_pYXCvVXT8MDDXMox57Dn9Sbz4GIG1hgnbkMvbxC371aQLfk08rSpNxhEgS2aO01YhTMkpUTz2isHXaldgSKKBAi9WkKTbOGyQn4I6mRr3aXhtLL1UOqF94eno1Q5ML6PwRdG_4_SFl4Ae1Dv4g" + "access_token": "access_token" } }, { @@ -234,16 +221,18 @@ "Connection": "keep-alive", "Content-Length": "22", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "d7ce04f1-7dc5-11ec-a831-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-resource/20.1.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "0bca7140-9b97-11ec-8e2b-d08e79139a4a" + }, + "RequestBody": { + "location": "westus" }, - "RequestBody": "{\u0022location\u0022: \u0022westus\u0022}", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:02:13 GMT", + "Date": "Fri, 04 Mar 2022 08:42:29 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -254,27 +243,25 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "041eb919-c63f-4cf6-a166-72f4946b52cc", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;239,Microsoft.Compute/PutVM30Min;1190", - "x-ms-ratelimit-remaining-subscription-writes": "1199", - "x-ms-request-id": "f8437311-8505-45e3-a22b-83a0d1275ee2", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220125T100214Z:041eb919-c63f-4cf6-a166-72f4946b52cc" + "x-ms-correlation-request-id": "2ed0e644-bccc-4774-8c6a-3b1ec30fde64", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;237,Microsoft.Compute/PutVM30Min;1195", + "x-ms-ratelimit-remaining-subscription-writes": "1197", + "x-ms-request-id": "c5900791-af3a-494d-bc3e-a8b605f2dbf6", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T084229Z:2ed0e644-bccc-4774-8c6a-3b1ec30fde64" }, - "ResponseBody": [ - "{\r\n", - " \u0022name\u0022: \u0022pytestavset48042a90\u0022,\r\n", - " \u0022id\u0022: \u0022/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/availabilitySets/pytestavset48042a90\u0022,\r\n", - " \u0022type\u0022: \u0022Microsoft.Compute/availabilitySets\u0022,\r\n", - " \u0022location\u0022: \u0022westus\u0022,\r\n", - " \u0022properties\u0022: {\r\n", - " \u0022platformUpdateDomainCount\u0022: 5,\r\n", - " \u0022platformFaultDomainCount\u0022: 3\r\n", - " },\r\n", - " \u0022sku\u0022: {\r\n", - " \u0022name\u0022: \u0022Classic\u0022\r\n", - " }\r\n", - "}" - ] + "ResponseBody": { + "name": "pytestavset48042a90", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/availabilitySets/pytestavset48042a90", + "type": "Microsoft.Compute/availabilitySets", + "location": "westus", + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3 + }, + "sku": { + "name": "Classic" + } + } }, { "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgname/providers/Microsoft.Compute//availabilitySets/pytestavset48042a902?api-version=2019-07-01", @@ -286,16 +273,18 @@ "Connection": "keep-alive", "Content-Length": "22", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "de743f96-7dc5-11ec-9524-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-resource/20.1.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "0e313d89-9b97-11ec-8fff-d08e79139a4a" + }, + "RequestBody": { + "location": "westus" }, - "RequestBody": "{\u0022location\u0022: \u0022westus\u0022}", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:02:18 GMT", + "Date": "Fri, 04 Mar 2022 08:42:33 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -306,27 +295,25 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "29a598c6-e58d-4385-977d-8bbe0bba8a3d", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;238,Microsoft.Compute/PutVM30Min;1189", - "x-ms-ratelimit-remaining-subscription-writes": "1198", - "x-ms-request-id": "bda6782b-cf33-4f08-8713-cb6a06d41844", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220125T100219Z:29a598c6-e58d-4385-977d-8bbe0bba8a3d" + "x-ms-correlation-request-id": "69c0e487-6c33-4579-9e22-8bf75cb5c23b", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;236,Microsoft.Compute/PutVM30Min;1194", + "x-ms-ratelimit-remaining-subscription-writes": "1196", + "x-ms-request-id": "7df6604b-b9e7-4e96-95de-0dc5126cefaf", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T084233Z:69c0e487-6c33-4579-9e22-8bf75cb5c23b" }, - "ResponseBody": [ - "{\r\n", - " \u0022name\u0022: \u0022pytestavset48042a902\u0022,\r\n", - " \u0022id\u0022: \u0022/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/availabilitySets/pytestavset48042a902\u0022,\r\n", - " \u0022type\u0022: \u0022Microsoft.Compute/availabilitySets\u0022,\r\n", - " \u0022location\u0022: \u0022westus\u0022,\r\n", - " \u0022properties\u0022: {\r\n", - " \u0022platformUpdateDomainCount\u0022: 5,\r\n", - " \u0022platformFaultDomainCount\u0022: 3\r\n", - " },\r\n", - " \u0022sku\u0022: {\r\n", - " \u0022name\u0022: \u0022Classic\u0022\r\n", - " }\r\n", - "}" - ] + "ResponseBody": { + "name": "pytestavset48042a902", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/availabilitySets/pytestavset48042a902", + "type": "Microsoft.Compute/availabilitySets", + "location": "westus", + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3 + }, + "sku": { + "name": "Classic" + } + } }, { "RequestUri": "https://login.microsoftonline.com/00000000-0000-0000-0000-000000000000/v2.0/.well-known/openid-configuration", @@ -335,7 +322,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-identity/1.8.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)" + "User-Agent": "azsdk-python-identity/1.9.0b1 Python/3.9.10 (Windows-10-10.0.22000-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -345,17 +332,13 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "1753", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:02:37 GMT", + "Date": "Fri, 04 Mar 2022 08:42:32 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", - "Set-Cookie": [ - "fpc=AoIiSpQDvylGqwYeeHVzaUOZHqKEAQAAAJ3BgdkOAAAA; expires=Thu, 24-Feb-2022 10:02:37 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.22 - NCUS ProdSlices", - "x-ms-request-id": "71bfed6b-af3a-4635-8840-bd4dd2143300" + "x-ms-ests-server": "2.1.12507.17 - NCUS ProdSlices", + "x-ms-request-id": "7fe2b7d9-45f9-4dc3-bea8-2428ddb06e00" }, "ResponseBody": { "token_endpoint": "https://login.microsoftonline.com/00000000-0000-0000-0000-000000000000/oauth2/v2.0/token", @@ -432,8 +415,8 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "Cookie": "fpc=AoIiSpQDvylGqwYeeHVzaUOZHqKEAQAAAJ3BgdkOAAAA; stsservicecookie=estsfd; x-ms-gateway-slice=estsfd", - "User-Agent": "azsdk-python-identity/1.8.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)" + "Cookie": "cookie;", + "User-Agent": "azsdk-python-identity/1.9.0b1 Python/3.9.10 (Windows-10-10.0.22000-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -443,17 +426,13 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "945", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:02:37 GMT", + "Date": "Fri, 04 Mar 2022 08:42:32 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", - "Set-Cookie": [ - "fpc=AoIiSpQDvylGqwYeeHVzaUOZHqKEAQAAAJ3BgdkOAAAA; expires=Thu, 24-Feb-2022 10:02:37 GMT; path=/; secure; HttpOnly; SameSite=None", - "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", - "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" - ], + "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.12381.20 - KRSLR1 ProdSlices", - "x-ms-request-id": "164a007c-4191-40ff-af14-d2df94081600" + "x-ms-ests-server": "2.1.12529.17 - SEASLR2 ProdSlices", + "x-ms-request-id": "4f9beeca-ce51-4158-96db-91661c490d00" }, "ResponseBody": { "tenant_discovery_endpoint": "https://login.microsoftonline.com/common/.well-known/openid-configuration", @@ -508,47 +487,43 @@ "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", - "client-request-id": "e125df0a-a5e3-4678-92e8-09b1e70f2444", + "client-request-id": "e4d0bd3e-81d3-40e4-84aa-10c26f5b96b5", "Connection": "keep-alive", "Content-Length": "289", "Content-Type": "application/x-www-form-urlencoded", - "Cookie": "fpc=AoIiSpQDvylGqwYeeHVzaUOZHqKEAQAAAJ3BgdkOAAAA; stsservicecookie=estsfd; x-ms-gateway-slice=estsfd", - "User-Agent": "azsdk-python-identity/1.8.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", + "Cookie": "cookie;", + "User-Agent": "azsdk-python-identity/1.9.0b1 Python/3.9.10 (Windows-10-10.0.22000-SP0)", "x-client-cpu": "x64", "x-client-current-telemetry": "4|730,0|", "x-client-last-telemetry": "4|0|||", "x-client-os": "win32", "x-client-sku": "MSAL.Python", - "x-client-ver": "1.16.0", + "x-client-ver": "1.17.0", "x-ms-lib-capability": "retry-after, h429" }, "RequestBody": "client_id=a2df54d5-ab03-4725-9b80-9a00b3b1967f\u0026grant_type=client_credentials\u0026client_info=1\u0026client_secret=0vj7Q~IsFayrD0V_8oyOfygU-GE3ELOabq95a\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D\u0026scope=https%3A%2F%2Fmanagement.azure.com%2F.default", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", - "client-request-id": "e125df0a-a5e3-4678-92e8-09b1e70f2444", - "Content-Length": "1391", + "client-request-id": "e4d0bd3e-81d3-40e4-84aa-10c26f5b96b5", + "Content-Length": "93", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:02:37 GMT", + "Date": "Fri, 04 Mar 2022 08:42:33 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", - "Set-Cookie": [ - "fpc=AoIiSpQDvylGqwYeeHVzaUOZHqKEAgAAAJ3BgdkOAAAA; expires=Thu, 24-Feb-2022 10:02:38 GMT; path=/; secure; HttpOnly; SameSite=None", - "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", - "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" - ], + "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.12261.22 - SCUS ProdSlices", - "x-ms-request-id": "3e279765-9c38-4434-8348-1fe14e3cf900" + "x-ms-ests-server": "2.1.12529.17 - WUS2 ProdSlices", + "x-ms-request-id": "4649c124-03dd-494d-a79b-c94ae99d0e00" }, "ResponseBody": { "token_type": "Bearer", "expires_in": 3599, "ext_expires_in": 3599, - "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ik1yNS1BVWliZkJpaTdOZDFqQmViYXhib1hXMCIsImtpZCI6Ik1yNS1BVWliZkJpaTdOZDFqQmViYXhib1hXMCJ9.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuYXp1cmUuY29tIiwiaXNzIjoiaHR0cHM6Ly9zdHMud2luZG93cy5uZXQvNTQ4MjZiMjItMzhkNi00ZmIyLWJhZDktYjdiOTNhM2U5YzVhLyIsImlhdCI6MTY0MzEwNDY1OCwibmJmIjoxNjQzMTA0NjU4LCJleHAiOjE2NDMxMDg1NTgsImFpbyI6IkUyWmdZREFRUy9wclc2YjBac2FoNktNWHRuVEVBUUE9IiwiYXBwaWQiOiJhMmRmNTRkNS1hYjAzLTQ3MjUtOWI4MC05YTAwYjNiMTk2N2YiLCJhcHBpZGFjciI6IjEiLCJpZHAiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC81NDgyNmIyMi0zOGQ2LTRmYjItYmFkOS1iN2I5M2EzZTljNWEvIiwiaWR0eXAiOiJhcHAiLCJvaWQiOiI4ODdjNDJiMS03OTQ2LTRjMjItYmFhNi0xNTA0M2U0YjEzMjMiLCJyaCI6IjAuQVRjQUltdUNWTlk0c2stNjJiZTVPajZjV3RWVTM2SURxeVZIbTRDYUFMT3hsbjgzQUFBLiIsInN1YiI6Ijg4N2M0MmIxLTc5NDYtNGMyMi1iYWE2LTE1MDQzZTRiMTMyMyIsInRpZCI6IjU0ODI2YjIyLTM4ZDYtNGZiMi1iYWQ5LWI3YjkzYTNlOWM1YSIsInV0aSI6IlpaY25QamljTkVTRFNCX2hUano1QUEiLCJ2ZXIiOiIxLjAiLCJ4bXNfY2MiOlsiQ1AxIl0sInhtc190Y2R0IjoxNDEyMjA2ODQwfQ.qlFLuebd9J7vl4FHWqsJ9wb3jfgZyY4SWEJql_kl6umQzNGVoSQm5e-xlcTMWu_It-ZQcXSfpLojWM81dQYEhhZNDDnTRJ0xUae2A0zSw5n7DpsmblXrWMOiCv_5PAmm6Xrl6MRTiAJpGoy_BHo91_GHcJEUprI9UgNrtEsLW6MeB5eZwya_Z1KJFLMpAwSwm4EiattDEdQus_kIWcP1WCn4rFwIk9C5bvFfOCkqcZ1aSOFZDt1xrYV6qJB9uSpf_00KFLB-8eqQUoYadyJnbeUsU-_VHVIMw7qXZJosU4kMgVI3kyDyfMsl1dwFlecozLlcMqEsWRUyGHC05ui0-g" + "access_token": "access_token" } }, { @@ -561,24 +536,29 @@ "Connection": "keep-alive", "Content-Length": "197", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "ec3c7706-7dc5-11ec-837e-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-resource/20.1.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "10633591-9b97-11ec-91e9-d08e79139a4a" + }, + "RequestBody": { + "properties": { + "targetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/availabilitySets/pytestavset48042a902", + "notes": "Testing links" + } }, - "RequestBody": "{\u0022properties\u0022: {\u0022targetId\u0022: \u0022/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/availabilitySets/pytestavset48042a902\u0022, \u0022notes\u0022: \u0022Testing links\u0022}}", "StatusCode": 201, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Length": "587", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:02:37 GMT", + "Date": "Fri, 04 Mar 2022 08:42:34 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "b0c01d01-f921-4e59-989d-bdbeefd54e23", - "x-ms-ratelimit-remaining-subscription-writes": "1197", - "x-ms-request-id": "southeastasia:071e821a-dda6-40ef-84a7-4dfd51cade4d", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220125T100238Z:b0c01d01-f921-4e59-989d-bdbeefd54e23" + "x-ms-correlation-request-id": "987ea2ad-9060-4bf0-ac7f-77ea6637c958", + "x-ms-ratelimit-remaining-subscription-writes": "1195", + "x-ms-request-id": "southeastasia:90eb2be0-a92a-4442-a9ff-5ac82696a06d", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T084235Z:987ea2ad-9060-4bf0-ac7f-77ea6637c958" }, "ResponseBody": { "properties": { @@ -599,8 +579,8 @@ "Accept-Encoding": "gzip, deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "f2e7f85c-7dc5-11ec-bc84-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-resource/20.1.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "174ba443-9b97-11ec-b39f-d08e79139a4a" }, "RequestBody": null, "StatusCode": 200, @@ -608,7 +588,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:02:47 GMT", + "Date": "Fri, 04 Mar 2022 08:42:44 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", @@ -618,10 +598,10 @@ "Accept-Encoding" ], "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "50d8350a-3f38-4313-b595-47a5c14e4732", - "x-ms-ratelimit-remaining-subscription-reads": "11999", - "x-ms-request-id": "southeastasia:27b6cf03-516b-4409-87bc-16b69aecd994", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220125T100248Z:50d8350a-3f38-4313-b595-47a5c14e4732" + "x-ms-correlation-request-id": "6fcddc0c-9559-4709-badc-af500731d833", + "x-ms-ratelimit-remaining-subscription-reads": "11992", + "x-ms-request-id": "southeastasia:8c17fa4e-ef5a-4f7f-96c2-6f017c0ec492", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T084245Z:6fcddc0c-9559-4709-badc-af500731d833" }, "ResponseBody": { "properties": { @@ -642,8 +622,8 @@ "Accept-Encoding": "gzip, deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "f2fa4245-7dc5-11ec-93fa-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-resource/20.1.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "1761c90e-9b97-11ec-a2e3-d08e79139a4a" }, "RequestBody": null, "StatusCode": 200, @@ -651,7 +631,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:02:47 GMT", + "Date": "Fri, 04 Mar 2022 08:42:45 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", @@ -661,10 +641,10 @@ "Accept-Encoding" ], "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "c05f82f1-769d-4c66-a245-3e373eedea9d", - "x-ms-ratelimit-remaining-subscription-reads": "11998", - "x-ms-request-id": "southeastasia:448b086d-d006-4927-b549-4cefc5908c1e", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220125T100248Z:c05f82f1-769d-4c66-a245-3e373eedea9d" + "x-ms-correlation-request-id": "4247569d-0303-480d-abbb-14d66d396c36", + "x-ms-ratelimit-remaining-subscription-reads": "11991", + "x-ms-request-id": "southeastasia:5cdc61be-4b4f-4737-a9cd-4e9de0e4e900", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T084245Z:4247569d-0303-480d-abbb-14d66d396c36" }, "ResponseBody": { "value": [ @@ -689,8 +669,8 @@ "Accept-Encoding": "gzip, deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "f30edc85-7dc5-11ec-af50-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-resource/20.1.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "17771e86-9b97-11ec-80ad-d08e79139a4a" }, "RequestBody": null, "StatusCode": 200, @@ -698,7 +678,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:02:47 GMT", + "Date": "Fri, 04 Mar 2022 08:42:45 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", @@ -708,10 +688,10 @@ "Accept-Encoding" ], "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "dcd90360-c8d4-4d47-8c1a-29a0606bad7b", - "x-ms-ratelimit-remaining-subscription-reads": "11997", - "x-ms-request-id": "southeastasia:e565e22e-997d-42d9-9b0c-33a10a0dcf35", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220125T100248Z:dcd90360-c8d4-4d47-8c1a-29a0606bad7b" + "x-ms-correlation-request-id": "9eefa2c0-ca59-46e1-96e5-42c64701934f", + "x-ms-ratelimit-remaining-subscription-reads": "11990", + "x-ms-request-id": "southeastasia:f82db8d5-a335-4403-989d-513ea8df2dcb", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T084245Z:9eefa2c0-ca59-46e1-96e5-42c64701934f" }, "ResponseBody": { "value": [ @@ -736,8 +716,8 @@ "Accept-Encoding": "gzip, deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "f32c4d7b-7dc5-11ec-9b4a-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-resource/20.1.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "178f536c-9b97-11ec-becb-d08e79139a4a" }, "RequestBody": null, "StatusCode": 200, @@ -745,7 +725,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:02:48 GMT", + "Date": "Fri, 04 Mar 2022 08:42:45 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", @@ -755,10 +735,10 @@ "Accept-Encoding" ], "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "6060fb4e-18a4-47b7-9444-3b5acc587521", - "x-ms-ratelimit-remaining-subscription-reads": "11996", - "x-ms-request-id": "southeastasia:5f34b1f3-655c-45d9-8d10-55e6b78d6e18", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220125T100249Z:6060fb4e-18a4-47b7-9444-3b5acc587521" + "x-ms-correlation-request-id": "da38f7c5-c67a-43fb-af10-aba9db27b4e4", + "x-ms-ratelimit-remaining-subscription-reads": "11989", + "x-ms-request-id": "southeastasia:ede33e4e-af71-46fc-87d4-73a372b471e4", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T084245Z:da38f7c5-c67a-43fb-af10-aba9db27b4e4" }, "ResponseBody": { "value": [ @@ -784,23 +764,23 @@ "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "f33f25d4-7dc5-11ec-a9d8-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-resource/20.1.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "179fca63-9b97-11ec-ae9b-d08e79139a4a" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Tue, 25 Jan 2022 10:02:48 GMT", + "Date": "Fri, 04 Mar 2022 08:42:45 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "8a765210-edd1-455f-a868-4a10a204ad49", - "x-ms-ratelimit-remaining-subscription-deletes": "14999", - "x-ms-request-id": "southeastasia:efe5a0fe-486a-49b7-8bef-b11d40396343", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220125T100249Z:8a765210-edd1-455f-a868-4a10a204ad49" + "x-ms-correlation-request-id": "65e3ba5e-07af-4589-9bb1-b23e796d0aaf", + "x-ms-ratelimit-remaining-subscription-deletes": "14998", + "x-ms-request-id": "southeastasia:9b829858-7107-4a7f-b16e-5318120de23f", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T084245Z:65e3ba5e-07af-4589-9bb1-b23e796d0aaf" }, "ResponseBody": null } diff --git a/sdk/resources/azure-mgmt-resource/tests/recordings/test_mgmt_resource_locks.pyTestMgmtResourceLockstest_locks_at_resource_group_level.json b/sdk/resources/azure-mgmt-resource/tests/recordings/test_mgmt_resource_locks.pyTestMgmtResourceLockstest_locks_at_resource_group_level.json index c2d8f41fc278..9d71c4cba11e 100644 --- a/sdk/resources/azure-mgmt-resource/tests/recordings/test_mgmt_resource_locks.pyTestMgmtResourceLockstest_locks_at_resource_group_level.json +++ b/sdk/resources/azure-mgmt-resource/tests/recordings/test_mgmt_resource_locks.pyTestMgmtResourceLockstest_locks_at_resource_group_level.json @@ -7,7 +7,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-identity/1.8.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)" + "User-Agent": "azsdk-python-identity/1.9.0b1 Python/3.9.10 (Windows-10-10.0.22000-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -17,17 +17,13 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "1753", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:03:35 GMT", + "Date": "Fri, 04 Mar 2022 08:43:28 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", - "Set-Cookie": [ - "fpc=AoIiSpQDvylGqwYeeHVzaUOZHqKEBgAAAJ3BgdkOAAAA; expires=Thu, 24-Feb-2022 10:03:35 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.22 - SCUS ProdSlices", - "x-ms-request-id": "3e279765-9c38-4434-8348-1fe1fa42f900" + "x-ms-ests-server": "2.1.12507.17 - NCUS ProdSlices", + "x-ms-request-id": "7fe2b7d9-45f9-4dc3-bea8-242810b66e00" }, "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=AoIiSpQDvylGqwYeeHVzaUOZHqKEBgAAAJ3BgdkOAAAA; stsservicecookie=estsfd; x-ms-gateway-slice=estsfd", - "User-Agent": "azsdk-python-identity/1.8.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)" + "Cookie": "cookie;", + "User-Agent": "azsdk-python-identity/1.9.0b1 Python/3.9.10 (Windows-10-10.0.22000-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -115,17 +111,13 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "945", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:03:35 GMT", + "Date": "Fri, 04 Mar 2022 08:43:29 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", - "Set-Cookie": [ - "fpc=AoIiSpQDvylGqwYeeHVzaUOZHqKEBgAAAJ3BgdkOAAAA; expires=Thu, 24-Feb-2022 10:03:36 GMT; path=/; secure; HttpOnly; SameSite=None", - "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", - "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" - ], + "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.12381.20 - KRSLR1 ProdSlices", - "x-ms-request-id": "16c0c1a8-7e57-4a92-82dd-c4e2c8aa1500" + "x-ms-ests-server": "2.1.12529.17 - SEASLR2 ProdSlices", + "x-ms-request-id": "0bf82154-3e6b-4659-9e29-e2a487e20e00" }, "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": "de878d05-20de-4450-8908-af67c6cb1e30", + "client-request-id": "cfb5d2c3-7456-4b86-ba66-be16e515e10b", "Connection": "keep-alive", "Content-Length": "289", "Content-Type": "application/x-www-form-urlencoded", - "Cookie": "fpc=AoIiSpQDvylGqwYeeHVzaUOZHqKEBgAAAJ3BgdkOAAAA; stsservicecookie=estsfd; x-ms-gateway-slice=estsfd", - "User-Agent": "azsdk-python-identity/1.8.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", + "Cookie": "cookie;", + "User-Agent": "azsdk-python-identity/1.9.0b1 Python/3.9.10 (Windows-10-10.0.22000-SP0)", "x-client-cpu": "x64", "x-client-current-telemetry": "4|730,0|", "x-client-last-telemetry": "4|0|||", "x-client-os": "win32", "x-client-sku": "MSAL.Python", - "x-client-ver": "1.16.0", + "x-client-ver": "1.17.0", "x-ms-lib-capability": "retry-after, h429" }, "RequestBody": "client_id=a2df54d5-ab03-4725-9b80-9a00b3b1967f\u0026grant_type=client_credentials\u0026client_info=1\u0026client_secret=0vj7Q~IsFayrD0V_8oyOfygU-GE3ELOabq95a\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D\u0026scope=https%3A%2F%2Fmanagement.azure.com%2F.default", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", - "client-request-id": "de878d05-20de-4450-8908-af67c6cb1e30", - "Content-Length": "1391", + "client-request-id": "cfb5d2c3-7456-4b86-ba66-be16e515e10b", + "Content-Length": "93", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:03:36 GMT", + "Date": "Fri, 04 Mar 2022 08:43:29 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", - "Set-Cookie": [ - "fpc=AoIiSpQDvylGqwYeeHVzaUOZHqKEBwAAAJ3BgdkOAAAA; expires=Thu, 24-Feb-2022 10:03:36 GMT; path=/; secure; HttpOnly; SameSite=None", - "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", - "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" - ], + "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.12261.22 - NCUS ProdSlices", - "x-ms-request-id": "71bfed6b-af3a-4635-8840-bd4d8c1b3300" + "x-ms-ests-server": "2.1.12507.17 - SCUS ProdSlices", + "x-ms-request-id": "157ea030-3e22-4ca1-adf8-d7ab658fb100" }, "ResponseBody": { "token_type": "Bearer", "expires_in": 3599, "ext_expires_in": 3599, - "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ik1yNS1BVWliZkJpaTdOZDFqQmViYXhib1hXMCIsImtpZCI6Ik1yNS1BVWliZkJpaTdOZDFqQmViYXhib1hXMCJ9.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuYXp1cmUuY29tIiwiaXNzIjoiaHR0cHM6Ly9zdHMud2luZG93cy5uZXQvNTQ4MjZiMjItMzhkNi00ZmIyLWJhZDktYjdiOTNhM2U5YzVhLyIsImlhdCI6MTY0MzEwNDcxNiwibmJmIjoxNjQzMTA0NzE2LCJleHAiOjE2NDMxMDg2MTYsImFpbyI6IkUyWmdZT0F4YjczU1Z1LzMwTG14cUVWdm5kSi9BQT09IiwiYXBwaWQiOiJhMmRmNTRkNS1hYjAzLTQ3MjUtOWI4MC05YTAwYjNiMTk2N2YiLCJhcHBpZGFjciI6IjEiLCJpZHAiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC81NDgyNmIyMi0zOGQ2LTRmYjItYmFkOS1iN2I5M2EzZTljNWEvIiwiaWR0eXAiOiJhcHAiLCJvaWQiOiI4ODdjNDJiMS03OTQ2LTRjMjItYmFhNi0xNTA0M2U0YjEzMjMiLCJyaCI6IjAuQVRjQUltdUNWTlk0c2stNjJiZTVPajZjV3RWVTM2SURxeVZIbTRDYUFMT3hsbjgzQUFBLiIsInN1YiI6Ijg4N2M0MmIxLTc5NDYtNGMyMi1iYWE2LTE1MDQzZTRiMTMyMyIsInRpZCI6IjU0ODI2YjIyLTM4ZDYtNGZiMi1iYWQ5LWI3YjkzYTNlOWM1YSIsInV0aSI6ImEtMl9jVHF2TlVhSVFMMU5qQnN6QUEiLCJ2ZXIiOiIxLjAiLCJ4bXNfY2MiOlsiQ1AxIl0sInhtc190Y2R0IjoxNDEyMjA2ODQwfQ.abxlbYRSP8IwR7EPJBVOVETl0fDHtIq1x-60YRmhMSWIWjSWCuoYq8CVwbFp532VY8FFnaJSj-u-bSr2tJTtOk-icmiQvXy0db_SsvhCHjruDxnlJQgklComIUqL524YgHXK6oDeGgdN8G-y_OJshsOf6fxiexitqgOwK-ArAYVOCKT8aIFANvxhLG7zhkc2parGN54DL3JZryecY-A5JL90KhFsxQMuQ53ywFZLXy8XZui8_nbwSOTQDrLENTgAycw74_m924HzR4pchrwc9_Q4MUCT88ji-964H9lSxPh0igCNT6Ab4EWK4jHwO3SP_7ilBUw6yOP2NMRGglQGSA" + "access_token": "access_token" } }, { @@ -233,24 +221,28 @@ "Connection": "keep-alive", "Content-Length": "41", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "0f03b6e7-7dc6-11ec-aee7-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-resource/20.1.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "31e440e3-9b97-11ec-acd9-d08e79139a4a" + }, + "RequestBody": { + "properties": { + "level": "CanNotDelete" + } }, - "RequestBody": "{\u0022properties\u0022: {\u0022level\u0022: \u0022CanNotDelete\u0022}}", "StatusCode": 201, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Length": "226", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:03:36 GMT", + "Date": "Fri, 04 Mar 2022 08:43:30 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "99390311-3aaa-4405-bc75-6712f6ce6fad", - "x-ms-ratelimit-remaining-subscription-writes": "1191", - "x-ms-request-id": "southeastasia:7d746344-eb6c-48f2-9551-3e357d26dda5", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220125T100336Z:99390311-3aaa-4405-bc75-6712f6ce6fad" + "x-ms-correlation-request-id": "319ef80f-2d11-4c61-b388-e5f32efaed9b", + "x-ms-ratelimit-remaining-subscription-writes": "1189", + "x-ms-request-id": "southeastasia:2cb31426-f856-4f97-acba-6689f1f5a67d", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T084330Z:319ef80f-2d11-4c61-b388-e5f32efaed9b" }, "ResponseBody": { "properties": { @@ -269,8 +261,8 @@ "Accept-Encoding": "gzip, deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "0fa51f05-7dc6-11ec-910e-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-resource/20.1.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "329045d2-9b97-11ec-9783-d08e79139a4a" }, "RequestBody": null, "StatusCode": 200, @@ -278,7 +270,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:03:36 GMT", + "Date": "Fri, 04 Mar 2022 08:43:30 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", @@ -288,10 +280,10 @@ "Accept-Encoding" ], "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "089933a0-235c-447d-b754-68f7bf27c5cb", - "x-ms-ratelimit-remaining-subscription-reads": "11992", - "x-ms-request-id": "southeastasia:dd23ce59-4dd0-429b-b252-130416a941fb", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220125T100336Z:089933a0-235c-447d-b754-68f7bf27c5cb" + "x-ms-correlation-request-id": "e538c2b6-b968-4d08-98e8-3a08332d1e7b", + "x-ms-ratelimit-remaining-subscription-reads": "11983", + "x-ms-request-id": "southeastasia:fdef5bc5-b437-411d-8c28-5ad757d27b30", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T084330Z:e538c2b6-b968-4d08-98e8-3a08332d1e7b" }, "ResponseBody": { "properties": { @@ -310,8 +302,8 @@ "Accept-Encoding": "gzip, deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "0fbe296d-7dc6-11ec-adf9-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-resource/20.1.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "32a3d43f-9b97-11ec-868b-d08e79139a4a" }, "RequestBody": null, "StatusCode": 200, @@ -319,7 +311,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:03:36 GMT", + "Date": "Fri, 04 Mar 2022 08:43:30 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", @@ -329,10 +321,10 @@ "Accept-Encoding" ], "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "006f3433-ef98-464d-9907-2cc1bde2f408", - "x-ms-ratelimit-remaining-subscription-reads": "11991", - "x-ms-request-id": "southeastasia:3f1b3094-28bb-4b2b-bf90-98278cb7d8cd", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220125T100337Z:006f3433-ef98-464d-9907-2cc1bde2f408" + "x-ms-correlation-request-id": "d4daf121-cf4d-476a-b37e-a9575451a525", + "x-ms-ratelimit-remaining-subscription-reads": "11982", + "x-ms-request-id": "southeastasia:d4973db8-2bf1-4f20-9734-85344f76ec6c", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T084331Z:d4daf121-cf4d-476a-b37e-a9575451a525" }, "ResponseBody": { "value": [ @@ -356,23 +348,23 @@ "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "0fd0baa6-7dc6-11ec-98aa-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-resource/20.1.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "32b9c850-9b97-11ec-b3b5-d08e79139a4a" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Tue, 25 Jan 2022 10:03:36 GMT", + "Date": "Fri, 04 Mar 2022 08:43:30 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "05fda296-1385-4056-b52f-24fd92ec28a6", - "x-ms-ratelimit-remaining-subscription-deletes": "14994", - "x-ms-request-id": "southeastasia:4e5b43e8-942b-44a2-9123-7c355a7c81d3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220125T100337Z:05fda296-1385-4056-b52f-24fd92ec28a6" + "x-ms-correlation-request-id": "21bedf8d-b1f9-4383-8549-7e3c385ce77c", + "x-ms-ratelimit-remaining-subscription-deletes": "14992", + "x-ms-request-id": "southeastasia:5c9a7ff6-98cb-4f42-aca4-776a7d8b055e", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T084331Z:21bedf8d-b1f9-4383-8549-7e3c385ce77c" }, "ResponseBody": null } diff --git a/sdk/resources/azure-mgmt-resource/tests/recordings/test_mgmt_resource_locks.pyTestMgmtResourceLockstest_locks_at_resource_level.json b/sdk/resources/azure-mgmt-resource/tests/recordings/test_mgmt_resource_locks.pyTestMgmtResourceLockstest_locks_at_resource_level.json index 815078e30d89..e5ecc33f9b53 100644 --- a/sdk/resources/azure-mgmt-resource/tests/recordings/test_mgmt_resource_locks.pyTestMgmtResourceLockstest_locks_at_resource_level.json +++ b/sdk/resources/azure-mgmt-resource/tests/recordings/test_mgmt_resource_locks.pyTestMgmtResourceLockstest_locks_at_resource_level.json @@ -7,7 +7,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-identity/1.8.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)" + "User-Agent": "azsdk-python-identity/1.9.0b1 Python/3.9.10 (Windows-10-10.0.22000-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -17,17 +17,13 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "1753", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:03:18 GMT", + "Date": "Fri, 04 Mar 2022 08:43:11 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", - "Set-Cookie": [ - "fpc=AoIiSpQDvylGqwYeeHVzaUOZHqKEBAAAAJ3BgdkOAAAA; expires=Thu, 24-Feb-2022 10:03:19 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.22 - SCUS ProdSlices", - "x-ms-request-id": "3e279765-9c38-4434-8348-1fe1e240f900" + "x-ms-ests-server": "2.1.12507.17 - NCUS ProdSlices", + "x-ms-request-id": "7fe2b7d9-45f9-4dc3-bea8-24286db46e00" }, "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=AoIiSpQDvylGqwYeeHVzaUOZHqKEBAAAAJ3BgdkOAAAA; stsservicecookie=estsfd; x-ms-gateway-slice=estsfd", - "User-Agent": "azsdk-python-identity/1.8.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)" + "Cookie": "cookie;", + "User-Agent": "azsdk-python-identity/1.9.0b1 Python/3.9.10 (Windows-10-10.0.22000-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -115,17 +111,13 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "945", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:03:19 GMT", + "Date": "Fri, 04 Mar 2022 08:43:11 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", - "Set-Cookie": [ - "fpc=AoIiSpQDvylGqwYeeHVzaUOZHqKEBAAAAJ3BgdkOAAAA; expires=Thu, 24-Feb-2022 10:03:19 GMT; path=/; secure; HttpOnly; SameSite=None", - "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", - "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" - ], + "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.12381.20 - SEASLR2 ProdSlices", - "x-ms-request-id": "0cbc0d02-5463-47f4-9bff-8b81a16e0700" + "x-ms-ests-server": "2.1.12529.17 - KRSLR1 ProdSlices", + "x-ms-request-id": "599c0258-b96a-4752-8240-152b86ea0e00" }, "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": "0012e107-593f-4ba6-beaa-38ba5334a8ff", + "client-request-id": "b7639e17-cbc1-4a10-8243-6f9620bdce28", "Connection": "keep-alive", "Content-Length": "289", "Content-Type": "application/x-www-form-urlencoded", - "Cookie": "fpc=AoIiSpQDvylGqwYeeHVzaUOZHqKEBAAAAJ3BgdkOAAAA; stsservicecookie=estsfd; x-ms-gateway-slice=estsfd", - "User-Agent": "azsdk-python-identity/1.8.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", + "Cookie": "cookie;", + "User-Agent": "azsdk-python-identity/1.9.0b1 Python/3.9.10 (Windows-10-10.0.22000-SP0)", "x-client-cpu": "x64", "x-client-current-telemetry": "4|730,0|", "x-client-last-telemetry": "4|0|||", "x-client-os": "win32", "x-client-sku": "MSAL.Python", - "x-client-ver": "1.16.0", + "x-client-ver": "1.17.0", "x-ms-lib-capability": "retry-after, h429" }, "RequestBody": "client_id=a2df54d5-ab03-4725-9b80-9a00b3b1967f\u0026grant_type=client_credentials\u0026client_info=1\u0026client_secret=0vj7Q~IsFayrD0V_8oyOfygU-GE3ELOabq95a\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D\u0026scope=https%3A%2F%2Fmanagement.azure.com%2F.default", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", - "client-request-id": "0012e107-593f-4ba6-beaa-38ba5334a8ff", - "Content-Length": "1391", + "client-request-id": "b7639e17-cbc1-4a10-8243-6f9620bdce28", + "Content-Length": "93", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:03:19 GMT", + "Date": "Fri, 04 Mar 2022 08:43:12 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", - "Set-Cookie": [ - "fpc=AoIiSpQDvylGqwYeeHVzaUOZHqKEBQAAAJ3BgdkOAAAA; expires=Thu, 24-Feb-2022 10:03:19 GMT; path=/; secure; HttpOnly; SameSite=None", - "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", - "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" - ], + "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.12261.22 - NCUS ProdSlices", - "x-ms-request-id": "71bfed6b-af3a-4635-8840-bd4dce193300" + "x-ms-ests-server": "2.1.12507.17 - EUS ProdSlices", + "x-ms-request-id": "df67aec4-d695-4733-8ee7-a934b7d79a00" }, "ResponseBody": { "token_type": "Bearer", "expires_in": 3599, "ext_expires_in": 3599, - "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ik1yNS1BVWliZkJpaTdOZDFqQmViYXhib1hXMCIsImtpZCI6Ik1yNS1BVWliZkJpaTdOZDFqQmViYXhib1hXMCJ9.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuYXp1cmUuY29tIiwiaXNzIjoiaHR0cHM6Ly9zdHMud2luZG93cy5uZXQvNTQ4MjZiMjItMzhkNi00ZmIyLWJhZDktYjdiOTNhM2U5YzVhLyIsImlhdCI6MTY0MzEwNDY5OSwibmJmIjoxNjQzMTA0Njk5LCJleHAiOjE2NDMxMDg1OTksImFpbyI6IkUyWmdZT2h4dSs2Vjd5d3d1Ykp3aFdCYmdxa1FBQT09IiwiYXBwaWQiOiJhMmRmNTRkNS1hYjAzLTQ3MjUtOWI4MC05YTAwYjNiMTk2N2YiLCJhcHBpZGFjciI6IjEiLCJpZHAiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC81NDgyNmIyMi0zOGQ2LTRmYjItYmFkOS1iN2I5M2EzZTljNWEvIiwiaWR0eXAiOiJhcHAiLCJvaWQiOiI4ODdjNDJiMS03OTQ2LTRjMjItYmFhNi0xNTA0M2U0YjEzMjMiLCJyaCI6IjAuQVRjQUltdUNWTlk0c2stNjJiZTVPajZjV3RWVTM2SURxeVZIbTRDYUFMT3hsbjgzQUFBLiIsInN1YiI6Ijg4N2M0MmIxLTc5NDYtNGMyMi1iYWE2LTE1MDQzZTRiMTMyMyIsInRpZCI6IjU0ODI2YjIyLTM4ZDYtNGZiMi1iYWQ5LWI3YjkzYTNlOWM1YSIsInV0aSI6ImEtMl9jVHF2TlVhSVFMMU56aGt6QUEiLCJ2ZXIiOiIxLjAiLCJ4bXNfY2MiOlsiQ1AxIl0sInhtc190Y2R0IjoxNDEyMjA2ODQwfQ.qHkufEMtG9f1PdyOA24AoHZjDjyTuqO_JeY0rr0EpuF2DT2xW6fhqvpLoLSCLZC6x0Aa4GiNpjMJPo_tyeGD-JEBclgI7FqslT4lW1Wf09HuHQ2tzWNP7vyb6x9n-9M0rR7tyhBHyGExtDRdZpEJpcTawpOHfnxak87UIk8604U1TUiW_ZNDQaJ3rL13ercQQcO7O0WDrYIQZpisVfqzJlE8UsvIKUJyWMQQVXg_zydLeanNeY0MoE96nrf0gwZkuK8FOds6v0OHySs4AeRLs2cdaOMIEfyiPEj1oal1LqZw4eph__7xPK3Sl0sVBn984unbT9QncYt7IoPDlIkAsA" + "access_token": "access_token" } }, { @@ -233,16 +221,18 @@ "Connection": "keep-alive", "Content-Length": "22", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "050bf485-7dc6-11ec-bece-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-resource/20.1.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "278badf7-9b97-11ec-b7c1-d08e79139a4a" + }, + "RequestBody": { + "location": "westus" }, - "RequestBody": "{\u0022location\u0022: \u0022westus\u0022}", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:03:22 GMT", + "Date": "Fri, 04 Mar 2022 08:43:15 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -253,27 +243,25 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "65ee63b9-b48a-4395-81ba-3757afd3d917", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;236,Microsoft.Compute/PutVM30Min;1187", - "x-ms-ratelimit-remaining-subscription-writes": "1194", - "x-ms-request-id": "30991273-391e-43e6-bddc-fef72bdcc258", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220125T100322Z:65ee63b9-b48a-4395-81ba-3757afd3d917" + "x-ms-correlation-request-id": "5c5a3cbe-9a40-4fc1-969c-b874f7678551", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;232,Microsoft.Compute/PutVM30Min;1190", + "x-ms-ratelimit-remaining-subscription-writes": "1191", + "x-ms-request-id": "d25c8d7a-6501-4a37-9fd4-da731d01a8a0", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T084316Z:5c5a3cbe-9a40-4fc1-969c-b874f7678551" }, - "ResponseBody": [ - "{\r\n", - " \u0022name\u0022: \u0022pytestavset996031f3\u0022,\r\n", - " \u0022id\u0022: \u0022/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/availabilitySets/pytestavset996031f3\u0022,\r\n", - " \u0022type\u0022: \u0022Microsoft.Compute/availabilitySets\u0022,\r\n", - " \u0022location\u0022: \u0022westus\u0022,\r\n", - " \u0022properties\u0022: {\r\n", - " \u0022platformUpdateDomainCount\u0022: 5,\r\n", - " \u0022platformFaultDomainCount\u0022: 3\r\n", - " },\r\n", - " \u0022sku\u0022: {\r\n", - " \u0022name\u0022: \u0022Classic\u0022\r\n", - " }\r\n", - "}" - ] + "ResponseBody": { + "name": "pytestavset996031f3", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/availabilitySets/pytestavset996031f3", + "type": "Microsoft.Compute/availabilitySets", + "location": "westus", + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3 + }, + "sku": { + "name": "Classic" + } + } }, { "RequestUri": "https://login.microsoftonline.com/00000000-0000-0000-0000-000000000000/v2.0/.well-known/openid-configuration", @@ -282,7 +270,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-identity/1.8.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)" + "User-Agent": "azsdk-python-identity/1.9.0b1 Python/3.9.10 (Windows-10-10.0.22000-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -292,17 +280,13 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "1753", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:03:22 GMT", + "Date": "Fri, 04 Mar 2022 08:43:16 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", - "Set-Cookie": [ - "fpc=AoIiSpQDvylGqwYeeHVzaUOZHqKEBQAAAJ3BgdkOAAAA; expires=Thu, 24-Feb-2022 10:03:22 GMT; path=/; secure; HttpOnly; SameSite=None", - "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", - "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" - ], + "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.12381.20 - WUS2 ProdSlices", - "x-ms-request-id": "11c95d34-e0c0-449d-955b-dc1464841f00" + "x-ms-ests-server": "2.1.12507.17 - SCUS ProdSlices", + "x-ms-request-id": "119dfe25-c178-4253-89af-c4eb1066ac00" }, "ResponseBody": { "token_endpoint": "https://login.microsoftonline.com/00000000-0000-0000-0000-000000000000/oauth2/v2.0/token", @@ -379,8 +363,8 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "Cookie": "fpc=AoIiSpQDvylGqwYeeHVzaUOZHqKEBQAAAJ3BgdkOAAAA; stsservicecookie=estsfd; x-ms-gateway-slice=estsfd", - "User-Agent": "azsdk-python-identity/1.8.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)" + "Cookie": "cookie;", + "User-Agent": "azsdk-python-identity/1.9.0b1 Python/3.9.10 (Windows-10-10.0.22000-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -390,17 +374,13 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "945", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:03:22 GMT", + "Date": "Fri, 04 Mar 2022 08:43:16 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", - "Set-Cookie": [ - "fpc=AoIiSpQDvylGqwYeeHVzaUOZHqKEBQAAAJ3BgdkOAAAA; expires=Thu, 24-Feb-2022 10:03:22 GMT; path=/; secure; HttpOnly; SameSite=None", - "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", - "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" - ], + "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.12381.20 - KRSLR2 ProdSlices", - "x-ms-request-id": "608a5c2f-d5d1-4c33-9d18-a5380c841600" + "x-ms-ests-server": "2.1.12529.17 - SEASLR2 ProdSlices", + "x-ms-request-id": "0f38d3dd-6696-49a2-8bb6-23bfe2b60d00" }, "ResponseBody": { "tenant_discovery_endpoint": "https://login.microsoftonline.com/common/.well-known/openid-configuration", @@ -455,47 +435,43 @@ "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", - "client-request-id": "859d931a-be6d-4e1c-9e32-39b4f1e2a6bf", + "client-request-id": "45792a16-cdf0-4f13-ab52-285a89d7237d", "Connection": "keep-alive", "Content-Length": "289", "Content-Type": "application/x-www-form-urlencoded", - "Cookie": "fpc=AoIiSpQDvylGqwYeeHVzaUOZHqKEBQAAAJ3BgdkOAAAA; stsservicecookie=estsfd; x-ms-gateway-slice=estsfd", - "User-Agent": "azsdk-python-identity/1.8.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", + "Cookie": "cookie;", + "User-Agent": "azsdk-python-identity/1.9.0b1 Python/3.9.10 (Windows-10-10.0.22000-SP0)", "x-client-cpu": "x64", "x-client-current-telemetry": "4|730,0|", "x-client-last-telemetry": "4|0|||", "x-client-os": "win32", "x-client-sku": "MSAL.Python", - "x-client-ver": "1.16.0", + "x-client-ver": "1.17.0", "x-ms-lib-capability": "retry-after, h429" }, "RequestBody": "client_id=a2df54d5-ab03-4725-9b80-9a00b3b1967f\u0026grant_type=client_credentials\u0026client_info=1\u0026client_secret=0vj7Q~IsFayrD0V_8oyOfygU-GE3ELOabq95a\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D\u0026scope=https%3A%2F%2Fmanagement.azure.com%2F.default", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", - "client-request-id": "859d931a-be6d-4e1c-9e32-39b4f1e2a6bf", - "Content-Length": "1391", + "client-request-id": "45792a16-cdf0-4f13-ab52-285a89d7237d", + "Content-Length": "93", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:03:22 GMT", + "Date": "Fri, 04 Mar 2022 08:43:16 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", - "Set-Cookie": [ - "fpc=AoIiSpQDvylGqwYeeHVzaUOZHqKEBgAAAJ3BgdkOAAAA; expires=Thu, 24-Feb-2022 10:03:23 GMT; path=/; secure; HttpOnly; SameSite=None", - "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", - "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" - ], + "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.12261.22 - EUS ProdSlices", - "x-ms-request-id": "b063520c-e823-4f45-8181-7171007d2e00" + "x-ms-ests-server": "2.1.12507.17 - EUS ProdSlices", + "x-ms-request-id": "df67aec4-d695-4733-8ee7-a93437d89a00" }, "ResponseBody": { "token_type": "Bearer", "expires_in": 3599, "ext_expires_in": 3599, - "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ik1yNS1BVWliZkJpaTdOZDFqQmViYXhib1hXMCIsImtpZCI6Ik1yNS1BVWliZkJpaTdOZDFqQmViYXhib1hXMCJ9.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuYXp1cmUuY29tIiwiaXNzIjoiaHR0cHM6Ly9zdHMud2luZG93cy5uZXQvNTQ4MjZiMjItMzhkNi00ZmIyLWJhZDktYjdiOTNhM2U5YzVhLyIsImlhdCI6MTY0MzEwNDcwMywibmJmIjoxNjQzMTA0NzAzLCJleHAiOjE2NDMxMDg2MDMsImFpbyI6IkUyWmdZSGhsekNHOVc2dFFxbnJaMHhkL2IzKzlEUUE9IiwiYXBwaWQiOiJhMmRmNTRkNS1hYjAzLTQ3MjUtOWI4MC05YTAwYjNiMTk2N2YiLCJhcHBpZGFjciI6IjEiLCJpZHAiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC81NDgyNmIyMi0zOGQ2LTRmYjItYmFkOS1iN2I5M2EzZTljNWEvIiwiaWR0eXAiOiJhcHAiLCJvaWQiOiI4ODdjNDJiMS03OTQ2LTRjMjItYmFhNi0xNTA0M2U0YjEzMjMiLCJyaCI6IjAuQVRjQUltdUNWTlk0c2stNjJiZTVPajZjV3RWVTM2SURxeVZIbTRDYUFMT3hsbjgzQUFBLiIsInN1YiI6Ijg4N2M0MmIxLTc5NDYtNGMyMi1iYWE2LTE1MDQzZTRiMTMyMyIsInRpZCI6IjU0ODI2YjIyLTM4ZDYtNGZiMi1iYWQ5LWI3YjkzYTNlOWM1YSIsInV0aSI6IkRGSmpzQ1BvUlUtQmdYRnhBSDB1QUEiLCJ2ZXIiOiIxLjAiLCJ4bXNfY2MiOlsiQ1AxIl0sInhtc190Y2R0IjoxNDEyMjA2ODQwfQ.yL8nzfi4b2ONhIJcPoj1wOyppuxz07Z87m6Xwjc2biBG45N2hVHXuPMnCrRCUKO2KvJx_PoQjq9D3BfjXjDUsxSEBF3OZZxoUxh_ii4YfCkoniu6JAdBjcov-YZw2XtHxkVh7kOsQ8uSUR3G0pARFiaFmZgvArk1L6twMAt6rw1jvRyAlAt1Xd_lKyseyVTridWISHjc_PrxI49NUvvY9FuAoDBr_NARiBw-DIu4nIhx0BSBDvGbEvBzXs2VknnlpJ2oD1ICRbGIUf6-jPkR4_ms_UDNRYEt7zBcOiaEQ1wq0mJ6_URUdPEeJiOiLfEoFDOlOpef9011VLU7-QpEcw" + "access_token": "access_token" } }, { @@ -508,24 +484,28 @@ "Connection": "keep-alive", "Content-Length": "41", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "0727a25e-7dc6-11ec-aa53-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-resource/20.1.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "2a04a6b9-9b97-11ec-acea-d08e79139a4a" + }, + "RequestBody": { + "properties": { + "level": "CanNotDelete" + } }, - "RequestBody": "{\u0022properties\u0022: {\u0022level\u0022: \u0022CanNotDelete\u0022}}", "StatusCode": 201, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Length": "291", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:03:23 GMT", + "Date": "Fri, 04 Mar 2022 08:43:17 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "cc9ee8af-99f8-438d-afde-d2e0f7f1d579", - "x-ms-ratelimit-remaining-subscription-writes": "1193", - "x-ms-request-id": "southeastasia:9a8b8bb0-960a-4049-97db-901492d02e6b", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220125T100323Z:cc9ee8af-99f8-438d-afde-d2e0f7f1d579" + "x-ms-correlation-request-id": "bae2eeef-0f48-4aff-a503-25e692214cc8", + "x-ms-ratelimit-remaining-subscription-writes": "1190", + "x-ms-request-id": "southeastasia:5541aec2-6809-47f5-aa5d-c7083605976d", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T084318Z:bae2eeef-0f48-4aff-a503-25e692214cc8" }, "ResponseBody": { "properties": { @@ -544,8 +524,8 @@ "Accept-Encoding": "gzip, deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "07d7cab0-7dc6-11ec-9d99-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-resource/20.1.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "2b04a078-9b97-11ec-9b83-d08e79139a4a" }, "RequestBody": null, "StatusCode": 200, @@ -553,7 +533,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:03:23 GMT", + "Date": "Fri, 04 Mar 2022 08:43:17 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", @@ -563,10 +543,10 @@ "Accept-Encoding" ], "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "c0e4ed72-e0b8-4296-8e7e-de0cb53f5e80", - "x-ms-ratelimit-remaining-subscription-reads": "11994", - "x-ms-request-id": "southeastasia:d2a326e9-7f0d-466d-a869-8d5e8a091464", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220125T100323Z:c0e4ed72-e0b8-4296-8e7e-de0cb53f5e80" + "x-ms-correlation-request-id": "bfae5816-e30b-4cfc-9ef2-53a40557135d", + "x-ms-ratelimit-remaining-subscription-reads": "11985", + "x-ms-request-id": "southeastasia:018e2991-f491-4347-8541-d856d56ee892", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T084318Z:bfae5816-e30b-4cfc-9ef2-53a40557135d" }, "ResponseBody": { "properties": { @@ -585,8 +565,8 @@ "Accept-Encoding": "gzip, deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "07f1387f-7dc6-11ec-a326-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-resource/20.1.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "2b14779a-9b97-11ec-85b4-d08e79139a4a" }, "RequestBody": null, "StatusCode": 200, @@ -594,7 +574,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:03:23 GMT", + "Date": "Fri, 04 Mar 2022 08:43:17 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", @@ -604,10 +584,10 @@ "Accept-Encoding" ], "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "bc71cfa8-7d54-4d87-b124-323ee3011bee", - "x-ms-ratelimit-remaining-subscription-reads": "11993", - "x-ms-request-id": "southeastasia:d64d6ca7-3de4-4c32-b0c2-6866a6890619", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220125T100323Z:bc71cfa8-7d54-4d87-b124-323ee3011bee" + "x-ms-correlation-request-id": "303728f7-d40e-4705-84b3-7c9fef1604e2", + "x-ms-ratelimit-remaining-subscription-reads": "11984", + "x-ms-request-id": "southeastasia:ba25479c-a050-49ca-9a25-79e4a8ab4478", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T084318Z:303728f7-d40e-4705-84b3-7c9fef1604e2" }, "ResponseBody": { "value": [ @@ -631,23 +611,23 @@ "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "08092332-7dc6-11ec-b391-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-resource/20.1.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "2b262e3b-9b97-11ec-be85-d08e79139a4a" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Tue, 25 Jan 2022 10:03:23 GMT", + "Date": "Fri, 04 Mar 2022 08:43:17 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "94587965-c92f-4ded-9309-02b15fe67f15", - "x-ms-ratelimit-remaining-subscription-deletes": "14996", - "x-ms-request-id": "southeastasia:0dd552e4-54f9-4440-9cdd-527013c3f0e2", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220125T100324Z:94587965-c92f-4ded-9309-02b15fe67f15" + "x-ms-correlation-request-id": "5879b95d-90d7-48dd-b2d9-28a4ef6bd6f5", + "x-ms-ratelimit-remaining-subscription-deletes": "14994", + "x-ms-request-id": "southeastasia:5b49b4c1-e0bd-454c-bc0f-03610be2806a", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T084318Z:5879b95d-90d7-48dd-b2d9-28a4ef6bd6f5" }, "ResponseBody": null }, @@ -660,15 +640,15 @@ "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "081fb814-7dc6-11ec-b28f-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-resource/20.1.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "2b3b7ae7-9b97-11ec-95e4-d08e79139a4a" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Tue, 25 Jan 2022 10:03:27 GMT", + "Date": "Fri, 04 Mar 2022 08:43:21 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -677,11 +657,11 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "ee1c7deb-6f9c-4192-abf9-a4db168f4b32", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/DeleteVM3Min;238,Microsoft.Compute/DeleteVM30Min;1197", - "x-ms-ratelimit-remaining-subscription-deletes": "14995", - "x-ms-request-id": "7a4bd501-fbf5-4967-a660-8a4710a3751e", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220125T100328Z:ee1c7deb-6f9c-4192-abf9-a4db168f4b32" + "x-ms-correlation-request-id": "14e54b3c-5d01-4a25-9d8b-faf2036ff510", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/DeleteVM3Min;236,Microsoft.Compute/DeleteVM30Min;1193", + "x-ms-ratelimit-remaining-subscription-deletes": "14993", + "x-ms-request-id": "85bd3995-ebdb-4d72-b3e3-bce875617c2d", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T084322Z:14e54b3c-5d01-4a25-9d8b-faf2036ff510" }, "ResponseBody": null } diff --git a/sdk/resources/azure-mgmt-resource/tests/recordings/test_mgmt_resource_locks.pyTestMgmtResourceLockstest_locks_at_subscription_level.json b/sdk/resources/azure-mgmt-resource/tests/recordings/test_mgmt_resource_locks.pyTestMgmtResourceLockstest_locks_at_subscription_level.json index d5876b49756d..80fd5a9d9621 100644 --- a/sdk/resources/azure-mgmt-resource/tests/recordings/test_mgmt_resource_locks.pyTestMgmtResourceLockstest_locks_at_subscription_level.json +++ b/sdk/resources/azure-mgmt-resource/tests/recordings/test_mgmt_resource_locks.pyTestMgmtResourceLockstest_locks_at_subscription_level.json @@ -7,7 +7,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-identity/1.8.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)" + "User-Agent": "azsdk-python-identity/1.9.0b1 Python/3.9.10 (Windows-10-10.0.22000-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -17,17 +17,13 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "1753", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:03:39 GMT", + "Date": "Fri, 04 Mar 2022 08:42:47 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", - "Set-Cookie": [ - "fpc=AoIiSpQDvylGqwYeeHVzaUOZHqKEBwAAAJ3BgdkOAAAA; expires=Thu, 24-Feb-2022 10:03:40 GMT; path=/; secure; HttpOnly; SameSite=None", - "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", - "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" - ], + "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.12261.22 - NCUS ProdSlices", - "x-ms-request-id": "71bfed6b-af3a-4635-8840-bd4de11b3300" + "x-ms-ests-server": "2.1.12529.17 - WUS2 ProdSlices", + "x-ms-request-id": "9e1f2681-fbbf-4f4e-8e4d-9e893f4e0e00" }, "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=AoIiSpQDvylGqwYeeHVzaUOZHqKEBwAAAJ3BgdkOAAAA; stsservicecookie=estsfd; x-ms-gateway-slice=estsfd", - "User-Agent": "azsdk-python-identity/1.8.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)" + "Cookie": "cookie;", + "User-Agent": "azsdk-python-identity/1.9.0b1 Python/3.9.10 (Windows-10-10.0.22000-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -115,17 +111,13 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "945", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:03:39 GMT", + "Date": "Fri, 04 Mar 2022 08:42:47 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", - "Set-Cookie": [ - "fpc=AoIiSpQDvylGqwYeeHVzaUOZHqKEBwAAAJ3BgdkOAAAA; expires=Thu, 24-Feb-2022 10:03:40 GMT; path=/; secure; HttpOnly; SameSite=None", - "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", - "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" - ], + "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.12381.20 - SEASLR2 ProdSlices", - "x-ms-request-id": "3199dabe-3f39-4bc7-a555-8a4780aa0e00" + "x-ms-ests-server": "2.1.12529.17 - SEASLR1 ProdSlices", + "x-ms-request-id": "6fd1e22a-510e-4ca1-8fb7-0377dcee0d00" }, "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": "5b74b396-7c47-4e42-9075-6151e0472490", + "client-request-id": "218dc08a-80e9-4fd2-b799-2efa83419ad5", "Connection": "keep-alive", "Content-Length": "289", "Content-Type": "application/x-www-form-urlencoded", - "Cookie": "fpc=AoIiSpQDvylGqwYeeHVzaUOZHqKEBwAAAJ3BgdkOAAAA; stsservicecookie=estsfd; x-ms-gateway-slice=estsfd", - "User-Agent": "azsdk-python-identity/1.8.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", + "Cookie": "cookie;", + "User-Agent": "azsdk-python-identity/1.9.0b1 Python/3.9.10 (Windows-10-10.0.22000-SP0)", "x-client-cpu": "x64", "x-client-current-telemetry": "4|730,0|", "x-client-last-telemetry": "4|0|||", "x-client-os": "win32", "x-client-sku": "MSAL.Python", - "x-client-ver": "1.16.0", + "x-client-ver": "1.17.0", "x-ms-lib-capability": "retry-after, h429" }, "RequestBody": "client_id=a2df54d5-ab03-4725-9b80-9a00b3b1967f\u0026grant_type=client_credentials\u0026client_info=1\u0026client_secret=0vj7Q~IsFayrD0V_8oyOfygU-GE3ELOabq95a\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D\u0026scope=https%3A%2F%2Fmanagement.azure.com%2F.default", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", - "client-request-id": "5b74b396-7c47-4e42-9075-6151e0472490", - "Content-Length": "1391", + "client-request-id": "218dc08a-80e9-4fd2-b799-2efa83419ad5", + "Content-Length": "93", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:03:40 GMT", + "Date": "Fri, 04 Mar 2022 08:42:48 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", - "Set-Cookie": [ - "fpc=AoIiSpQDvylGqwYeeHVzaUOZHqKECAAAAJ3BgdkOAAAA; expires=Thu, 24-Feb-2022 10:03:40 GMT; path=/; secure; HttpOnly; SameSite=None", - "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", - "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" - ], + "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.12261.22 - NCUS ProdSlices", - "x-ms-request-id": "1ae73ff4-3568-4195-8f6e-c5b5cc8c2b00" + "x-ms-ests-server": "2.1.12529.17 - WUS2 ProdSlices", + "x-ms-request-id": "d171f0f6-1a09-496f-bfde-5fb6e6360e00" }, "ResponseBody": { "token_type": "Bearer", "expires_in": 3599, "ext_expires_in": 3599, - "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ik1yNS1BVWliZkJpaTdOZDFqQmViYXhib1hXMCIsImtpZCI6Ik1yNS1BVWliZkJpaTdOZDFqQmViYXhib1hXMCJ9.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuYXp1cmUuY29tIiwiaXNzIjoiaHR0cHM6Ly9zdHMud2luZG93cy5uZXQvNTQ4MjZiMjItMzhkNi00ZmIyLWJhZDktYjdiOTNhM2U5YzVhLyIsImlhdCI6MTY0MzEwNDcyMCwibmJmIjoxNjQzMTA0NzIwLCJleHAiOjE2NDMxMDg2MjAsImFpbyI6IkUyWmdZREJ3TFZqN0pqRnJoNnVQNE1wcHZwYWFBQT09IiwiYXBwaWQiOiJhMmRmNTRkNS1hYjAzLTQ3MjUtOWI4MC05YTAwYjNiMTk2N2YiLCJhcHBpZGFjciI6IjEiLCJpZHAiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC81NDgyNmIyMi0zOGQ2LTRmYjItYmFkOS1iN2I5M2EzZTljNWEvIiwiaWR0eXAiOiJhcHAiLCJvaWQiOiI4ODdjNDJiMS03OTQ2LTRjMjItYmFhNi0xNTA0M2U0YjEzMjMiLCJyaCI6IjAuQVRjQUltdUNWTlk0c2stNjJiZTVPajZjV3RWVTM2SURxeVZIbTRDYUFMT3hsbjgzQUFBLiIsInN1YiI6Ijg4N2M0MmIxLTc5NDYtNGMyMi1iYWE2LTE1MDQzZTRiMTMyMyIsInRpZCI6IjU0ODI2YjIyLTM4ZDYtNGZiMi1iYWQ5LWI3YjkzYTNlOWM1YSIsInV0aSI6IjlEX25HbWcxbFVHUGJzVzF6SXdyQUEiLCJ2ZXIiOiIxLjAiLCJ4bXNfY2MiOlsiQ1AxIl0sInhtc190Y2R0IjoxNDEyMjA2ODQwfQ.owRs-C_7z1G_g1f1lWU1T5x4AKZG3_HL2sySNvCdMpFXXGiKt1yKLC_1JjpEEg_pPMRdNvCjsxW96HZ3E7aJrUT5Mb-yEPnhqO0spOSN78jNsupQEBWDDRixA69K3FZWLI5VC1AmajYNAjxRQF7CMaiadVCsH2x3czrHLbhZdXxnBLCCv5Xey9xRrSoOLCGezAJW2nTN9VQlNfW9kmu4Q0vW-EL_MVk5PovZ0ZN5CRAyR3xPt27Ksc5C3BxuohlCtZxzuDfpvEJmWyeBmeRMvibc27xXh1tsp5hX-wN-yOvq5cxLDGa_WEsGfxuaeJzlq5aouOTX4P0sdz2OIhBXAA" + "access_token": "access_token" } }, { @@ -233,24 +221,28 @@ "Connection": "keep-alive", "Content-Length": "41", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "117d2abb-7dc6-11ec-b0b9-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-resource/20.1.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "19405d8c-9b97-11ec-8916-d08e79139a4a" + }, + "RequestBody": { + "properties": { + "level": "CanNotDelete" + } }, - "RequestBody": "{\u0022properties\u0022: {\u0022level\u0022: \u0022CanNotDelete\u0022}}", "StatusCode": 201, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Length": "204", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:03:40 GMT", + "Date": "Fri, 04 Mar 2022 08:42:49 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "d241b3d8-2cf6-4216-9ad2-7e122741b90c", - "x-ms-ratelimit-remaining-subscription-writes": "1190", - "x-ms-request-id": "southeastasia:5a59a390-df7d-440e-9f6a-c47b550155e7", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220125T100341Z:d241b3d8-2cf6-4216-9ad2-7e122741b90c" + "x-ms-correlation-request-id": "faf38683-6287-4fbc-ac78-faaa0f34b6c9", + "x-ms-ratelimit-remaining-subscription-writes": "1194", + "x-ms-request-id": "southeastasia:b0ecfa51-f0a8-4b41-b45e-c46fd43a6c23", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T084249Z:faf38683-6287-4fbc-ac78-faaa0f34b6c9" }, "ResponseBody": { "properties": { @@ -269,8 +261,8 @@ "Accept-Encoding": "gzip, deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "1237a1db-7dc6-11ec-8571-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-resource/20.1.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "19e0c458-9b97-11ec-b321-d08e79139a4a" }, "RequestBody": null, "StatusCode": 200, @@ -278,7 +270,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:03:40 GMT", + "Date": "Fri, 04 Mar 2022 08:42:49 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", @@ -288,10 +280,10 @@ "Accept-Encoding" ], "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "714cc447-045f-4a6b-9a72-e27851b2d42b", - "x-ms-ratelimit-remaining-subscription-reads": "11990", - "x-ms-request-id": "southeastasia:39a34dec-c74a-4530-b76c-25a3b666a07a", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220125T100341Z:714cc447-045f-4a6b-9a72-e27851b2d42b" + "x-ms-correlation-request-id": "8bd083ed-36c2-4980-9d60-d5b1a7669640", + "x-ms-ratelimit-remaining-subscription-reads": "11988", + "x-ms-request-id": "southeastasia:a44d8ece-72ac-43b6-adfa-1876cf060ec9", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T084249Z:8bd083ed-36c2-4980-9d60-d5b1a7669640" }, "ResponseBody": { "properties": { @@ -310,8 +302,8 @@ "Accept-Encoding": "gzip, deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "1247e61f-7dc6-11ec-b727-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-resource/20.1.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "1a0fc80b-9b97-11ec-9882-d08e79139a4a" }, "RequestBody": null, "StatusCode": 200, @@ -319,7 +311,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:03:40 GMT", + "Date": "Fri, 04 Mar 2022 08:42:49 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", @@ -329,10 +321,10 @@ "Accept-Encoding" ], "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "e1ee3de2-0728-4ffb-8e90-9790cc196e4b", - "x-ms-ratelimit-remaining-subscription-reads": "11989", - "x-ms-request-id": "southeastasia:9b1de685-5611-4fd2-a8ec-370538194121", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220125T100341Z:e1ee3de2-0728-4ffb-8e90-9790cc196e4b" + "x-ms-correlation-request-id": "6656c425-879c-4356-a4d9-a07d2488e24e", + "x-ms-ratelimit-remaining-subscription-reads": "11987", + "x-ms-request-id": "southeastasia:c8c751fb-e9b5-4a5e-a146-77aa5f223896", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T084249Z:6656c425-879c-4356-a4d9-a07d2488e24e" }, "ResponseBody": { "value": [ @@ -460,6 +452,15 @@ "type": "Microsoft.Authorization/locks", "name": "l" }, + { + "properties": { + "level": "CanNotDelete", + "notes": "" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/wyunchi/providers/Microsoft.Authorization/locks/lock", + "type": "Microsoft.Authorization/locks", + "name": "lock" + }, { "properties": { "level": "CanNotDelete" @@ -522,6 +523,15 @@ "type": "Microsoft.Authorization/locks", "name": "no-delete" }, + { + "properties": { + "level": "CanNotDelete", + "notes": "" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jlrg0221/providers/Microsoft.Authorization/locks/dl", + "type": "Microsoft.Authorization/locks", + "name": "dl" + }, { "properties": { "level": "CanNotDelete", @@ -570,11 +580,11 @@ { "properties": { "level": "CanNotDelete", - "notes": "test lock" + "notes": "Auto-created by Azure Backup for storage accounts registered with a Recovery Services Vault. This lock is intended to guard against deletion of backups due to accidental deletion of the storage account." }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dixue/providers/Microsoft.Authorization/locks/testlock", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rgeghfcmpfiw/providers/microsoft.storage/storageAccounts/clitestkoxtfkf67yodgckyb/providers/Microsoft.Authorization/locks/AzureBackupProtectionLock", "type": "Microsoft.Authorization/locks", - "name": "testlock" + "name": "AzureBackupProtectionLock" }, { "properties": { @@ -635,6 +645,15 @@ "type": "Microsoft.Authorization/locks", "name": "AzureBackupProtectionLock" }, + { + "properties": { + "level": "CanNotDelete", + "notes": "" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiasli-rhel-rg/providers/Microsoft.Compute/virtualMachines/rhel-gen1/providers/Microsoft.Authorization/locks/dl2", + "type": "Microsoft.Authorization/locks", + "name": "dl2" + }, { "properties": { "level": "CanNotDelete", @@ -653,6 +672,24 @@ "type": "Microsoft.Authorization/locks", "name": "dl" }, + { + "properties": { + "level": "CanNotDelete", + "notes": "" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/jiasli-dev/providers/Microsoft.Compute/virtualMachines/jiasli-debian/providers/Microsoft.Authorization/locks/dl2", + "type": "Microsoft.Authorization/locks", + "name": "dl2" + }, + { + "properties": { + "level": "CanNotDelete", + "notes": "" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/xz3-apim-okr-rg2/providers/Microsoft.Authorization/locks/del", + "type": "Microsoft.Authorization/locks", + "name": "del" + }, { "properties": { "level": "CanNotDelete", @@ -761,11 +798,12 @@ }, { "properties": { - "level": "CanNotDelete" + "level": "CanNotDelete", + "notes": "for testing" }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-beta/providers/Microsoft.Authorization/locks/donotdelete", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nyy/providers/Microsoft.Authorization/locks/nyy-lock", "type": "Microsoft.Authorization/locks", - "name": "donotdelete" + "name": "nyy-lock" }, { "properties": { @@ -784,15 +822,6 @@ "type": "Microsoft.Authorization/locks", "name": "AzureBackupProtectionLock" }, - { - "properties": { - "level": "CanNotDelete", - "notes": "" - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/lgrg/providers/Microsoft.Authorization/locks/l", - "type": "Microsoft.Authorization/locks", - "name": "l" - }, { "properties": { "level": "CanNotDelete" @@ -917,23 +946,23 @@ "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "12730a42-7dc6-11ec-9e6b-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-resource/20.1.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "1a2b7908-9b97-11ec-bc5e-d08e79139a4a" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Tue, 25 Jan 2022 10:03:41 GMT", + "Date": "Fri, 04 Mar 2022 08:42:49 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "94f41bf5-f3ad-46f6-b209-f7b43ebd0fa0", - "x-ms-ratelimit-remaining-subscription-deletes": "14992", - "x-ms-request-id": "southeastasia:d7f62093-aa69-4f2b-9c9e-7dab9776f5f1", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220125T100341Z:94f41bf5-f3ad-46f6-b209-f7b43ebd0fa0" + "x-ms-correlation-request-id": "76057148-42b6-4dc9-ab40-8352fe239843", + "x-ms-ratelimit-remaining-subscription-deletes": "14997", + "x-ms-request-id": "southeastasia:226a1d4f-78e8-4cd1-8344-47d6e41aa01f", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T084250Z:76057148-42b6-4dc9-ab40-8352fe239843" }, "ResponseBody": null } diff --git a/sdk/resources/azure-mgmt-resource/tests/recordings/test_mgmt_resource_locks.pyTestMgmtResourceLockstest_locks_by_scope.json b/sdk/resources/azure-mgmt-resource/tests/recordings/test_mgmt_resource_locks.pyTestMgmtResourceLockstest_locks_by_scope.json index e4ec087a71b9..fe3fa10b9bd1 100644 --- a/sdk/resources/azure-mgmt-resource/tests/recordings/test_mgmt_resource_locks.pyTestMgmtResourceLockstest_locks_by_scope.json +++ b/sdk/resources/azure-mgmt-resource/tests/recordings/test_mgmt_resource_locks.pyTestMgmtResourceLockstest_locks_by_scope.json @@ -7,7 +7,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-identity/1.8.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)" + "User-Agent": "azsdk-python-identity/1.9.0b1 Python/3.9.10 (Windows-10-10.0.22000-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -17,17 +17,13 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "1753", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:03:01 GMT", + "Date": "Fri, 04 Mar 2022 08:42:52 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", - "Set-Cookie": [ - "fpc=AoIiSpQDvylGqwYeeHVzaUOZHqKEAgAAAJ3BgdkOAAAA; expires=Thu, 24-Feb-2022 10:03:01 GMT; path=/; secure; HttpOnly; SameSite=None", - "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", - "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" - ], + "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.12381.20 - WUS2 ProdSlices", - "x-ms-request-id": "11c95d34-e0c0-449d-955b-dc1499811f00" + "x-ms-ests-server": "2.1.12507.17 - EUS ProdSlices", + "x-ms-request-id": "785fd54e-1b0a-4217-860b-0c05c6869a00" }, "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=AoIiSpQDvylGqwYeeHVzaUOZHqKEAgAAAJ3BgdkOAAAA; stsservicecookie=estsfd; x-ms-gateway-slice=estsfd", - "User-Agent": "azsdk-python-identity/1.8.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)" + "Cookie": "cookie;", + "User-Agent": "azsdk-python-identity/1.9.0b1 Python/3.9.10 (Windows-10-10.0.22000-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -115,17 +111,13 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "945", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:03:01 GMT", + "Date": "Fri, 04 Mar 2022 08:42:53 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", - "Set-Cookie": [ - "fpc=AoIiSpQDvylGqwYeeHVzaUOZHqKEAgAAAJ3BgdkOAAAA; expires=Thu, 24-Feb-2022 10:03:01 GMT; path=/; secure; HttpOnly; SameSite=None", - "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", - "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" - ], + "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.12381.20 - KRSLR2 ProdSlices", - "x-ms-request-id": "a72eab59-66ed-4644-b1bc-63d14ead1400" + "x-ms-ests-server": "2.1.12529.17 - KRSLR1 ProdSlices", + "x-ms-request-id": "599c0258-b96a-4752-8240-152be2e90e00" }, "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": "38a29c8a-c74c-4c08-8200-11052ca6103e", + "client-request-id": "3296cc5e-46f6-418d-8657-7c714528fb02", "Connection": "keep-alive", "Content-Length": "289", "Content-Type": "application/x-www-form-urlencoded", - "Cookie": "fpc=AoIiSpQDvylGqwYeeHVzaUOZHqKEAgAAAJ3BgdkOAAAA; stsservicecookie=estsfd; x-ms-gateway-slice=estsfd", - "User-Agent": "azsdk-python-identity/1.8.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", + "Cookie": "cookie;", + "User-Agent": "azsdk-python-identity/1.9.0b1 Python/3.9.10 (Windows-10-10.0.22000-SP0)", "x-client-cpu": "x64", "x-client-current-telemetry": "4|730,0|", "x-client-last-telemetry": "4|0|||", "x-client-os": "win32", "x-client-sku": "MSAL.Python", - "x-client-ver": "1.16.0", + "x-client-ver": "1.17.0", "x-ms-lib-capability": "retry-after, h429" }, "RequestBody": "client_id=a2df54d5-ab03-4725-9b80-9a00b3b1967f\u0026grant_type=client_credentials\u0026client_info=1\u0026client_secret=0vj7Q~IsFayrD0V_8oyOfygU-GE3ELOabq95a\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D\u0026scope=https%3A%2F%2Fmanagement.azure.com%2F.default", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", - "client-request-id": "38a29c8a-c74c-4c08-8200-11052ca6103e", - "Content-Length": "1391", + "client-request-id": "3296cc5e-46f6-418d-8657-7c714528fb02", + "Content-Length": "93", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:03:01 GMT", + "Date": "Fri, 04 Mar 2022 08:42:53 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", - "Set-Cookie": [ - "fpc=AoIiSpQDvylGqwYeeHVzaUOZHqKEAwAAAJ3BgdkOAAAA; expires=Thu, 24-Feb-2022 10:03:01 GMT; path=/; secure; HttpOnly; SameSite=None", - "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", - "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" - ], + "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.12261.22 - SCUS ProdSlices", - "x-ms-request-id": "3e279765-9c38-4434-8348-1fe1cc3ef900" + "x-ms-ests-server": "2.1.12529.17 - WUS2 ProdSlices", + "x-ms-request-id": "9e1f2681-fbbf-4f4e-8e4d-9e890c4f0e00" }, "ResponseBody": { "token_type": "Bearer", "expires_in": 3599, "ext_expires_in": 3599, - "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ik1yNS1BVWliZkJpaTdOZDFqQmViYXhib1hXMCIsImtpZCI6Ik1yNS1BVWliZkJpaTdOZDFqQmViYXhib1hXMCJ9.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuYXp1cmUuY29tIiwiaXNzIjoiaHR0cHM6Ly9zdHMud2luZG93cy5uZXQvNTQ4MjZiMjItMzhkNi00ZmIyLWJhZDktYjdiOTNhM2U5YzVhLyIsImlhdCI6MTY0MzEwNDY4MSwibmJmIjoxNjQzMTA0NjgxLCJleHAiOjE2NDMxMDg1ODEsImFpbyI6IkUyWmdZTWhsTHZaOU1yT1lJMmIycmUrL3hEUGVBQUE9IiwiYXBwaWQiOiJhMmRmNTRkNS1hYjAzLTQ3MjUtOWI4MC05YTAwYjNiMTk2N2YiLCJhcHBpZGFjciI6IjEiLCJpZHAiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC81NDgyNmIyMi0zOGQ2LTRmYjItYmFkOS1iN2I5M2EzZTljNWEvIiwiaWR0eXAiOiJhcHAiLCJvaWQiOiI4ODdjNDJiMS03OTQ2LTRjMjItYmFhNi0xNTA0M2U0YjEzMjMiLCJyaCI6IjAuQVRjQUltdUNWTlk0c2stNjJiZTVPajZjV3RWVTM2SURxeVZIbTRDYUFMT3hsbjgzQUFBLiIsInN1YiI6Ijg4N2M0MmIxLTc5NDYtNGMyMi1iYWE2LTE1MDQzZTRiMTMyMyIsInRpZCI6IjU0ODI2YjIyLTM4ZDYtNGZiMi1iYWQ5LWI3YjkzYTNlOWM1YSIsInV0aSI6IlpaY25QamljTkVTRFNCX2h6RDc1QUEiLCJ2ZXIiOiIxLjAiLCJ4bXNfY2MiOlsiQ1AxIl0sInhtc190Y2R0IjoxNDEyMjA2ODQwfQ.OAF4DBJ2ijU7t_rBipG-oJG-3CG4y4RS3yPtw576YS-z97QSA-A9sBkA5uWBy54CndrtD0qTEPW3wFIs7-4GN27L847N48qzJS31tW7DZPg_BihwULpD1N-J1d3k1wdWBg6hy76tFMfgSfpC8ROrjNf4w56UVN6PY-SLFVV-x7uwSZw9VSOHW6sgqscGk7erxlQviIsqZheGX34wTwsx-IJGSCg3uaGseXyt_dtNtN6ext355FsA2KX39KF5e7nQIhCUVPX90VGiaMqjbD_K5fx5rghgPFPIoqZz-0AKcsFmOeaoFVj3JpaVeoSEOvrLvJPhoMfJo10p5lDvZ6PQsQ" + "access_token": "access_token" } }, { @@ -233,16 +221,18 @@ "Connection": "keep-alive", "Content-Length": "22", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "fa75fabb-7dc5-11ec-bfdd-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-resource/20.1.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "1c6ceed7-9b97-11ec-b5a6-d08e79139a4a" + }, + "RequestBody": { + "location": "westus" }, - "RequestBody": "{\u0022location\u0022: \u0022westus\u0022}", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:03:04 GMT", + "Date": "Fri, 04 Mar 2022 08:42:57 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -253,27 +243,25 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "2f025069-cec1-4424-abe6-c62bd167f177", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;237,Microsoft.Compute/PutVM30Min;1188", - "x-ms-ratelimit-remaining-subscription-writes": "1196", - "x-ms-request-id": "2a0ae978-4a73-4ead-a1b0-f03f23f53b15", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220125T100304Z:2f025069-cec1-4424-abe6-c62bd167f177" + "x-ms-correlation-request-id": "5fd7a6c3-f04f-4663-b4a1-113f6d282148", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;234,Microsoft.Compute/PutVM30Min;1192", + "x-ms-ratelimit-remaining-subscription-writes": "1193", + "x-ms-request-id": "6a059796-5c58-48c6-9654-4272192f2974", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T084257Z:5fd7a6c3-f04f-4663-b4a1-113f6d282148" }, - "ResponseBody": [ - "{\r\n", - " \u0022name\u0022: \u0022pytestavsetdedb2e34\u0022,\r\n", - " \u0022id\u0022: \u0022/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/availabilitySets/pytestavsetdedb2e34\u0022,\r\n", - " \u0022type\u0022: \u0022Microsoft.Compute/availabilitySets\u0022,\r\n", - " \u0022location\u0022: \u0022westus\u0022,\r\n", - " \u0022properties\u0022: {\r\n", - " \u0022platformUpdateDomainCount\u0022: 5,\r\n", - " \u0022platformFaultDomainCount\u0022: 3\r\n", - " },\r\n", - " \u0022sku\u0022: {\r\n", - " \u0022name\u0022: \u0022Classic\u0022\r\n", - " }\r\n", - "}" - ] + "ResponseBody": { + "name": "pytestavsetdedb2e34", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/availabilitySets/pytestavsetdedb2e34", + "type": "Microsoft.Compute/availabilitySets", + "location": "westus", + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3 + }, + "sku": { + "name": "Classic" + } + } }, { "RequestUri": "https://login.microsoftonline.com/00000000-0000-0000-0000-000000000000/v2.0/.well-known/openid-configuration", @@ -282,7 +270,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-identity/1.8.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)" + "User-Agent": "azsdk-python-identity/1.9.0b1 Python/3.9.10 (Windows-10-10.0.22000-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -292,17 +280,13 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "1753", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:03:04 GMT", + "Date": "Fri, 04 Mar 2022 08:42:57 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", - "Set-Cookie": [ - "fpc=AoIiSpQDvylGqwYeeHVzaUOZHqKEAwAAAJ3BgdkOAAAA; expires=Thu, 24-Feb-2022 10:03:05 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.22 - NCUS ProdSlices", - "x-ms-request-id": "71bfed6b-af3a-4635-8840-bd4d1c183300" + "x-ms-ests-server": "2.1.12507.17 - NCUS ProdSlices", + "x-ms-request-id": "b5fe5794-f039-495e-99e6-7d57bc6b7700" }, "ResponseBody": { "token_endpoint": "https://login.microsoftonline.com/00000000-0000-0000-0000-000000000000/oauth2/v2.0/token", @@ -379,8 +363,8 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "Cookie": "fpc=AoIiSpQDvylGqwYeeHVzaUOZHqKEAwAAAJ3BgdkOAAAA; stsservicecookie=estsfd; x-ms-gateway-slice=estsfd", - "User-Agent": "azsdk-python-identity/1.8.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)" + "Cookie": "cookie;", + "User-Agent": "azsdk-python-identity/1.9.0b1 Python/3.9.10 (Windows-10-10.0.22000-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -390,17 +374,13 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "945", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:03:05 GMT", + "Date": "Fri, 04 Mar 2022 08:42:57 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", - "Set-Cookie": [ - "fpc=AoIiSpQDvylGqwYeeHVzaUOZHqKEAwAAAJ3BgdkOAAAA; expires=Thu, 24-Feb-2022 10:03:05 GMT; path=/; secure; HttpOnly; SameSite=None", - "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", - "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" - ], + "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.12381.20 - SEASLR2 ProdSlices", - "x-ms-request-id": "204812eb-fd0a-40cc-81fc-a99ee2211500" + "x-ms-ests-server": "2.1.12529.17 - SEASLR2 ProdSlices", + "x-ms-request-id": "0bf82154-3e6b-4659-9e29-e2a470e10e00" }, "ResponseBody": { "tenant_discovery_endpoint": "https://login.microsoftonline.com/common/.well-known/openid-configuration", @@ -455,47 +435,43 @@ "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", - "client-request-id": "2335808e-3574-403d-9a44-7abc855b17fa", + "client-request-id": "2203417d-49de-4fc7-8f55-ddf161e26b8d", "Connection": "keep-alive", "Content-Length": "289", "Content-Type": "application/x-www-form-urlencoded", - "Cookie": "fpc=AoIiSpQDvylGqwYeeHVzaUOZHqKEAwAAAJ3BgdkOAAAA; stsservicecookie=estsfd; x-ms-gateway-slice=estsfd", - "User-Agent": "azsdk-python-identity/1.8.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", + "Cookie": "cookie;", + "User-Agent": "azsdk-python-identity/1.9.0b1 Python/3.9.10 (Windows-10-10.0.22000-SP0)", "x-client-cpu": "x64", "x-client-current-telemetry": "4|730,0|", "x-client-last-telemetry": "4|0|||", "x-client-os": "win32", "x-client-sku": "MSAL.Python", - "x-client-ver": "1.16.0", + "x-client-ver": "1.17.0", "x-ms-lib-capability": "retry-after, h429" }, "RequestBody": "client_id=a2df54d5-ab03-4725-9b80-9a00b3b1967f\u0026grant_type=client_credentials\u0026client_info=1\u0026client_secret=0vj7Q~IsFayrD0V_8oyOfygU-GE3ELOabq95a\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D\u0026scope=https%3A%2F%2Fmanagement.azure.com%2F.default", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", - "client-request-id": "2335808e-3574-403d-9a44-7abc855b17fa", - "Content-Length": "1391", + "client-request-id": "2203417d-49de-4fc7-8f55-ddf161e26b8d", + "Content-Length": "93", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:03:05 GMT", + "Date": "Fri, 04 Mar 2022 08:42:57 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", - "Set-Cookie": [ - "fpc=AoIiSpQDvylGqwYeeHVzaUOZHqKEBAAAAJ3BgdkOAAAA; expires=Thu, 24-Feb-2022 10:03:05 GMT; path=/; secure; HttpOnly; SameSite=None", - "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", - "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" - ], + "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.12261.22 - EUS ProdSlices", - "x-ms-request-id": "b063520c-e823-4f45-8181-71710b7b2e00" + "x-ms-ests-server": "2.1.12507.17 - NCUS ProdSlices", + "x-ms-request-id": "7fe2b7d9-45f9-4dc3-bea8-242828b36e00" }, "ResponseBody": { "token_type": "Bearer", "expires_in": 3599, "ext_expires_in": 3599, - "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ik1yNS1BVWliZkJpaTdOZDFqQmViYXhib1hXMCIsImtpZCI6Ik1yNS1BVWliZkJpaTdOZDFqQmViYXhib1hXMCJ9.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuYXp1cmUuY29tIiwiaXNzIjoiaHR0cHM6Ly9zdHMud2luZG93cy5uZXQvNTQ4MjZiMjItMzhkNi00ZmIyLWJhZDktYjdiOTNhM2U5YzVhLyIsImlhdCI6MTY0MzEwNDY4NSwibmJmIjoxNjQzMTA0Njg1LCJleHAiOjE2NDMxMDg1ODUsImFpbyI6IkUyWmdZRGpPZlZ6bWk5UEIzdzY2VjdxNC84YlBBUUE9IiwiYXBwaWQiOiJhMmRmNTRkNS1hYjAzLTQ3MjUtOWI4MC05YTAwYjNiMTk2N2YiLCJhcHBpZGFjciI6IjEiLCJpZHAiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC81NDgyNmIyMi0zOGQ2LTRmYjItYmFkOS1iN2I5M2EzZTljNWEvIiwiaWR0eXAiOiJhcHAiLCJvaWQiOiI4ODdjNDJiMS03OTQ2LTRjMjItYmFhNi0xNTA0M2U0YjEzMjMiLCJyaCI6IjAuQVRjQUltdUNWTlk0c2stNjJiZTVPajZjV3RWVTM2SURxeVZIbTRDYUFMT3hsbjgzQUFBLiIsInN1YiI6Ijg4N2M0MmIxLTc5NDYtNGMyMi1iYWE2LTE1MDQzZTRiMTMyMyIsInRpZCI6IjU0ODI2YjIyLTM4ZDYtNGZiMi1iYWQ5LWI3YjkzYTNlOWM1YSIsInV0aSI6IkRGSmpzQ1BvUlUtQmdYRnhDM3N1QUEiLCJ2ZXIiOiIxLjAiLCJ4bXNfY2MiOlsiQ1AxIl0sInhtc190Y2R0IjoxNDEyMjA2ODQwfQ.HDrFxES7yl3dD5J_LlGznDvDBo9lWWV4cuMaMomVa5mL0rDOadONaVz1j3HCqOytnYTT5CIm5hQLidmkVUEPEQjABw4Cl9mg0ZgZB7MJ5Si7d93i-shImSLxVk4yq35odOUbiRAxLDi8DeMQageLz5qAyqVuTXB8lDznJBIsLdJqkM73QSAZYyOPQCSmX_pXhDtvf0wTKHuvYlZstD7wVZFdrBapFE6i2TUfinzF7PjfeNEirjHjHeYl6h6STlbLXJ13KKuYa6kpzhWO8bkfklKxnA6l6tWUHe7xcu0DeyWV9hQDlvkMBFAS886UBiqK5OBANgWaWe9Xkkzx0N7uzQ" + "access_token": "access_token" } }, { @@ -508,24 +484,28 @@ "Connection": "keep-alive", "Content-Length": "41", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "fca56425-7dc5-11ec-9ad2-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-resource/20.1.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "1eec3446-9b97-11ec-b45d-d08e79139a4a" + }, + "RequestBody": { + "properties": { + "level": "CanNotDelete" + } }, - "RequestBody": "{\u0022properties\u0022: {\u0022level\u0022: \u0022CanNotDelete\u0022}}", "StatusCode": 201, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Length": "291", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:03:06 GMT", + "Date": "Fri, 04 Mar 2022 08:42:58 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "f93c2276-1f27-4eb9-ac22-caabf5069a7b", - "x-ms-ratelimit-remaining-subscription-writes": "1195", - "x-ms-request-id": "southeastasia:2c568c94-88a8-4073-ab36-6342e5214f8f", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220125T100306Z:f93c2276-1f27-4eb9-ac22-caabf5069a7b" + "x-ms-correlation-request-id": "bcf7057b-2edb-4f70-b4cb-45c6c262b86a", + "x-ms-ratelimit-remaining-subscription-writes": "1192", + "x-ms-request-id": "southeastasia:b808eff1-c0e4-496c-97c0-cc1fe0d1d8ed", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T084258Z:bcf7057b-2edb-4f70-b4cb-45c6c262b86a" }, "ResponseBody": { "properties": { @@ -544,8 +524,8 @@ "Accept-Encoding": "gzip, deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "fd694960-7dc5-11ec-b767-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-resource/20.1.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "1fa0e702-9b97-11ec-896e-d08e79139a4a" }, "RequestBody": null, "StatusCode": 200, @@ -553,7 +533,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:03:06 GMT", + "Date": "Fri, 04 Mar 2022 08:42:58 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", @@ -563,10 +543,10 @@ "Accept-Encoding" ], "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "d45648e3-d54e-4b7a-915c-b506a221e90a", - "x-ms-ratelimit-remaining-subscription-reads": "11995", - "x-ms-request-id": "southeastasia:fbc0e16f-a487-4be1-b361-d62329dac8b9", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220125T100306Z:d45648e3-d54e-4b7a-915c-b506a221e90a" + "x-ms-correlation-request-id": "b74a22a3-8112-4115-8f6c-9adf3606a313", + "x-ms-ratelimit-remaining-subscription-reads": "11986", + "x-ms-request-id": "southeastasia:e94e702b-d5cb-4fd7-ad67-72e93ba3e422", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T084259Z:b74a22a3-8112-4115-8f6c-9adf3606a313" }, "ResponseBody": { "properties": { @@ -586,23 +566,23 @@ "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "fd7d194b-7dc5-11ec-876a-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-resource/20.1.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "1fb8e4e9-9b97-11ec-a87e-d08e79139a4a" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Tue, 25 Jan 2022 10:03:06 GMT", + "Date": "Fri, 04 Mar 2022 08:42:59 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "b3e99342-91bb-41ac-b5b1-63593edd45e3", - "x-ms-ratelimit-remaining-subscription-deletes": "14998", - "x-ms-request-id": "southeastasia:dbd916bd-6a24-4f9f-b674-8b141d3cc6f5", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220125T100306Z:b3e99342-91bb-41ac-b5b1-63593edd45e3" + "x-ms-correlation-request-id": "e40ebde8-f197-4d89-bccc-722bd898f251", + "x-ms-ratelimit-remaining-subscription-deletes": "14996", + "x-ms-request-id": "southeastasia:a16ee9c5-1ee7-426f-be12-2e701b7cda60", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T084259Z:e40ebde8-f197-4d89-bccc-722bd898f251" }, "ResponseBody": null }, @@ -615,15 +595,15 @@ "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "fda22acf-7dc5-11ec-afc4-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-resource/20.1.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "1fd86d24-9b97-11ec-9474-d08e79139a4a" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Tue, 25 Jan 2022 10:03:11 GMT", + "Date": "Fri, 04 Mar 2022 08:43:05 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -632,11 +612,11 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "ec97b6f0-f369-4e76-bcb0-7b4dc5356445", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/DeleteVM3Min;239,Microsoft.Compute/DeleteVM30Min;1198", - "x-ms-ratelimit-remaining-subscription-deletes": "14997", - "x-ms-request-id": "a0b207d6-513c-485f-9e0c-cca0bf527da1", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220125T100311Z:ec97b6f0-f369-4e76-bcb0-7b4dc5356445" + "x-ms-correlation-request-id": "47ac18c3-142f-4d10-8193-5776e1790c84", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/DeleteVM3Min;237,Microsoft.Compute/DeleteVM30Min;1194", + "x-ms-ratelimit-remaining-subscription-deletes": "14995", + "x-ms-request-id": "6385df6c-489c-4240-8223-a8c623ca8a1a", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T084305Z:47ac18c3-142f-4d10-8193-5776e1790c84" }, "ResponseBody": null } diff --git a/sdk/resources/azure-mgmt-resource/tests/recordings/test_mgmt_resource_subscriptions.pyTestMgmtResourceSubscriptionstest_subscriptions.json b/sdk/resources/azure-mgmt-resource/tests/recordings/test_mgmt_resource_subscriptions.pyTestMgmtResourceSubscriptionstest_subscriptions.json index 512661f496f9..9d040b8f3379 100644 --- a/sdk/resources/azure-mgmt-resource/tests/recordings/test_mgmt_resource_subscriptions.pyTestMgmtResourceSubscriptionstest_subscriptions.json +++ b/sdk/resources/azure-mgmt-resource/tests/recordings/test_mgmt_resource_subscriptions.pyTestMgmtResourceSubscriptionstest_subscriptions.json @@ -7,7 +7,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-identity/1.8.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)" + "User-Agent": "azsdk-python-identity/1.9.0b1 Python/3.9.10 (Windows-10-10.0.22000-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -17,17 +17,13 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "1753", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:03:42 GMT", + "Date": "Fri, 04 Mar 2022 08:43:34 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", - "Set-Cookie": [ - "fpc=AoIiSpQDvylGqwYeeHVzaUOZHqKECAAAAJ3BgdkOAAAA; expires=Thu, 24-Feb-2022 10:03:42 GMT; path=/; secure; HttpOnly; SameSite=None", - "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", - "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" - ], + "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.12261.22 - NCUS ProdSlices", - "x-ms-request-id": "71bfed6b-af3a-4635-8840-bd4d161c3300" + "x-ms-ests-server": "2.1.12507.17 - SCUS ProdSlices", + "x-ms-request-id": "b42e9f94-f033-4f1b-b585-742d433d1c00" }, "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=AoIiSpQDvylGqwYeeHVzaUOZHqKECAAAAJ3BgdkOAAAA; stsservicecookie=estsfd; x-ms-gateway-slice=estsfd", - "User-Agent": "azsdk-python-identity/1.8.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)" + "Cookie": "cookie;", + "User-Agent": "azsdk-python-identity/1.9.0b1 Python/3.9.10 (Windows-10-10.0.22000-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -115,17 +111,13 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "945", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:03:42 GMT", + "Date": "Fri, 04 Mar 2022 08:43:34 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", - "Set-Cookie": [ - "fpc=AoIiSpQDvylGqwYeeHVzaUOZHqKECAAAAJ3BgdkOAAAA; expires=Thu, 24-Feb-2022 10:03:42 GMT; path=/; secure; HttpOnly; SameSite=None", - "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", - "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" - ], + "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.12381.20 - SEASLR2 ProdSlices", - "x-ms-request-id": "0cbc0d02-5463-47f4-9bff-8b815b6f0700" + "x-ms-ests-server": "2.1.12529.17 - KRSLR1 ProdSlices", + "x-ms-request-id": "599c0258-b96a-4752-8240-152b45eb0e00" }, "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": "fabf818d-c9f3-4c17-9f94-47c984de593d", + "client-request-id": "cf55189c-107a-4ada-80b4-c08c313496f4", "Connection": "keep-alive", "Content-Length": "289", "Content-Type": "application/x-www-form-urlencoded", - "Cookie": "fpc=AoIiSpQDvylGqwYeeHVzaUOZHqKECAAAAJ3BgdkOAAAA; stsservicecookie=estsfd; x-ms-gateway-slice=estsfd", - "User-Agent": "azsdk-python-identity/1.8.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", + "Cookie": "cookie;", + "User-Agent": "azsdk-python-identity/1.9.0b1 Python/3.9.10 (Windows-10-10.0.22000-SP0)", "x-client-cpu": "x64", "x-client-current-telemetry": "4|730,0|", "x-client-last-telemetry": "4|0|||", "x-client-os": "win32", "x-client-sku": "MSAL.Python", - "x-client-ver": "1.16.0", + "x-client-ver": "1.17.0", "x-ms-lib-capability": "retry-after, h429" }, "RequestBody": "client_id=a2df54d5-ab03-4725-9b80-9a00b3b1967f\u0026grant_type=client_credentials\u0026client_info=1\u0026client_secret=0vj7Q~IsFayrD0V_8oyOfygU-GE3ELOabq95a\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D\u0026scope=https%3A%2F%2Fmanagement.azure.com%2F.default", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", - "client-request-id": "fabf818d-c9f3-4c17-9f94-47c984de593d", - "Content-Length": "1391", + "client-request-id": "cf55189c-107a-4ada-80b4-c08c313496f4", + "Content-Length": "93", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:03:42 GMT", + "Date": "Fri, 04 Mar 2022 08:43:34 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", - "Set-Cookie": [ - "fpc=AoIiSpQDvylGqwYeeHVzaUOZHqKECQAAAJ3BgdkOAAAA; expires=Thu, 24-Feb-2022 10:03:43 GMT; path=/; secure; HttpOnly; SameSite=None", - "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", - "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" - ], + "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.12261.22 - NCUS ProdSlices", - "x-ms-request-id": "1ae73ff4-3568-4195-8f6e-c5b5f58c2b00" + "x-ms-ests-server": "2.1.12507.17 - SCUS ProdSlices", + "x-ms-request-id": "157ea030-3e22-4ca1-adf8-d7abf88fb100" }, "ResponseBody": { "token_type": "Bearer", "expires_in": 3599, "ext_expires_in": 3599, - "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ik1yNS1BVWliZkJpaTdOZDFqQmViYXhib1hXMCIsImtpZCI6Ik1yNS1BVWliZkJpaTdOZDFqQmViYXhib1hXMCJ9.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuYXp1cmUuY29tIiwiaXNzIjoiaHR0cHM6Ly9zdHMud2luZG93cy5uZXQvNTQ4MjZiMjItMzhkNi00ZmIyLWJhZDktYjdiOTNhM2U5YzVhLyIsImlhdCI6MTY0MzEwNDcyMywibmJmIjoxNjQzMTA0NzIzLCJleHAiOjE2NDMxMDg2MjMsImFpbyI6IkUyWmdZQ2krK0hhM0xLUDJZZG5kc2w1cGpiZjJBZ0E9IiwiYXBwaWQiOiJhMmRmNTRkNS1hYjAzLTQ3MjUtOWI4MC05YTAwYjNiMTk2N2YiLCJhcHBpZGFjciI6IjEiLCJpZHAiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC81NDgyNmIyMi0zOGQ2LTRmYjItYmFkOS1iN2I5M2EzZTljNWEvIiwiaWR0eXAiOiJhcHAiLCJvaWQiOiI4ODdjNDJiMS03OTQ2LTRjMjItYmFhNi0xNTA0M2U0YjEzMjMiLCJyaCI6IjAuQVRjQUltdUNWTlk0c2stNjJiZTVPajZjV3RWVTM2SURxeVZIbTRDYUFMT3hsbjgzQUFBLiIsInN1YiI6Ijg4N2M0MmIxLTc5NDYtNGMyMi1iYWE2LTE1MDQzZTRiMTMyMyIsInRpZCI6IjU0ODI2YjIyLTM4ZDYtNGZiMi1iYWQ5LWI3YjkzYTNlOWM1YSIsInV0aSI6IjlEX25HbWcxbFVHUGJzVzE5WXdyQUEiLCJ2ZXIiOiIxLjAiLCJ4bXNfY2MiOlsiQ1AxIl0sInhtc190Y2R0IjoxNDEyMjA2ODQwfQ.Y_qTGJVcKugQ4pKPRxLYBvcuXflX5oco2av2E_m1z3RNNhBgbB0AIWLVk5xgtmf8mU9pfmn6QcRSJUM9VfTWUBmHy2HeUSxrJjuXgiXUljPqeGtSqSFVkbk2Kp23ji5J7JSCxACqSZps3mUjmrEL62Z5fZAe5e969VDMTwSDpQGqgEOYFt3clPYYgUh1X8PR6lkO2YdAEOX-FslchYQidLYdc8udTBgwCQyBq5FDjYlYHuxKlq_R_7rBD74BwaXbhpSkwQ3Sgr1wtKfpPqtw0LksuPHWqdv5U2skzgu4o_Pa2g0MVB24VzKi0EbrsmPK-a4uxbBbOGQTpZ2tCAI0Sg" + "access_token": "access_token" } }, { @@ -231,8 +219,8 @@ "Accept-Encoding": "gzip, deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "12f8d70c-7dc6-11ec-b73c-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-resource/20.1.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "34fefb9f-9b97-11ec-981f-d08e79139a4a" }, "RequestBody": null, "StatusCode": 200, @@ -241,16 +229,16 @@ "Content-Encoding": "gzip", "Content-Length": "500", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:03:43 GMT", + "Date": "Fri, 04 Mar 2022 08:43:35 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "aa0fe8bf-cf3d-47da-8930-478d22979999", + "x-ms-correlation-request-id": "40225083-46b9-4e31-8d67-b1ea57cab283", "x-ms-ratelimit-remaining-tenant-reads": "11999", - "x-ms-request-id": "aa0fe8bf-cf3d-47da-8930-478d22979999", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220125T100344Z:aa0fe8bf-cf3d-47da-8930-478d22979999" + "x-ms-request-id": "40225083-46b9-4e31-8d67-b1ea57cab283", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T084336Z:40225083-46b9-4e31-8d67-b1ea57cab283" }, "ResponseBody": { "value": [ @@ -288,26 +276,26 @@ "Accept-Encoding": "gzip, deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "13f9c4dc-7dc6-11ec-b7a1-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-resource/20.1.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "35dff6ef-9b97-11ec-bd07-d08e79139a4a" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Encoding": "gzip", - "Content-Length": "31158", + "Content-Length": "31427", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:03:44 GMT", + "Date": "Fri, 04 Mar 2022 08:43:36 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "b17e72ba-2f0a-40d1-bc60-18c4d0f772d9", - "x-ms-ratelimit-remaining-subscription-reads": "11988", - "x-ms-request-id": "b17e72ba-2f0a-40d1-bc60-18c4d0f772d9", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220125T100345Z:b17e72ba-2f0a-40d1-bc60-18c4d0f772d9" + "x-ms-correlation-request-id": "ab2a7c5a-65bb-4e93-ba9d-1282551ff510", + "x-ms-ratelimit-remaining-subscription-reads": "11981", + "x-ms-request-id": "ab2a7c5a-65bb-4e93-ba9d-1282551ff510", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T084337Z:ab2a7c5a-65bb-4e93-ba9d-1282551ff510" }, "ResponseBody": { "value": [ @@ -1160,6 +1148,17 @@ "regionCategory": "Other" } }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/locations/unitedstateseuap", + "name": "unitedstateseuap", + "type": "Region", + "displayName": "United States EUAP", + "regionalDisplayName": "United States EUAP", + "metadata": { + "regionType": "Logical", + "regionCategory": "Other" + } + }, { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastasiastage", "name": "eastasiastage", @@ -1676,8 +1675,8 @@ "Accept-Encoding": "gzip, deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "1494a315-7dc6-11ec-810b-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-resource/20.1.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "36510af1-9b97-11ec-8e44-d08e79139a4a" }, "RequestBody": null, "StatusCode": 200, @@ -1686,16 +1685,16 @@ "Content-Encoding": "gzip", "Content-Length": "453", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:03:44 GMT", + "Date": "Fri, 04 Mar 2022 08:43:36 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "dc01f00c-f9c6-4cf2-8ff0-934c1c0b7e71", - "x-ms-ratelimit-remaining-subscription-reads": "11987", - "x-ms-request-id": "dc01f00c-f9c6-4cf2-8ff0-934c1c0b7e71", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220125T100345Z:dc01f00c-f9c6-4cf2-8ff0-934c1c0b7e71" + "x-ms-correlation-request-id": "fb3ef519-df18-4a7f-bae2-6579af862ad6", + "x-ms-ratelimit-remaining-subscription-reads": "11980", + "x-ms-request-id": "fb3ef519-df18-4a7f-bae2-6579af862ad6", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T084337Z:fb3ef519-df18-4a7f-bae2-6579af862ad6" }, "ResponseBody": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000", diff --git a/sdk/resources/azure-mgmt-resource/tests/recordings/test_mgmt_resource_subscriptions.pyTestMgmtResourceSubscriptionstest_tenants.json b/sdk/resources/azure-mgmt-resource/tests/recordings/test_mgmt_resource_subscriptions.pyTestMgmtResourceSubscriptionstest_tenants.json index d55bac3d55cf..f1ea0260c6fc 100644 --- a/sdk/resources/azure-mgmt-resource/tests/recordings/test_mgmt_resource_subscriptions.pyTestMgmtResourceSubscriptionstest_tenants.json +++ b/sdk/resources/azure-mgmt-resource/tests/recordings/test_mgmt_resource_subscriptions.pyTestMgmtResourceSubscriptionstest_tenants.json @@ -7,7 +7,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-identity/1.8.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)" + "User-Agent": "azsdk-python-identity/1.9.0b1 Python/3.9.10 (Windows-10-10.0.22000-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -17,17 +17,13 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "1753", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:03:45 GMT", + "Date": "Fri, 04 Mar 2022 08:43:36 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", - "Set-Cookie": [ - "fpc=AoIiSpQDvylGqwYeeHVzaUOZHqKECQAAAJ3BgdkOAAAA; expires=Thu, 24-Feb-2022 10:03:45 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.22 - SCUS ProdSlices", - "x-ms-request-id": "3e279765-9c38-4434-8348-1fe12344f900" + "x-ms-ests-server": "2.1.12507.17 - EUS ProdSlices", + "x-ms-request-id": "df67aec4-d695-4733-8ee7-a9345bda9a00" }, "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=AoIiSpQDvylGqwYeeHVzaUOZHqKECQAAAJ3BgdkOAAAA; stsservicecookie=estsfd; x-ms-gateway-slice=estsfd", - "User-Agent": "azsdk-python-identity/1.8.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)" + "Cookie": "cookie;", + "User-Agent": "azsdk-python-identity/1.9.0b1 Python/3.9.10 (Windows-10-10.0.22000-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -115,17 +111,13 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "945", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:03:45 GMT", + "Date": "Fri, 04 Mar 2022 08:43:36 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", - "Set-Cookie": [ - "fpc=AoIiSpQDvylGqwYeeHVzaUOZHqKECQAAAJ3BgdkOAAAA; expires=Thu, 24-Feb-2022 10:03:45 GMT; path=/; secure; HttpOnly; SameSite=None", - "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", - "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" - ], + "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.12381.20 - SEASLR2 ProdSlices", - "x-ms-request-id": "3199dabe-3f39-4bc7-a555-8a47a0aa0e00" + "x-ms-ests-server": "2.1.12529.17 - SEASLR1 ProdSlices", + "x-ms-request-id": "a89171f1-8c8a-46e9-81da-0f30ce310e00" }, "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": "385a60df-2d40-406e-8add-0698ffe8cf80", + "client-request-id": "6f31eff4-ed33-474f-99fa-4f2d7fc43d88", "Connection": "keep-alive", "Content-Length": "289", "Content-Type": "application/x-www-form-urlencoded", - "Cookie": "fpc=AoIiSpQDvylGqwYeeHVzaUOZHqKECQAAAJ3BgdkOAAAA; stsservicecookie=estsfd; x-ms-gateway-slice=estsfd", - "User-Agent": "azsdk-python-identity/1.8.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", + "Cookie": "cookie;", + "User-Agent": "azsdk-python-identity/1.9.0b1 Python/3.9.10 (Windows-10-10.0.22000-SP0)", "x-client-cpu": "x64", "x-client-current-telemetry": "4|730,0|", "x-client-last-telemetry": "4|0|||", "x-client-os": "win32", "x-client-sku": "MSAL.Python", - "x-client-ver": "1.16.0", + "x-client-ver": "1.17.0", "x-ms-lib-capability": "retry-after, h429" }, "RequestBody": "client_id=a2df54d5-ab03-4725-9b80-9a00b3b1967f\u0026grant_type=client_credentials\u0026client_info=1\u0026client_secret=0vj7Q~IsFayrD0V_8oyOfygU-GE3ELOabq95a\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D\u0026scope=https%3A%2F%2Fmanagement.azure.com%2F.default", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", - "client-request-id": "385a60df-2d40-406e-8add-0698ffe8cf80", - "Content-Length": "1391", + "client-request-id": "6f31eff4-ed33-474f-99fa-4f2d7fc43d88", + "Content-Length": "93", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:03:45 GMT", + "Date": "Fri, 04 Mar 2022 08:43:37 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", - "Set-Cookie": [ - "fpc=AoIiSpQDvylGqwYeeHVzaUOZHqKECgAAAJ3BgdkOAAAA; expires=Thu, 24-Feb-2022 10:03:46 GMT; path=/; secure; HttpOnly; SameSite=None", - "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", - "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" - ], + "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.12261.22 - SCUS ProdSlices", - "x-ms-request-id": "3e279765-9c38-4434-8348-1fe13e44f900" + "x-ms-ests-server": "2.1.12507.17 - SCUS ProdSlices", + "x-ms-request-id": "b42e9f94-f033-4f1b-b585-742d953d1c00" }, "ResponseBody": { "token_type": "Bearer", "expires_in": 3599, "ext_expires_in": 3599, - "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ik1yNS1BVWliZkJpaTdOZDFqQmViYXhib1hXMCIsImtpZCI6Ik1yNS1BVWliZkJpaTdOZDFqQmViYXhib1hXMCJ9.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuYXp1cmUuY29tIiwiaXNzIjoiaHR0cHM6Ly9zdHMud2luZG93cy5uZXQvNTQ4MjZiMjItMzhkNi00ZmIyLWJhZDktYjdiOTNhM2U5YzVhLyIsImlhdCI6MTY0MzEwNDcyNiwibmJmIjoxNjQzMTA0NzI2LCJleHAiOjE2NDMxMDg2MjYsImFpbyI6IkUyWmdZR0FMV2xIem1sbTY5OXdOQTBYclBadjhBQT09IiwiYXBwaWQiOiJhMmRmNTRkNS1hYjAzLTQ3MjUtOWI4MC05YTAwYjNiMTk2N2YiLCJhcHBpZGFjciI6IjEiLCJpZHAiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC81NDgyNmIyMi0zOGQ2LTRmYjItYmFkOS1iN2I5M2EzZTljNWEvIiwiaWR0eXAiOiJhcHAiLCJvaWQiOiI4ODdjNDJiMS03OTQ2LTRjMjItYmFhNi0xNTA0M2U0YjEzMjMiLCJyaCI6IjAuQVRjQUltdUNWTlk0c2stNjJiZTVPajZjV3RWVTM2SURxeVZIbTRDYUFMT3hsbjgzQUFBLiIsInN1YiI6Ijg4N2M0MmIxLTc5NDYtNGMyMi1iYWE2LTE1MDQzZTRiMTMyMyIsInRpZCI6IjU0ODI2YjIyLTM4ZDYtNGZiMi1iYWQ5LWI3YjkzYTNlOWM1YSIsInV0aSI6IlpaY25QamljTkVTRFNCX2hQa1Q1QUEiLCJ2ZXIiOiIxLjAiLCJ4bXNfY2MiOlsiQ1AxIl0sInhtc190Y2R0IjoxNDEyMjA2ODQwfQ.o6BoW6aSbB5tieut7vLnfBRMVqf05-9alp8_mkbr9WhZaFrHcMYTwQkdlXis6alvDa8kCzV5UoogiCngsCYkCme9oqmGYOR-FfBb1gFpEy9QJ6gtdnmF9vT_JW9gW0bvcI4Nc2qZakoHjsihb_2T0v0twfIXcwhVJrKiCpgEldwI9VNqeRA-IWYsGv3ZJyfLfgTjfgfxf5Q6spUqEirAckZSnF-hltaQvV_ipPoH0c70U5Ii7IRNNtE9tc588rMfgWTarVKPtuznl8Vx0Ff45k5CbbOQ3LoLLl4MElXzH9JovqEme4sCjqlGlHWhXI0XCsYYcdFdYlFDHfdJH8Repw" + "access_token": "access_token" } }, { @@ -231,8 +219,8 @@ "Accept-Encoding": "gzip, deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0)", - "x-ms-client-request-id": "14c7f8f8-7dc6-11ec-9712-70b5e82527ff" + "User-Agent": "azsdk-python-azure-mgmt-resource/20.1.0 Python/3.9.10 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "3666ee65-9b97-11ec-aa1a-d08e79139a4a" }, "RequestBody": null, "StatusCode": 200, @@ -241,16 +229,16 @@ "Content-Encoding": "gzip", "Content-Length": "140", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Jan 2022 10:03:45 GMT", + "Date": "Fri, 04 Mar 2022 08:43:37 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "dd3d94c8-d304-45b4-9407-100f8424f671", + "x-ms-correlation-request-id": "0f06a485-8bc9-41eb-9857-f11d5ec1708b", "x-ms-ratelimit-remaining-tenant-reads": "11998", - "x-ms-request-id": "dd3d94c8-d304-45b4-9407-100f8424f671", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220125T100346Z:dd3d94c8-d304-45b4-9407-100f8424f671" + "x-ms-request-id": "0f06a485-8bc9-41eb-9857-f11d5ec1708b", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220304T084338Z:0f06a485-8bc9-41eb-9857-f11d5ec1708b" }, "ResponseBody": { "value": [