Azure / bicep

Bicep is a declarative language for describing and deploying Azure resources
MIT License
3.25k stars 753 forks source link

Support API Profile in Bicep #851

Open bganapa opened 4 years ago

bganapa commented 4 years ago

Is your feature request related to a problem? Please describe. ARM Template engine supports specifying API Profile instead of specifying API version for each resource type. ARM RP manifest supplies a map of api profile : api version for each resource type (only for the resource types supported in azure stack). Template engine uses this map to infer the api version to use from the api profile name Here is a sample template https://github.com/Azure/AzureStack-QuickStart-Templates/blob/master/101-vm-linux-create/azuredeploy.json#L4

Describe the solution you'd like

Bicep should support specifying api profile instead of specifying api version for each resource type

alex-frankel commented 4 years ago

Related to some of the discussions happening in #516

We'd like to solve a few different scenarios with apiProfile. We will need to support this property to maintain parity for stack specifically, as you note.

dciborow commented 3 years ago

i just updated all my arm templates to use api Profile. Realized I broke my bicep decompiles. :-(

alex-frankel commented 3 years ago

sorry about that! we'll take a note to add this to known limitations.

Will resolve this issue as part of #622