Experimenting with Azure APIs to retrieve resources information
Objective is to port back the code to Boavizta cloud-scanner when it is ready.
List VM's
az login
cargo run
To compile in WSL2, I had to disable native SSL (disable default features and enable rustls) with default-features = false, features = ["enable_reqwest_rustls"]
.
[dependencies]
azure_core = { version = "0.20", default-features = false, features = ["enable_reqwest_rustls"] }
azure_identity = { version = "0.20", default-features = false, features = ["enable_reqwest_rustls"] }
azure_mgmt_compute = { version = "0.20", default-features = false, features = ["default_tag", "enable_reqwest_rustls"] }
az login