Allow specifying Machine Policy for machine in Azure Resource Manager Template extension
Specifying Policy for a machine in a new Tentacle through the Azure Extension Agent would be valuable.
In our scenario we use ARM templates for new infra structure as code for "cattle". The extension allows for dynamic creation of short-lived environments in Development.
However, we want to utilize the Octo automatic de-registration of agents as dev infra is removed via Machine Policy. (Machines in Octo disappear when automatically after a developer is done with a VM.)
Having the "Policy" as a parameter to the extension would allow this to be setup easily one time instead of a post-build step manually or an extra CustomScriptExtensinon in the ARM template.
Jon Kennerly commented
Pardon the typo: "infrastructure", not "infra structure"