From 0709a7b1fb76f4f9c0df0f10c1d5e18fab4d57a1 Mon Sep 17 00:00:00 2001 From: Vincent Dai <23257217+vidai-msft@users.noreply.github.com> Date: Tue, 7 Jan 2025 21:59:59 -0800 Subject: [PATCH] Fix json format issue (#26978) --- ...AzNetworkCloudBareMetalMachineDataExtract.Recording.json | 6 +++--- ...-AzNetworkCloudBareMetalMachineRunCommand.Recording.json | 6 +++--- ...etworkCloudBareMetalMachineRunReadCommand.Recording.json | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/NetworkCloud/NetworkCloud.Autorest/test/Invoke-AzNetworkCloudBareMetalMachineDataExtract.Recording.json b/src/NetworkCloud/NetworkCloud.Autorest/test/Invoke-AzNetworkCloudBareMetalMachineDataExtract.Recording.json index 08041b6f4f31..3fb58f5579eb 100644 --- a/src/NetworkCloud/NetworkCloud.Autorest/test/Invoke-AzNetworkCloudBareMetalMachineDataExtract.Recording.json +++ b/src/NetworkCloud/NetworkCloud.Autorest/test/Invoke-AzNetworkCloudBareMetalMachineDataExtract.Recording.json @@ -83,7 +83,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/a3eeb848-665a-4dbf-80a4-eb460930fb23/providers/Microsoft.NetworkCloud/locations/UKSOUTH/operationStatuses/1869f529-eba8-4977-b490-ffe1c05db239*4EC7C056218B480098FC24706C64338252114AE60226F3C908A501D33D4AC69B\",\"name\":\"1869f529-eba8-4977-b490-ffe1c05db239*4EC7C056218B480098FC24706C64338252114AE60226F3C908A501D33D4AC69B\",\"resourceId\":\"/subscriptions/a3eeb848-665a-4dbf-80a4-eb460930fb23/resourceGroups/simdev-2681822-cluster-1-HostedResources-51755DE4/providers/Microsoft.NetworkCloud/bareMetalMachines/rack1compute01\",\"status\":\"Succeeded\",\"startTime\":\"2024-10-22T14:44:20.9529123Z\",\"endTime\":\"2024-10-22T14:44:34.2962353Z\",\"properties\":{\"exitCode\":\"1\",\"outputHead\":\"====Action Command Output====\\nNo log names provided, at least one name is required\\n\",\"resultUrl\":\"REDACTED" + "Content": "{\"id\":\"/subscriptions/a3eeb848-665a-4dbf-80a4-eb460930fb23/providers/Microsoft.NetworkCloud/locations/UKSOUTH/operationStatuses/1869f529-eba8-4977-b490-ffe1c05db239*4EC7C056218B480098FC24706C64338252114AE60226F3C908A501D33D4AC69B\",\"name\":\"1869f529-eba8-4977-b490-ffe1c05db239*4EC7C056218B480098FC24706C64338252114AE60226F3C908A501D33D4AC69B\",\"resourceId\":\"/subscriptions/a3eeb848-665a-4dbf-80a4-eb460930fb23/resourceGroups/simdev-2681822-cluster-1-HostedResources-51755DE4/providers/Microsoft.NetworkCloud/bareMetalMachines/rack1compute01\",\"status\":\"Succeeded\",\"startTime\":\"2024-10-22T14:44:20.9529123Z\",\"endTime\":\"2024-10-22T14:44:34.2962353Z\",\"properties\":{\"exitCode\":\"1\",\"outputHead\":\"====Action Command Output====\\nNo log names provided, at least one name is required\\n\",\"resultUrl\":\"REDACTED", "isContentBase64": false } }, @@ -127,8 +127,8 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/a3eeb848-665a-4dbf-80a4-eb460930fb23/providers/Microsoft.NetworkCloud/locations/UKSOUTH/operationStatuses/1869f529-eba8-4977-b490-ffe1c05db239*4EC7C056218B480098FC24706C64338252114AE60226F3C908A501D33D4AC69B\",\"name\":\"1869f529-eba8-4977-b490-ffe1c05db239*4EC7C056218B480098FC24706C64338252114AE60226F3C908A501D33D4AC69B\",\"resourceId\":\"/subscriptions/a3eeb848-665a-4dbf-80a4-eb460930fb23/resourceGroups/simdev-2681822-cluster-1-HostedResources-51755DE4/providers/Microsoft.NetworkCloud/bareMetalMachines/rack1compute01\",\"status\":\"Succeeded\",\"startTime\":\"2024-10-22T14:44:20.9529123Z\",\"endTime\":\"2024-10-22T14:44:34.2962353Z\",\"properties\":{\"exitCode\":\"1\",\"outputHead\":\"====Action Command Output====\\nNo log names provided, at least one name is required\\n\",\"resultUrl\":\"REDACTED" + "Content": "{\"id\":\"/subscriptions/a3eeb848-665a-4dbf-80a4-eb460930fb23/providers/Microsoft.NetworkCloud/locations/UKSOUTH/operationStatuses/1869f529-eba8-4977-b490-ffe1c05db239*4EC7C056218B480098FC24706C64338252114AE60226F3C908A501D33D4AC69B\",\"name\":\"1869f529-eba8-4977-b490-ffe1c05db239*4EC7C056218B480098FC24706C64338252114AE60226F3C908A501D33D4AC69B\",\"resourceId\":\"/subscriptions/a3eeb848-665a-4dbf-80a4-eb460930fb23/resourceGroups/simdev-2681822-cluster-1-HostedResources-51755DE4/providers/Microsoft.NetworkCloud/bareMetalMachines/rack1compute01\",\"status\":\"Succeeded\",\"startTime\":\"2024-10-22T14:44:20.9529123Z\",\"endTime\":\"2024-10-22T14:44:34.2962353Z\",\"properties\":{\"exitCode\":\"1\",\"outputHead\":\"====Action Command Output====\\nNo log names provided, at least one name is required\\n\",\"resultUrl\":\"REDACTED", "isContentBase64": false } } -} \ No newline at end of file +} diff --git a/src/NetworkCloud/NetworkCloud.Autorest/test/Invoke-AzNetworkCloudBareMetalMachineRunCommand.Recording.json b/src/NetworkCloud/NetworkCloud.Autorest/test/Invoke-AzNetworkCloudBareMetalMachineRunCommand.Recording.json index 5d008f004cd7..aaedf41e3d31 100644 --- a/src/NetworkCloud/NetworkCloud.Autorest/test/Invoke-AzNetworkCloudBareMetalMachineRunCommand.Recording.json +++ b/src/NetworkCloud/NetworkCloud.Autorest/test/Invoke-AzNetworkCloudBareMetalMachineRunCommand.Recording.json @@ -83,7 +83,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/a3eeb848-665a-4dbf-80a4-eb460930fb23/providers/Microsoft.NetworkCloud/locations/UKSOUTH/operationStatuses/308854ce-c885-48f4-8911-6e14260dde2c*4EC7C056218B480098FC24706C64338252114AE60226F3C908A501D33D4AC69B\",\"name\":\"308854ce-c885-48f4-8911-6e14260dde2c*4EC7C056218B480098FC24706C64338252114AE60226F3C908A501D33D4AC69B\",\"resourceId\":\"/subscriptions/a3eeb848-665a-4dbf-80a4-eb460930fb23/resourceGroups/simdev-2681822-cluster-1-HostedResources-51755DE4/providers/Microsoft.NetworkCloud/bareMetalMachines/rack1compute01\",\"status\":\"Succeeded\",\"startTime\":\"2024-10-22T14:43:50.0730301Z\",\"endTime\":\"2024-10-22T14:44:04.79418Z\",\"properties\":{\"exitCode\":\"0\",\"outputHead\":\"====Action Command Output====\\nbin\\nboot\\ndev\\netc\\nhome\\nlib\\nlib64\\nlost+found\\nmedia\\nmnt\\nopt\\nproc\\nroot\\nrun\\nsbin\\nsys\\ntmp\\nusr\\nvar\\n\",\"resultUrl\":\"REDACTED" + "Content": "{\"id\":\"/subscriptions/a3eeb848-665a-4dbf-80a4-eb460930fb23/providers/Microsoft.NetworkCloud/locations/UKSOUTH/operationStatuses/308854ce-c885-48f4-8911-6e14260dde2c*4EC7C056218B480098FC24706C64338252114AE60226F3C908A501D33D4AC69B\",\"name\":\"308854ce-c885-48f4-8911-6e14260dde2c*4EC7C056218B480098FC24706C64338252114AE60226F3C908A501D33D4AC69B\",\"resourceId\":\"/subscriptions/a3eeb848-665a-4dbf-80a4-eb460930fb23/resourceGroups/simdev-2681822-cluster-1-HostedResources-51755DE4/providers/Microsoft.NetworkCloud/bareMetalMachines/rack1compute01\",\"status\":\"Succeeded\",\"startTime\":\"2024-10-22T14:43:50.0730301Z\",\"endTime\":\"2024-10-22T14:44:04.79418Z\",\"properties\":{\"exitCode\":\"0\",\"outputHead\":\"====Action Command Output====\\nbin\\nboot\\ndev\\netc\\nhome\\nlib\\nlib64\\nlost+found\\nmedia\\nmnt\\nopt\\nproc\\nroot\\nrun\\nsbin\\nsys\\ntmp\\nusr\\nvar\\n\",\"resultUrl\":\"REDACTED", "isContentBase64": false } }, @@ -127,8 +127,8 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/a3eeb848-665a-4dbf-80a4-eb460930fb23/providers/Microsoft.NetworkCloud/locations/UKSOUTH/operationStatuses/308854ce-c885-48f4-8911-6e14260dde2c*4EC7C056218B480098FC24706C64338252114AE60226F3C908A501D33D4AC69B\",\"name\":\"308854ce-c885-48f4-8911-6e14260dde2c*4EC7C056218B480098FC24706C64338252114AE60226F3C908A501D33D4AC69B\",\"resourceId\":\"/subscriptions/a3eeb848-665a-4dbf-80a4-eb460930fb23/resourceGroups/simdev-2681822-cluster-1-HostedResources-51755DE4/providers/Microsoft.NetworkCloud/bareMetalMachines/rack1compute01\",\"status\":\"Succeeded\",\"startTime\":\"2024-10-22T14:43:50.0730301Z\",\"endTime\":\"2024-10-22T14:44:04.79418Z\",\"properties\":{\"exitCode\":\"0\",\"outputHead\":\"====Action Command Output====\\nbin\\nboot\\ndev\\netc\\nhome\\nlib\\nlib64\\nlost+found\\nmedia\\nmnt\\nopt\\nproc\\nroot\\nrun\\nsbin\\nsys\\ntmp\\nusr\\nvar\\n\",\"resultUrl\":\"REDACTED" + "Content": "{\"id\":\"/subscriptions/a3eeb848-665a-4dbf-80a4-eb460930fb23/providers/Microsoft.NetworkCloud/locations/UKSOUTH/operationStatuses/308854ce-c885-48f4-8911-6e14260dde2c*4EC7C056218B480098FC24706C64338252114AE60226F3C908A501D33D4AC69B\",\"name\":\"308854ce-c885-48f4-8911-6e14260dde2c*4EC7C056218B480098FC24706C64338252114AE60226F3C908A501D33D4AC69B\",\"resourceId\":\"/subscriptions/a3eeb848-665a-4dbf-80a4-eb460930fb23/resourceGroups/simdev-2681822-cluster-1-HostedResources-51755DE4/providers/Microsoft.NetworkCloud/bareMetalMachines/rack1compute01\",\"status\":\"Succeeded\",\"startTime\":\"2024-10-22T14:43:50.0730301Z\",\"endTime\":\"2024-10-22T14:44:04.79418Z\",\"properties\":{\"exitCode\":\"0\",\"outputHead\":\"====Action Command Output====\\nbin\\nboot\\ndev\\netc\\nhome\\nlib\\nlib64\\nlost+found\\nmedia\\nmnt\\nopt\\nproc\\nroot\\nrun\\nsbin\\nsys\\ntmp\\nusr\\nvar\\n\",\"resultUrl\":\"REDACTED", "isContentBase64": false } } -} \ No newline at end of file +} diff --git a/src/NetworkCloud/NetworkCloud.Autorest/test/Invoke-AzNetworkCloudBareMetalMachineRunReadCommand.Recording.json b/src/NetworkCloud/NetworkCloud.Autorest/test/Invoke-AzNetworkCloudBareMetalMachineRunReadCommand.Recording.json index 9b17a0b510ba..2803f46492b0 100644 --- a/src/NetworkCloud/NetworkCloud.Autorest/test/Invoke-AzNetworkCloudBareMetalMachineRunReadCommand.Recording.json +++ b/src/NetworkCloud/NetworkCloud.Autorest/test/Invoke-AzNetworkCloudBareMetalMachineRunReadCommand.Recording.json @@ -175,7 +175,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/a3eeb848-665a-4dbf-80a4-eb460930fb23/providers/Microsoft.NetworkCloud/locations/uksouth/operationStatuses/9c7736de-6ed5-4b66-80ce-cd0b5e6ec626*4EC7C056218B480098FC24706C64338252114AE60226F3C908A501D33D4AC69B\",\"name\":\"9c7736de-6ed5-4b66-80ce-cd0b5e6ec626*4EC7C056218B480098FC24706C64338252114AE60226F3C908A501D33D4AC69B\",\"resourceId\":\"/subscriptions/a3eeb848-665a-4dbf-80a4-eb460930fb23/resourceGroups/simdev-2681822-cluster-1-HostedResources-51755DE4/providers/Microsoft.NetworkCloud/bareMetalMachines/rack1compute01\",\"status\":\"Succeeded\",\"startTime\":\"2024-10-22T14:42:18.8764122Z\",\"endTime\":\"2024-10-22T14:43:32.8771657Z\",\"properties\":{\"exitCode\":\"1\",\"outputHead\":\"====Action Command Output====\\n+ kubectl get \u0027pods, -A\u0027\\nerror: the server doesn\u0027t have a resource type \\\" -A\\\"\\n\",\"resultUrl\":\"REDACTED" + "Content": "{\"id\":\"/subscriptions/a3eeb848-665a-4dbf-80a4-eb460930fb23/providers/Microsoft.NetworkCloud/locations/uksouth/operationStatuses/9c7736de-6ed5-4b66-80ce-cd0b5e6ec626*4EC7C056218B480098FC24706C64338252114AE60226F3C908A501D33D4AC69B\",\"name\":\"9c7736de-6ed5-4b66-80ce-cd0b5e6ec626*4EC7C056218B480098FC24706C64338252114AE60226F3C908A501D33D4AC69B\",\"resourceId\":\"/subscriptions/a3eeb848-665a-4dbf-80a4-eb460930fb23/resourceGroups/simdev-2681822-cluster-1-HostedResources-51755DE4/providers/Microsoft.NetworkCloud/bareMetalMachines/rack1compute01\",\"status\":\"Succeeded\",\"startTime\":\"2024-10-22T14:42:18.8764122Z\",\"endTime\":\"2024-10-22T14:43:32.8771657Z\",\"properties\":{\"exitCode\":\"1\",\"outputHead\":\"====Action Command Output====\\n+ kubectl get \u0027pods, -A\u0027\\nerror: the server doesn\u0027t have a resource type \\\" -A\\\"\\n\",\"resultUrl\":\"REDACTED", "isContentBase64": false } }, @@ -219,8 +219,8 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/a3eeb848-665a-4dbf-80a4-eb460930fb23/providers/Microsoft.NetworkCloud/locations/UKSOUTH/operationStatuses/9c7736de-6ed5-4b66-80ce-cd0b5e6ec626*4EC7C056218B480098FC24706C64338252114AE60226F3C908A501D33D4AC69B\",\"name\":\"9c7736de-6ed5-4b66-80ce-cd0b5e6ec626*4EC7C056218B480098FC24706C64338252114AE60226F3C908A501D33D4AC69B\",\"resourceId\":\"/subscriptions/a3eeb848-665a-4dbf-80a4-eb460930fb23/resourceGroups/simdev-2681822-cluster-1-HostedResources-51755DE4/providers/Microsoft.NetworkCloud/bareMetalMachines/rack1compute01\",\"status\":\"Succeeded\",\"startTime\":\"2024-10-22T14:42:18.8764122Z\",\"endTime\":\"2024-10-22T14:43:32.8771657Z\",\"properties\":{\"exitCode\":\"1\",\"outputHead\":\"====Action Command Output====\\n+ kubectl get \u0027pods, -A\u0027\\nerror: the server doesn\u0027t have a resource type \\\" -A\\\"\\n\",\"resultUrl\":\"REDACTED" + "Content": "{\"id\":\"/subscriptions/a3eeb848-665a-4dbf-80a4-eb460930fb23/providers/Microsoft.NetworkCloud/locations/UKSOUTH/operationStatuses/9c7736de-6ed5-4b66-80ce-cd0b5e6ec626*4EC7C056218B480098FC24706C64338252114AE60226F3C908A501D33D4AC69B\",\"name\":\"9c7736de-6ed5-4b66-80ce-cd0b5e6ec626*4EC7C056218B480098FC24706C64338252114AE60226F3C908A501D33D4AC69B\",\"resourceId\":\"/subscriptions/a3eeb848-665a-4dbf-80a4-eb460930fb23/resourceGroups/simdev-2681822-cluster-1-HostedResources-51755DE4/providers/Microsoft.NetworkCloud/bareMetalMachines/rack1compute01\",\"status\":\"Succeeded\",\"startTime\":\"2024-10-22T14:42:18.8764122Z\",\"endTime\":\"2024-10-22T14:43:32.8771657Z\",\"properties\":{\"exitCode\":\"1\",\"outputHead\":\"====Action Command Output====\\n+ kubectl get \u0027pods, -A\u0027\\nerror: the server doesn\u0027t have a resource type \\\" -A\\\"\\n\",\"resultUrl\":\"REDACTED", "isContentBase64": false } } -} \ No newline at end of file +}