CmdID

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

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

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 files

Generate 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 template

Generate 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 template

Generate 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 template

Options

2 in the Azure CLI extensions reference
--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