skip to Main Content

Why doesn't "run-command" return any response in Azure?

I'm trying to start a ping in Linux VM in Azure. I would like to use API to do that. I have a blank response with status : 202 accepted. `https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommand?api-version=2023-07-01 JSON body : { "commandId": "RunShellScript", "script": [ "ping…

VIEW QUESTION
Back To Top
Search