Dijeli putem


az mesh deployment

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 deployment command. Learn more about extensions.

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

Manage Service Fabric Mesh deployments.

Commands

Name Description Type Status
az mesh deployment create

Create a Service Fabric Mesh application.

Extension Preview

az mesh deployment create

Preview

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

Create a Service Fabric Mesh application.

az mesh deployment create --resource-group
                          [--input-yaml-files]
                          [--mode]
                          [--name]
                          [--no-wait]
                          [--parameters]
                          [--template-file]
                          [--template-uri]

Examples

Create a deployment with a template file on the remote.

az mesh deployment create --resource-group mygroup --template-uri https://seabreezequickstart.blob.core.windows.net/templates/quickstart/sbz_rp.linux.json

Create a deployment with a template file on local disk.

az mesh deployment create --resource-group mygroup --template-file ./appTemplate.json

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

az mesh deployment create --resource-group mygroup --input-yaml-files ./app.yaml,./network.yaml

Create a deployment with yaml files, along with a yaml parameters file, which consists of key/value pairs.

az mesh deployment create --resource-group mygroup --input-yaml-files ./app.yaml,./network.yaml --parameters ../params.yaml

Create a deployment with parameters in arm json format.

az mesh deployment create --resource-group mygroup --input-yaml-files ./app.yaml,./network.yaml --parameters "params.json"

Create a deployment with parameters passed directly as a json object.

az mesh deployment create --resource-group mygroup --input-yaml-files ./app.yaml,./network.yaml --parameters "{ 'location' : {'value' : 'eastus'}, 'myparam' : {'value' : 'myvalue'} }"

Required Parameters

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--input-yaml-files

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

--mode

The mode for deployment, can be incremental(resources are only added) or complete(previous resources will be deleted).

--name -n

The deployment name. Default to template file base name.

--no-wait

Do not wait for the long-running operation to finish.

Default value: False
--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.

--template-file

The full file path of creation template.

--template-uri

The full file path of creation template on a http or https link.

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.