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

194 Коммитов

Автор SHA1 Сообщение Дата
Travis Prescott b4431dbd34 [ExpressRoute] Express Route fixes (#1194) *breaking changes*
BC: express-route service-providers list changed to express-route list-service-providers
BC: express-route circuit commands moved up to simply express-route
BC: express-route circuit-auth and express-route circuit-peering subgroups renamed to auth and peering respectively
BC: express-route peering create no longer creates a circuit (must be created with express-route create) 
BC: various parameter name aliases have been changed
BC: removes authentication_key from express-route auth create because this API call generates a random key regardless of the value passed in
BC: removes the express-route auth update command as the service call fails when calling create_or_update on an existing authentication entry rather than generating a new auth key, rendering this command worthless.
2016-11-01 16:57:46 -07:00
Travis Prescott 79ea99cb33 [KeyVault] Round 2: Certificate Baseline Commands (#1164)
* KeyVault certificate commands.

* Code review comments.

* Remove "newAdmin" key and force Python 2 to behave.
2016-10-27 14:12:50 -07:00
Travis Prescott d72cfaa7f2 [KeyVault] Onboard KeyVault Round 1 (#1037)
* Initial KeyVault data plane commands and management plane revisions.

* Code review comments.

* Bump to wake up CI.

* Bump to wake up CI.

* Fix imports.

* Updates to setup.py

* Updates to setup.py

* Update vault_base_url
2016-10-10 13:18:52 -07:00
Yugang Wang a4f5c357fe webapp: polish LRO failures (#1032)
* webapp: polish LRO failures

* fix pylint error

* fix test failure

* rerecord test
2016-10-06 09:51:10 -07:00
Travis Prescott f4c3223801 Fix VNET and storage account defaulting logic. (#1012)
* Fix VNET and storage account defaulting logic.

* Address code review comments.

* Re-record another test.
2016-09-29 10:03:13 -07:00
Yugang Wang 131d36a96e fix diagnostics commands (#915)
* fix diagnostics commands

* remove out of date tests

* remove useless parameter
2016-09-22 20:06:11 -07:00
Yugang Wang e1ecdd1f5c webapp: basic support for plan, webapp, git, diagnostics (#871) 2016-09-14 16:37:19 -07:00
Burt Bielicki 53844cc40d telemetry infrastructure and initial instrumentation (#865) 2016-09-14 08:43:08 -07:00
Travis Prescott 70e7f0242b Fix startup file. (#861) 2016-09-12 09:03:24 -07:00
Travis Prescott c578f6901a Update VS project file. (#848) 2016-09-09 08:30:04 -07:00
Travis Prescott 04db046634 [Storage] Service Team Feeback Fixes Part 1 (#804)
* Storage Team code review.

* Code review fixes.

* Post review meeting fixes.

* Code review fixes.

* Code review fixes.

* Code review fixes.

* Always count on Pylint to ruin your perfect commit.
2016-09-07 16:25:55 -07:00
Burt Bielicki 8485468711 Zone import/export. Using a local copy of zone_file for now while we wait for the PRs to go through. (#826) 2016-09-07 15:23:44 -07:00
Burt Bielicki f3a803b389 Add NAT Pool to VMSS Create (#774) 2016-09-02 12:36:07 -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
Burt Bielicki f06c94f4c9 Add NAT Rules to VMSS create that allow SSH/RDP by default (#743) 2016-08-24 16:32:58 -07:00
Burt Bielicki a6412f59cd Commands/network dns (#718)
* Network Traffic Manager commands

* Network DNS commands
2016-08-22 15:30:15 -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
Burt Bielicki 511a72a527 Network Traffic Manager commands (#708) 2016-08-18 15:37:14 -07:00
Burt Bielicki 05ed5812e3 Create vnet gateway (#687)
Create VPN connection

Create route

Create vnet gateway root cert

Add support for custom update params.  Add address-prefix update param for vpn-gateway.

Create/delete root and revoked certs

Create express route circuit

create express route peering

create express route authorization

Merge changes from master

Add tests for VPN gateway and connection

code review feedback
2016-08-16 10:18:19 -07:00
Burt Bielicki e136876bc8 Commands/network IT (#668)
* Create vnet gateway

* create local gateway

* create route table

* remove static private ip address in favor of generic update since this is an advanced IT scenario
2016-08-10 13:50:22 -07:00
Yugang Wang 6b906d6b49 RBAC/Graph: Application and ServicePrincipal create, list & show (#664) 2016-08-09 15:07:39 -07:00
Burt Bielicki ef79c15e40 Add _help.py files for each module (#671) 2016-08-09 10:56:48 -07:00
Travis Prescott a299a2d0af NIC Command Updates and Subresources (#592)
* NIC command updates.

* Code review fixes.
2016-08-02 16:05:40 -07:00
Yugang Wang eb8608c494 fix #560/broken ARM templates gives bad error message (#565)
Author:    yugangw-msft <yugangw@microsoft.com>
2016-08-01 13:40:46 -07:00
Burt Bielicki 23ae073124 Generic Update Command support. (#558)
* Generic Update Command support.  Allows an update command (e.g. az vm
update) to be registered, which then updates fields with a generic
set/add/remove syntax.

* Use namespace to store ordered arguments and add a test for --ids param
2016-07-29 14:54:08 -07:00
Yugang Wang 385df00e9f basic graph object read for erasier role assignment creation (#553) 2016-07-28 11:38:27 -07:00
Johan Stenberg (MSFT) dbf4a529ab Basic support for redis cache (#542)
* Initial "bronze level" redis cache implementation

* Add some more semantic type information for parameters

* Fix broken choice list for key_type

* - Add output support for datetime.timedelta (simply calling str in it for now)
- Add support for redis patch-schedule (including basic support for set by passing in a json object

* Pylint fixes + missed changes from refactoring of parameter names

* Update license per code review comments
2016-07-25 11:28:01 -07:00
Burt Bielicki 157db18c19 Add tagging to VM and WebApp, refactor to eliminate nested templates (#538)
* Add tagging to VM and WebApp, refactor to eliminate nested templates

* Add copyright headers to generated files.  Also add a script that can auto-add the copyright to all *.py files.  Update the generate smart create script to add headers so we don't have to run the auto-add script after regenerating.
2016-07-21 15:30:55 -07:00
Burt Bielicki e5a16ad5e1 Commands/tagging2 (#534)
* Add tagging to LB, refactor to eliminate nested templates

* Add tagging to App Gateway, refactor to eliminate nested templates
2016-07-20 10:43:25 -07:00
Burt Bielicki 220f0e6412 Add tagging support to network create commands. Refactor templates to use master copies. (#532) 2016-07-19 16:02:51 -07:00
Travis Prescott b699dfd77d Application-Gateway Create (#477)
* First version of 'application gateway create'.

* Add application-gateway creation tests.

* Add validator for address prefixes.

* Code review feedback.

* Add application gateway completers.

* Code review fix.
2016-07-12 12:42:20 -07:00
Johan Stenberg (MSFT) 631017d798 Refactor AzureResourceId class and rename azure_resource_id to arm (#505)
* Rename the azure_resource_id module to arm as it provides generally usable ARM commands.

Also changed the parsing/creation of resource IDs to functions instead of having a class

* Fix minor bug where is_valid_resource_id throws if invalid id is passed in instead of returning Falsy.

* Partially working

* Fix up pylint violation in arm.py
Fix splitting bug for resource types in param_folding.
Fix missing import of argparse in network/_validatorys.py

* Fix broken merge from upstream still referencing now defunct AzureResourceId class

* Fix up lint errors

* Code review feedback.

- Moved parameter folding to central location (template_create module)
- Moved basic id validation from validator to type to get correct argument name in error message

* Update changes from upstream to work with new parameter folding/resource id refactoring

* Remove accidentally added newline
2016-07-07 18:30:31 -07:00
Burt Bielicki 5349089ac1 VM Enhancements Round 1 (#485)
* update AzureResourceId to strip whitespace and quotes (which are often passed in from the command line, especially from jmespath query results)

* change default vm size, fix output bug for multi-nic vms

* Fold VM Create Params

* Fold VM params part 2

* update tests to work with output adjustments

* Fix name collisions on delete/re-create.  Add fail if VM already exists with --force option to override.

* Add default so vm create help shows automatic SSH key read capability.

* Re-record VM tests, change os disk default to CLI-side

* update example text, move os-disk-name calculation to validator, remove
--force

* Update VM Create tests
2016-07-06 17:34:17 -07:00
Travis Prescott ffc7a6f06e Load Balancer Subresource Commands (#449)
* Alter LB create to be more bare-bones. Add supporting commands.

* Fix decorator issue with Python 2.7

* Address code review comments and add automated tests.

* Restore default backend address pool.

* Name/id parameter folding.

* Code review fixes.
2016-07-05 13:47:01 -07:00
Yugang Wang 95590e7a0f commands: group deployment validate & export (#464) 2016-06-29 11:36:04 -07:00
Burt Bielicki e25b9227a1 fold params into a single create/reference field for web app hosting plan (#446) 2016-06-28 14:45:03 -07:00
Yugang Wang 7e9bb65571 bug: fix #439 by validating & refreshing token before each rest call (#443) 2016-06-22 15:58:33 -07:00
Travis Prescott d440d252f8 NIC Smart Create (#430)
* Add NIC create smart create. Fix issues with deployment-name generation.

* Add public IP.  Add params for load balancer NAT rules and address pools (not implemented yet).

* Code review fixes.
2016-06-22 15:35:33 -07:00
Yugang Wang 171ad01f44 Bug: fix #123 so return error code on CLIError (#442) 2016-06-22 11:42:01 -07:00
Burt Bielicki 0b3b6fd9e1 Commands/create vm outputs2 (#441)
* procure vm create outputs

* merge renames and add ID output
2016-06-22 09:31:53 -07:00
Burt Bielicki d9e2b69659 Commands/create vm (#435)
* VM Create: Add support for multiple existing NICs

* Rename vm mgmt folder
2016-06-21 15:28:47 -07:00
Travis Prescott 76857d6a32 Fix Load Balancer Outputs and Tests (#418)
* Fix lack of load balancer outputs. Update load balancer test to include
creation.

* Final code review comments.

* Address issue #347.
2016-06-16 15:31:33 -07:00
Travis Prescott 3d4f7ee1e0 Refactor test framework (#397)
* Initial refactoring work.

* Code review fixes
2016-06-16 09:54:57 -07:00
Travis Prescott 04f06aaab7 Add test plan and update VCR test to cover the test plan. 2016-06-13 17:01:00 -07:00
Travis Prescott 46f3a49a4a Created versioned 'public_ip_address' create. Add scripts for automated
smare creates.
2016-06-13 16:58:57 -07:00
Burt Bielicki fbbe37234b rename _help_files to help_files. Move test code out of help_files … (#380)
* rename _help_files to help_files.  Move test code out of help_files  Remove help doc gen.
2016-06-10 15:30:13 -07:00
Burt Bielicki 25a24d75fe Create NSG command and test (#366)
* Create NSG command and test

* Create NSG Rule command, remove rules from NSG create

* Create NSG rule create and test
2016-06-09 16:07:50 -07:00
Yugang Wang 239572f2a0 vm command: support capture (#381)
* vm command: support capture

* command: vm capture need not take a file option for template content
2016-06-09 15:17:52 -07:00
Yugang Wang 3a19a05c6f tests: convert VM and network vcr tests into python unit test (#367)
tests: convert VM and network vcr tests into python unit test
2016-06-07 17:34:44 -07:00
Burt Bielicki e8f3bfdb86 VM/VMSS test plan (#359)
* version VMSS templates, add test plan, update params to match VM

add support for custom images in vm create

* add handle auth types to scaleset add missing behavior for custom images
to VMSS

* add custom image support to vm create

implement custom vhd support for vm create

* fix merge errors

* fix some commands that broke during the command registration changes
2016-06-07 16:18:49 -07:00