azure-docs icon indicating copy to clipboard operation
azure-docs copied to clipboard

Deploy Bicep via REST API or SDK

Open philippklautke opened this issue 2 years ago • 4 comments

Is there any way to deploy a BICEP Template via REST API or C# SDK?


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

philippklautke avatar Dec 07 '22 18:12 philippklautke

@philippklautke Thanks for your feedback! We will investigate and update as appropriate.

AjayBathini-MSFT avatar Dec 08 '22 03:12 AjayBathini-MSFT

@philippklautke AFAIK it's possible to deploy a bicep template (using this and this way respectively) which is similar to whatif deployment checks that are explained here and here.

Tagging @tfitzmac for visibility, review and to help provide insights if I am missing something. Thanks.

KrishnaG-MSFT avatar Dec 11 '22 09:12 KrishnaG-MSFT

@KrishnaG-MSFT Unfortunatley this is not working. see image

philippklautke avatar Dec 12 '22 12:12 philippklautke

Hi @KrishnaG-MSFT, could you please provide a detailed example of HTTP call of Management API with Becip Template

ievgen-pavlenko avatar Dec 14 '22 10:12 ievgen-pavlenko

@philippklautke I have double-checked with Bicep Product Group and got to you that we currently don't have it on our roadmap to support REST or SDK for deploying bicep. Sorry for the confusion caused earlier.

KrishnaG-MSFT avatar Dec 20 '22 18:12 KrishnaG-MSFT