Boavizta / cloud-scanner

📡 Get Boavizta impact data for your aws cloud account usage.
GNU Affero General Public License v3.0
34 stars 8 forks source link

Identify which Azure API can return inventory and instance usage #262

Open demeringo opened 1 year ago

demeringo commented 1 year ago

Problem

How to do inventory of azure resources in Rust.

The goal is to provide an inventory (including usage data) like we do for AWS. This issue is more to research documentation about the crates and code we could use.

Solution

Alternatives

Additional context or elements

Boavizta API is evolving to return impacts of Azure resources.

demeringo commented 5 months ago

List VM's:

https://github.com/Azure/azure-sdk-for-rust/blob/main/services/mgmt/compute/examples/vm_list.rs

Open questions:

demeringo commented 4 months ago

Data that we need to retrieve for VM's

Data that we need to retrieve for Block storage

demeringo commented 4 months ago

I started some test of Rust SDK for AWS here: https://github.com/demeringo/az-scan