Skip to content

Commit

Permalink
Update MySQL and PostgreSQL help text and sku-name parameter. (#82)
Browse files Browse the repository at this point in the history
* Update help and sku-name parameter.

* Update version and download URL.

* Fix index.json.
  • Loading branch information
rohit-joy authored and derekbekoe committed Feb 27, 2018
1 parent e5e3c4c commit d7d4dc1
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions src/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -505,9 +505,9 @@
],
"rdbms": [
{
"filename": "rdbms-0.0.1-py2.py3-none-any.whl",
"sha256Digest": "79ebef22a4d68f2a3f1909523357aadf6167def54d2ba4de84d1b9932fcb9eac",
"downloadUrl": "https://prodrdbmsclipackages.blob.core.windows.net/cliextensions/rdbms-0.0.1-py2.py3-none-any.whl",
"filename": "rdbms-0.0.2-py2.py3-none-any.whl",
"sha256Digest": "f7c347df4766e593e953862dfa1f08e938fb8054821b3b507f99f7e4306b4b21",
"downloadUrl": "https://prodrdbmsclipackages.blob.core.windows.net/cliextensions/rdbms-0.0.2-py2.py3-none-any.whl",
"metadata": {
"classifiers": [
"Development Status :: 4 - Beta",
Expand Down Expand Up @@ -543,8 +543,8 @@
"license": "MIT",
"metadata_version": "2.0",
"name": "rdbms",
"summary": "An Azure CLI extension to manage Azure MySQL and Azure PostgreSQL resources",
"version": "0.0.1"
"summary": "An Azure CLI Extension to manage Azure MySQL and Azure PostgreSQL resources",
"version": "0.0.2"
}
}
],
Expand Down
4 changes: 2 additions & 2 deletions src/rdbms/azext_rdbms/_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ def add_helps(command_group, server_type):
text: az {1} server create -l northeurope -g testgroup -n testsvr -u username -p password
- name: Create a {0} server with a Standard performance tier and 2 vcore in North Europe.
text: az {1} server create -l northeurope -g testgroup -n testsvr -u username -p password \\
--performance-tier Standard --vcore 2
--sku-name GP_Gen4_2
- name: Create a {0} server with all paramaters set.
text: az {1} server create -l northeurope -g testgroup -n testsvr -u username -p password \\
--performance-tier Basic --vcore 2 --ssl-enforcement Disabled \\
--sku-name B_Gen4_2 --ssl-enforcement Disabled \\
--storage-size 51200 --tags "key=value" --version {{server-version}}
""".format(server_type, command_group)
helps['{} server restore'.format(command_group)] = """
Expand Down
2 changes: 1 addition & 1 deletion src/rdbms/azext_rdbms/_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def _complex_params(command_group, engine):

for scope in ['mysql', 'postgres']:
with self.argument_context(scope) as c:
c.argument('name', options_list=['--sku-name'])
c.argument('name', options_list=['--sku-name'], required=True)
c.argument('server_name', completer=server_completers[scope], options_list=['--server-name', '-s'], help='Name of the server.')

for scope in ['mysql server', 'postgres server']:
Expand Down
2 changes: 1 addition & 1 deletion src/rdbms/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.0.1"
VERSION = "0.0.2"

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

0 comments on commit d7d4dc1

Please sign in to comment.