0

To get detailed info of ec2 instance via python in AWS, we can create a lambda function and use describe-instances boto3 api to fetch the results.

I'm looking for similar solution in Azure. To get VM information via python in azure. Kindly share the APIs like boto3 and services to accomplish this.

Thanks in advance.

Mark B
  • 183,023
  • 24
  • 297
  • 295
Beginner
  • 1
  • 3

2 Answers2

0

Boto3 (AWS SDK for Python) -> Azure SDK for Python

AWS Lambda (serverless functions) -> Azure Functions

I also suggest reviewing the Azure for AWS professionals documentation.

Mark B
  • 183,023
  • 24
  • 297
  • 295
0

Equivalent describe instances on AWS boto SDK in Azure is

list_all()/list() at ComputeManagementClient.virtual_machines

Check this example.

Mehmet Güngören
  • 2,383
  • 1
  • 9
  • 16