az mesh generate

Generate Service Fabric Mesh deployment template.

Commands

az mesh generate armtemplate

Generate a Service Fabric Mesh ARM deployment template from input yaml.

az mesh generate armtemplate

Generate a Service Fabric Mesh ARM deployment template from input yaml.

az mesh generate armtemplate --input-yaml-files
                             [--parameters]

Examples

Generate a template file for deployment.

az mesh generate armtemplate --input-yaml-files ./app.yaml,./network.yaml

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.yaml

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"

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'} }"

Required Parameters

--input-yaml-files

List of comma seperated yaml files or a directory which contains all the yaml files.

Optional Parameters

--parameters

Parameters in yaml file as key-value pairs or as json object or as json arm parameter file to supplement parameters of the deployment template.