From c254be951e84b56a46f562e2eee73a71248e79a3 Mon Sep 17 00:00:00 2001 From: Leonard Francis Date: Mon, 4 Mar 2019 23:48:08 +0000 Subject: [PATCH] Add ANF service to CLI extension index (#551) * NFSAAS-1708 add initial version of anf cli extension * NFSAAS-1708 lint fixes * NFSAAS-1708 code owner * NFSAAS-1708 update from review comments * NFSAAS-1708 update from review comments * NFSAAS-1708 update with code review comments * NFSAAS-1708 updates from review comments * NFSAAS-1708 updates from review comments * NFSAAS-1708 updates from review comments (#9) * Nfsaas 1708 initial cli extension (#10) * NFSAAS-1708 updates from review comments * NFSAAS-1708 updates from review comments * Nfsaas 1708 initial cli extension (#11) * NFSAAS-1708 updates from review comments * NFSAAS-1708 updates from review comments * NFSAAS-1708 updates from review comments * Nfsaas 1708 initial cli extension (#13) * NFSAAS-1708 updates from review comments * NFSAAS-1708 updates from review comments * NFSAAS-1708 updates from review comments * NFSAAS-1708 updates from review comments * Nfsaas 1708 initial cli extension (#14) * NFSAAS-1708 updates from review comments * NFSAAS-1708 updates from review comments * NFSAAS-1708 updates from review comments * NFSAAS-1708 updates from review comments * NFSAAS-1708 updates from review comments * Nfsaas 1708 initial cli extension (#16) * NFSAAS-1708 updates from review comments * NFSAAS-1708 updates from review comments * NFSAAS-1708 updates from review comments * NFSAAS-1708 updates from review comments * NFSAAS-1708 updates from review comments * NFSAAS-1708 updates from review comments * Nfsaas 1708 initial cli extension (#17) * NFSAAS-1708 updates from review comments * NFSAAS-1708 updates from review comments * NFSAAS-1708 updates from review comments * NFSAAS-1708 updates from review comments * NFSAAS-1708 updates from review comments * NFSAAS-1708 updates from review comments * NFSAAS-1708 updates from review comments * NFSAAS-1708 add anf to cli extension index * NFSAAS-1708 add anf to cli extension index (#18) * NFSAAS-1708 add ANF CLI extension to index Plus correct some help validation errors * NFSAAS-1708 add ANF CLI extension to index Plus correct some help validation errors * NFSAAS-1708 add ANF CLI extension to index (#22) Plus correct some help validation errors * Nfsaas 1708 add index (#23) * NFSAAS-1708 add ANF CLI extension to index Plus correct some help validation errors * NFSAAS-1708 add ANF CLI extension to index Plus correct some help validation errors * Nfsaas 1708 add index (#24) * NFSAAS-1708 add ANF CLI extension to index Plus correct some help validation errors * NFSAAS-1708 add ANF CLI extension to index Plus correct some help validation errors * NFSAAS-1708 add ANF CLI extension to index Plus correct some help validation errors * Nfsaas 1708 add index (#25) * NFSAAS-1708 add ANF CLI extension to index Plus correct some help validation errors * NFSAAS-1708 add ANF CLI extension to index Plus correct some help validation errors * NFSAAS-1708 add ANF CLI extension to index Plus correct some help validation errors * NFSAAS-1708 add ANF CLI extension to index Plus correct some help validation errors * Nfsaas 1708 add index (#26) * NFSAAS-1708 add ANF CLI extension to index Plus correct some help validation errors * NFSAAS-1708 add ANF CLI extension to index Plus correct some help validation errors * NFSAAS-1708 add ANF CLI extension to index Plus correct some help validation errors * NFSAAS-1708 add ANF CLI extension to index Plus correct some help validation errors * NFSAAS-1708 add ANF CLI extension to index Plus correct some help validation errors * Nfsaas 1708 add index (#27) * NFSAAS-1708 add ANF CLI extension to index Plus correct some help validation errors * NFSAAS-1708 add ANF CLI extension to index Plus correct some help validation errors * NFSAAS-1708 add ANF CLI extension to index Plus correct some help validation errors * NFSAAS-1708 add ANF CLI extension to index Plus correct some help validation errors * NFSAAS-1708 add ANF CLI extension to index Plus correct some help validation errors * NFSAAS-1708 add ANF CLI extension to index Plus correct some help validation errors --- src/anf-preview/azext_anf_preview/_help.py | 98 +++++++++++----------- src/index.json | 47 +++++++++++ 2 files changed, 96 insertions(+), 49 deletions(-) diff --git a/src/anf-preview/azext_anf_preview/_help.py b/src/anf-preview/azext_anf_preview/_help.py index 2e9773be86a..23578635e09 100644 --- a/src/anf-preview/azext_anf_preview/_help.py +++ b/src/anf-preview/azext_anf_preview/_help.py @@ -25,7 +25,7 @@ type: command short-summary: Create a new Azure NetApp Files (ANF) account. parameters: - - name: --account-name + - name: --account-name -a -n type: string short-summary: The name of the ANF account - name: --tags @@ -41,7 +41,7 @@ type: command short-summary: Set/modify the tags for a specified ANF account. parameters: - - name: --account-name + - name: --account-name -a -n type: string short-summary: The name of the ANF account - name: --tags @@ -57,7 +57,7 @@ type: command short-summary: Delete the specified ANF account. parameters: - - name: --account-name + - name: --account-name -a -n type: string short-summary: The name of the ANF account examples: @@ -79,7 +79,7 @@ type: command short-summary: Get the specified ANF account. parameters: - - name: --account-name + - name: --account-name -a -n type: string short-summary: The name of the ANF account examples: @@ -99,10 +99,10 @@ type: command short-summary: Create a new Azure NetApp Files (ANF) pool. parameters: - - name: --account-name + - name: --account-name -a type: string short-summary: The name of the ANF account - - name: --pool-name + - name: --pool-name -n -p type: string short-summary: The name of the ANF pool - name: --size @@ -124,10 +124,10 @@ type: command short-summary: Update the tags of the specified ANF pool. parameters: - - name: --account-name + - name: --account-name -a type: string short-summary: The name of the ANF account - - name: --pool-name + - name: --pool-name -n -p type: string short-summary: The name of the ANF pool - name: --size @@ -149,10 +149,10 @@ type: command short-summary: Delete the specified ANF pool. parameters: - - name: --account-name + - name: --account-name -a type: string short-summary: The name of the ANF account - - name: --pool-name + - name: --pool-name -n -p type: string short-summary: The name of the ANF pool examples: @@ -165,23 +165,23 @@ type: command short-summary: L:ist the ANF pools for the specified account. parameters: - - name: --account-name + - name: --account-name -a -n type: string short-summary: The name of the ANF account examples: - name: List the pools for the ANF account text: > - az anf pool list -g group -account-name name + az anf pool list -g group --account-name name """ helps['anf pool show'] = """ type: command short-summary: Get the specified ANF pool. parameters: - - name: --account-name + - name: --account-name -a type: string short-summary: The name of the ANF account - - name: --pool-name + - name: --pool-name -n -p type: string short-summary: The name of the ANF pool examples: @@ -201,13 +201,13 @@ type: command short-summary: Create a new Azure NetApp Files (ANF) volume. parameters: - - name: --account-name + - name: --account-name -a type: string short-summary: The name of the ANF account - - name: --pool-name + - name: --pool-name -p type: string short-summary: The name of the ANF pool - - name: --volume-name + - name: --volume-name -n -v type: string short-summary: The name of the ANF volume - name: --service-level @@ -235,13 +235,13 @@ type: command short-summary: Update the specified ANF volume with the values provided. Unspecified values will remain unchanged. parameters: - - name: --account-name + - name: --account-name -a type: string short-summary: The name of the ANF account - - name: --pool-name + - name: --pool-name -p type: string short-summary: The name of the ANF pool - - name: --volume-name + - name: --volume-name -n -v type: string short-summary: The name of the ANF volume - name: --service-level @@ -263,13 +263,13 @@ type: command short-summary: Delete the specified ANF volume. parameters: - - name: --account-name + - name: --account-name -a type: string short-summary: The name of the ANF account - - name: --pool-name + - name: --pool-name -p type: string short-summary: The name of the ANF pool - - name: --volume-name + - name: --volume-name -n -v type: string short-summary: The name of the ANF volume examples: @@ -282,10 +282,10 @@ type: command short-summary: List the ANF Pools for the specified account. parameters: - - name: --account-name + - name: --account-name -a type: string short-summary: The name of the ANF account - - name: --pool-name + - name: --pool-name -n -p type: string short-summary: The name of the ANF pool examples: @@ -298,19 +298,19 @@ type: command short-summary: Get the specified ANF volume. parameters: - - name: --account-name + - name: --account-name -a type: string short-summary: The name of the ANF account - - name: --pool-name + - name: --pool-name -p type: string short-summary: The name of the ANF pool - - name: --volume-name + - name: --volume-name -n -v type: string short-summary: The name of the ANF pool examples: - name: Returns the properties of the given ANF volume text: > - az anf volume show -g group --account-name aname --pool-name pname --volume_name vname + az anf volume show -g group --account-name aname --pool-name pname --volume-name vname """ # mounttargets @@ -324,13 +324,13 @@ type: command short-summary: List the mount targets of an ANF volume. parameters: - - name: --account-name + - name: --account-name -a type: string short-summary: The name of the ANF account - - name: --pool-name + - name: --pool-name -p type: string short-summary: The name of the ANF pool - - name: --volume-name + - name: --volume-name -v type: string short-summary: The name of the ANF pool examples: @@ -350,16 +350,16 @@ type: command short-summary: Create a new Azure NetApp Files (ANF) snapshot. parameters: - - name: --account-name + - name: --account-name -a type: string short-summary: The name of the ANF account - - name: --pool-name + - name: --pool-name -p type: string short-summary: The name of the ANF pool - - name: --volume-name + - name: --volume-name -v type: string short-summary: The name of the ANF volume - - name: --snapshot-name + - name: --snapshot-name -n -s type: string short-summary: The name of the ANF snapshot - name: --file-system-id @@ -375,57 +375,57 @@ type: command short-summary: Delete the specified ANF snapshot. parameters: - - name: --account-name + - name: --account-name -a type: string short-summary: The name of the ANF account - - name: --pool-name + - name: --pool-name -p type: string short-summary: The name of the ANF pool - - name: --volume-name + - name: --volume-name -v type: string short-summary: The name of the ANF volume - - name: --snapshot-name + - name: --snapshot-name -n -s type: string short-summary: The name of the ANF snapshot examples: - name: Delete an ANF snapshot text: > - az anf volume delete -g group --account-name aname --pool-name pname --volume-name vname --snapshot-name sname + az anf snapshot delete -g group --account-name aname --pool-name pname --volume-name vname --snapshot-name sname """ helps['anf snapshot list'] = """ type: command short-summary: List the snapshots of an ANF volume. parameters: - - name: --account-name + - name: --account-name -a type: string short-summary: The name of the ANF account - - name: --pool-name + - name: --pool-name -p type: string short-summary: The name of the ANF pool - - name: --volume-name + - name: --volume-name -n -v type: string short-summary: The name of the ANF volume examples: - name: list the snapshots of an ANF volume text: > - az anf account list -g group --account-name aname --pool-name pname --volume-name vname + az anf snapshot list -g group --account-name aname --pool-name pname --volume-name vname """ helps['anf snapshot show'] = """ type: command short-summary: Get the specified ANF snapshot. parameters: - - name: --account-name + - name: --account-name -a type: string short-summary: The name of the ANF account - - name: --pool-name + - name: --pool-name -p type: string short-summary: The name of the ANF pool - - name: --volume-name + - name: --volume-name -v type: string short-summary: The name of the ANF volume - - name: --snapshot-name + - name: --snapshot-name -n -s type: string short-summary: The name of the ANF snapshot examples: diff --git a/src/index.json b/src/index.json index a380e3ad136..f1315db755a 100644 --- a/src/index.json +++ b/src/index.json @@ -256,6 +256,53 @@ "sha256Digest": "9e9d191c74ce2cb23927eef6b353bd9ae2c7ceee9e22de744b59dccbe3875287" } ], + "anf-preview": [ + { + "downloadUrl": "https://anfclipython.blob.core.windows.net/cli-extensions/anf_preview-0.1.0-py2.py3-none-any.whl", + "filename": "anf_preview-0.1.0-py2.py3-none-any.whl", + "metadata": { + "azext.isPreview": true, + "azext.minCliCoreVersion": "2.0.56", + "classifiers": [ + "Development Status :: 4 - Beta", + "Intended Audience :: Developers", + "Intended Audience :: System Administrators", + "Programming Language :: Python", + "Programming Language :: Python :: 2", + "Programming Language :: Python :: 2.7", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.4", + "Programming Language :: Python :: 3.5", + "Programming Language :: Python :: 3.6", + "License :: OSI Approved :: MIT License" + ], + "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-extensions/tree/master/src/anf-preview" + } + } + }, + "generator": "bdist_wheel (0.30.0)", + "license": "MIT", + "metadata_version": "2.0", + "name": "anf-preview", + "summary": "Provides a preview for upcoming Azure NetApp Files (ANF) features.", + "version": "0.1.0" + }, + "sha256Digest": "3ed8340e1f4aa97d83b6af9eb223d2f1272ecb7e82d18d89dccc18ce7167a4e2" + } + ], "azure-batch-cli-extensions": [ { "downloadUrl": "https://github.com/Azure/azure-batch-cli-extensions/releases/download/azure-batch-cli-extensions-2.5.2/azure_batch_cli_extensions-2.5.2-py2.py3-none-any.whl",