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

7671 Коммитов

Автор SHA1 Сообщение Дата
Graham Zuber d8f63caf1a
Remove preview flag from Java 11. (#15351) 2020-09-30 09:34:57 +08:00
Xiaojian Xu 6b544ffb1b
{Config} Change local context on/off error to warning (#15345) 2020-09-30 09:04:33 +08:00
Jiashuo Li 6dd3bc9472
[Role] Fix #15278: az role assignment list/delete: Forbid empty string arguments (#15282)
* Forbid empty string

* remove extra scope check

* rename test

* rename
2020-09-30 09:04:14 +08:00
hivyas e015d5bcba
[AMS] Fix #14687: Mixed resource group and account name in command "az ams streaming-endpoint show" #14687 (#15251)
* reverting changes for ASK key

* reverting changes

* updated ams module to dec 2019 swagger

* added test cases

* added ability to update offlinerental

* fixed audio language bug

* fixing requirements*.txt files

* Fixed transforms test case and national bug

* updated content key policy tests

* fixed style and lint errors

* made az ams sp create idempotent

* fixed typo and updated help text

* switched resource group with account name

* updated test cases
2020-09-30 08:44:39 +08:00
Feiyue Yu e5d48764db
{Sql} Fix test_sql_db_import_export_mgmt, test_sql_firewall_mgmt, tes… (#15342)
* {Sql} Fix test_sql_db_import_export_mgmt, test_sql_firewall_mgmt, test_sql_mi_operation_mgmt, test_sql_server_connection_policy, test_sql_server_dns_alias_mgmt, test_sql_server_minimal_tls_version, test_sql_tde, test_sql_tdebyok, test_sql_zone_resilient_database, test_sql_zone_resilient_pool

* test_sql_mi_operation_mgmt
2020-09-29 19:10:03 +08:00
Zunli Hu 49ce3a8f36
GA (#15344) 2020-09-29 15:41:03 +08:00
Milan Brkic fb7d72c90e
[SQL] az sql midb log-replay: Support for log replay service on managed database (#15168)
* {Docs} Remove stale reference in README to closed issue about extensions (#12771)

* midb log-replay commands

* fixed tests and styles

* Fixing alias for some params

* making things right

* Typos and wait command

* add wait command in help file

* reverting changes that are not part of my change

* setup file changed by mistake

* removed group create

* fix key vault issues

* Added examples for log-replay wait command and fixed typos

Co-authored-by: Daniel Miller <daniel.keegan.miller@gmail.com>
Co-authored-by: Azure CLI Team <AzPyCLI@microsoft.com>
Co-authored-by: Milan Brkic <mibrkic@microsoft.com>
2020-09-29 15:37:18 +08:00
aim-for-better 9ee8122885
[HDInsight] Add parameter `--idbroker` to support customer to create ESP cluster with HDInsight Id Broker (#15309)
* {Docs} Remove stale reference in README to closed issue about extensions (#12771)

* Add parameter --idbroker to support esp with HIB

* change broker to Broker in parameter help.

Co-authored-by: Daniel Miller <daniel.keegan.miller@gmail.com>
Co-authored-by: Azure CLI Team <AzPyCLI@microsoft.com>
Co-authored-by: Zhenyu Zhou <zhezhou@microsoft.com>
2020-09-28 19:12:02 +08:00
Zunli Hu 74f7683ef3
{Release} Hotfix: Upgrade version to 2.12.1 (#15324)
* upgrade version

* upgrade version
2020-09-28 16:35:48 +08:00
Feng Zhou 8f3b5cc83e
{KeyVault} Hotfix: Fix CloudSuffixNotSetException while using `az keyvault` in Azure Stack and Air-Gaped Cloud (#15321) 2020-09-28 15:09:05 +08:00
Feiyue Yu 3d89040f4f
[Compute] Fix host group creation FD count limitation (#15316) 2020-09-28 13:44:11 +08:00
Zunli Hu 3d4643447d
add codeowner (#15325) 2020-09-28 13:29:15 +08:00
arde0708 23801a42fd
[RDBMS] Hotfix: `az postgres flexible-server create` : Update VnetName to exclude servername and update default region for MySQL (#15295)
* hotfix chnages

* Remove - from password if thats the first character

* Style check fix and Mysql sku

* Remove MySQL SKU validator

* Remove MySQL SKu and tier validators
2020-09-28 11:35:09 +08:00
Zunli Hu 66b9767bfc
add oauth_cmd in test (#15317) 2020-09-27 15:11:42 +08:00
Zunli Hu 2ce9d718ce
{codeowner} update codeowner (#15315)
* update

* update codeowner
2020-09-27 11:19:08 +08:00
Shuai Wang ccd34c086f
Fix test bug (#15310) 2020-09-27 10:55:20 +08:00
wbradmoore 2907525fbc
[Lab] Fix for issue #14127 __init__() takes 1 positional argument but 2 were given (#14827)
* wip. laptop is borked

* Update custom.py

Co-authored-by: W Brad Moore <wimoore@microsoft.com>
2020-09-27 10:31:01 +08:00
Feiyue Yu 2067936fd5
{Test} Pipeline update (#15307)
* fix a pipe bug

* fix a db bug

* history

* log

* history

* Update pipeline run title

* Generate index.html of HTML files of testing results. Design a unique representation of a pipeline run.

* Make storage account container public

* style

* fix a minor bug

* upload index.html

* pip install requests

* index.html

* index.html

* index.html

* resolve comment
2020-09-27 10:02:36 +08:00
Chou Hu fb36b75011
[AKS] az aks create/update: Add LicenseType support for Windows (#15257) 2020-09-27 09:34:12 +08:00
Kaiqi Zhang b3600986f1
Expect kube-dashboard addon be disabled by default (#15267)
Co-authored-by: Kaiqi Zhang <kaiqzhan@microsoft.com>
2020-09-27 09:32:59 +08:00
Feng Zhou 0d4487455e
{Test} Fix some live tests for acr, appservice, backup, netappfiles, batch (#15245) 2020-09-25 17:12:32 +08:00
Bin Ma d410295cd8
{KeyVault} Add examples for `az keyvault set-policy` (#15219) 2020-09-25 17:09:43 +08:00
Bin Ma 112cc57ea3
[KeyVault] Support `--hsm-name` for `az keyvault key encrypt/decrypt` (#15218) 2020-09-25 17:09:08 +08:00
Bin Ma a1dc54dd01
{KeyVault} Use absolute references instead of relative references (#15191) 2020-09-25 17:08:45 +08:00
Bin Ma 2cd62de349
{KeyVault} Fix CloudSuffixNotSetException while using `az keyvault` in Azure Stack and Air-Gaped Cloud (#15298) 2020-09-25 13:22:59 +08:00
Sajay Antony 2ec644d84e
[ACR] Fix helm url with non-regional aka.ms link (#15293) 2020-09-25 10:44:34 +08:00
Rachel Kim fa9e98d5e9
[SQL VM] `az sql vm show`: Add configuration options to --expand flag (#15156)
* {Docs} Remove stale reference in README to closed issue about extensions (#12771)

* Added more sqlvm configuration options to --expand flag

* style changes to comply with pylint and pep8 format

* removed commments in HISTORY.rst

* refactored expand params to use nargs=+ design pattern

Co-authored-by: Daniel Miller <daniel.keegan.miller@gmail.com>
Co-authored-by: Azure CLI Team <AzPyCLI@microsoft.com>
2020-09-25 09:47:52 +08:00
Frank Gao 9bc39ba299
[AKS] Add node image only option for CLI (#15250)
* Add node image only option for CLI

* line to long

* not too many

* move down

* add some tests
2020-09-25 08:55:00 +08:00
Jianhui Harold 6a0e60abaa
{Network} Update help message for vrouter (#15284) 2020-09-24 18:40:04 +08:00
Dania Etienne b232ed96b0
[ARM] az ts: Add new commands for template specs ; [ARM] az deployment : Add support for --template-spec -s (#14448)
* {Docs} Remove stale reference in README to closed issue about extensions (#12771)

* Preliminary changes made to add support for template-specs

* Reconfiguration

* validate function error rectified

* validate command works for template-uri

* Template-specs deployment works at resource-group level

* Group deployment updated to function with 2020 SDK

* validate with template specs added

* Management scope and tenant scope errors fixed

* Template-Specs Deployment Added

* Template-Specs Deployment Added

* Updated test cases and removed unnecessary comments

* Removed test cases from launch.json

* Uncommented test case

* Cleaned up repo

* Cleaned up repo

* Style checks complete, template_spec parameter placed at the end, time stamp added to deployment_name, excess file removed in commit, launch,json reverted

* Fixed failing CLI Check Test

* Merged with /dev

* Added template-specs command group, added help

* Create or update template spec functioning

* packing engine packing mechanism complete

* Template-Specs CRUD Implemented, Artifacts has full support, added test cases and testing files

* Updated template-specs CRUD tests and template-specs deployment-tests

* Updated all tests for template-specs

* Updated tests

* Fixed style and linter

* Uncommented test case

* Fixed linter resource:

* merged with dev

* merged

* Fixed merge errors

* Fixed json parsing errors

* Revert changed deployment name

* Revert changed deployment name

* deleted extra deployment object causing bot error

* Revered launch.json changes

* Removed unnecessary changes

* Reinstalled requirements, fixed resource linter and style

* Update src/azure-cli/azure/cli/command_modules/resource/_help.py

Co-authored-by: Xing Zhou <Zhou.Xing@microsoft.com>

* Update src/azure-cli/azure/cli/command_modules/resource/_help.py

Co-authored-by: Xing Zhou <Zhou.Xing@microsoft.com>

* Update src/azure-cli/azure/cli/command_modules/resource/_validators.py

Co-authored-by: Xing Zhou <Zhou.Xing@microsoft.com>

* Update src/azure-cli/azure/cli/command_modules/resource/_help.py

Co-authored-by: Xing Zhou <Zhou.Xing@microsoft.com>

* Update src/azure-cli/azure/cli/command_modules/resource/_help.py

Co-authored-by: Xing Zhou <Zhou.Xing@microsoft.com>

* Update src/azure-cli/azure/cli/command_modules/resource/_help.py

Co-authored-by: Xing Zhou <Zhou.Xing@microsoft.com>

* Small syntax suggested by reviewers made

* Removed unnecessary changes in test_resource

* Merged recordings

* Changed python path in launch.json

* recorded deployment tests for template-specs

* Recorded template-specs CRUD

* TemplateSpecs is a live test

* Tests are updated to latest

* Commands now work with 10.1.0

* Updated what if parameters

* Fixed style and linter

* acs tests restored

* Removed unnecessary changes

* Restored launch.json

* added git ignore back in

* Bot_template restored

* removed unnecessary comment

* Updated web app folderto new one

* revereted

* Syntax changes for function names in packing_engine

* launch.json issue

* changed to new sdk release

* Update src/azure-cli/azure/cli/command_modules/resource/_help.py

Co-authored-by: Shenglong Li <shenglong.li@outlook.com>

* Update src/azure-cli/azure/cli/command_modules/resource/_help.py

Co-authored-by: Shenglong Li <shenglong.li@outlook.com>

* Made recommended changes

* snake_case for _packing_engine

* Restored network tests

* Fixed CLI Linter

* Small syntax errors fixed

* reverted launch.json changes

* Deleted local context file

* Updated get template-specs

* Updated get template-specs

* changed validator logic, added tests for template-specs list, changed get template-specs to show template-specs, updated help commands, removed tag commands

* changed validator

* Fixed validators

* Fix getting resource API version in ARM cmdlt

Latest swagger updates added the 'defaultApiVersion' property to the GET resource providers response.
The old code was trying to use the default API version and only than fall back to the API versions specified in the manifest.
This was wrong because:
1. default API version was not part of the response (until the latest SDK update), so this code was not doing anything
2. default API versions can be null
3. default API version is mostly used for internal purposes and must be included in the list of available API versions.

This change address this issue.

* Changed validators, added what_if test for template_specs

* Fixed linter and style resource

* Update sample_policy_set.json

* Update sample_policy_set.json

* Update sample_policy_set_parameterized.json

* Allows string for --template-spec parameter

* template-spec validators updated

* Better error handling for deployment

* merged with dev, updated template-specs command module name to ts

* Fixed style

* Added temporary fix for preview message bug for private preview

* Different bug fix attempt

* Removed unnecessary changes in preparation for merge

* Update src/azure-cli-core/azure/cli/core/commands/__init__.py

Co-authored-by: Jiashuo Li <jiasli@microsoft.com>

* restored new line at end of files

* restored new line at end of files

* restored no new line at end of files

* restored no new line at end of files

* min_api added

* Template Specs no longer a live test

* New build for recent changes committed to dev

* Resource type for template specs changed to profiel type

* Export template specs is a live scenario test

* restored launch.json

* restored launch.json

* removed export test folder

* Reduced repetitive code in _help.py

* Fixed trailing white spaces and added new line at end of _params.py

* set a default version in other profiles for ResourceType.MGMT_RESOURCE_TEMPLATESPECS before 2019-06-01-preview, so that the judgment logic of min_api is based on ResourceType.MGMT_RESOURCE_TEMPLATESPECS. as requested

* Update launch.json

Co-authored-by: Daniel Miller <daniel.keegan.miller@gmail.com>
Co-authored-by: Azure CLI Team <AzPyCLI@microsoft.com>
Co-authored-by: Dania Etienne <daetienn@microsoft.com>
Co-authored-by: Xing Zhou <Zhou.Xing@microsoft.com>
Co-authored-by: Shenglong Li <shenglong.li@outlook.com>
Co-authored-by: Elad Perets <elpere@microsoft.com>
Co-authored-by: Jiashuo Li <jiasli@microsoft.com>
2020-09-24 18:25:06 +08:00
Zunli Hu 6766c48885
[Storage] `az storage fs`: Fix connection string issue (#15281)
* fix error

* add test
2020-09-24 15:19:54 +08:00
Jianhui Harold 9f7ba60122
[Network] az network application-gateway create: Fix bug that cannot create without public IP sepcified (#15255) 2020-09-24 11:28:35 +08:00
Feng Zhou b864d5f270
{Doc} Add instructions to use Azure CLI in Airgapped Clouds (#15155) 2020-09-23 17:56:01 +08:00
Xiaojian Xu 233fe85c50
{Package} Rollback homebrew build method to update_existing (#15256) 2020-09-23 16:55:03 +08:00
gossion 4e854c444b
[AKS] Be able to create AKS with virtual node enabled (#15129)
* Be able to enable virtual node during creating

* unit
2020-09-23 11:17:07 +08:00
Calvin bec818dbbd
[AppService] az appservice domain create, show-terms: Add ability to create app service domain (#15173)
* Stubs

* Polish create command

* Temporarily remove other commands

* Styling/PR fixes

* More styling issues

* Move legal terms out of console output
2020-09-23 10:57:37 +08:00
Calvin ffe8b42e27
[AppService] Bugfix: Better error messages for webapp commands (#15203)
* Better error msgs

* Remove coloring
2020-09-23 10:52:45 +08:00
Bin Ma 90312363c1 {Release} Merge release back into dev 2020-09-22 17:14:23 +08:00
Matthew Booe f469a5ff9f
{Find} az find: Fix Aladdin Service URL (#15230) 2020-09-22 16:19:43 +08:00
aim-for-better 5aa022e02c
[HDInsight] Add deprecation info to old private link's arguments (#15181)
* Add deprecation info for argument public_networrk_access_type and outbound_only_public_network_access_type

* Change target deprecated version to 2.14.0

Co-authored-by: Zhenyu Zhou <zhezhou@microsoft.com>
2020-09-22 16:00:27 +08:00
Christopher Kruiderink 18c97fbdfd
[APIM] api import: Update short summary (#15207) 2020-09-22 15:52:49 +08:00
Jianhui Harold ab54874e96
{Network} application-gateway waf-config: Remove deprecation info (#15234) 2020-09-22 15:28:39 +08:00
Jianhui Harold 1fcfa989e9
[Network] application-gateway rule: Support --priority option (#15222) 2020-09-22 15:00:41 +08:00
Bin Ma 39d334dddd
{KeyVault} Lock the SDK version (#15233) 2020-09-22 13:14:54 +08:00
Bin Ma f67024b48b
{KeyVault} Lock SDK version (#15223) 2020-09-21 17:20:22 +08:00
Zunli Hu 8b460128c5
[Storage] Change datetime for copy (#15195)
* change datetime

* add incremental

* suppress credential

* refine help

* fix style
2020-09-21 10:35:47 +08:00
Rogelio Delgadillo b5ae5e0a0e
[IoTCentral] Remove deprecated 'az iotcentral' command module (#15114)
* {Docs} Remove stale reference in README to closed issue about extensions (#12771)

* Remove deprecated 'az iotcentral' module

* Remove iotcentral from source document mapping

Co-authored-by: Daniel Miller <daniel.keegan.miller@gmail.com>
Co-authored-by: Azure CLI Team <AzPyCLI@microsoft.com>
Co-authored-by: Rogelio Delgadillo <rodelga@microsoft.com>
2020-09-19 20:47:27 +08:00
Graham Zuber 8d0fa9951e
[AppService] functionapp: Fixed an issue where config-zip could throw an exception even if successful (#15174)
* Fixed an issue where config-zip could throw an exception even if successful.

* Fixed style issue.
2020-09-18 10:49:38 +08:00
Jianhui Harold 53e525a49a
{Network} application-gaetway update: update help message for --host-names for clearer usage (#15192) 2020-09-17 12:25:49 +08:00
subhasishdc 2b0e639001
[Network] `az network application-gateway ssl-cert show`: Add example to demonstrate certificate format and fetch information (#15166)
* [Network] `az network application-gateway ssl-cert show`: Add example to demonstrate certificate format and fetch information(#14132)

* [Network] `az network application-gateway ssl-cert show`: Fix example (#14132)

Co-authored-by: Subhasish Dutta Chowdhuri <schowdhu@schowdhu-mn2.linkedin.biz>
2020-09-17 11:44:37 +08:00