Dijeli putem


az mesh generate

Note

This reference is part of the mesh extension for the Azure CLI (version 2.50.0 or higher). The extension will automatically install the first time you run an az mesh generate command. Learn more about extensions.

Command group 'az mesh' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Generate Service Fabric Mesh deployment template.

Commands

Name Description Type Status
az mesh generate armtemplate

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

Extension Preview

az mesh generate armtemplate

Preview

Command group 'az mesh' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

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

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.