4 ms·
There are the Azure REST APIs that you can curl. Or the Azure-CLI on Linux and Windows. That said, I've noticed that powershell seems to get priority with Azur
by discordance 10y ago
There are the Azure REST APIs that you can curl. Or the Azure-CLI on Linux and Windows.
That said, I've noticed that powershell seems to get priority with Azure support before the azure-Cli client, so there are a few gaps here and there. I've been told that the Azure REST APIs are all in step with Powershell support, but sometimes go in documented unfortunately.
- mastry 10y agoTo be honest, I prefer PS to the Azure CLI but I have had to resort to the CLI on a couple of occasions. If I remember correctly it was to reset credentials on a VM (which wasn't possible with PS at the time). I guess the main problem with the CLI is that it's not a shell or a general purpose programming language. The Azure REST API requires a ton of deeply nested JSON data structures. Take a look at this [1] sample. I just can't bring myself to work with that every day. I really need to buckle down and try that python API. [1] https://msdn.microsoft.com/en-us/library/azure/mt163591.aspx https://msdn.microsoft.com/en-us/library/azure/mt163591.aspx
- NetStrikeForce 10y agoAzure CLI, Azure PowerShell and even the portal are nothing more than API clients. You can capture traffic while working with any of them and see it for yourself. Also, for PS and CLI the code is in GitHub :)