CmdID / az / az mesh / az mesh generate
az mesh generate armtemplate
Generate a Service Fabric Mesh ARM deployment template from input yaml. Azure CLI extensions reference
4 examples 2 options Its page in the Azure CLI extensions reference
Examples
Generate a template file for deployment.
az mesh generate armtemplate --input-yaml-files ./app.yaml,./network.yamlIdentify--input-yaml-filesList of comma-separated yaml files or a directory which contains all the yaml filesGenerate a template file for deployment with a yaml parameters file, which consists of key/value pairs.
az mesh generate armtemplate --input-yaml-files ./app.yaml,./network.yaml --parameters ../params.yamlIdentify--input-yaml-filesList of comma-separated yaml files or a directory which contains all the yaml files--parametersparameters in yaml file as key-value pairs or as json object or as json arm parameter file to supplement parameters of the deployment templateGenerate a template file for deployment with parameters in arm json format.
az mesh generate armtemplate --input-yaml-files ./app.yaml,./network.yaml --parameters "params.json"Identify--input-yaml-filesList of comma-separated yaml files or a directory which contains all the yaml files--parametersparameters in yaml file as key-value pairs or as json object or as json arm parameter file to supplement parameters of the deployment templateGenerate a template file for deployment with parameters passed directly as a json object.
az mesh generate armtemplate --input-yaml-files ./app.yaml,./network.yaml --parameters "{ 'location' : {'value' : 'eastus'}, 'myparam' : {'value' : 'myvalue'} }"Identify--input-yaml-filesList of comma-separated yaml files or a directory which contains all the yaml files--parametersparameters in yaml file as key-value pairs or as json object or as json arm parameter file to supplement parameters of the deployment templateOptions
--input-yaml-filesList of comma-separated yaml files or a directory which contains all the yaml files--parametersparameters in yaml file as key-value pairs or as json object or as json arm parameter file to supplement parameters of the deployment template