Question

abhidrona on Fri, 02 Jun 2017 06:45:30


Hi,

We have 2 instances within the bizspark account, we are trying to automation few tasks around them.  When we access the list of instances programatically from Azure Rest API, we are only receiving the non classic machine in the response.

Could you please do the needful?


Sponsored



Replies

Jordyn Nelson Microsoft (MSFT CSG) on Sat, 03 Jun 2017 00:29:45


Hello,

The REST API for classic VMs is documented here: https://msdn.microsoft.com/en-us/library/azure/jj157206.aspx

Unfortunately I don’t think we offer any sample code in Python or anything like that but you could use an example creating a REST client in Python (https://developer.atlassian.com/fecrudev/integration-tutorials/writing-a-rest-client-in-python) and then using the API details from the MSDN site to figure out what would go where in the Python request.

Hope these are helpful.

Thank you,

@AzureSupport team