* feat: add load-balancer-backend-pool-type to create and update api
* chore: update version
Co-authored-by: Qi Ni <nicky@devbox.aqncfxt3tzze5ecj2ea1rtv10c.cx.internal.cloudapp.net>
* Support update kubelet identity
* Fix lint
* Add test
* Add more test
* Update test
* Fix cp error
* Update src/aks-preview/azext_aks_preview/_params.py
Co-authored-by: Xing Zhou <Zhou.Xing@microsoft.com>
* Update kubelet identity live test region
Co-authored-by: Xing Zhou <Zhou.Xing@microsoft.com>
* Skeleton code
* az containerapp env show
* List kube/managed environments
* Create kube environment, wait doesn't work yet
* Update containerapp stubs (check if it is supported now)
* Containerapp env delete, polling not working yet
* Added polling for create and delete
* Use Microsoft.App RP for show, list, delete command
* Create containerapp env using Microsoft.App RP
* Add optional containerapp env create arguments
* Remove old kube environment code, naming fixes
* Containerapp create almost done
* Done containerapp create, except for --yaml. Need to test
* Containerapp show, list
* Fix helptext
* Containerapp delete
* Containerapp update. Needs secrets api to be implemented, and testing
* Add scale command
* Various validations, small fixes
* listSecrets API for updates, autogen log analytics for env
* Use space delimiter for secrets and env variables
* Verify sub is registered to Microsoft.ContainerRegistration if creating vnet enabled env, remove logs-type parameter
* Containerapp create --yaml
* Fix updating registry to do create or update
* Fix containerapp update command. Add image-name parameter to support multi container updates. Fix updating registries, containers and secrets
* started update with --yaml. Need to do create or update for when an attribute is a list of items
* use space delimiter for startup_command and args, instead of comma delimiter
* Traffic weights
* List and show revisions
* az containerapp revision restart, activate, deactivate
* Add ability for users to clear args/command in az containerapp update
* Various fixes, traffic weights fixes
* Verify subnet subscription is registered to Microsoft.ContainerServices
* GitHub Actions Update (#17)
* Added models. Finished transferring Calvin's previous work.
* Updated wrong models.
* Updated models in custom.py, added githubactionclient.
* Updated envelope to be correct.
* Small bug fixes.
* Updated error handling. Fixed bugs. Initial working state.
* Added better error handling.
* Added error messages for tokens with inappropriate access rights.
* Added back get_acr_cred.
* Fixed problems from merge conflict.
* Updated names of imports from ._models.py to fix pylance erros.
* Removed random imports.
Co-authored-by: Haroon Feisal <haroonfeisal@microsoft.com>
* Remove --location since location must be same as managed env
* Add options for flag names: --env-vars and --registry-srever
* Empty string to clear env_vars
* Default revisions_mode to single
* Infer acr credentials if it is acr and credentials are not provided
* fix help msg
* if image is hosted on acr, and no registry server is supplied, infer the registry server
* Added subgroups (Ingress, Registry, Secret) and updated revisions (#18)
* Added ingress subgroup.
* Added help for ingress.
* Fixed ingress traffic help.
* Added registry commands.
* Updated registry remove util to clear secrets if none remaining. Added warning when updating existing registry. Added registry help.
* Changed registry delete to remove.
* Added error message if user tries to remove non assigned registry.
* Changed registry add back to registry set.
* Added secret subgroup commands.
* Removed yaml support from secret set.
* Changed secret add to secret set. Updated consistency between secret set and secret delete. Added secret help. Require at least one secret passed with --secrets for secret commands.
* Changed param name for secret delete from --secrets to --secret-names. Updated help.
* Changed registry remove to registry delete.
* Fixed bug in registry delete.
* Added revision mode set and revision copy.
* Modified update_containerapp_yaml to support updating from non-current revision.
Authored-by: Haroon Feisal <haroonfeisal@microsoft.com>
* More p0 fixes (#20)
* Remove --registry-login-server, only allow --registry-server
* Rename --environment-variables to --env-vars
* If no image is supplied, use default quickstart image
* Update help text (#21)
* Update help text
* Update punctuation
* master -> main
* New 1.0.1 version
* Added identity commands + --assign-identity flag to containerapp create (#8)
* Added identity show and assign.
* Finisheed identity remove.
* Added helps, updated identity remove to work with identity names instead of requiring identity resource ids.
* Moved helper function to utils.
* Require --identities flag when removing identities.
* Added message for assign identity with no specified identity.
* Added --assign-identity flag to containerapp create.
* Moved assign-identity flag to containerapp create.
* Fixed small logic error on remove identities when passing duplicate identities. Added warnings for certain edge cases.
* Updated param definition for identity assign --identity default.
* Added identity examples in help.
* Made sure secrets were not removed when assigning identities. Added tolerance for [system] passed with capital letters.
* Fixed error from merge.
Co-authored-by: Haroon Feisal <haroonfeisal@microsoft.com>
* Dapr Commands (#23)
* Added ingress subgroup.
* Added help for ingress.
* Fixed ingress traffic help.
* Added registry commands.
* Updated registry remove util to clear secrets if none remaining. Added warning when updating existing registry. Added registry help.
* Changed registry delete to remove.
* Added error message if user tries to remove non assigned registry.
* Changed registry add back to registry set.
* Added secret subgroup commands.
* Removed yaml support from secret set.
* Changed secret add to secret set. Updated consistency between secret set and secret delete. Added secret help. Require at least one secret passed with --secrets for secret commands.
* Changed param name for secret delete from --secrets to --secret-names. Updated help.
* Changed registry remove to registry delete.
* Fixed bug in registry delete.
* Added revision mode set and revision copy.
* Added dapr enable and dapr disable. Need to test more.
* Added list, show, set dapr component. Added dapr enable, disable.
* Added delete dapr delete.
* Added helps and param text.
* Changed dapr delete to dapr remove to match with dapr set.
* Commented out managed identity for whl file.
* Uncommented.
Co-authored-by: Haroon Feisal <haroonfeisal@microsoft.com>
* Rename --image-name to --container-name
* Remove allowInsecure since it was messing with the api parsing
* Fix for env var being empty string
* Rename to --dapr-instrumentation-key, only infer ACR credentials if --registry-server is provided
* Remove az containerapp scale
* Fix delete containerapp errors
* Remove ingress, dapr flags from az containerapp update/revision copy
* Fix revision list -o table
* Help text fix
* Bump extension to 0.1.2
* Update managed identities and Dapr help text (#25)
* Update managed identities and Dapr help text
* Update Dapr flags
* Add secretref note
* Env var options + various bug fixes (#26)
* Moved dapr arguments to env as a subgroup.
* Added env variable options.
* Changed revision mode set to revision set-mode.
* Added env var options to revision copy.
* Fixed revision copy bug related to env secret refs.
* Changed registry and secret delete to remove. Added registry param helps. Removed replica from table output and added trafficWeight.
* Updating warning text.
* Updated warning text once more.
* Made name optional for revision copy if from-revision flag is passed.
Co-authored-by: Haroon Feisal <haroonfeisal@microsoft.com>
* Fixed style issues, various bug fixes (#27)
* Moved dapr arguments to env as a subgroup.
* Added env variable options.
* Changed revision mode set to revision set-mode.
* Added env var options to revision copy.
* Fixed revision copy bug related to env secret refs.
* Changed registry and secret delete to remove. Added registry param helps. Removed replica from table output and added trafficWeight.
* Updating warning text.
* Updated warning text once more.
* Made name optional for revision copy if from-revision flag is passed.
* Fixed whitespace style issues.
* Styled clients and utils to pass pylint.
* Finished client.py pylint fixes.
* Fixed pylint issues.
* Fixed flake8 commands and custom.
* Fixed flake issues in src.
* Added license header to _sdk_models.
* Added confirmation for containerapp delete.
Co-authored-by: Haroon Feisal <haroonfeisal@microsoft.com>
* Update src/containerapp/azext_containerapp/tests/latest/test_containerapp_scenario.py
Co-authored-by: Xing Zhou <Zhou.Xing@microsoft.com>
* Specific Error Types + Bugfixes (Help, remove app-subnet-resource-id, removed env-var alias, added help text for --name) (#28)
* Moved dapr arguments to env as a subgroup.
* Added env variable options.
* Changed revision mode set to revision set-mode.
* Added env var options to revision copy.
* Fixed revision copy bug related to env secret refs.
* Changed registry and secret delete to remove. Added registry param helps. Removed replica from table output and added trafficWeight.
* Updating warning text.
* Updated warning text once more.
* Made name optional for revision copy if from-revision flag is passed.
* Fixed whitespace style issues.
* Styled clients and utils to pass pylint.
* Finished client.py pylint fixes.
* Fixed pylint issues.
* Fixed flake8 commands and custom.
* Fixed flake issues in src.
* Added license header to _sdk_models.
* Added confirmation for containerapp delete.
* Update helps for identity, revision. Removed env-var alias for set-env-vars. Added name param help.
* Removed app-subnet-resource-id.
* Updated infrastructure subnet param help.
* Check if containerapp resource exists before attempting to delete.
* Added check before deleting managed env.
* Changed error types to be more specific.
* Removed check before deletion. Removed comments.
Co-authored-by: Haroon Feisal <haroonfeisal@microsoft.com>
* Reset to 0.1.0 version, remove unneeded options-list
* Update min cli core version
* Fixed style issues. (#30)
Co-authored-by: Haroon Feisal <haroonfeisal@microsoft.com>
* Fix linter issues
* Use custom-show-command
* Removed --ids from revision, secret, registry list.
* Add linter exclusions
* Fix polling on delete containerapp
* Fix error handling
* Add Container App Service
* Fix flake linter
* Fix help text
* Mark extension as preview
* Add python 3.9 and 3.10 as supported
* Remove registries and secrets from az containerapp update, in favor of registry and secret subgroup
* Fix YAML not working
* Move import to inside deserialize function
* Dapr moved from Template to Configuration
* Use aka.ms link for containerapps yaml
* Updated dapr enable/disable to current spec.
* Fixed oversight.
* Remove revisions-mode from containerapp update
* Fixed dapr enable property names. (#47)
Co-authored-by: Haroon Feisal <haroonfeisal@microsoft.com>
* Fix exceptions with using --yaml in containerapp create/update
* Rename history msg
* Include fqdn in containerapp table output
* Added ingress messages.
* Revert history msg
* Add basic test case
* Remove managed-identity support for first release of CLI
* Need to investigate test flakiness
* Update _help.py
removing duplicate help
Co-authored-by: Haroon Feisal <38823870+haroonf@users.noreply.github.com>
Co-authored-by: Haroon Feisal <haroonfeisal@microsoft.com>
Co-authored-by: Anthony Chu <anthony@anthonychu.ca>
Co-authored-by: Xing Zhou <Zhou.Xing@microsoft.com>
Co-authored-by: Sisira Panchagnula <panchagnula@users.noreply.github.com>
* chore(arcdata): version bump to 1.2.0
* chore(arcdata): arcdata version bump to 1.2.0
* chore(arcdata): arcdata version bump to 1.2.0
* chore(arcdata): arcdata version bump to 1.2.0
* chore(arcdata): arcdata version bump to 1.2.0
* chore(arcdata): arcdata version bump to 1.2.0
* chore(arcdata): arcdata version bump to 1.2.0
* chore(arcdata): version bump 1.1.3
* chore(arcdata): version bump 1.1.3
* chore(arcdata): version bump 1.1.3
Co-authored-by: Sean Wells <swells@juliets-mbp.lan>
* vendor v2021.10.01 sdk
* remove v2021_09_01
* remove all
* updating to 10-01
* update comment
* adding release note for 0.5.45
* sync dual-stack logic
* updating test data
* Revert "sync dual-stack logic"
This reverts commit 1a806b0329.
* remove ipv6 logic from lb
* bumping DEFAULT_API_VERSION to 10-01
* bumping sdk version in test files to 16.4.0
* bump aks-preview to 0.5.46
* bumping test data to 16.4.0 python sdk
* updating new recordings
* sync dual-stack logic
* fixing linter issues
* updating test data
* adding params to aks_create and update
* reverting test data back to 2021-07-01
* changing records back to dev
* fixing recordings
* updating 2 tests from ci pipeline failures
* reverting some DELETE uris
* changing these for some reason
* more fixes
* fixing equals whitespace
* running azdev test --live
* revert http_proxy before live testing
* move test_aks_update_label_msi to westus2 for vm availability
* fixing all with --live
* ipv6 count param exclusion
* initial dual-stack setup
* fixing whitespace
* comment out dual-stack test until ready to merge
* cleaning up code and adding test cases
* fixing flake8 style
* bump aks-preview version
* updating default network test
* ipv6 count should be preserved during an aks update command
* network profile should have provided values if cidrs is provided
* adding/updating tests for new logic
* string lists should be empty list if empty string was provided to cli
* rearrange network test args
* update tests for empty lists
* add ipv6 count create and update test
* add ipv6 count to akspreview update decorator
* indent fix
* default dual-stack test
* Update src/aks-preview/HISTORY.md
Co-authored-by: Xing Zhou <Zhou.Xing@microsoft.com>
* Add new cmds to support multi-link in virtualwan
* update
* update testcases
* update version and history
* fix style
* fix names
* fix
* add examples
* fix
* Revert "Connect to Arc Servers (#3929)"
This reverts commit 78264f6705.
* Updated to version 0.1.8 and updated history notes
* Fixed typo
* Fixed another typo
* Change in history
* Moving SSHArc changes from private repo to the public repo
* Fix linter exclusions
* Added license header to constants file
* Fixed the local user parameter options for the config command
* Changed --local-user-name to --local-user for the config command
* Host for arc servers on config is not rg-vm instead of just vm
* added list-available command for addon
* added list command for addon
* added show command for addon
* added 5 new commands and refactored code into separate files
* updated version
* code cleanup
* added license headers
* fixed flake8 errors
* added help text for commands
* added exclusion for long param
* added test for list
* added fix for error function params
* added new test cases
* fixed test cases and recordings
* added test exclusions
* added new tests that should pass in pipeline
* updated formatting and tests
* code quality changes
* reverted code quality changes
* code quality changes added back in
* clearer history message
* update release history
* fix vendor
* fix url version in test recording data
* fix aks preview version
* add e2e for list_available
* add live only tag
Co-authored-by: Ishan <t-ishanarya@microsoft.com>
Co-authored-by: Tingting Liu <tilnl@microsoft.com>
* Add support for outbound types managedNATGateway and userAssignedNATGateway
* Fix azdev style errors
* Fix linter option_length_too_long error
* Add validator for nat-gateway-managed-outbound-ip-count
* Replace CLIError to ArgumentUsageError and InvalidArgumentValueError. Fix an old bug of _set_outbound_type
* Exclude preview test test_aks_create_with_http_proxy_config
* Add unit test for _natgateway.py
* Update aks-preview version
Co-authored-by: Kaiqi Zhang <kaiqzhan@microsoft.com>
* about to add check for if DCR is available in regions
* tested
* forgot to remove an exception
* fixed linter problems
* fixed some linter errors
* fixing linter errors
* fixing some feedback, more to come
* fixed all feedback and a bug
* cleanup
* addressed comments and static analyzer errors
* Update src/aks-preview/azext_aks_preview/_help.py
Co-authored-by: Xing Zhou <Zhou.Xing@microsoft.com>
* Update src/aks-preview/azext_aks_preview/_help.py
Co-authored-by: Xing Zhou <Zhou.Xing@microsoft.com>
* fix linter error
* fixed small errors
* added unit tests, cleaned up the msi/sp auth check
* adding unit tests
* commenting out tests which require a subscription-level feature flag
* uncommented tests, put them in a list to not run
Co-authored-by: Xing Zhou <Zhou.Xing@microsoft.com>
* Azure quantum extension v0 (#2)
Initial version.
* Fixing style issues
* Incorporating feedback (#6)
* readme
* feedback
* Help
* Make storage account optional (#7)
* Storage is now optional (#8)
* Making storage an argument, not an env variable (#9)
* Adding implementation of 'az quantum workspace delete' command.
* Setting new temporary version.
* Fixing missing file in test change
* Adding details to README.md (#5)
* Updating generated files for Azure Quantum resource manager from new swagger file version
* Remove manual edit of generated file.
* Updating generated files for Azure Quantum data plane from new swagger file version
* Updating generated files for Azure Quantum resource manager from new swagger file version. (2020-11-06) (#13)
* Adding implementation of 'az quantum workspace create' command. (#14)
Adding initial implementation of 'az quantum workspace create' command.
-----------------------------------
Command
az quantum workspace create : Creates a new Azure Quantum workspace.
Command group 'quantum' is in preview. It may be changed/removed in a future
release.
Arguments
--location -l : Location. Values from: az account list-locations. You can configure
the default location using az configure --defaults location=<location>.
--resource-group -g : Name of resource group. You can configure the default group using az configure --defaults group=<name>.
--storage_account -sa : Name of the storage account to be used by a quantum workspace.
--workspace-name -w : Name of the Quantum Workspace. You can configure the default workspace
using az quantum workspace set.
* Update Azure CLI quantum extension to multi-region (#17)
This change will set the URL for the data plan API accordingly with a location parameter specified as part of the command.
* Updating swagger files per commit 44563991425d862ba4e8090a2b5b6caf8333600c in azure-rest-api-specs-pr. (#16)
Updating swagger files per commit 44563991425d862ba4e8090a2b5b6caf8333600c in azure-rest-api-specs-pr.
* Fixing tests for multi-region URL change on Az CLI quantum extension (#19)
Fixing tests for multi-region URL change on Az CLI quantum extension
* Incorporating ARM feedback (#18)
* Picking up latest changes from swagger after ARM feedback
* updated create_or_update
* run command
* Setting default location in workspace calls if not specified (#20)
* updating python azure quantum rest client (#21)
* Update generated files from swagger file (Version 2021-01-11) (#22)
* Hot fixes on December 2020 release of Azure CLI extension (#23)
* Fixing issue with over specification of location
* Updating version information of extension
* Update CLI with generated clients from more recent swagger files (#24)
- Data plane updated to official swagger file (2021-01-11 19:01:32 UTC) on azure-rest-api-specs @ 98ae52b87af2f172f84f3305f8fe46f819543a49.
- Resource manager updated to candidate swagger file (2021-01-15 19:35:41 UTC) on anpaz:quantum/resource-manager @ a9a9e271c13500aa54fdbb1bcb656eb61d82d38b.
* Update src/quantum/README.rst
Co-authored-by: Feiyue Yu <iamyfy@163.com>
* Update src/quantum/README.rst
Co-authored-by: Feiyue Yu <iamyfy@163.com>
* Update src/quantum/README.rst
Co-authored-by: Feiyue Yu <iamyfy@163.com>
* Update src/quantum/README.rst
Co-authored-by: Feiyue Yu <iamyfy@163.com>
* Require location as a mandatory parameter in workspace specification (#25)
* Make location mandatory in commands
* Update test recordings
* Resetting the version history for the released version.
* Fix description of workspace clear command
* Updatig Readme file to RST format.
* Update Readme file per pull request comments.
* Fixing az quantum run and execute commands to include location parameter
* Performing role assignment on storage account on workspace creation. (#29)
* Add warning message about providers during workspace creation (#30)
* Enable command az quantum workspace quotas (#31)
* Removing extra space in Readme.rst
Co-authored-by: Feiyue Yu <iamyfy@163.com>
* Fix punctuation in Readme.rst
Co-authored-by: Feiyue Yu <iamyfy@163.com>
* Update src/quantum/README.rst
Co-authored-by: Feiyue Yu <iamyfy@163.com>
* Update src/quantum/azext_quantum/_params.py
Co-authored-by: Feiyue Yu <iamyfy@163.com>
* First round of code review feedback on Readme.rst
* Improve code readability on job commands
* Avoid IndexError in case of malformed URL
* Extended info on targetId parameter
* Add help to each individual command
* Reorganize sections in Readme.rst and merge in a single set of instructions.
* Static analysis fixes
* Fix CLI Linter errors
* Fix CLI Linter errors. Part 2
* Fix typo in show command.
* Fix show command for Linter
* Use standard name for show command method
* Modify workspace create test to skip role assignment
* Update tests with workspace names used currently.
* Update test recordings.
* Set subscription for the recordings.
* Update test recordings.
* Update QDK version number
* Remove asserts and checks for subscription
* Experiment: Remove check for preview subscription
* Refresh recordings with current test values.
* Update recordings after typo fix.
* Remove commented out API that references subscription
* Enable QuantumJobsScenarioTest.test_submit_args only on live mode
Co-authored-by: Ricardo Espinoza <ricardoe@microsoft.com>
Co-authored-by: Feiyue Yu <iamyfy@163.com>