* [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
* Trigger checks
* Trigger checks with change in PR title
* Remove specific API version
* Trigger check for PR Title
* Trigger check for PR Title
* Trigger CI checks
* validate with list-skus info
* style fixed
* move validators to command body to speed up
* test code for validator and restored mgmt testcode
* minor fix
* flexible mgmt mysql test
* new test recording files
* style fixed, location changed, linter fixed
* linter pass
Co-authored-by: Daeun Yim <daeunyim@microsoft.com>
* define new error types
* wrap the raw exceptions by new defined error types
* refine error type definition
* refine extracting status code from HttpOperationError
* [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
* {KeyVault} Hotfix: Fix CloudSuffixNotSetException while using `az keyvault` in Azure Stack and Air-Gaped Cloud (#15321)
* {Release} Hotfix: Upgrade version to 2.12.1 (#15324)
* upgrade version
* upgrade version
Co-authored-by: arde0708 <63367896+arde0708@users.noreply.github.com>
Co-authored-by: Feng Zhou <55177366+fengzhou-msft@users.noreply.github.com>
* Adding optional backup storage redundancy parameter to MI create
* Adding new optional parameter BackupStorageRedundancy for MI create
* Fix merge issues, and add changes for lowercase support
* spacing issue
Co-authored-by: Perica Trajkov <petrajko@microsoft.com>
* 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
* {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>
* {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>
* 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
* {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>
* {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>