Skip to content

Commit

Permalink
Mesh preview (#246)
Browse files Browse the repository at this point in the history
* Service Fabric Mesh - Public Preview (#22)

* Mesh public preview (#26)

* Private Preview 4

* Fix CI check

* Use future print

* Merge from master (#27)

* Remove rdbms public CLI extension. (#179)

* Worm feature and listing usage by region (#181)

* vendored mgmt sdk

* sdk

* updated old recordings for new sdk

* added worm feature

enable listing usage by region

ci fixes

fixes

fixes

flake8 fixes

removed prints

* address feedback

* updated index with new extension path

* version bump in index

* Updating the dev-spaces command from aks group to ads group (#183)

* Updating the dev-spaces command from aks group to ads group
 - refactoring

* Installing cli tooling, if does not exist, on remove command

* Updating min req of azure cli to 2.0.32

* Reverting index related changes
 - will send out a separate PR for this, after updating the generated whl file.

* Updating index: sha and minCliVersion (#185)

* iotext v0.4.5 (#188)

* iotext v0.4.5

* Fix sha256 hash.

* Bumping Dev Spaces version to 0.1.1 and updating the Index (#186)

* VNET extension (#176)

* VNET extension

Adding VNET extension for public repo , Pending changes :  update index.json to add the extension and uploading .whl file to blob repo will happen later .

* fixing indentation

fixing indentation

* fixing more flake8  reported issues

fixing more flake8  reported issues

* Fixing Review comments and formatting issues.

Fixing Review comments and formatting issues.

* Fixing some more issues with source static and bug fixes

Fixing some more issues with source static and bug fixes

* Renaming _client_factory to _client_vnet_factory

Renaming _client_factory to _client_vnet_factory

* Reverting the last change

Reverting the last change

* Renaming to azext_rdbms_vnet

Renaming to azext_rdbms_vnet

* More formatting issue fix

More formatting issue fix

* adding code owners

adding code owners

* Adding my email id

Adding my email id  :)

* Adding extension to index.json

wheel file is already uploaded to prodrdbmsclipackages

* fixing index-verify

fixing index-verify

* Changed the default value for eventdeliveryschema parameter to match the input event schema. (#189)

* Added eventgrid preview extension to index.json.

* Made the hash lowercase.

* Regenerated using Wheel 0.30

* Updating index metadata to match with what's in the package.

* Updated the description to match what's in the package.

* Added minCliCoreVersion in index.json to match with the metadata in the package.

* Changed the default value for eventdeliveryschema parameter to match the input event schema.

* Updated version in index.json and fixed the default in the function argument list.

* Changing SHA256digest to lower case.

* Regenerated extension with 0.30.0 of wheel to resolve CI errors.

* Updating space select functionality (#191)

* Updating space select
 - selecting space on resource create/select both
 - updating azds osx url

* Update

* CR

* Adding comments

* CR

* Management policy and new api-version (#194)

* added new apiversion for mgmt sdk

* updated storage mgmt client for new api

* updated sdk and most recordings except show usage

* finalized commands

* usage to usages and help

* fixed excryption tests

* static check

* updated help

* Management policy recording and new version of wheel (#195)

* updated some recordings

* added new wheel to index

* project url

* updated whl

* update index.json with new botservice package(minor fixes) (#199)

* update index.json with new botservice package(minor fixes)

* update version on index.json to match the new package

* Updating dev-spaces-preview extension to honor azds commands update (#196)

* Updating dev-spaces-preview extension to honor azds commands update

* Adding update option to force install the newer version of azds tool

* Update remove command

* Index Update

* Image-Copy: add support for sources backup by vhd files and snapshots (#201)

* update descriptions and version

* Add checks to verify that the source has a managed disk

* fix procedure to name the temp storage account

* support tags and final image name

* fix lint issue

* remove debug statement

* add version 0.0.6 to index

* support sources backed by vhd blobs (copied images) and snapshots

* fix how we find the source_os_disk_id

* adding image-copy version 0.0.7 to the index

* fix issue with publishing to bot (#202)

* fix missing client error during publish

* update index.json

* remove unused client variable

* Updating some params of use command (#200)

* Updating some params of use command

* Updating index and bumping version

* Removing commands and just keeping the module library to be accessed by azure cli

* Index update

* disable=too-few-public-methods

* extend alotted time for script in travis (#208)

* extend alotted time for script in travis

* longer CI times for surcetests

* Updates to extension documentation (#210)

* doc for vendored_sdks folder

* add README to point at extension docs in azure-cli folder

* forgot to add docs readme

* DMS - Adding PG and MySQL extension  (#207)

* Added functionality for Data Migration Assistant

* Renamed extension

* Updated the default database for PG

* Updated the extension description to remove any CLI references

* Renamed 'mgmt' to 'vendored_sdks'

* Fixed pylint issues

* extend alotted time for script in travis

* Fixed flake8 test results

* Updated code owners

* Added metadata

* Added license headers

* added information to storage-preview extension readme for included features (#212)

* Updating az use call to azds cli (#211)

* Updating az use call to azds cli
 - addressing azds updated cli

* Fix indentation error

* update

* Update

* CR: renaming the prompt variable

* readme changes (#214)

* Updating output messages to be printed in default mode (#215)

* Updating output messages to be printed in default mode

* Code Review Update

* increase travis wait time for source tests

* Add support for oauth connection management in botservice (#213)

* add support for oauth to botservice cli

* minor fixes

* fix style warnings

* more pylint error fixes

* fix flake errors

* addressed comments. bumped up version

* Static web and hierarchical namespace features. (#218)

* updated sdk

* service-properties update

* initial generic update for blob service-properties

* implemented generic update for service props

* added testing and recording update

* fixed bug

* added test

* recording

* updated mgmt sdk for storage

* added hierarchical namespace feature to account create

* version bump

* ci

* pylint and re-recorded all tests

* updated all recordings and tests for new sdks

* IoT extension release 0.5.0 (#219)

* IoT extension release 0.5.0

* fix dep format issue

* change order of index dependencies

* Index storage 0.1.3 (#220)

* index storage

* index edits

* added examples and new features (#221)

* updated api-version of arm to cli (#222)

* updated api-version of arm to cli

* converted all api-versions for resource

* Update batch extension to 2.3.0 (#225)

* changes to dependency check (#226)

* changes to dependency check

* CI

* Fixed: can not connect when using slot option. (#227)

* [0.8.0] Update SDK to Mesh namespace

* Use new namespace

* Run tests

* iteration1 comments

* new lines

* Drop commands for legacy resources

* Add license header

* Comments

* Delete sbz

* Api version

* fix history

* Mesh preview rc (#29)

* Remove rdbms public CLI extension. (#179)

* Worm feature and listing usage by region (#181)

* vendored mgmt sdk

* sdk

* updated old recordings for new sdk

* added worm feature

enable listing usage by region

ci fixes

fixes

fixes

flake8 fixes

removed prints

* address feedback

* updated index with new extension path

* version bump in index

* Updating the dev-spaces command from aks group to ads group (#183)

* Updating the dev-spaces command from aks group to ads group
 - refactoring

* Installing cli tooling, if does not exist, on remove command

* Updating min req of azure cli to 2.0.32

* Reverting index related changes
 - will send out a separate PR for this, after updating the generated whl file.

* Updating index: sha and minCliVersion (#185)

* iotext v0.4.5 (#188)

* iotext v0.4.5

* Fix sha256 hash.

* Bumping Dev Spaces version to 0.1.1 and updating the Index (#186)

* VNET extension (#176)

* VNET extension

Adding VNET extension for public repo , Pending changes :  update index.json to add the extension and uploading .whl file to blob repo will happen later .

* fixing indentation

fixing indentation

* fixing more flake8  reported issues

fixing more flake8  reported issues

* Fixing Review comments and formatting issues.

Fixing Review comments and formatting issues.

* Fixing some more issues with source static and bug fixes

Fixing some more issues with source static and bug fixes

* Renaming _client_factory to _client_vnet_factory

Renaming _client_factory to _client_vnet_factory

* Reverting the last change

Reverting the last change

* Renaming to azext_rdbms_vnet

Renaming to azext_rdbms_vnet

* More formatting issue fix

More formatting issue fix

* adding code owners

adding code owners

* Adding my email id

Adding my email id  :)

* Adding extension to index.json

wheel file is already uploaded to prodrdbmsclipackages

* fixing index-verify

fixing index-verify

* Changed the default value for eventdeliveryschema parameter to match the input event schema. (#189)

* Added eventgrid preview extension to index.json.

* Made the hash lowercase.

* Regenerated using Wheel 0.30

* Updating index metadata to match with what's in the package.

* Updated the description to match what's in the package.

* Added minCliCoreVersion in index.json to match with the metadata in the package.

* Changed the default value for eventdeliveryschema parameter to match the input event schema.

* Updated version in index.json and fixed the default in the function argument list.

* Changing SHA256digest to lower case.

* Regenerated extension with 0.30.0 of wheel to resolve CI errors.

* Updating space select functionality (#191)

* Updating space select
 - selecting space on resource create/select both
 - updating azds osx url

* Update

* CR

* Adding comments

* CR

* Management policy and new api-version (#194)

* added new apiversion for mgmt sdk

* updated storage mgmt client for new api

* updated sdk and most recordings except show usage

* finalized commands

* usage to usages and help

* fixed excryption tests

* static check

* updated help

* Management policy recording and new version of wheel (#195)

* updated some recordings

* added new wheel to index

* project url

* updated whl

* update index.json with new botservice package(minor fixes) (#199)

* update index.json with new botservice package(minor fixes)

* update version on index.json to match the new package

* Updating dev-spaces-preview extension to honor azds commands update (#196)

* Updating dev-spaces-preview extension to honor azds commands update

* Adding update option to force install the newer version of azds tool

* Update remove command

* Index Update

* Image-Copy: add support for sources backup by vhd files and snapshots (#201)

* update descriptions and version

* Add checks to verify that the source has a managed disk

* fix procedure to name the temp storage account

* support tags and final image name

* fix lint issue

* remove debug statement

* add version 0.0.6 to index

* support sources backed by vhd blobs (copied images) and snapshots

* fix how we find the source_os_disk_id

* adding image-copy version 0.0.7 to the index

* fix issue with publishing to bot (#202)

* fix missing client error during publish

* update index.json

* remove unused client variable

* Updating some params of use command (#200)

* Updating some params of use command

* Updating index and bumping version

* Removing commands and just keeping the module library to be accessed by azure cli

* Index update

* disable=too-few-public-methods

* extend alotted time for script in travis (#208)

* extend alotted time for script in travis

* longer CI times for surcetests

* Updates to extension documentation (#210)

* doc for vendored_sdks folder

* add README to point at extension docs in azure-cli folder

* forgot to add docs readme

* DMS - Adding PG and MySQL extension  (#207)

* Added functionality for Data Migration Assistant

* Renamed extension

* Updated the default database for PG

* Updated the extension description to remove any CLI references

* Renamed 'mgmt' to 'vendored_sdks'

* Fixed pylint issues

* extend alotted time for script in travis

* Fixed flake8 test results

* Updated code owners

* Added metadata

* Added license headers

* added information to storage-preview extension readme for included features (#212)

* Updating az use call to azds cli (#211)

* Updating az use call to azds cli
 - addressing azds updated cli

* Fix indentation error

* update

* Update

* CR: renaming the prompt variable

* readme changes (#214)

* Updating output messages to be printed in default mode (#215)

* Updating output messages to be printed in default mode

* Code Review Update

* increase travis wait time for source tests

* Add support for oauth connection management in botservice (#213)

* add support for oauth to botservice cli

* minor fixes

* fix style warnings

* more pylint error fixes

* fix flake errors

* addressed comments. bumped up version

* Static web and hierarchical namespace features. (#218)

* updated sdk

* service-properties update

* initial generic update for blob service-properties

* implemented generic update for service props

* added testing and recording update

* fixed bug

* added test

* recording

* updated mgmt sdk for storage

* added hierarchical namespace feature to account create

* version bump

* ci

* pylint and re-recorded all tests

* updated all recordings and tests for new sdks

* IoT extension release 0.5.0 (#219)

* IoT extension release 0.5.0

* fix dep format issue

* change order of index dependencies

* Index storage 0.1.3 (#220)

* index storage

* index edits

* added examples and new features (#221)

* updated api-version of arm to cli (#222)

* updated api-version of arm to cli

* converted all api-versions for resource

* Update batch extension to 2.3.0 (#225)

* changes to dependency check (#226)

* changes to dependency check

* CI

* Fixed: can not connect when using slot option. (#227)

* improved the deployment create command to now display back the public IP Addresses of the applications if available otherwise the status of the applications within the tempalte

* added warning for when a network for an application can not be reached

* added in displaying arm deployment errors

* removed ~ folder

* fixed the imports from client factory

* removing files

* specified errors and reduced clutter and depth of if statements

* removed .vs

* put in ascii friendly character

* docs (#228)

* added better logic handling for errors and show running now

* fixed import for http error from network client

* changed setup.py to 0.9.0 and changed the deploying to not redisplay

* removed the untested parts

* fixed white space comma issue

* updated version

* added history.rst version

* improved wording of history.rst

* added more safety checks for getting network references. reduced duplicate checks for looping over applications. fixed outputting for a few different places

* Automationstatic (#232)

* use flake8 config to apply exclusions, remove travis wait

* pin pylint 1.9.2 for CI

* fix link for extension summary for PRs (#233)

* Checks for license presence while disregarding '#\n' (#237)

* license ignore newlines

* added licenses

* cleanup

* add static check as precheck (#238)

* add static check as precheck

* made basic index verification part of precheck

* added network ref parse ability for other common format

* started adding validation precheck to deploying

* now has validation error check first

* changed len check of string

* cleaned up output

* fixed formatting

* fixed formatting of EOF lines

* removed logging statement

* removed the no wait from validation because it didnt seem necessary

* ref doc gen broken due to deprecation work (#240)

* should now just return expressions from the function and removed unused import

* removed .idea files

* should fix the inconsistent return formatting issue

* added back missing new line

* check_call will block child_process if enough output is sent to PIPE (#243)

* check_call will block child_process if enough output is sent to PIPE

* run is unavailable in python2, opting for check_output which reads from the PIPE

* remove PIPE

* fixed client naming

* Add to index.json

* Update module name

* Update author name

* Fix CI error

* Fix CI
  • Loading branch information
belmaiastar authored and williexu committed Jul 21, 2018
1 parent 96abf76 commit b24beb8
Show file tree
Hide file tree
Showing 75 changed files with 5,194 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,5 @@
/src/dev-spaces-preview/ @saurabsa

/src/datamigration/ @temandr

/src/mesh/ @linggengmsft
34 changes: 34 additions & 0 deletions src/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -917,6 +917,40 @@
"version": "0.1.3"
}
}
],
"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",
"metadata": {
"azext.minCliCoreVersion": "2.0.30",
"azext.isPreview": true,
"extensions": {
"python.details": {
"contacts": [
{
"email": "azpycli@microsoft.com",
"name": "Microsoft Corporation",
"role": "author"
}
],
"document_names": {
"description": "DESCRIPTION.rst"
},
"project_urls": {
"Home": "https://github.com/Azure/azure-cli"
}
}
},
"generator": "bdist_wheel (0.30.0)",
"license": "MIT",
"metadata_version": "2.0",
"name": "mesh",
"summary": "Support for Microsoft Azure Service Fabric Mesh - Public Preview",
"version": "0.9.0"
}
}
]
}
}
58 changes: 58 additions & 0 deletions src/mesh/HISTORY.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
.. :changelog:
Release History
===============


0.9.0 (2018-07-16)
++++++++++++++++++

* Added diagnostic output to deployment create command.


0.8.0 (2018-07-09)
++++++++++++++++++

* Update SDK, use api-version (2018-07-01-preview).


0.7.0 (2018-06-26)
++++++++++++++++++

* Add statusDetails and unhealthyEvaluation


0.6.0 (2018-05-14)
++++++++++++++++++

* Change servicereplica and codepackage command name for CLI convenction


0.5.0 (2018-05-02)
++++++++++++++++++

* Public Preview - Service Fabric Mesh


0.4.0 (2018-03-26)
++++++++++++++++++

* Private Preview 2 - Application Model


0.3.0 (2018-01-26)
++++++++++++++++++

* Support Tail parameter in log.


0.2.0 (2018-01-19)
++++++++++++++++++

* Support Azure CLI 2.0.24 and up.


0.1.1 (2017-11-17)
++++++++++++++++++

* Preview release.
1 change: 1 addition & 0 deletions src/mesh/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include *.rst
49 changes: 49 additions & 0 deletions src/mesh/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
Microsoft Azure CLI 'mesh' Command Module
==============================================================

Commands to manage Azure Service Fabric Mesh resources
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
::

Group
az mesh: Manage Azure Service Fabric Mesh resources.

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
30 changes: 30 additions & 0 deletions src/mesh/azext_mesh/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------

from azure.cli.core import AzCommandsLoader

from ._help import helps # pylint: disable=unused-import


class SbzCommandsLoader(AzCommandsLoader):

def __init__(self, cli_ctx=None):
from azure.cli.core.commands import CliCommandType
custom = CliCommandType(operations_tmpl='azext_mesh.custom#{}')
super(SbzCommandsLoader, self).__init__(cli_ctx=cli_ctx,
min_profile='2017-03-10-profile',
custom_command_type=custom)

def load_command_table(self, args):
from .commands import load_command_table
load_command_table(self, args)
return self.command_table

def load_arguments(self, command):
from ._params import load_arguments
load_arguments(self, command)


COMMAND_LOADER_CLS = SbzCommandsLoader
44 changes: 44 additions & 0 deletions src/mesh/azext_mesh/_client_factory.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------


def _cf_mesh(cli_ctx, **_):
from azure.cli.core.commands.client_factory import get_mgmt_service_client
from .servicefabricmesh.mgmt.servicefabricmesh import ServiceFabricMeshManagementClient
return get_mgmt_service_client(cli_ctx, ServiceFabricMeshManagementClient)


def cf_mesh_application(cli_ctx, _):
return _cf_mesh(cli_ctx).application


def cf_mesh_service(cli_ctx, _):
return _cf_mesh(cli_ctx).service


def cf_mesh_replica(cli_ctx, _):
return _cf_mesh(cli_ctx).replica


def cf_mesh_code_package(cli_ctx, _):
return _cf_mesh(cli_ctx).code_package


def cf_mesh_network(cli_ctx, _):
return _cf_mesh(cli_ctx).network


def cf_mesh_volume(cli_ctx, _):
return _cf_mesh(cli_ctx).volume


def _resource_client_factory(cli_ctx, **_):
from azure.cli.core.commands.client_factory import get_mgmt_service_client
from azure.cli.core.profiles import ResourceType
return get_mgmt_service_client(cli_ctx, ResourceType.MGMT_RESOURCE_RESOURCES)


def cf_mesh_deployments(cli_ctx, _):
return _resource_client_factory(cli_ctx).deployments
13 changes: 13 additions & 0 deletions src/mesh/azext_mesh/_exception_handler.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------


def resource_exception_handler(exception):
from knack.util import CLIError

if exception.response.status_code == 404:
raise CLIError('Can\'t find the resource.')
else:
raise CLIError(exception.message)
126 changes: 126 additions & 0 deletions src/mesh/azext_mesh/_help.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------

from knack.help_files import helps

helps['mesh'] = """
type: group
short-summary: (PREVIEW) Manage Azure Service Fabric Mesh Resources.
"""

helps['mesh deployment'] = """
type: group
short-summary: Manage Service Fabric Mesh deployments.
"""

helps['mesh deployment create'] = """
type: command
short-summary: Create a Service Fabric Mesh application.
examples:
- name: Create a deployment with a template file on the remote.
text: az mesh deployment create --resource-group mygroup --template-uri https://seabreezequickstart.blob.core.windows.net/templates/quickstart/sbz_rp.linux.json
- name: Create a deployment with a template file on local disk.
text: az mesh deployment create --resource-group mygroup --template-file ./appTemplate.json
"""

helps['mesh app'] = """
type: group
short-summary: Manage Service Fabric Mesh applications.
"""

helps['mesh app delete'] = """
type: command
short-summary: Delete a Service Fabric Mesh application.
"""

helps['mesh app list'] = """
type: command
short-summary: List Service Fabric Mesh applications.
"""

helps['mesh app show'] = """
type: command
short-summary: Get the details of a Service Fabric Mesh application.
"""

helps['mesh service'] = """
type: group
short-summary: Manage Service Fabric Mesh services.
"""

helps['mesh service show'] = """
type: command
short-summary: Get the details of a service.
"""

helps['mesh service-replica'] = """
type: group
short-summary: Manage Service Fabric Mesh service replicas.
"""

helps['mesh service-replica list'] = """
type: command
short-summary: List the details of service replicas.
"""

helps['mesh code-package-log'] = """
type: group
short-summary: Examine the logs for a codepackage.
"""

helps['mesh code-package-log get'] = """
type: command
short-summary: Examine the logs for a codepackage.
"""

helps['mesh network'] = """
type: group
short-summary: Manage networks.
"""

helps['mesh network delete'] = """
type: command
short-summary: Delete a network.
"""

helps['mesh network list'] = """
type: command
short-summary: List networks.
"""

helps['mesh network show'] = """
type: command
short-summary: Get the details of a network.
"""

helps['mesh volume'] = """
type: group
short-summary: Manage volumes.
"""

helps['mesh volume create'] = """
type: command
short-summary: Create a volume.
examples:
- name: Create a volume with a template file on a remote URL.
text: az mesh volume create --location westus --name myvolume --resource-group mygroup --template-uri https://mystorage.blob.core.windows.net/templates/volumeDescription.json
- name: Create a volume with a template file on local disk.
text: az mesh volume create --location westus --name myvolume --resource-group mygroup --template-file ./volumeDescription.json
"""

helps['mesh volume delete'] = """
type: command
short-summary: Delete a volume.
"""

helps['mesh volume list'] = """
type: command
short-summary: List volumes.
"""

helps['mesh volume show'] = """
type: command
short-summary: Get the details of a volume.
"""
Loading

0 comments on commit b24beb8

Please sign in to comment.