az mesh deployment

Manage Service Fabric Mesh deployments.

Commands

az mesh deployment create

Create a Service Fabric Mesh application.

az mesh deployment create

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

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