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

8318 Коммитов

Автор SHA1 Сообщение Дата
Vidya Kukke 8ddf199829 Merge branch 'dev' of https://github.com/Azure/azure-cli into vkukke/eventgridtests 2021-04-29 09:07:45 -07:00
Daeun Yim b0bc536b5b
[RDBMS] Add Private DNS zone for every database server created with private network access (#17767)
* remove capital letter in generated role name

* fix typo in tests

* private DNS zone create

* Address resource id formats

* fixed style issues

* add links

* test fixed with private dns zone updates

* add private dns zone create tests

* style issue fixed

* enable database name when creating db server

* add check name availability and tests

* change mysql default storage size

* upgrade rdbms version

* azdev style test fixed

* help text added

* add subnet verifying bug fix

* improve help text

* fixed typo

* change from 8.0.1b3 to 8.0.1b4

* trigger CI CD
2021-04-29 16:25:32 +08:00
Azure CLI Bot 03f510e20b
{Release} Upgrade to Azure CLI 2.23.0 (#17919)
* update azure-cli version to 2.23.0

* Update src/azure-cli/HISTORY.rst

* Update src/azure-cli/HISTORY.rst

* Apply suggestions from code review

Co-authored-by: Feng Zhou <55177366+fengzhou-msft@users.noreply.github.com>
Co-authored-by: kai ru <69238381+kairu-ms@users.noreply.github.com>

* Update src/azure-cli/HISTORY.rst

* Update src/azure-cli/HISTORY.rst

* Update src/azure-cli/HISTORY.rst

* Update src/azure-cli/HISTORY.rst

* Update src/azure-cli/HISTORY.rst

* Update src/azure-cli/HISTORY.rst

* Apply suggestions from code review

* Update src/azure-cli/HISTORY.rst

* Update src/azure-cli/HISTORY.rst

* Update src/azure-cli/HISTORY.rst

* Update src/azure-cli/HISTORY.rst

* Update src/azure-cli/HISTORY.rst

* Fix webapp

Co-authored-by: Feiyue Yu <fey@microsoft.com>
Co-authored-by: xfz11 <81600993+xfz11@users.noreply.github.com>
Co-authored-by: Yishi Wang <yishiwang@microsoft.com>
Co-authored-by: Feng Zhou <55177366+fengzhou-msft@users.noreply.github.com>
Co-authored-by: kai ru <69238381+kairu-ms@users.noreply.github.com>
Co-authored-by: Feiyue Yu <iamyfy@163.com>
2021-04-29 14:02:26 +08:00
Andy Zhang 561240abe9
aks: add encryption-at-host command (#17813) 2021-04-29 10:18:53 +08:00
Sambit Rath 45a7065d8f
[Backup]Made AFS Configure Backup flow Idempotent (#17839)
* Made AFS Configure Backup Idempotent

* cli style check

* cli style fix
2021-04-29 10:11:09 +08:00
Feiyue Yu 5ac8e1a473
[Compute] sig image version create: Support data disk VHDs (#17706)
* [Compute] sig image version create: Support data disk VHDs

* data disks VHDs

* test

* test

* style

* fix a small bug

* update

* test
2021-04-29 10:04:28 +08:00
Feng Zhou 6173ee460e
[Packaging] Bump bundled python to `3.8.9` and remove more network SDK APIs for MSI (#17816) 2021-04-29 10:00:33 +08:00
Tongyao Si 7627ed540c
[AKS] Support updating from SPN cluster to MSI cluster (#17902) 2021-04-29 09:53:28 +08:00
Vidya Kukke 732bc28119 Remove secret 2021-04-28 15:10:45 -07:00
Vidya Kukke 1904bc3562 Fix style errors + remove secret 2021-04-28 14:46:37 -07:00
Vidya Kukke 7457f61de8 {EventGrid}: Add tests to commands introduced in 2020-10-15-preview 2021-04-28 14:36:37 -07:00
Feiyue Yu 716b10f107
[Compute] Fix a compatibility issue of old API version (#17906) 2021-04-28 18:57:02 +08:00
Yunge Zhu 3ecfd4d8c3
[MarketplaceOrdering] New command group `az term` to accept/show terms (#17686) 2021-04-28 17:57:26 +08:00
Zunli Hu a081731cdd
{rdbms} Fix package version (#17905) 2021-04-28 16:46:49 +08:00
t-bzhan df6aae3706
[CDN] az cdn endpoint rule add: Fix delivery rule creation for non-Microsoft SKU (#17822) 2021-04-28 16:00:45 +08:00
zesluo f57a19c4f0
[Synapse] Update to AZ Synapse artifact0.6.0 and fix notebook creation failure (#17867)
* 'CLIupdateartifactto0.6.0'

* add notebook test required changes

* add rg preparer

* remove unused name

* refine form of line indent

* remove unused parts

* update records
2021-04-28 14:00:43 +08:00
Dania Etienne feda9da86a
{ARM} --template-specs regression fix (#17896)
* Customer reported bug fix

* Removed _packing_engine changes

* Re-recorded test cases with template specs

* Reviewer suggestion

* pylint supression added for broad-except

* Added explanation for changes in code and updated logic

Co-authored-by: Dania Etienne <daetienn@microsoft.com>
2021-04-28 11:30:41 +08:00
Feng Zhou 69ec02a504
Update code owners for acr, acs (#17856) 2021-04-28 11:14:51 +08:00
Vidya Kukke 32eefbf724
{EventGrid}: Make identity optional for system-topic in global location (#17898) 2021-04-28 11:03:53 +08:00
jiansong-msft 8c04af8c0b
[AppService] BREAKING CHANGE: Add support for az staticwebapp show; az staticwebapp create; az staticwebapp update (#17870)
* Add sku option for staticwebapp create and change staticwebapp browse to staticwebappshow

* add method update_staticsites

* add unit tests

* Code Clean up

* pass code style checking

* remove f1 and s1 as sku option

* remove build_propertes, resource_group, location from az staticwebapp option

* revised app_artifact_location to output_location

* pass code style chekcing

* minor revision for unit tests

* pass empty string to clear tags in staticwebapp update

* Update src/azure-cli/azure/cli/command_modules/appservice/_params.py

fix typo

Co-authored-by: Feiyue Yu <iamyfy@163.com>

* Resolve PR comments

* remove browse instead of deprecating it to pass linter

Co-authored-by: Feiyue Yu <iamyfy@163.com>
2021-04-27 16:31:06 +08:00
songlu 3d14ca21e6
{core} Fix #17170: Replace distutils.version.LooseVersion with packaging.version.parse (#17667) 2021-04-27 15:26:26 +08:00
Feng Zhou 63a988a5af
bump python to 3.8.9 in docker (#17840) 2021-04-27 13:53:18 +08:00
Feng Zhou 1ff6b716f3
change the way to get az version in acr (#17707) 2021-04-27 13:52:19 +08:00
Oliver Wiebeck 71c6a9f309
[EventGrid] force int type for certain params (#17872)
Commit acd463307e removed the manual casting to int for several cli arguments and fixed that in the argument definition but forgot to do the same for other sets of arguments (system and partner topics).
2021-04-27 13:13:03 +08:00
Yishi Wang 5cf2ac3683
[Storage] `az storage account create/update`: Support sas&key policy (#17815)
* `az storage account create/update`: Support sas policy expiration and key policy expiration

* test with 100000 days
2021-04-27 10:24:38 +08:00
Jeanine Burke ba16ce5a20
[ACR] Fix #17618: Update credential add/update handling for tasks created using --auth-mode (#17715) 2021-04-26 19:10:48 +08:00
Yugang Wang 7b7f3264c2
[ACR] check-health: add support to verify dns routings to private endpoints (#17746) 2021-04-26 19:09:23 +08:00
msyyc 7d92fdba66
[Network]`az network private-link-resource list`: support more providers for `--type` (#17731)
* private link

* test

* remove live_only

* test

* test
2021-04-26 18:50:07 +08:00
Feiyue Yu f56be046b7
{Compute} Edge zone (#17853) 2021-04-26 17:24:32 +08:00
Houk 2c693508c9
[KeyVault] BREAKING CHANGE: Support soft-delete feature for managed-HSM. `keyvault delete --hsm-name` will perform soft delete on a MHSM. (#17834)
* draft

* support keyvault soft-delete feature

* update test
2021-04-26 16:48:38 +08:00
Houk 39f4ecd6b1
{Core} Aladdin recommendation improvements (#17854)
* fix aladdin recommendation related issues

* safely get description from recommendation
2021-04-26 16:48:07 +08:00
zhangyan133 bf4df70bd0
{Storage} Add help example (#17550)
* add example

* add a policy

* third modification

* set example

Co-authored-by: Yan Zhang (WICRESOFT NORTH AMERICA LTD) <v-yanzhang@microsoft.com>
2021-04-26 16:33:49 +08:00
aim-for-better 805ca15109
[HDInsight] Add Incoming BREAKING CHANGE for removing default value of `--workernode-size` and `--headnode-size` (#17862)
* {Docs} Remove stale reference in README to closed issue about extensions (#12771)

* Add Incoming BREAKING CHANGE.

* Add incoming change in long-summary part.

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>
2021-04-26 15:53:05 +08:00
Zunli Hu 1062c3a16a
{Storage} Announce incoming breaking change (#17863)
* Announce breaking change

* fix style
2021-04-26 15:40:35 +08:00
Zunli Hu e448cb7831
[Storage] Support user assigned identity for storage account (#16613)
* test pass for first scenario

* pass several scenarios

* UAI1->UAI2 pass

* support clear

* test pass

* fix style

* revert create change

* test pass with new change

* fix key source

* fix key source
2021-04-26 15:37:44 +08:00
Jiashuo Li 47a47c5ddc
bump azdev (#17865) 2021-04-26 14:58:56 +08:00
Yu Chen 138e96ab7d
{Docs} Update track 2 migration roadmap (#17864) 2021-04-26 14:48:15 +08:00
kai ru 48143e2e16
fix recording (#17855) 2021-04-25 16:11:20 +08:00
kai ru f82c201967
{Network} vpn 100% support (#17664)
* 'az network vpn-connection list' add parameter '--vnet-gateway-name' to support list VPN connections of a vnet-gateway

* add new command 'az network vnet-gateway disconnect-vpn-connections'

* add command 'network vnet-gateway vpn-client show-health'

* add commands 'network vnet-gateway vpn-client ipsec-policy show' and 'network vnet-gateway vpn-client ipsec-policy set'

* add tests

* add test

* remove recording processor sas token

* fix linter issues

* record test

* fix lint issues

* fix style issues

* add commands: 'az network vpn-connection list-ike-sas', 'az network vpn-connection packet-capture start', 'az network vpn-connection packet-capture stop'

* add command 'az network vpn-connection show-device-config-script'

* add command 'az network vnet-gateway show-supported-devices'

* fix linter issues

* update recordings

* add min-api-version for list-ike-sas and show-device-config-script

* add tests

* fix style error
2021-04-25 09:30:22 +08:00
Houk 993537f2db
{Core} Work around long-running delete or purge operation with 404 status code (#17833)
* catch HttpRespnseError for long-running delete/purge operation

* keep original behavior

* refactoring
2021-04-23 17:07:17 +08:00
Feiyue Yu de212ebb29
[Compute] disk create: Trusted launch; [Compute] disk create: Hibernation (#17775)
* [Compute] disk create: Trusted launch; Hibernation

* test

* update

* Fix small issues caused by SDK

* test
2021-04-23 14:06:31 +08:00
Jiashuo Li cb4471de51
{Core} Add `__init__.py` to `azure.cli.core.sdk` (#17817) 2021-04-22 18:27:40 +08:00
Jiashuo Li 902b942a4d
{Core} Fix: In Cloud Shell, cross-tenant authentication fails for user or Service Principal account (#17805) 2021-04-22 17:33:51 +08:00
Yu Chen 8a0cce9842
{Doc} Update track 2 migration roadmap (#17730)
* {Doc} Update track 2 migration roadmap

* Update roadmap
2021-04-22 17:13:08 +08:00
Feng Zhou 2ff95ab12a
fix 404 in LRO (#15884) 2021-04-22 16:46:20 +08:00
Jiashuo Li 672837983d
{Logging} Redact headers from SDK HTTP log (#17671) 2021-04-22 13:43:52 +08:00
Jiashuo Li f3602f5740
{KeyVault} Replace `_token_retriever` with `get_raw_token` (#17812) 2021-04-22 11:37:46 +08:00
VairavanS-MSFT f65800a70c
[sqlvm] Make SqlServerLicenseType as optional #17766
Make SqlServerLicenseType optional
2021-04-22 11:12:25 +08:00
Yishi Wang 0ee45c4254
[Role] `az role assignment create/update`: auto complete `assignee_principal_type` (#17669)
* auto complete for assignee_principle_type
2021-04-22 10:48:52 +08:00
Houk 842de159cb
{KeyVault} Bump keyvault mgmt sdk version to 2021-04-01-preview (#17679)
* upgrade keyvault mgmt sdk version

* fix CI test

* live tests for command modules which depends on keyvault

* update vm live test
2021-04-22 10:26:19 +08:00