Граф коммитов

173 Коммитов

Автор SHA1 Сообщение Дата
Derek Bekoe 57f3c7ec0b
Update link to let the server handle redirect (+1 squashed commit) (#6054)
Squashed commits:
[0622536c0] Fix broken install link.

Replace dead Azure CLI install link with a working one that points to the official docs.
2018-04-09 10:53:35 -07:00
Laurent Mazuel 34717636c4 Fix azure_bdist_wheel for wheel 0.31.0 (#6007)
* Fix azure_bdist_wheel for wheel 0.31.0

* Add ChangeLog and version
2018-04-05 10:31:47 -07:00
Derek Bekoe d23e1a979d
Ref doc gen formatting improvements (#5956)
* Ref doc gen: Format user directory as ~ and use forward slashes

* Add CI step to verify ref doc gen

* Make script executable

* Preserve backslashes in example text
2018-03-30 10:32:41 -07:00
Derek Bekoe e4339a7dac
Preview extension notation & Simple default view for extension list-a… (#5882)
* Preview extension notation & Simple default view for extension list-available

- Show message for extensions marked as preview on -h

* Update HISTORY.rst

* Add more tests

* fix style
2018-03-22 15:50:13 -07:00
Travis Prescott e7ca2aefa4
Update authoring_commands.md (#5838)
* Update authoring_commands.md

Adds guidance for suppressing --ids on list commands and supporting "name or id" type parameters.

* Add generic update for PATCH-based endpoints
2018-03-19 11:43:16 -07:00
Derek Bekoe cc6d10d107 Update command guidelines (#5769)
* Update command guidelines

format

fix md

* Address feedback
2018-03-19 09:24:38 -07:00
Travis Prescott 299cdd0df4
Allow azdev to work with extensions. Remove --modules. Make --test positional. (#5829) 2018-03-16 10:08:13 -07:00
Ian Griffiths fe83ad1d61 [docs script] Prevent exit code of 1 on success (#5825) 2018-03-15 09:54:16 -07:00
Ajit Navasare aa9dfa2c7d On-board Event Hubs (#5522)
* EventHubs CLI cmdlets

* removed Encoding param a it has a default value

* review comments

* updated history with version

* --ids should not displayed for list commands fix

* updated list commands

* review updates and recordings

* extension suppression code and recordings

* lint fixes

* update - support for Name or ARM Id for storageAccount in EH creation/update

* removed default for sku in update cmd

* consumergroup list no ids fix and help text

* validator fix

* review comments updated

* Consumer-Group test recording

* lint fixes
2018-03-08 14:15:05 -08:00
Ajit Navasare 2dcf21c693 On-board Service Bus (#5499)
* review comments

* Servicebus on board

* Module Loading Performance fix

* review comments upodated

* updated history file with version

* review comments, extension supperssion code and recordings

* lint fixes

* updates- support name or ID for GEO DR patner_namespace

* removed default for sku in update

* review updates and help text fixes

* help fixes, capacity validator and recordings

* review comments and recordings
2018-03-08 13:11:44 -08:00
Derek Bekoe b56563f737
Extension suppression (#5739) 2018-03-06 14:10:13 -08:00
Travis Prescott aa0cc5b335
Small help_authoring changes (#5695)
Based on review with LocationBasedServices.
2018-03-05 08:42:40 -08:00
Travis Prescott 0de4f9f36f
Update authoring_tests.md
Replaced erroneous uses of JMESPathCheck with self.check.
2018-03-05 08:26:53 -08:00
Derek Bekoe fc3cb4a080
Autorest 3.0 support in the CLI (#5606)
* Autorest 3.0 support in CLI

* devtools 0.5.2 (+6 squashed commits)
Squashed commits:
[9d66e9746] fix style
[25a4c1afe] .md fix again
[9a00ed214] .md format fix
[0f4b3a86b] Use sdk_no_wait method
[bb23ca411] Update doc
[90e5d1217] Update docs (+2 squashed commits)
Squashed commits:
[1e987445] change
[70809eb6] Change to supports_no_wait

* Address recent feedback
2018-02-28 15:59:42 -08:00
Derek Bekoe c74a4bc1cb
Ref doc gen script supports sphinx==1.6.7 (#5607)
1.7 was released a few days ago and the script doesn't support that version as some imports were removed.
2018-02-27 13:26:59 -08:00
Derek Bekoe c5f8e0cf2d
Escape backslashes in ref doc gen (#5672) 2018-02-26 18:30:10 -08:00
Travis Prescott 789d76a60b Command Authoring/Testing Docs Update (#5508) 2018-02-08 09:33:23 -08:00
Matt Boersma 418fc028db Correct usage of "delimiter-separated" in help strings, docs, and comments (#5472)
* [core]: correct usage of "delimiter-separated" in help strings

* [doc/]: correct usage of "delimiter-separated" in command authoring doc

* [ACR]: correct usage of "delimiter-separated" in help strings

* [tools/]: correct usage of "delimiter-separated" in help strings

* [Advisor]: correct usage of "delimiter-separated" in help strings

* [AKS]: correct usage of "delimiter-separated" in code comment

* [AppService]: correct usage of "delimiter-separated" in help strings

* [Batch]: correct usage of "delimiter-separated" in help strings

* [ARM]: correct usage of "delimiter-separated" in help string

* [CDN]: correct usage of "delimiter-separated" in help strings

* [configure]: correct usage of "delimiter-separated" in help strings

* [ACI]: correct usage of "delimiter-separated" in help strings

* [CosmosDB]: correct usage of "delimiter-separated" in help strings

* [EventGrid]: correct usage of "delimiter-separated" in help strings

* [IoT]: correct usage of "delimiter-separated" in help strings

* [KeyVault]: correct usage of "delimiter-separated" in help strings

* [DevTestLabs]: correct usage of "delimiter-separated" in help strings

* [Monitor]: correct usage of "delimiter-separated" in help strings

* [Network]: correct usage of "delimiter-separated" in help strings

* [rdbms]: correct usage of "delimiter-separated" in help string

* [VM]: correct usage of "delimiter-separated" in help strings

* [resource]: correct usage of "delimiter-separated" in help strings

* [role]: correct usage of "delimiter-separated" in help strings

* [ServiceFabric: correct usage of "delimiter-separated" in help strings

* [Storage]: correct usage of "delimiter-separated" in help strings

* Update latest versions in setup.py to match HISTORY.rst

* Bump versions of three modules that were missed
2018-02-05 13:26:46 -08:00
Travis Prescott 0820976e68
Update links in README.md to point to dev branch (#5327) 2018-01-17 14:28:13 -08:00
Travis Prescott 2a4ea252ad
Update Command Authoring documentation for Knack-based core (#5297)
* Update command module (1st draft)

* Update README

* Remove `recording_vcr_tests.md`

* Remove `scenario_base_tests.md`

* Combine old test files into one.

* Update authoring_tests.md

* Add images.

* Progress on help rewrite.

* Update authoring_commands.md

* More progress.

* More changes.

* Final touches.

* Code review feedback.

* Review feedback.
2018-01-17 10:40:53 -08:00
Travis Prescott d24a0102d7
Add documentation for local installed SDK into venv (#5094) (#5203)
* Add documentation for local installed SDK into venv

* Minor wording change
2018-01-04 15:14:34 -08:00
Derek Bekoe 8a9d1a73ff
Modify ref doc script for knack conversion (#5113) 2017-12-20 10:46:01 -08:00
Derek Bekoe d314bd41e5
Convert extension example to knack (#5093) 2017-12-13 14:22:46 -08:00
Troy Dai 2efad48ce1
Exclude interactive's _help.py from doc map 2017-11-29 10:39:40 -08:00
Travis Prescott fe81db993b
Dev Branch rebase to Knack (#4965)
* sp reset-credentials from dev

* rebase polish rbac error message

* rebase role assignment list: show default assignments for classic administrators

* Modified AzureUSGov Endpoint to .US (#4877)

* Modified AzureUSGov Endpoint to .US

* Updated History.RST to include USGovAADEndPoint Change

* Updated Setup.py to match HISTORY.RST

* Reduced previous change in HISTORY.RST to a single line

* HISTORY.rst merge with latest commit

* HISTORY.RST Syntax Correction

* webapp/functionapp: ensure list/show display correct set of apps (#4891)

* Fix authoring doc typo (#4903)

* Changing CLI for azure-consumption reflecting the new api-version (#4900)

* Changing CLI for azure-consumption reflecting the new api-version

* Modifying Setup.py and history.rst

* Implementing review comments

* Rebase remove component module

* [acr] typo fix in help (#4904)

* [acr] typo fix in help

* [acr] bump version and add history line item

* Rebase of support raw format on resource show

* Web: add node appsetting when runtime is not specified (#4907)

* webapp: fix a bug in the cert name generation (#4909)

* Fix container module default ports (#4950)

* fix default ports

* bump up version

* update history

* Advisor command module (#4898)

* Initial change to add Advisor module.

* Add list recommendations command.

* More commands.

* More commands.

* Pylint fixes and adding a test.

* More updates.

* More updates.

* Fixing precheck errors.

* Fixing more precheck errors.

* Initial change to add Advisor module.

* Add list recommendations command.

* More commands.

* More commands.

* Pylint fixes and adding a test.

* More updates.

* More updates.

* Fixing precheck errors.

* Fixing more precheck errors.

* Adding missing manifest.

* Fixes for test failures.

* Addressing review comments and add unit tests.

* More fixes.

* Address CI failures.

* Extra space.

* One more fix.

* rebase sql usage commands.

* Add advisor to default install (#4956)

* Add consumption module to code owners (#4906)

* Added sql server conn-policy show/update commands (#4888)

* Update proj file
2017-11-27 10:38:03 -08:00
Derek Bekoe 341f7795af
Update knack dep to 0.3.0 (#4946)
Squashed commits:
[9ba81a9] Handle confirmation in knack also (+2 squashed commits)
Squashed commits:
[b548356] Some fixes
[c879395] Some more stuff (+1 squashed commit)
Squashed commits:
[0a619f2] Update knack dep to 0.3.0 and pin it

- Remove `self.module_name` as no longer needed in knack 0.3.0
2017-11-21 15:22:40 -08:00
Derek Bekoe 8346147d0d Cumulative Knack update 2017-11-13 11:42:14 -08:00
hyo f061602338 Reserved Instance cli public PR (#4838) 2017-11-07 20:30:29 -08:00
Willie Xu 4eb0e335a7
'clone root' for consistency (#4845) 2017-11-07 12:41:37 -08:00
Willie Xu 46438ac750 Updated configuring_your_machine doc to not reference scripts by path (#4844) 2017-11-07 10:33:43 -08:00
Derek Bekoe cd96802027
Extensions: support adding by name and list-available (#4788)
* Extensions: support adding by name and list-available

- Update extension publishing readme with new info
- Implement 'az extension list-available'
- Support adding an extension by name
- Define logic for extension update
- Support --index hidden param
- Explicitly only support non platform specific whls
- Add tests

* Minor change
2017-11-01 09:52:27 -07:00
Travis Prescott f0e3e22ac3
Update command authoring guidance (#4784)
* Add table and completer guidance. Update --ids guidance.

* Code review feedback.

* Code review feedback.
2017-10-31 12:21:52 -07:00
Derek Bekoe 964d578c4a
Remove example metadata for extension (#4785) 2017-10-30 15:42:33 -07:00
Willie Xu 53eb065f82 allow arbitrary number of levels for `--ids` (#4704)
* Added new id_part values where they are used in CLI

Implemented multiple levels for --ids in CLI

* use msrestazure resource tools

* updated docs for --ids values

* import msrestazure inside methods for azure.cli.core, removed resource_id test from cli as it is part of msrestazure

* msrestazure.tools
2017-10-26 10:56:46 -07:00
Derek Bekoe 28c6806f17 Change doc to no longer reference 'unreleased' (#4721) 2017-10-19 14:27:43 -07:00
Derek Bekoe af881c5690 Remove +dev from versions (#4684) 2017-10-17 10:51:31 -07:00
Derek Bekoe 5faef38350 Remove GitHub bot code (#4687) 2017-10-17 10:22:07 -07:00
Derek Bekoe bddb6737b2 Remove azure-cli-taskhelp (#4683)
* Remove azure-cli-taskhelp

It's no longer included as part of the CLI and hasn't for several months.

* Now fix CI script

* Fix doc source map
2017-10-16 13:45:03 -07:00
AlexanderYukhanov 448f420a10 BatchAI. Initial drop of azure-cli-batchai. (#4600)
* BatchAI. Initial drop of azure-cli-batchai.

* BatchAI. Getting rid of legacy "learning" term.

The old service name "Batch AI Learning" has been changed to "Batch AI",
so we need to update all environment variables names.

* BatchAI. Added scenario for configless cluster and nfs creation

* BatchAI. Update cluster resize and cluster auto-scale.

After adding payload-flattening-threshold=2, cluster.update signature
changed. Updating affected commands.
2017-10-04 10:44:14 -07:00
Matt Boersma 35f7481a7a Fix paths to scripts in developer doc (#4534) 2017-09-25 11:16:38 -07:00
Travis Prescott 4d3f35a040 Create onboarding_guide.rst (#4494) 2017-09-25 11:13:35 -07:00
Derek Bekoe bfb66691a0 Update 'Modify Change Log' instructions for clarity (#4463) 2017-09-18 14:07:26 -07:00
samedder 29d5ad54ec Removing duplicate `sf` commands that exist in Service Fabric CLI (#4458)
* Removing SF commands

* Removing doc

* Fixing helps
2017-09-18 13:30:41 -07:00
georgechenchao efcc293b21 [Docs CI] Add configurations for mooncake (#4460)
* Add logic for mooncake

* Update the batch file label

* Test for generating xml for all profiles

* Just use profile latest to generate xml files
2017-09-18 11:18:12 -07:00
mhaslett b3ed7be445 Adding draft recovery services module (#3658)
* Adding recovery services module

list container working

refactoring, added methods

list and show item

enable protection (part)

Disable protection just started

Enable and disable protection

Removing recoveryservices (duplicate) module

Including backup command module

Removing unwanted files

Addressing review comments.

* Adding backup tests

Fixed json load from input param

Extend scenario in test

Pylint fixes

cli for backup

cli for backup

Updated rs backup nuget version

* Updating backup help

Took review comments

Pylint changes

Fixed formatting issue in help file

* Implementing flake8 and pylint suggestions for backup

Updated help

Limit every other workload except 'AzureVM' by giving a proper error message

Fixed some bugs

* bugfixes

* Updated test recordings

* Adding Instant File Recovery for Windows VM in backup

Fixing case sensitive bugs

Fixing case sensitive bugs

Fixing bug - found inconsistencies in case of unique name sent by service.

* Implementing File Restore for Linux VMs in backup

urllib python 2 and 3 compatibility

enforcing password in ILR

Help messages and ilr test

ilr

Flake8 passing

Add manifest

table transformers and six.moves.

six.moves changes

Disabling some pylint warnings

item list bug fix

item list bug fix

pylint and flake8 passed

Deleting unwanted files

newline bugfix

Fixing the unicode issue

fixed password bug with linux scripts for ILR

Added table transformers

vault test case recording

Added cleanup in preparers

Removing randomization in dict iteration.

fixing linux script download bug

Adding custom client request header

Adding test recordings

updated policy recording

policy test recording

item test recording

protection test recording

backup restore test recording

backup restore test recording

test restore recording

test rp recording

test job recording

* Using self.assertxx series in backup test

Removing unwanted files

pylint failure fix

Adding wheel.py and setup.cfg files

Adding draft recovery services module

list container working

list and show item

enable protection (part)

Enable and disable protection

Removing recoveryservices (duplicate) module

Including backup command module

Removing unwanted files

Adding test to backup

Fixed json load from input param

Extend scenario in test

cli for backup

Updated help

Fixed some bugs

bugfixes

ilr

Flake8 passing

Add manifest

item list bug fix

Deleting unwanted files

Removing unwanted files

Updating test recordings after sync with upstream

post rebase fixes - all backup tests passing

* post build checks passing

* Fixed parameter names and command tree

* Update version to 'unreleased'

* item --ids

* backup restore test working

* Enable IDs.

* policy and items tests passing --ids change

* protection named params change - protection test passing + pylint and flake8

* job named params change - pylint and flake8 passing

* rp named params change. pylint and flake8 passing.

* restore param names change. flake8 and pylint passed.

* Fixing bugs in restore and recoverypoint

* fixing item test bug

* container and policy tests passing.

* test bug fix + recordings

* backup restore and rp test recordings

* fix bug in restore test + pylint and flake8 passing.

* disabling --ids

* Table formatting for job and rp

* restore test recording

* Enhancements to user experience: added warning and help text in job and JSON related commands.

* Changes:
1. Ignored container_type and item_type
2. VM and Storage Account - Name or ID
3. restore-disks and restore-files
2017-09-15 14:06:29 -07:00
Derek Bekoe b855696857 Minor extension fix: Use CLI Core version instead (#4405)
* Can't get CLI version so use core version

* Fix tests

* Fix tests for realz
2017-09-08 14:37:29 -07:00
Derek Bekoe 8cfae0c561 Add extension feature (#4167)
* Add extension feature

- deprecate ‘az component’ message
- add tests
- add documentation

* Fix extra comma in setup.py file

* Add version checking for extensions (with tests)

* Address code review feedback

* Address code review comments and add back in license.

* Address more code review feedback

* Remove confirm param

* Print warning messages on extension commands and help

* Remove EXT_TYPE constant and just have 'whl' twice

* Show appropriate message if unable to get extension name.

* Centralize warning message

* Only get the first part of the module path to get the module name

* Print extension directory in 'az --version'

* Add logging to show extension directory in debug
2017-09-08 11:30:02 -07:00
QingChenmsft 8d24b5a405 sf ARM cli (#4132)
* service fabric arm cli

* fix
2017-08-28 10:49:18 -07:00
georgechenchao bacaf80c2c [Docs CI] Fix the bug in the batch file make.bat for generating xml files with different profiles (#4290) 2017-08-24 11:06:16 -07:00
Matt Boersma 1fd2fa60c0 [Docs] update developer commands for running linters and tests (#4293)
Thanks for the contribution!
2017-08-22 12:47:41 -07:00