Open mitchdenny opened 10 months ago
/cc @davidfowl @vhvb1989 @ellismg
For discussion only at this point.
Somewhat related - I have been thinking about adding an azure.deployment.v0
resource where the resource contains a template to be deployed as part of the overall infrastructure deployment.
Some applications need to be able to dynamically create resources (e.g. spinning up ACI instances for background operations).
Suspect this will also be a thing when we support ACA Jobs if that ends up becoming a thing...
Some Azure resources locate some operations that you might wish to perform inside the Azure management plane SDKs for .NET. A good example is that you cannot create a database via the data plane Cosmos SDK when using AAD / managed identity tokens. To create a database you need to use the resource manager APIs (and that needs sufficient permission to perform the operations on the Azure subscription.
We need a mechanism that allows us to add the host Azure subscription for an Asprie app as a resource for the app model and have an Aspire component that takes that resource connection info to preconfigure a client to perform management plane operations. Some applications need to be able to dynamically create resources (e.g. spinning up ACI instances for background operations).