Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
demeringo opened this issue Apr 21, 2023 · 3 comments
Open

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

demeringo opened this issue Apr 21, 2023 · 3 comments
Labels
documentation Improvements or additions to documentation draft feature draft feature question Further information is requested

Comments

@demeringo
Copy link
Collaborator

demeringo commented Apr 21, 2023

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 demeringo added documentation Improvements or additions to documentation question Further information is requested draft feature draft feature labels Apr 21, 2023
@demeringo
Copy link
Collaborator Author

demeringo commented May 12, 2024

List VM's:

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

Open questions:

@demeringo demeringo pinned this issue May 12, 2024
@demeringo
Copy link
Collaborator Author

demeringo commented Jun 19, 2024

Data that we need to retrieve for VM's

  • instance ID
  • type of the instance
  • array of tags (labels)
  • cpu usage (CPU load in percent)
  • region of use

Data that we need to retrieve for Block storage

  • volume id
  • storage type
  • storage size (global volume size, i.e. this is expected to be higher than actual usage of the volume)
  • array of tags (labels)
  • region of use
  • if possible : id of the VM to which the volume is attached

@demeringo
Copy link
Collaborator Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation draft feature draft feature question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant