Skip to content

Commit

Permalink
Add ANF service to CLI extension index (#551)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
leonardbf authored and williexu committed Mar 4, 2019
1 parent f681aa6 commit c254be9
Show file tree
Hide file tree
Showing 2 changed files with 96 additions and 49 deletions.
98 changes: 49 additions & 49 deletions src/anf-preview/azext_anf_preview/_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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
Expand All @@ -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:
Expand All @@ -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
Expand All @@ -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:
Expand Down
47 changes: 47 additions & 0 deletions src/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "[email protected]",
"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",
Expand Down

0 comments on commit c254be9

Please sign in to comment.