MindFlavor / AzureSDKForRust

Microsoft Azure SDK for Rust
http://mindflavor.github.io/AzureSDKForRust
Apache License 2.0
162 stars 64 forks source link

Azure Resource Manager (ARM) support #177

Open imp opened 4 years ago

imp commented 4 years ago

I am looking for any guidance on how to utilize ARM. Is it just not implemented yet or I am not looking at the right place?

MindFlavor commented 4 years ago

Hello imp, no, it's not implemented (yet). The groundwork is in place (the Azure AD crate) so it would be possible to pass custom ARM templates but it won't be nice.

imp commented 4 years ago

@MindFlavor Trying to get my head around it time and again and failing miserably. (Not much documentation in these crates frankly). Would you be able to write down a rough plan of what you think needs to be done? I am willing to invest a non-trivial amount of time into this but just cannot connect the dots yet.

MindFlavor commented 4 years ago

For what I can tell (just thinking out loud) we should construct the URI and pass a specific ARM template. For example see https://docs.microsoft.com/en-us/rest/api/sql/databases/createorupdate. The difficult parts are:

That said I would probably create another GitHub repo for that, this one is already unpleasant to maintain as it is :)