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

298 Коммитов

Автор SHA1 Сообщение Дата
Travis Prescott d1ada06ba4
[Monitor] Re-enable Autoscale recorded tests (#5762)
* Re-enable Autoscale recorded tests.  Re-record tests.

* Update recordings.

* Re-re-record tests.

* Re-re-re-record tests.  This is getting so fun.

* Convert timezone command to Live test.
2018-03-13 16:53:28 -07:00
Willie Xu 83fb2aef72
Better Completer responsiveness in interactive after command table loaded (#5794)
* improved completer responsiveness upon command table load

* history and version bump

* mock create_interface()

* delay create_interface and remove refresh_cli flag

* close file descriptor
2018-03-13 12:28:58 -07:00
Travis Prescott 60d4a67eef
[DNS] Fix DNS import/export issues. (#5346)
* Fix DNS zone export. Add `--file-name` to DNS zone export.

* Update history.

* Fix #5362.

* Restructure DNS tests.
2018-01-23 15:16:38 -08:00
Travis Prescott 03a21635f2
[VM/Network] Update template-based creates to use secureString when appropriate (#5336)
* Update admin-password to use securestring.

* Resolve conflicts.

* Add another recording.

* Fix run_tests. Fix broken ExpressRoute test. Update project files for test folder adjustment.
2018-01-19 10:56:53 -08:00
Travis Prescott 0ea1fcf2f8
Close #5309. (#5311) 2018-01-17 08:41:41 -08:00
YingXue 84016fb6ab Ying/dps knack (#5197)
* first commit of knack

* added commands and helps

* update parms for dps

* add dps commands implementations

* update command show to get

* updated resource id and tests

* update dps location for test

* update history log

* update history log

* update a few verbs and pyproj file

* update help string and run check style

* update sdk

* check style update

* relax test check

* update test to be more efficient

* update yaml recording based on the new tests

* update test yaml

* update histroy and convert to live tests only
2018-01-05 10:34:32 -08:00
Troy Dai 04518e852d Sync Knack branc with dev 2017-12-19 18:35:27 -08:00
Travis Prescott 0ce3106fc0
Convert Monitor module. (#5125) 2017-12-18 12:35:22 -08:00
Travis Prescott bc0f92d0d7
Convert CosmosDB to Knack (#5118) 2017-12-18 11:52:43 -08:00
Travis Prescott 649ec1f6be
Convert backup module. (#5119) 2017-12-15 18:12:33 -08:00
Travis Prescott 2ade645528
DataLake Knack conversion (#5100)
* DataLake conversion.

* Re-enable most modules for static checks.

* Fix up linter issues with RDBMS and VM modules.

* Updates for latest pylint and stuff. :/

* Updates for latest pylint and stuff. :/

* Code review feedback.
2017-12-15 14:36:49 -08:00
Travis Prescott dc3675fb60
Knack kwarg simplification. (#5074)
* Kwarg simplification.

* More kwarg tweaks.

* More fixes.

* Code review feedback.

* Fix client factory issues.
2017-12-13 10:12:36 -08:00
Travis Prescott 6cba2b364f
KeyVault Module Conversion (#5063)
* KeyVault conversion.

* Fix up CI. (woot!)
2017-12-08 10:34:15 -08:00
Yugang Wang baafddffa0
sql: knack conversion (#5027) 2017-12-04 15:20:16 -08:00
Travis Prescott 178dc41b88
Fix generic update on Knack (#5021)
* Fix generic update. Relocate command group and argument context.

* Rename and relocation the base command group and argument context objects
2017-12-01 14:14:25 -08:00
Travis Prescott 644e9f8691
Cumulative Knack work.
Compute/RDBMS progress.
2017-11-20 13:38:12 -08:00
Derek Bekoe 8346147d0d Cumulative Knack update 2017-11-13 11:42:14 -08:00
Andrew Buckley 55b7b73170 Azure IoT CA functionality (#4804)
* Adds support for X.509 Certificates in IoT Hub.

* Modifies release notes and changes help link.

* Cleans up .gitignore, and HISTORY.rst. Passes a single factory in commands.py. Moves test utilities. Adds a file completer.

* Updates style after rebase based on additional linter restrictions.
2017-11-07 15:20:56 -08:00
Travis Prescott 457c6067f3
[Network] Fix traffic-manager update command. (#4777)
* Fix traffic-manager update command.

* Code review feedback.
2017-10-27 13:55:30 -07:00
Yugang Wang bf3ef28f9d remove provider auto-reg logics as msrest runtime will do it (#4622) 2017-10-06 09:54:28 -07:00
vivsriaus 9b6260c8a0 Add policy set definition commands (#4515)
* Initial commit for policy set definition commands

* Add sku, policysetdefinition to policy assignment create

* move policy set definition under api check

* Address some feedback

* Add notScopes to assignment create, new record for existing test to ensure no regression

* Fix not scopes issues

* fix pylint issue

* Check for free sku in policy assignment

* Add checks for not scopes

* Add policy set tests

* Fix policy record

* Fix pylint

* nits

* Fix CI issue

* Fix error message format

* fix check style issue
2017-09-26 14:49:46 -07:00
Travis Prescott 4d384380f5 Ignite features. (#4456) 2017-09-19 15:29:49 -07:00
Travis Prescott fd66e332fc Fix broken proj file and monitor help. (#4468) 2017-09-18 16:01:22 -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
J. Kalyana Sundaram db283fe59a Azure Event Grid: Updated to use latest Python SDK generated based on 2017-09-15-preview (#4434)
* First version of Azure EventGrid CLI

* Added azure_bdist_wheel.py, setup.cfg, and manifest.in files.

* Added license headers in 34 files, updated an example in the help file to include additional info.

* Aliased --is-subject-case-sensitive to --subject-case-sensitive.

* Add SDK, models and operations to setup.py

* Updated history to account for this change.

* Take dependency on 0.2.0 version of the azure-mgmt-eventgrid Python SDK package.

* Updated History to include the notes for the current release.

* Regenerated the test recordings based on the latest code.

* Fixed the linter errors.

* Fixed a typo in the examples in the help file.
2017-09-18 11:24:04 -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
Travis Prescott d479bd6a04 [Network] Add Load Balancer SKU support (#4292)
* Add SKU to LB create and VMSS create.

* Add SKU support to public-ip. Add VMSS create and LB create tests.

* Code review comments.

* Re-record tests and code review feedback.

* Code review comments.
2017-08-24 16:14:27 -07:00
J. Kalyana Sundaram 4f6eb33c6d Azure EventGrid CLI (#4190)
* First version of Azure EventGrid CLI

* Added azure_bdist_wheel.py, setup.cfg, and manifest.in files.

* Added license headers in 34 files, updated an example in the help file to include additional info.

* Aliased --is-subject-case-sensitive to --subject-case-sensitive.
2017-08-10 14:22:41 -07:00
Travis Prescott 3f474a37c9 [Network] Add AppGateway subresource tests (#4137)
* Add app gateway tests.

* Fix recording.

* Add more tests.

* Add app-gateway probe test.

* Add app-gateway rule test

* Fix three_state_flag.
2017-08-07 15:07:32 -07:00
Travis Prescott 08769b352a [VMSS] Fix issue when creating scale set with existing LB/AG (#4001)
* Fix #3986.

* Add defaulting logic for existing LB/AG
2017-07-11 15:31:22 -07:00
Travis Prescott d99362eae3 [VM/VMSS] Improve create validation (#3950)
* Investigation

* Fix #3857.

* VM/VMSS debugging statements.

* Add debugging statements to VM/VMSS create.

* Rebase conflicts

* Fix issue with default admin username.

* Re-record tests.
2017-07-03 17:28:16 -07:00
Travis Prescott 9badaecec5 [ARM] Improve deployment parameter parsing (#3850)
* Move parameter logic from validator to custom command.

* Add test files.

* Enhance test coverage.

* Re-tests

* Re-record tests.
2017-06-27 09:39:40 -07:00
Travis Prescott f3af11873a Update Visual Studio proj files for relocated tests. (#3854) 2017-06-22 09:54:11 -07:00
Travis Prescott 460a9f4082 Add generic exception handling for template progress reporting (#3799)
* Close #3795.

* Code review feedback.
2017-06-21 13:49:17 -07:00
Mohammad Derakhshani 0ef94e4176 cosmosdb: add support for default ttl (#3761)
* documentdb cli minor improvement

* updates help description for credentials
* minor change to formatting of failure error message
* --coll-name changed to --collection-name

* documentdb: minor error message change

* pyproj updated to include all cosmosdb files

* cosmosdb: add support for collection default ttl

* cosmosdb: history file updated

* updated pyproj files

* fixed code style

* cosmosdb: review comments addressed

* addressed code style issue

* code style issue fixed

* logic simplified

* fixed history

* remove unwanted stashed changes

* remove unwanted files
2017-06-19 22:04:16 -07:00
Travis Prescott 757e40d2c9 Fix deployment parameters parsing and update test (#3743) 2017-06-15 16:59:37 -07:00
Travis Prescott 3753b503aa [ARM] Add KEY=VALUE syntax for deployment create (#3637)
* Merry progress.

* Refactoring progress.

* Finish implementation.

* Finishing touches.
2017-06-09 10:41:00 -07:00
Jared Moore e897601224 Add sql show-capabilities command (#3444)
* Implemented sql show-capabilities command

* Separate filter and search argument groups

* Beginning support for elastic pool capabilities

* Fixed errors loading sdk operations

* Design change: prune based on depth

* Added capabilities help and examples

* More capabilities help

* Add test stub and fix lint errors

* Added first verification

* Fixed prune by depth logic

* Split up db and pool capabilities

* Added show param to db capabilities

* Pool capability params

* Case insensitive comparison

* Hide with empty instead of deleting

* Initial tests for capabilities

* Help for new db/pool capabilities commands

* Fix style

* details -> detail (better?) and documented dtu param

* Fixed test failures

* Fixed style-related feedback

* Removed VS upgrade log

* Removed 'is not None' per feedback

* Reverted parameters.py change

* Finished capabilities testing

* Add storage/max-size alias to elastic-pool create

* `is None` -> `not`

* FIxed indentation

* `--show-details`/`-d` to harmonize with `az vm show`

* Add Search arg group for pool capabilities

* Fixed style errors

* Simplify list comprehension with truthiness

* Renamed to list-editions; removed enum check on edition/slo args

* Fixed wonky help text

* Fixed pylint

* Added comments regarding elastic-pool param names

* Fixed testsdk style error

* Added history.rst entry for list-editions commands

* Fixed syntax error on python 2
2017-05-31 16:26:12 -07:00
Panda Wang 40c111b3da CLI commands for azure billing and consumption (#3402) 2017-05-25 14:03:24 -07:00
annatisch 1203e0d28b Batch SDK update (#3370)
* Updated SDK version dependency

* Merged restructured test suite

* Added cmd output checks

* SDK updates and test fixes

* Re-recorded tests

* Re-recorded tests

* doc update

* style fixes

* More style fixes
2017-05-19 15:18:25 -07:00
Travis Prescott af91c60f1d [Monitor] Revised Alert Rule Commands (#3373)
* Progress on new alert rules.

* Fix alert rules client.

* Alternate alert rule create.

* Progress.

* Add mechanism to support resource name components or ID.

* Continue work

* Alert rule progress.

* Finish up work on alert update.

* Tests and tweaks.

* Code review feedback.

* Add custom exception handler to fix #3334.
2017-05-18 10:36:25 -07:00
Travis Prescott 93b5b4baa5 [VM] `vm open-port` fix (#3354)
* Do not update the NIC/subnet unless NSG had to be created.

* Fix test and change output to always output the NSG.
2017-05-17 08:29:16 -07:00
Travis Prescott 5df3cbf40b Case insensitive command path and tests. (#3355) 2017-05-15 16:47:45 -07:00
Travis Prescott 3e10c0fcee [Role] Service Principal KeyVault integration (#3133)
* Progress

* Support KeyVault scenarios on create-for-rbac

* Update reset-credentials to mirror create-for-rbac KeyVault logic.

* Add tests

* T/S invalid start/end date.

* Refactor logic.

* Fix GetDefaultPolicy entries for Python2.

* Workaround for RoleCreateScenarioTest issues.

* Update release notes.

* Consolidate --cert and --cert-name.  Update help.  Refactor validation.

* Code review feedback.

* Update version

* Revert KeyVault dataplane version.

* Code review comments.

* Refactor tests to ensure app ID is deleted.
2017-05-11 10:16:22 -07:00
Suna Liu b397cd1f06 [RDBMS] Add Test Scenarios (#3240)
* Add test cases for mysql and postgrs command module

* Add test recordings

* Address comments and refresh recordings
2017-05-11 07:43:15 -07:00
Travis Prescott 047d00e9b9 Verify multi-NIC order. (#3266) 2017-05-10 12:11:27 -07:00
vivsriaus 873f3d6ebb Update default arm api version, update ARM package, add test for CrossRG (#3256) 2017-05-08 20:51:58 -07:00
Suna Liu c88ef10875 [RDBMS] MySQL/Postgres command support (#3236)
* Initial commit for mysql and postgres command module

* Remove test files, will add them and recordings later

* Remove test files in proj file
2017-05-08 12:22:56 -07:00
Sarthak Narang 890155527a Removing az container module (#3156)
* Removing az container module

* Reverting formatting change.
2017-05-03 15:38:27 -07:00
Yugang Wang eb1b2192bc FunctionApp: basic operations (#3146) 2017-05-03 10:32:22 -07:00