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

97 Коммитов

Автор SHA1 Сообщение Дата
Devesh Guha Oleti Muni 5d5ed03485
[DeploymentManager] BREAKING CHANGE: `az deploymentmanager`: Remove command module since it is no longer maintained by service (#25523) 2023-02-23 10:40:42 +08:00
sergb213 4281ba385f
[DMS] `az dms project task create`: Update DMS MySQL API to support new migration types (#24978)
* enable additional inputs for mysql offline migration

* support all mysql migration types

* refactor custom properties assignment

* fix scenario type validation

* adding unit test

* resolve pylint issues

* add file header
2023-01-09 10:39:08 +08:00
gaoyp830 c1c805f568
[Reservations] Remove commands from azure-cli (#24097)
* [Reservations] Remove commands from azure-cli

* update
2022-10-07 15:43:16 +08:00
Calvin 8701d60267
[AppService] BREAKING CHANGE: az webapp deployment source config: Remove vsts-cd-manager (#18203)
* Remove vsts-cd-manager

* Rerun tests

* Remove vsts-cd-manager

* Rerun tests
2021-07-02 09:10:37 +08:00
Akshay Neema 0dab796a55
[BACKUP] Workload container registration fix, SDK upgraded to 0.12.0, Fixed and Re-ran tests (#18592)
* workload container registeration fix, sdk upgrade to 0.12.0, test fixed and re-ran

* deleted local files

* Linter and pyproj fix

* commented record_only tag for test_afs_commands

Co-authored-by: Akshay Neema <akneema@microsoft.com>
2021-06-26 22:02:08 +08:00
hivyas b791aa1714
[Media] Updating AMS extension to 2020 sdk (#16492) 2021-02-24 13:07:30 +08:00
Alfredo Santamaria cb7756a2dc
[Service Fabric] Add managed cluster and node type commands (#15101)
* adding managed clusters and node types

* fix style and linter

* add managed clusters tests

* fix managed clusters tests

* recording managed clusters tests

* re running cluster and app tests

* adding help, fixing style and linter

* record managed clusters tests again

* fix style

* fix recordings after rebase with dv

* remove changes in histroty

Co-authored-by: Alfredo Santamaria Gomez <alsantam@microsoft.com>
2020-09-14 09:45:07 +08:00
Shangwei Sun 28e0caea12
[Synapse] Add accesscontrol feature related commands based on track2 sdk (#14834) 2020-08-21 13:45:27 +08:00
Xiaojian Xu 1cf3072bb2
{Package} Migrate CLI packaging system to PEP420 (#14372)
* init pep420 change

* fix linter error

* fix another linter error

* elegant way to handle __main__.py

* remove nspkg

* refactor azure_bdist_wheel to fit wheel 0.34.2

* add namespace package __init__.py to sdist

* fix merge conflict

* fix generic update problem

* fix merge conflict

* upgrade telemetry version

* upgrade telemetry version

* rollback some useless change

* build yum/deb/homebrew etx

* use template to generate formula

* update build.cmd

* update build scripts

* upgrade azure-mutliapi-storage to 0.3.6

* fix debian build script

* fix merge conflict

* init pep420 change

* fix linter error

* fix another linter error

* elegant way to handle __main__.py

* remove nspkg

* refactor azure_bdist_wheel to fit wheel 0.34.2

* add namespace package __init__.py to sdist

* fix merge conflict

* fix generic update problem

* fix merge conflict

* upgrade telemetry version

* upgrade telemetry version

* rollback some useless change

* build yum/deb/homebrew etx

* use template to generate formula

* update build.cmd

* update build scripts

* upgrade azure-mutliapi-storage to 0.3.6

* fix debian build script

* fix merge conflict

* fix merge conflict

* fix generic update test problem

* remove extra __init__.py

* remove __init__.pyc file in debian and rpm

* update build wheel stratages

* update version

* update build scripts

* fix webapp test error

* add __main__.py in sdist

* add test homebrew package scripts

* update version value in __main__.py

* make test_homebrew_package.sh executable

* fix homebrew permission problem

* fix error

* skip some acr tests

* fix style error

* skip config tests

* fix config test MAC error

* fix role config test error

* fix test error

* fix test error

* workaround for vsts bug

* fix test error

* fix homebrew test error

* fix configure test error

* update homebrew package job timeout value

* use released azdev

* rollback pipelines

* rollback pipelines 2

* refactor config test
2020-08-19 17:02:46 +08:00
Shangwei Sun 2e04cb7305
[Synapse] Add spark job releated commands based on track2 sdk (#14819) 2020-08-18 17:46:22 +08:00
Shangwei Sun 4bf79e6ec5
[Synapse] Add workspace, sparkpool, sqlpool related cmdlets (#14755) 2020-08-17 14:19:41 +08:00
Alfredo Santamaria 1715e4b46e
Service Fabric Application commands (#10666)
[Service Fabric] Add new commands to manage appliaction and services.
    - sf application-type
        - list
        - delete
        - show
        - create
    - sf application-type version
        - list
        - delete
        - show
        - create
    - sf application
        - list
        - delete
        - show
        - create
        - update
    - sf service
        - list
        - delete
        - show
        - create
2020-01-30 23:04:16 +08:00
Alfredo Santamaria ea5fbccde7 Service Fabric Fix add node type logic (#11171) 2019-12-12 14:47:03 +08:00
Sambit Rath fc006c513d Backup support for SQL/SAP HANA (#11066)
* updated CSProj

* initial commit

* updated csproj

* Updated python version 3 requirement

* Updated restore request, protected item

* CLI Style fix

* disable broad except

* updated help file changes

* updated changes in test workload

* updated history.rst

* updated history.rst

* Added optional name parameter in vm policy set

* Updated protectable_item_tpe allowed values

* updated help message

* Using correct restore request object

* fixes for restore command

* cli style fix

* Added warning message for retain_until parameter

* updated recoveryconfig show output

* added resume protection command

* linter fix
2019-12-11 23:21:21 +08:00
Sambit Rath f7c10f7ff0 Azure Files backup support (#10695)
* Added backup commands for AFS

* CLI Style fix

* updated copyright header

* Added tests

* removed unnecessary imports

* Added protection test

* Updated help files

* Fixed short hand parameter name

* fixing lint and style issues

* Fixed Test issues

* Added policy tests and commands

* fixing errors

* Updated create policy command

* Updated VM tests

* Updated get commands

* resolving comments

* style fix

* Updated Tests, Arguments and help messages

* Added FilePreparer and updated restore test

* updated command definitions

* Update help message

* updated help file

* re-recorded and updated tests

* Skipping VM tests temporarily

* updated preparer

* Updated backup test

* using record_only

* updated vm tests

* re-recorded VM Tests

* resolved all comments

* updated history.rst

* updated help file and history.rst
2019-10-29 08:01:09 +00:00
Hanzhang Zeng (Roger) 15b3674b74 [AppService] Add remote build support for Azure Functions (#10706)
* Update Azure CLI to 2.0.74 (#10585)

* Add remote build support for function app

* Remove unnecessary test recordings

* Update test_deploy_zip.yaml
2019-10-15 11:31:43 +08:00
Ramyasree Chakka b33944353f Policy: Support for Policy new API version 2019-01-01(#10340) 2019-08-28 03:14:03 +00:00
Baris Caglar 64001c3f7f Appconfig kv restore (#10007)
* Test runs with random config_store_names to
avoid indeterministic behavior with repeated runs.

* Updated recordings, does not make a difference here.

* Initial changes

* Main implementation, along with the help and passing test.

* Removed the empty line change in _utils.py to exclude it from the PR.

* Linter fixes

* HISTORY.rst

* Some reviewer comments addressed.

* Forgot to run the linter after the reviewer comments

* Simplified label and removed retry logic, which can be handled at the data plane.
Since we do a set operation, we don't expect a precondition failure.

* Lint

* Changed the preview to JSON

* added content type to __str__(self)

* Changed a comment

* Removed the no-deletes parameter.

* Empty commit to rerun checks

* created new method error_print to print to sys.stderr

* Imported print_function from __future__ for Python2 compatability.
2019-08-23 06:30:30 +08:00
Travis Prescott b6fdb950d3
Fix issue where `--subscription` was not properly suppressed. (#9718)
* Fix issue where `--subscription` was not properly suppressed.

* Fix tests.

* Fix CI.

* Revert changes.

* Re-enable subscription suppression.

* Fix proj file

* Alternate subscription solution.

* Work on subscription param performance.

* Please work...

* Remove azure-cli-ml from extensions test.
2019-06-28 17:38:31 -07:00
rajivnandivada fe6b817a9e Add azure-cli-managedservices module (#9690)
* Add azure-cli-manageservices

* fix ci failures

* fix spacing

* Add group help

* remove unused variables

* save

* support include-definition

* fix variable names

* style and linter

* make tests work

* cmds in test should be in oneline

* Address PR feedback

* Add ResourceType.MGMT_MANAGEDSERVICES

* Migrating Managed Services command module to azure-cli package

* Fixing up doc_source_map.json

* use three state flag

* addressed pr feedback

* reset commandlinearguments

* remove trailing whitespace

* Addressing PR feedback:
	Remove kwargs
	Cleanup

* Wrap up feedback
	fix help, fix up params

* Fixed azdev style and linter issues

* Fixed tests

* Address PR feedback
	cleaned up commands
	removed the api version param

* Add TODO in custom.py

* Fixed indent and interpreters
2019-06-27 11:40:42 -07:00
Travis Prescott 457e6f0d1e
Fix #9443. (#9533) 2019-06-03 15:16:37 -07:00
Travis Prescott d32ae6968f
[Network] NAT Gateway support (#9379)
* Azure CLI Nat Gateway contract changes (#9071)

* Azure CLI Nat Gateway contract changes

* Update help text to nat gateway sku

* Update setup files

* Make azure-cli-natgateway installable.

* Re-record tests for 2018-02-01.

* Re-record tests.

* Re-record tests. Remove accidentally committed files.

* Nat Gateway Resource (#9147)

* Azure CLI Nat Gateway contract changes

* Update help text to nat gateway sku

* Update setup files

* Add Get,Create,Remove commands for Nat Gateway and Test for Create,Remove NatGateway

* Update PR comments and tests

* Update Recordings

* Update recordings.

* Nat Gateway Resource (#9330)

* Azure CLI Nat Gateway contract changes

* Update help text to nat gateway sku

* Update setup files

* Add Get,Create,Remove commands for Nat Gateway and Test for Create,Remove NatGateway

* Update PR comments and tests

* Update Recordings

* Update linter, style changes, convert update from regular to properties

* Update help examples and natgateway properties update

* Add ID support

* Update Recordings and merge branch to local

* Update azure cli pyproj

* Attach subnet to Nat Gateway (#9333)

* Azure CLI Nat Gateway contract changes

* Update help text to nat gateway sku

* Update setup files

* Add Get,Create,Remove commands for Nat Gateway and Test for Create,Remove NatGateway

* Update PR comments and tests

* Update Recordings

* Update linter, style changes, convert update from regular to properties

* Update help examples and natgateway properties update

* Add ID support

* Update Recordings and merge branch to local

* Update azure cli pyproj

* Subnet attached to managed nat

* Update PR comments

* Nat Gateway (#9373)

* Azure CLI Nat Gateway contract changes

* Update help text to nat gateway sku

* Update setup files

* Add Get,Create,Remove commands for Nat Gateway and Test for Create,Remove NatGateway

* Update PR comments and tests

* Update Recordings

* Update linter, style changes, convert update from regular to properties

* Update help examples and natgateway properties update

* Add ID support

* Update Recordings and merge branch to local

* Update azure cli pyproj

* Subnet attached to managed nat

* Update PR comments

* Updates to NAT gateway module.

* Update tests and validator'

* Update Params

* Rerecord tests.

* Re-record tests.

* Convert AKS tests to live only.

* Convert SQL test to live only.

* Final fixes.

* Disable flaky security test.

* Convert `network nat-gateway` group to `network nat gateway`.

* Code review feedback.
2019-05-15 16:55:45 -07:00
Hanzhang Zeng (Roger) eb209353d3 [function-app]: wording change from iteractive to interactive (#9402) 2019-05-15 11:53:43 -07:00
Travis Prescott 1704651ee9
[Network] Fix issue with DNS zone import (#9368)
* Initial work.

* Progress.

* Fix #7183.

* Fix CI.
2019-05-14 15:34:39 -07:00
Limin Gu f6376c366a
Add 'storage account management-policy' commmand for management policy (#9360)
* Add 'storage account management-policy' commmand for management policy

* Update HISTORY and version

* Fix test failure

* Fix HISTORY and versions

* Fix test failures

* Fix test

* Fix test
2019-05-13 14:45:35 -07:00
Limin Gu 2da5abd318
[storage] Add 'storage blob sync' command (#9279)
* [storage] Add 'storage blob sync' command

* Add module azcopy

* Update with feedback

* Fix the build issue
2019-05-08 11:24:05 -07:00
Travis Prescott 082a8d9341
Cache UX Revision and Enhancements (#9188)
* Revise caching UX. Fixes #9182.

* Code review feedback.

* Fix CI.

* Clear cache after PUT.

* CI progress.

* Escape from cached_get/put early if not cache enabled. Delete cache object on successful PUT.

* Re-re-re-record tests for python 2.7. :-/

* Python 2 workaround. Please pass now.
2019-04-29 10:26:48 -07:00
Travis Prescott 9015bb4929
[Core] CLI object cache (#9094)
* CLI object caching mechanism

* Python 2 compatibility progress.

* Code review feedback.

* CI fixes.

* CI Fixes

* Fix recordings.

* Fix up tests.
2019-04-18 11:32:02 -07:00
Devesh Guha Oleti Muni f45a62c572 DeploymentManager - first release (#9036)
* Initial Checkin; Copy from other service

* Nit changes

* Bump versions for release. (#8996)

* CLI testing. Pending tests

* Tests authored; Recording..

* Indexing. Recording tests

* Tests update

* Revert launch.json

* Revert merge conflicts and launch settings

* Recorded tests, fixes for tests

* Incorporated feedback

* Style, linter fixes

* Update Versions

* Adjust README and History

* Fix title underline too short

* Remove hard-coded subId

* Fix tests

* Fix tests for py 2.7

* Make paths lower case

* Add artifacts for testing with fixed case

* Update test recording file
2019-04-17 08:40:43 -07:00
Hanzhang Zeng (Roger) 8d2cedc7be [functionapp] Add Github integration in devops-build commands (#9040) 2019-04-16 20:35:16 -07:00
Travis Prescott 2a4b8b68a7
Fix #9007. (#9016) 2019-04-08 07:45:15 -07:00
Travis Prescott 72e13cb22e
Fix #8935 (#8965) 2019-04-03 10:36:56 -07:00
Hanzhang Zeng (Roger) 327a285ed3 [functionapp] - fix devops-build command (#8942) 2019-04-02 21:19:55 -07:00
dijyotir 082307c723 CLI for Private DNS zones GA (#8931)
* Added PrivateDns Module

* Tests taken

* added to pyproj

* added help to doc source

* longer underline

* remove empty file
2019-04-02 10:22:47 -07:00
Limin Gu 75d59c1789
[Cloud] Fix cloud set name case sensitive (#8739)
* Fix cloud set name case sensitive (#4663)

* Fix cloud set name case sensitive (#4663)

* Update the code review feedback

* Add new line for style check

* Add new line for style check cloud modul
2019-03-08 15:35:52 -08:00
Chris Eggert 80c4adc41e Fix file and uri handling in policy commands (#8487) 2019-02-11 12:42:46 -08:00
Chris Eggert 93334325d6 Policy remediation commands (#8326) 2019-01-30 13:03:52 -08:00
Patrick 113533c32e webapp: add ssh support (#8042) 2019-01-03 16:04:41 -08:00
Travis Prescott 69e05b5f11 Interactive dependencies. 2018-12-14 09:41:14 -08:00
Travis Prescott 81fee5c4b9 Remove unnecessary dependencies. 2018-12-14 09:22:55 -08:00
Steven Gum 3425a964a8 BotService: 0.1.3 release (#8035)
* botservice: fix AppInsights mapping bug

* botservice: add logger to KuduClient, reduce Kudu network calls, delete wwwroot folder before new bot is published

* botservice: strip extra whitespace, fix Microsoft/botbuilder-tools#820

* botservice: use appInsightsLocation arg, fix Microsoft/botbuilder-tools#853

* botservice: add .bot file decryption to az bot show

* botservice: update HISTORY.rst

* botservice: adjust bot show logic, rerecord and add tests

* botservice: update help, azure-cli.pyproj

* botservice: use str.format instead of string interpolation for 2.7 compat

* botservice: fix StaticCheck errors

* botservice: fix and rerecord az bot show tests
2018-12-12 16:15:16 -08:00
Travis Prescott 98c506b161 Fixes for VPN Client Generate (#7962)
* Remove mock dependency.

* Fix linter issues.
2018-12-04 14:21:06 -08:00
Sisira Panchagnula df631ec56d webapp: Adding support for az webapp up (#7930) 2018-12-04 14:09:38 -08:00
Carlos Castro 94f5a5f85b BotService: Bugfixing, code refactoring, reorganization and UX revamping (#7924) 2018-12-04 14:09:36 -08:00
Travis Prescott 23d55f1c7a Use knack 0.5.1. (#7780) 2018-12-04 14:09:30 -08:00
Sisira Panchagnula d1d2b991d2 Updating the default time for polling the status of zipdeployment from 2.5 to 5 mins & adding a property for users to customize this polling interval (#7828) 2018-11-14 14:33:22 -08:00
Travis Prescott 8698ea9900
[Network] AppGateway: Support for zones, autoscale config and trusted root certs (#7789)
* AppGw autoscale and trusted root certs.

* Fixes. Add zone support.

* Network Watcher fix for breaking change.

* Add custom error pages and new WAF config options.
2018-11-13 10:34:14 -08:00
Travis Prescott 3a4e14f3ac
Match EXTENSION_DIR. (#7765) 2018-11-07 11:14:57 -08:00
Nahuel Berg c4936533f6 Update AMS module. Add GA SDK commands. (#7529)
* Update AMS module. Add GA SDK commands.

GA release of Azure Media Services CLI module.

New commands

Account
az ams account check-name

Account Filter
az ams account-filter create
az ams account-filter delete
az ams account-filter list
az ams account-filter show
az ams account-filter update

Asset Filter
az ams asset-filter create
az ams asset-filter delete
az ams asset-filter list
az ams asset-filter show
az ams asset-filter update

Job
az ams job update

Asset
az ams asset get-encryption-key
az ams asset get-streaming-locators

Content Key Policy
az ams content-key-policy create
az ams content-key-policy delete
az ams content-key-policy list
az ams content-key-policy show
az ams content-key-policy update
az ams content-key-policy option add
az ams content-key-policy option remove
az ams content-key-policy option update

Live Event
az ams live-event create
az ams live-event delete
az ams live-event list
az ams live-event show
az ams live-event update
az ams live-event start
az ams live-event stop
az ams live-event reset

Live Output
az ams live-output create
az ams live-output delete
az ams live-output list
az ams live-output show

Streaming Endpoint
az ams streaming-endpoint create
az ams streaming-endpoint delete
az ams streaming-endpoint list
az ams streaming-endpoint scale
az ams streaming-endpoint show
az ams streaming-endpoint start
az ams streaming-endpoint stop
az ams streaming-endpoint update
az ams streaming-endpoint akamai add
az ams streaming-endpoint akamai remove

Streaming Locator
az ams streaming-locator get-content-keys

Media Reserved Units
az ams account mru set
az ams account mru show

New features and breaking changes

Streaming Locator commands
az ams streaming locator base command replaced with az ams streaming-locator
--streaming-locator-id and --alternative-media-id support arguments added
--content-keys argument argument updated
--content-policy-name renamed to --content-key-policy-name

Streaming Policy commands
az ams streaming policy base command replaced with az ams streaming-policy
Encryption parameters support in az ams streaming-policy create added

Transform commands
--preset-names argument replaced with --preset. Now you can only set 1 output/preset at a time (to add more you have to run az ams transform output add). Also, you can set custom StandardEncoderPreset by passing the path to your custom JSON
az ams transform output remove can be performed by passing the output index to remove
--relative-priority, --on-error, --audio-language and --insights-to-extract arguments added in az ams transform create and az ams transform output add commands

Job commands
--correlation-data and --label arguments added
--output-asset-names renamed to --output-assets. Now it accepts a space-separated list of assets in 'assetName=label' format. An asset without label can be sent like this: 'assetName='

Asset commands
--storage-account and --container arguments added
Default values for expiry time (Now+23h) and permissions (Read) in az ams asset get-sas-url command added

* Fixed headers - Updated version on HISTORY.rst

* Fix CI errors

* Fix CI errors

* CI troubleshooting - Possible workaround for missing file

* Fix api_error_py3 errors

* Add asset get-streaming-locators test

* Implemented AllowAll on LiveEvent with examples

* Fix expiration_date parsing for python 2.7

* Fixed LiveOutput tests

* Fixed LiveOutput tests

* Add message to sp create command

* Modified test data file getter

* Run all tests in live mode

* Add media v2 resource multi cloud support

* Update client access files uploading

* Added reference to documentation in some parameters help

* Updated cross_domain_policy and client_access_policy args descriptions

* Update ams module version & release history
2018-10-30 14:53:27 -07:00
Travis Prescott 28120b8ba8 Bump Knack version. (#7679) 2018-10-25 17:37:29 -07:00