az-bicep: add page (#6718)
This commit is contained in:

committed by
GitHub

parent
43335905fc
commit
033dbac254
33
pages/common/az-bicep.md
Normal file
33
pages/common/az-bicep.md
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
# az bicep
|
||||||
|
|
||||||
|
> Bicep CLI command group.
|
||||||
|
> Part of `azure-cli`.
|
||||||
|
> More information: <https://docs.microsoft.com/cli/azure/config>.
|
||||||
|
|
||||||
|
- Install Bicep CLI:
|
||||||
|
|
||||||
|
`az bicep install`
|
||||||
|
|
||||||
|
- Build a Bicep file:
|
||||||
|
|
||||||
|
`az bicep build --file {{path/to/file.bicep}}`
|
||||||
|
|
||||||
|
- Attempt to decompile an ARM template file to a Bicep file:
|
||||||
|
|
||||||
|
`az bicep decompile --file {{path/to/template_file.json}}`
|
||||||
|
|
||||||
|
- Upgrade Bicep CLI to the latest version:
|
||||||
|
|
||||||
|
`az bicep upgrade`
|
||||||
|
|
||||||
|
- Display the installed version of Bicep CLI:
|
||||||
|
|
||||||
|
`az bicep version`
|
||||||
|
|
||||||
|
- List all available versions of Bicep CLI:
|
||||||
|
|
||||||
|
`az bicep list-versions`
|
||||||
|
|
||||||
|
- Uninstall Bicep CLI:
|
||||||
|
|
||||||
|
`az bicep uninstall`
|
Reference in New Issue
Block a user