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

1610 Коммитов

Автор SHA1 Сообщение Дата
Burt Bielicki befd4650a6 Make image field required on vm create. Also remove extra space below long descriptions so the text isn't broken up as much (#827) 2016-09-07 09:48:35 -07:00
erich-wang 97559a1cf6 add metadata commitid for doc help files (#822) 2016-09-06 12:13:13 -07:00
Derek Bekoe 72cf0fa77b Change section name from 'default' to 'core' (#825)
- 'core' will correspond to the core module of the CLI.
- 'default' is a special section in ConfigParser that operates differently from other sections.
2016-09-06 11:19:10 -07:00
Travis Prescott c63176662b Clean-up IDs parameters (#803)
* Fix up 'dump_command_table.py' script to work with '--ids' parameter.

* Fix ID parameter groupings.

* Add support for grandchild to resource ID.

* Add "ids" support for VMSS. Add 'grandchild' concept to arm.py to enable other scenarios.

* Allow customization of IDs help.

* Remove 'ids' help customization (for perf reasons). Override help through _help.py.

* Code review fixes.
2016-09-02 14:42:02 -07:00
Travis Prescott 65ed765254 Wrap AzurerException and ValueErrors thrown by calling commands in CLIErrors to suppress stack trace. (#813) 2016-09-02 13:51:19 -07:00
Burt Bielicki ab9a636f64 Move value source display to short summary. Fixes #634 (#814) 2016-09-02 13:08:02 -07:00
Burt Bielicki f3a803b389 Add NAT Pool to VMSS Create (#774) 2016-09-02 12:36:07 -07:00
Travis Prescott d353e4339f [Network] Reclassify 'network nic scale-set' under 'vmss nic' (#808)
* Update aliasing to move scale-set nics under the 'vmss' header.

* Move 'vmss nic' commands into the vm module.
2016-09-02 10:41:46 -07:00
Derek Bekoe 9b112e53d9 Don't use shell=True and get root dir for the dev setup to work correctly (#798) 2016-09-02 09:58:06 -07:00
Johan Stenberg (MSFT) e16ce2705a Provide UA string and x-ms-client-request-id for storage data plane operations (#809) 2016-09-02 07:17:03 -07:00
erich-wang c1b76cf983 add help doc mapping for iot module (#805) 2016-09-01 08:18:55 -07:00
Johan Stenberg (MSFT) ceff1c4f27 Provide support for reading a single parameter value from file (#738)
* Provide support for reading a single parameter value from file

Values prefixed with @ will be replaced with the content of the file immediately following the @-sign.

The pseudo-name '-' is used to indicate stdin.

* Fix accidentally deleted space (which made pylint angry)

* enable diagnostics and extensions in vmss profile (#737)

* Expose generic update parameters on existing custom updates (#735)

* Convert all updates to cli_generic_update_commands.

* Code review fixes.

* Remove inline CliArgumentType(...) registrations (#744)

* Eliminates anti-pattern of creating CliArgumentTypes inline during parameter registration.

* Minor fixes.

* Add NAT Rules to VMSS create that allow SSH/RDP by default (#743)

* Update regular expression to fix issue #147 (#747)

* Support colored output on Windows (#756)

* [Help] Help Fixes and Enhancements (#736)

* Fix issue #680.

* Initial version of help dump. Logic to extract summary.

* Fix issues #365 and #447.

* Code review fixes.

* Code review fixes.

* Fix folded parameter logic to make new optional. Update existing uses to (#766)

work with new logic.

* Treat CloudError like a CLIError (don't print stack trace) (#759)

* 'az configure' experience (default output format) (#739)

* 'az configure' experience

- Allows user to set default output type.
- Infrastructure for CLI configurations also implemented.

* Add license header & fix deprecated method

* Wrap SafeConfigParser instead of extending from it

* Code review feedback changes

* Table format revisions (#748)

* Table format revisions

- Table output is generic and automatically extracts fields from the result.
- No longer use simple_output_query as it was specific for commands and as packages will support multiple API versions, this solution is no longer feasible.

* Support callable again for table format after discussion

When a callable is set for a command, it will be used as long as there is no query active.
If there's a query active, the callable will not be used so the user has to specify a full query that can generate an appropriate table.

* Remove 'starting' message for long running operations (#767)

* Remove 'starting' message for long running operations

* Change name of poll_interval_ms as ambiguous and also change logger messages that referred to this interval

* Catch EOF to minimize stack trace craziness. (#768)

* Change simple_output_query to be table_transformer (#771)

* [Resource] Resource Tag Fix (issue 763) (#765)

* Use 'ignore_type' within resource module. Fix issue 763.

* Code review fixes.

* Only delete certain files in yml output folder during Document CI (#762)

* Update README Docker instructions. (#776)

* Fixes #772 (#779)

* Handle BrokenPipeError (#775)

* Fix issue 770.

* Fix undeclared-variable

* update a few command descriptions (#781)

* VM issue: fix #749, #753, #575 (#778)

* Add commands for Azure IoT (#730)

* Add commands for Azure IoT

* 1.Include files into azure-cli.pyproj; 2. Update license info in setup.py

* add missing pylint directive

* resolve review comments

* resolve comments

* fix typo

* [Document CI] Handle Robocopy exit code (#786)

* Generic Update enhancements. (#740)

* Fix issues #728 and #686

* Code review fixes.

* Fix Error if Non-existent Storage Account Specified (#787)

* Fix issue #784.

* Code review fix.

* vm: enable autoUpgradeMinorVersion by default (#791)

* cmd: use plurals for list-* command naming (#792)

Committer: yugangw-msft

* Ensure docstring help with unrecognized unicode characters still displays correctly. (#795)

* Provide support for reading a single parameter value from file

Values prefixed with @ will be replaced with the content of the file immediately following the @-sign.

The pseudo-name '-' is used to indicate stdin.

* Fix accidentally deleted space (which made pylint angry)
2016-08-31 15:50:05 -07:00
Yugang Wang 48bb7a22af rbac: bug fixes on create sp for rbac commands (#802) 2016-08-31 14:41:41 -07:00
Derek Bekoe 29c7e1f090 Fix config not taking default output type from config file after section name change (#801) 2016-08-31 13:54:31 -07:00
Derek Bekoe dbf730c897 [az configure] Support environment configuration with login steps (#796)
* [az configure] Support environment configuration with login steps

* Add missing license headers

* Change 'common' to 'default' for config section name

* code review changes

* Further code review changes
2016-08-31 10:17:10 -07:00
Travis Prescott 1e3d164d1d Ensure docstring help with unrecognized unicode characters still displays correctly. (#795) 2016-08-30 16:11:25 -07:00
Yugang Wang 2eeb87aa5a cmd: use plurals for list-* command naming (#792)
Committer: yugangw-msft
2016-08-30 14:39:00 -07:00
Yugang Wang 30a6e2fd1c vm: enable autoUpgradeMinorVersion by default (#791) 2016-08-30 14:38:35 -07:00
Travis Prescott e4727d8eb1 Fix Error if Non-existent Storage Account Specified (#787)
* Fix issue #784.

* Code review fix.
2016-08-30 10:49:50 -07:00
Travis Prescott ab63040980 Generic Update enhancements. (#740)
* Fix issues #728 and #686

* Code review fixes.
2016-08-30 10:14:25 -07:00
Jun Han 13fbf8f6e3 [Document CI] Handle Robocopy exit code (#786) 2016-08-30 09:41:50 -07:00
Kevin Zhao 451fede5b9 Add commands for Azure IoT (#730)
* Add commands for Azure IoT

* 1.Include files into azure-cli.pyproj; 2. Update license info in setup.py

* add missing pylint directive

* resolve review comments

* resolve comments

* fix typo
2016-08-29 18:21:39 -07:00
Yugang Wang 7faaaf5844 VM issue: fix #749, #753, #575 (#778) 2016-08-29 15:26:21 -07:00
Yugang Wang 4d5291441d update a few command descriptions (#781) 2016-08-29 15:26:07 -07:00
Travis Prescott a0f1f85a23 Handle BrokenPipeError (#775)
* Fix issue 770.

* Fix undeclared-variable
2016-08-29 14:19:20 -07:00
Derek Bekoe a7a823496f Fixes #772 (#779) 2016-08-29 12:33:36 -07:00
Travis Prescott 1a53b14d3b Update README Docker instructions. (#776) 2016-08-29 09:52:05 -07:00
Jun Han 6a2b2a3246 Only delete certain files in yml output folder during Document CI (#762) 2016-08-29 08:28:57 -07:00
Travis Prescott 2eb14a317c [Resource] Resource Tag Fix (issue 763) (#765)
* Use 'ignore_type' within resource module. Fix issue 763.

* Code review fixes.
2016-08-26 17:51:05 -07:00
Derek Bekoe 154c701c95 Change simple_output_query to be table_transformer (#771) 2016-08-26 16:06:29 -07:00
Travis Prescott df80c14cb9 Catch EOF to minimize stack trace craziness. (#768) 2016-08-26 15:48:30 -07:00
Derek Bekoe 8000d63ea9 Remove 'starting' message for long running operations (#767)
* Remove 'starting' message for long running operations

* Change name of poll_interval_ms as ambiguous and also change logger messages that referred to this interval
2016-08-26 15:08:55 -07:00
Derek Bekoe 975904d959 Table format revisions (#748)
* Table format revisions

- Table output is generic and automatically extracts fields from the result.
- No longer use simple_output_query as it was specific for commands and as packages will support multiple API versions, this solution is no longer feasible.

* Support callable again for table format after discussion

When a callable is set for a command, it will be used as long as there is no query active.
If there's a query active, the callable will not be used so the user has to specify a full query that can generate an appropriate table.
2016-08-26 14:36:56 -07:00
Derek Bekoe 7e2b7f8b85 'az configure' experience (default output format) (#739)
* 'az configure' experience

- Allows user to set default output type.
- Infrastructure for CLI configurations also implemented.

* Add license header & fix deprecated method

* Wrap SafeConfigParser instead of extending from it

* Code review feedback changes
2016-08-26 14:17:27 -07:00
Travis Prescott 90c65f004d Treat CloudError like a CLIError (don't print stack trace) (#759) 2016-08-26 13:41:35 -07:00
Travis Prescott 31bee9964c Fix folded parameter logic to make new optional. Update existing uses to (#766)
work with new logic.
2016-08-26 13:37:02 -07:00
Travis Prescott 18a48e6170 [Help] Help Fixes and Enhancements (#736)
* Fix issue #680.

* Initial version of help dump. Logic to extract summary.

* Fix issues #365 and #447.

* Code review fixes.

* Code review fixes.
2016-08-25 14:51:00 -07:00
Derek Bekoe bd4fe82720 Support colored output on Windows (#756) 2016-08-25 14:50:06 -07:00
Travis Prescott c00b7c1139 Update regular expression to fix issue #147 (#747) 2016-08-25 10:11:32 -07:00
Burt Bielicki f06c94f4c9 Add NAT Rules to VMSS create that allow SSH/RDP by default (#743) 2016-08-24 16:32:58 -07:00
Travis Prescott eabe4e85aa Remove inline CliArgumentType(...) registrations (#744)
* Eliminates anti-pattern of creating CliArgumentTypes inline during parameter registration.

* Minor fixes.
2016-08-24 16:01:10 -07:00
Travis Prescott d3403dcc4a Expose generic update parameters on existing custom updates (#735)
* Convert all updates to cli_generic_update_commands.

* Code review fixes.
2016-08-24 15:32:11 -07:00
Burt Bielicki 007eefac81 enable diagnostics and extensions in vmss profile (#737) 2016-08-24 15:17:14 -07:00
Burt Bielicki a6412f59cd Commands/network dns (#718)
* Network Traffic Manager commands

* Network DNS commands
2016-08-22 15:30:15 -07:00
Johan Stenberg (MSFT) f5f4ab401e Add redis cache create custom command (#725)
* Add redis cache create custom command

* Address code review feedback:
- Use enum values to populate choice lists instead of hard-coded enum lists
- Remove bogus default values for the sku_* parameters since they are all required.
- Fixed range which was off-by-one for sku capacity.

* Add space after commas in help text
2016-08-22 15:15:47 -07:00
Jun Han 3b7edb0e2b Config git credential before git clone since the content repo is private for now (#726) 2016-08-22 13:01:28 -07:00
Travis Prescott 731ba13ac7 Add dump_help.py script. (#723) 2016-08-22 08:23:17 -07:00
Travis Prescott d8b338a1a9 Fix issue #720. (#724) 2016-08-19 23:58:15 -07:00
Derek Bekoe a08cee736d An alternative docker instructions (#722)
* An alternative docker instructions

* Add code prefix to `az` text

* ~/.azure2 to ~/.azure in doc
2016-08-19 15:04:00 -07:00
Travis Prescott ee4d1b92e8 [Storage] Storage Updates Round 3 (#702)
* Storage module finishing touches.

Fix issue #421.

Add table outputs for service proprties.

* Fix issue #421.

* Finish 3rd round work.

* Code review feedback.

* Address code review feedback.

* Code review feedback.
2016-08-19 13:07:51 -07:00