Skip to content

Commit

Permalink
mesh version increase and readme command update (#249)
Browse files Browse the repository at this point in the history
* renamed the command in the example readme

* incremented version for previous PR

* updated mesh in the index.json

* fixed command name for deployment

* added version change to table

* pasted in latest -h

* improved readme.rst with all of the current -h output

* fixed project url for mesh extensions
  • Loading branch information
jeffj6123 authored and belmaiastar committed Jul 26, 2018
1 parent bbefbe7 commit 0ef3e90
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 43 deletions.
10 changes: 5 additions & 5 deletions src/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -920,9 +920,9 @@
],
"mesh": [
{
"filename": "mesh-0.9.0-py2.py3-none-any.whl",
"sha256Digest": "fcfdaadd48b7ac5bb7248d07c0d8f20f2057faeed58b9e70634df3afb6ec84b5",
"downloadUrl": "https://meshcli.blob.core.windows.net/cli/mesh-0.9.0-py2.py3-none-any.whl",
"filename": "mesh-0.9.1-py2.py3-none-any.whl",
"sha256Digest": "0c3a9d251910208139baf854d03de925e4d9b46bee99208f61ca4dcd2382eaa7",
"downloadUrl": "https://meshcli.blob.core.windows.net/cli/mesh-0.9.1-py2.py3-none-any.whl",
"metadata": {
"azext.minCliCoreVersion": "2.0.30",
"azext.isPreview": true,
Expand All @@ -939,7 +939,7 @@
"description": "DESCRIPTION.rst"
},
"project_urls": {
"Home": "https://github.com/Azure/azure-cli"
"Home": "https://github.com/Azure/azure-cli-extensions"
}
}
},
Expand All @@ -948,7 +948,7 @@
"metadata_version": "2.0",
"name": "mesh",
"summary": "Support for Microsoft Azure Service Fabric Mesh - Public Preview",
"version": "0.9.0"
"version": "0.9.1"
}
}
]
Expand Down
5 changes: 5 additions & 0 deletions src/mesh/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
Release History
===============

0.9.1 (2018-07-26)
++++++++++++++++++

* Fix output in table format for volume list.


0.9.0 (2018-07-16)
++++++++++++++++++
Expand Down
79 changes: 42 additions & 37 deletions src/mesh/README.rst
Original file line number Diff line number Diff line change
@@ -1,49 +1,54 @@
Microsoft Azure CLI 'mesh' Command Module
==============================================================

Official doc https://docs.microsoft.com/en-us/azure/service-fabric-mesh/
Commands to manage Azure Service Fabric Mesh resources
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
::

Group
az mesh: Manage Azure Service Fabric Mesh resources.
az mesh: Manage Azure Service Fabric Mesh Resources.

Subgroups:
app : Manage Service Fabric Mesh applications.
code-package-log: Examine the logs for a codepackage.
deployment : Manage Service Fabric Mesh deployments.
network : Manage networks.
service : Manage Service Fabric Mesh services.
service-replica : Manage Service Fabric Mesh service replicas.
volume : Manage volumes.

Commands:
app create: Create an application.
app delete: Delete an application.
app list : List applications.
app show : Show the details of an application.
codepackage logs : Tail the log of a container.

Commands to create an application
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
::

Command
az mesh app create: Create an Service Fabric Mesh application.

Arguments
--resource-group -g [Required]: Name of resource group. You can configure the default group
using `az configure --defaults group=<name>`.
--mode
--no-wait : Do not wait for the long-running operation to finish.
--parameters
--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 Arguments
--debug : Increase logging verbosity to show all debug logs.
--help -h : Show this help message and exit.
--output -o : Output format. Allowed values: json, jsonc, table, tsv.
Default: json.
--query : JMESPath query string. See http://jmespath.org/ for more
information and examples.
--verbose : Increase logging verbosity. Use --debug for full debug logs.

Examples
Create an application with a template file on the remote.
az mesh app create --resource-group mygroup --template-uri
https://seabreezequickstart.blob.core.windows.net/quickstart/application-quickstart.json

Create an application with a template file on local disk.
az mesh app create --resource-group mygroup --template-file ./appTemplate.json
-Command
az mesh deployment create: Create a Service Fabric Mesh application.

-Arguments
--resource-group -g [Required]: Name of resource group. You can configure the default group
using `az configure --defaults group=<name>`.
--mode
--name -n : The deployment name. Default to template file base name.
--no-wait : Do not wait for the long-running operation to finish.
--parameters
--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 Arguments
--debug : Increase logging verbosity to show all debug logs.
--help -h : Show this help message and exit.
--output -o : Output format. Allowed values: json, jsonc, table, tsv.
Default: 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.

-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
2 changes: 1 addition & 1 deletion src/mesh/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from codecs import open
from setuptools import setup, find_packages

VERSION = "0.9.0"
VERSION = "0.9.1"

CLASSIFIERS = [
'Development Status :: 4 - Beta',
Expand Down

0 comments on commit 0ef3e90

Please sign in to comment.