Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{Quota}Generate quota with codegen #4475

Merged
merged 8 commits into from
Mar 7, 2022
Merged

{Quota}Generate quota with codegen #4475

merged 8 commits into from
Mar 7, 2022

Conversation

ZengTaoxu
Copy link
Contributor


This checklist is used to make sure that common guidelines for a pull request are followed.

General Guidelines

  • Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
  • Have you run python scripts/ci/test_index.py -q locally?

For new extensions:

About Extension Publish

There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update src/index.json automatically.
The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify src/index.json.

@yonzhan yonzhan requested a review from kairu-ms March 1, 2022 03:23
@yonzhan yonzhan added this to the Mar 2022 (2022-04-05) milestone Mar 1, 2022
@yonzhan
Copy link
Collaborator

yonzhan commented Mar 1, 2022

Quota

@yonzhan yonzhan requested a review from necusjz March 1, 2022 03:24
description='Microsoft Azure Command-Line Tools AzureQuotaExtensionAPI Extension',
author='Microsoft Corporation',
author_email='azpycli@microsoft.com',
url='https://github.com/Azure/azure-cli-extensions/tree/master/src/quota',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
url='https://github.com/Azure/azure-cli-extensions/tree/master/src/quota',
url='https://github.com/Azure/azure-cli-extensions/tree/main/src/quota',

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

Comment on lines 12 to 26
##### List #####
```
az quota usage list \
--scope "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus"
```
##### List #####
```
az quota usage list \
--scope "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus"
```
##### List #####
```
az quota usage list \
--scope "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.MachineLearningServices/locations/eastus"
```
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why the help is duplicated?

Copy link
Contributor Author

@ZengTaoxu ZengTaoxu Mar 4, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It has been modified.

Copy link
Contributor

@kairu-ms kairu-ms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The commands looks good to me. Please update the short-summery of 'quota create' and 'quota update'.

Comment on lines 93 to 98
short-summary: "Create the quota limit for the specified resource with the requested value. To update the quota, \
follow these steps: 1. Use the GET operation for quotas and usages to determine how much quota remains for the \
specific resource and to calculate the new quota limit. These steps are detailed in [this \
example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/21836\
70). 2. Use this PUT operation to update the quota limit. Please check the URI in location header for the detailed \
status of the request."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please overwrite this help in manual folder. The short-summary is too long.

Suggested change
short-summary: "Create the quota limit for the specified resource with the requested value. To update the quota, \
follow these steps: 1. Use the GET operation for quotas and usages to determine how much quota remains for the \
specific resource and to calculate the new quota limit. These steps are detailed in [this \
example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/21836\
70). 2. Use this PUT operation to update the quota limit. Please check the URI in location header for the detailed \
status of the request."
short-summary: "Create the quota limit for the specified resource with the requested value."

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It has been modified.

Comment on lines 132 to 136
short-summary: "Update the quota limit for a specific resource to the specified value: 1. Use the Usages-GET and \
Quota-GET operations to determine the remaining quota for the specific resource and to calculate the new quota limit. \
These steps are detailed in [this example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using\
-the-new-quota-rest-api/ba-p/2183670). 2. Use this PUT operation to update the quota limit. Please check the URI in \
location header for the detailed status of the request."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
short-summary: "Update the quota limit for a specific resource to the specified value: 1. Use the Usages-GET and \
Quota-GET operations to determine the remaining quota for the specific resource and to calculate the new quota limit. \
These steps are detailed in [this example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using\
-the-new-quota-rest-api/ba-p/2183670). 2. Use this PUT operation to update the quota limit. Please check the URI in \
location header for the detailed status of the request."
short-summary: "Update the quota limit for a specific resource to the specified value."

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It has been modified.

@kairu-ms kairu-ms merged commit d292d6d into Azure:main Mar 7, 2022
haroonf added a commit to calvinsID/azure-cli-extensions that referenced this pull request Mar 23, 2022
* Update workaround information in parameter helptext (#4321)

* update workaround information in helptext

* update setup.py to use 0.12.0 version

Co-authored-by: Vivek Sundararajan <s.vivek.rajan@gmail.com>

* [Release] Update index.json for extension [ cosmosdb-preview ] (#4323)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1296094

Last commit: https://github.com/Azure/azure-cli-extensions/commit/68fd2df68090503ccaa95a8135bfc651b0a5136b

* [Enterprise-Edge] : `az staticwebapp enterprise-edge enable` : register Microsoft.CDN provider automatically upon running enable command  (#4324)

* register Microsoft.CDN provider automatically

* bump version and fix style issues

* small fixes; use sdk method

* fix sdk call

* Update version (#4322)

* [Release] Update index.json for extension [ storage-preview ] (#4326)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1307240

Last commit: https://github.com/Azure/azure-cli-extensions/commit/f6aa6d8194a7dec21f29b4c92dec5946c60699f1

* [Release] Update index.json for extension [ enterprise-edge ] (#4325)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1306508

Last commit: https://github.com/Azure/azure-cli-extensions/commit/7fc818250de852b5d6ad46ed537694f3ee1e8038

* Make cli zone redundant property be none (#4327)

Co-authored-by: Wenhao Zhang <wenhaozhang@microsoft.com>

* fix regex used to check node image version (#4319)

* Update Terminology end-to-end TLS to ingress-to-app TLS (#4320)

* Update Terminology end-to-end TLS to ingress-to-app TLS

* Update position

* Update for static analysis

* Add it for e2etls

* Remove useless line

Co-authored-by: Wenhao Zhang <wenhaozhang@microsoft.com>

* Fix certificate list output error (#4330)

* Fix certificate output error

* Update according to comments

Co-authored-by: Wenhao Zhang <wenhaozhang@microsoft.com>

* [k8s-configuration] Release v1.4.1 with fixed help text (#4328)

* Create pull.yml

* Update pull.yml

* Update azure-pipelines.yml

* Initial commit of k8s-extension

* Update CODEOWNERS

* Update azure-pipelines.yml

* Create pull.yml

* Update pull.yml

* Update pull.yml

* Update pipelines file

* Update k8s-configuration name

* Update test script params

* Update pipeline file

* Remove codeowners

* Update pipelines file

* Update CODEOWNERS

* Update private preview pipelines

* Remove open service mesh from public release

* Update pipeline files

* Update custom pipelines files

* Add publish step to k8s-configuration

* Update pipeline to publish extension

* Update public extension pipeline

* Change condition variable

* Update pipeline naming

* Add version to public preview/private preview

* Update pipelines

* Add different testing based on private branch

* Add annotations to extension model

* Update k8s-custom-pipelines.yml

* Update SDKs with Updated Swagger Spec for 2020-07-01-preview (#13)

* Update sdks with updated swagger spec

* Update version and history rst

* Reorder release history timeline

* Fix ExtensionInstanceForCreate for import

* remove py2 bdist support

* Add custom table formatting

* Remove unnecessary files

* Fix style issues

* Fix branch based on comments

* Update identity piece manually

* Don't handle defaults at the CLI level

* Remove defaults from CLI client

* Check null target namespace with namespace scope

* Update style

* Add cassandra operator and location to model

* Stage Public Version of k8s-extension 0.2.0 for official release (#15)

* Create pull.yml

* Update pull.yml

* Update azure-pipelines.yml

* Initial commit of k8s-extension

* Update pipelines file

* Update CODEOWNERS

* Update private preview pipelines

* Remove open service mesh from public release

* Update pipeline files

* Update public extension pipeline

* Change condition variable

* Add version to public preview/private preview

* Update pipelines

* Add different testing based on private branch

* Add annotations to extension model

* Update k8s-custom-pipelines.yml

* Update SDKs with Updated Swagger Spec for 2020-07-01-preview (#13)

* Update sdks with updated swagger spec

* Update version and history rst

* Reorder release history timeline

* Fix ExtensionInstanceForCreate for import

* remove py2 bdist support

* Add custom table formatting

* Remove unnecessary files

* Fix style issues

* Fix branch based on comments

* Update identity piece manually

* Don't handle defaults at the CLI level

* Remove defaults from CLI client

* Check null target namespace with namespace scope

* Update style

* Add cassandra operator and location to model

Co-authored-by: action@github.com <Action - Fork Sync>

* Remove custom pipelines file

* Update extension description, remove private const

* Update pipeline file

* Disable check ref docs

* Disable refs docs

* Update to include better create warning logs and remove update context (#20)

* Update to include better create warning logs and remove update context

* Remove help text for update

* Fix spelling error

* Update message

* Fix k8s-extension conflict with private version

* Fix style errors

* Fix filename

* add customization for microsoft.azureml.kubernetes (#23)

* add customization for microsoft.azureml.kubernetes

* Update release history

Co-authored-by: Yue Yu <yuyu3@microsoft.com>
Co-authored-by: jonathan-innis <jonathan.innis.ji@gmail.com>

* Add E2E Testing from Separate branch into internal code (#26)

* Add internal e2e testing

* Change to testing folder

* Inference CLI validation for Scoring FE (#24)

* cli validation starter

* added the call to the fe validation function

* nodeport validation not required

* test fix

Co-authored-by: Jonathan Innis <jonathan.innis.ji@gmail.com>

* legal warning added (#27)

* Remove deprecated method logger.warn

* Update k8s-custom-pipelines.yml for Azure Pipelines

* Update k8s-custom-pipelines.yml for Azure Pipelines

* Add Azure Defender to E2E testing (#28)

* Add azure defender testing to e2e

* Remove the debug flag

* Add configuration testing

* Fix pipeline failures

* Make test script more intuitive

* Remove parameter from testing

* Add some debug

* Fix wrong location for k8s config whl

* Fix pip install upgrade issue

* Fix pip install upgrade issue

* Add Check for Provider Registration and Refactor (#19)

* Add check for provider registration and refactor

* Fix bug in checking registration

* Add license header to utils

* Update private key check and error messaging

* Update based on refactoring

* Fix failing tests

* Add provider registration check

* Create a test for uppercase url, address comments

* Add blank line to fix style check

* Testing increase to ubuntu-latest

* Update k8s-configuration Models to Track2 (#63)

* Update models to track2

* Increase k8s-configuration version number

* Update kind version

* Change error to warning because of DSA failure

* Upgrade helm operator chart version (#75)

* Pin helm version

* Bump version

* Migrate pipeline (#90)

* Disable updates on configuration tests (#89)

* Release k8s-configuration v1.2.0 for Flux v2 Public Preview (#86)

* Scaffold out the k8s-config package

* Base implementation of CLI commands

* Add create scenario and cleanup in consts

* Add help text to commands, params

* Add other clients to client factory

* Automatically installing the flux extension

* Move flux and extension into modules

* Updated the versioned sdks

* Push working command for testing

* Update to multi api versioned sdk

* Support other extension methods

* Fix nullity check

* Add source control provider

* Add scc commands

* Add defer logic for create with cache

* Use default extension with identity

* Fix identity creation

* Add kustomization caching

* Add formatters

* Add scc provider

* Add help text for k8s-config fluxv1

* Add help text for extension

* Allow force delete of extension and fluxconfiguration

* Add location to the extension model

* Update with latest from k8s-extension

* Add k8s-config testing

* Add license header

* Fix all style issues

* Update codeowners file

* Validate data before checking cluster compliance

* No kustomizations warning

* Fix identity issue in 2020-07-01

* Fix k8s regex

* Fix configuration name regex validation

* Fix name length validation

* Adding some validation warnings

* Add protected settings to request

* Exclude private test path

* Add suspend functionality

* Add correct values to build Kustomization

* Add no_wait

* Fix style issues

* Use base64 encoded httpsUser

* Fix formatting error and base64 encoding error

* Fix style issues

* Fix force

* Updated help text

* Style fixes

* Increase namespace maximum len

* Add managed cluster support to k8s-config

* Custom confirmation when prune is enabled

* Add flux commands to existing k8s-configuration

* Remove extension provider from CLI

* Fix style issues

* Override extension variables

* Strip newlines from known_hosts file

* Update help text and validators

* Strip newlines from known hosts

* Add provisioning state check for flux extension

* Pin helm version

* Remove validation from create command

* Add patch support with new SDK

* Add implementation for CRUD of source and kustomization

* Fix errors on patch

* Fix some bugs in patching properties

* Add fixes for patch in k8s-configuraiton

* Change duration formatting in table output

* Add validation and conversion for durations

* Bump verison and fix typo

* Fix bug with dependencies

* Fix linter and style issues

* Fix delete prune check

* Add flux testing

* Create separate jobs for scenarios

* Update error text

* Fix filepath suggestion from CLI team

* Fix unneeded file edit

* Add a Deployed Object List to the Flux CLI (#91)

* Enable a deployed object list on the CLI

* Show detail when extension install fails

* Bump version

* Update deployed object format (#93)

* Fix help text for consistency

* Enable Bucket Support in the CLI (#92)

* Update vendored_sdks

* Enable source kind generation factories and use kwargs to pass to provider

* Add better validation logic to source generator

* Move away from classes in the provider directory

* Fix style issues using black auto-formatter

* Fix linter failures

* Update identity with api version and rp in same function

* Bucket Testing for E2E Testing (#96)

* Bucket testing

* Add switching kind test to update CLI

* Bump version

* Fix help text and parameter naming for bucket (#100)

* Fix default help text for parameters (#101)

* Remove unneeded files

* Edit history with breaking change

Co-authored-by: action@github.com <Action - Fork Sync>
Co-authored-by: yuyue9284 <15863499+yuyue9284@users.noreply.github.com>
Co-authored-by: Yue Yu <yuyu3@microsoft.com>
Co-authored-by: Lia Kazakova <58274127+liakaz@users.noreply.github.com>

* fix: 🐛 Validate deployment parameters with source type (#4329)

* fix: 🐛 Should enable persistent storage when updating App

* Validate deployment source parameters

* fix lint

* fix bugs

* fix test

* [IoT] IoT Extension Release v0.13.0 (#4333)

* Remove IoT Extension v0.10.14
* Add IoT Extension v0.13.0
* Update linter exclusions

* [Release] Update index.json for extension [ k8s-configuration ] (#4332)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1309054

Last commit: https://github.com/Azure/azure-cli-extensions/commit/649b29ab8f154006be6cc4fd2c53f242eec0a319

* update location (#4334)

* Update data plane client from swagger (#4318)

* Update generated client to latest Azure Quantum Python Data Plane

Co-authored-by: XField <58103249+vxfield@users.noreply.github.com>

* Update Data-Plane client generate script to delete previous output folder contents (#4340)

* [Resource Mover] Update Resource Mover CLI (#4309)

- generate vendored SDK
- bump up version to 0.1.1

* [Release] Update index.json for extension [ resource-mover ] (#4343)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1317636

Last commit: https://github.com/Azure/azure-cli-extensions/commit/e9497c3fe0b619aa92548f21246f584fca9c3d4b

* [Databricks]az databricks workspace create: Add new parameters --publ… (#4331)

* [Databricks]az databricks workspace create: Add new parameters --public-network-access and --required-nsg-rules

update databricks sdk version and add new parameters

* Update

1.move databricks.models into load_arguments function
2.update extension version in

* [Logic] Upgrade SDK to fix deserialization errors (#4347)

* [Release] Update index.json for extension [ logic ] (#4349)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1321294

Last commit: https://github.com/Azure/azure-cli-extensions/commit/16595ffb29a5d5cc24593c3656d25fa47b71196c

* fetching tenantID from subscription object instead of graph client (to pickup tenant Id of sub where cc is getting created instead of user/spn's tenant) (#4336)

* Fetch the tenant ID from the subscription object instead of graphclient

* nit

* nit

* revert proxy tenantid change

Co-authored-by: Siri Teja Reddy Kasireddy <sikasire@microsoft.com>

* Adding new module DataMigration (#4298)

* Adding initial settings to module

* Working on Linter, License and Cred scan errors

* Working on Static analysis error

* Hiding Register-ir commands for now

* Lint and Integration Tests solving

* Unhiding register-ir command and adding windows test to assessment command

* Making error messages proper

* Nit changes from comments

* MultiServer support for Assessment and nit changes

* Adding Proper Json format, lower case for access, seperate util for Windows check

* Correcting Lint and Static errors

* Removing to-* from command names

* Adding correct error formats

* Removing Update operation from DatabaseMigration

* Updating readme and help

* Nit: Readme corrections

* Added CLI Test Cases

* Removed IR AuthKeys and Unused Imports

* Adding Default IR Program files path for 32-bit error

* Nit and Static analysis fix

* Added File Extension Validation

* Removed unnecessary spaces and fixed static analysis Issues

* Deferred IR path and MSI Extension validations

Co-authored-by: Sachin Gangwar <sagangwar@microsoft.com>

* [Release] Update index.json for extension [ connectedk8s ] (#4350)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1323101

Last commit: https://github.com/Azure/azure-cli-extensions/commit/b8abdf1987ed799ed1d5a2cc846d8696c86cc5d7

* [AKS] az aks update/az aks nodepool update: Allow empty string as label value  (#4351)

* skip none check for labels

* use correct value

* change empty string check in aks nodepool update

* revert change

* fix value

* revert change

* [Release] Update index.json for extension [ datamigration ] (#4352)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1323628

Last commit: https://github.com/Azure/azure-cli-extensions/commit/f412582fe051ce76f555fee010f3d8240118ed18

* Change link in datamigration setup file (#4353)

* add rdbms-connect to cloud shell (#4313)

* Update azurestackhci version to 0.2.3 (#4356)

* [Release] Update index.json for extension [ rdbms-connect ] (#4359)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1325769

Last commit: https://github.com/Azure/azure-cli-extensions/commit/83cde80e25e9273eece470369f18f5a3b5662249

* fix: fix builder validator (#4339)

* fix: fix builder validator

* fix

* [Release] Update index.json for extension [ databricks ] (#4346)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1321182

Last commit: https://github.com/Azure/azure-cli-extensions/commit/c908659851fa910522935d8e71c7d717b5e22824

* [Spring-Cloud] fix app deployment validator can retrieve app name from app and name (#4335)

* fix app deployment validator can retrieve app name from app and name

* fix lint

* Initial commit for 0.12.0 release (#4341)

* Initial commit for 0.12.0 release

* Update src/quantum/HISTORY.rst to use cost instead of price

Co-authored-by: Ricardo Espinoza <ricardoe@microsoft.com>

* Update commands.py

* Update src/quantum/HISTORY.rst

Co-authored-by: Angela Burton <anjbur@users.noreply.github.com>

* Restart CI/CD

Co-authored-by: Ricardo Espinoza <ricardoe@microsoft.com>
Co-authored-by: Angela Burton <anjbur@users.noreply.github.com>

* [Release] Update index.json for extension [ quantum ] (#4364)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1328638

Last commit: https://github.com/Azure/azure-cli-extensions/commit/d28093638614c9af2cef3041d6422691c6bb1e99

* Baremetalinfrastructure extension stable release support (#4180)

* baremetalinfrastructure extension release support

* adding whl extension

* removing unnecessary files

* Alerts management new alert processing rule (#4337)

* Alerts management new alert processing rule

Co-authored-by: Liran Englender <lienglender@microsoft.com>
Co-authored-by: kai ru <69238381+kairu-ms@users.noreply.github.com>

* chore(arcdata): arcdata version bump to 1.2.0 (#4365)

* 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

* {AKS} Declare delete command and update recordings (#4367)

* add delete command

* fix location for gpu test

* update recordings

* [Image Copy] Fix the hyper_v_generation of image copy (#4372)

* Fix generation

* Fix CI

* Update ml extension to version 2.0.7 (#4370)

* Update ml extension to version 2.0.6

* fix linter issue

* Remove is_preview from snapshot related commands (#4376)

* {AKS} Use default serialization for maintenanceconfiguration commands (#4362)

* Use msrest deserilizer

* fix as per comments

* remove the import

Co-authored-by: Allan Zhang <xiazhan@microsoft.com>

* [Release] Update index.json for extension [ image-copy ] (#4373)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1332056

Last commit: https://github.com/Azure/azure-cli-extensions/commit/f1bdd0318036276b6aa199103895b7e02d90356d

* Release 0.23.0 for azure dev ops (#4378)

* [AKS] Allow aks nodepool update --node-taints (#4363)

* allow edit taints and add test

* add missing parameter

* change var name

* .get_output_in_json()

* give value

* try fix'

* fix test

* address comments

* add yaml file to package data (#4382)

* [Release] Update index.json for extension [ alertsmanagement ] (#4366)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1329629

Last commit: https://github.com/Azure/azure-cli-extensions/commit/2e6b127b67489ae3ad36419a436e6529b4d38a73

* [CosmosDB] Mongo RBAC (#4389)

* Mongo RBAC

* Fixing Lint issues

* Fixing help Lint issue

* [Release] Update index.json for extension [ cosmosdb-preview ] (#4392)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1351532

Last commit: https://github.com/Azure/azure-cli-extensions/commit/9dac199b9a77beb191e870f44adb0d42b5757c63

* Fix test: change to use soft taint on system pool in test (#4393)

* change to soft taint on system pool

* outbound ip workaround

* {AKS} Remove hardcoded k8s version in test case `test_aks_create_and_update_ipv6_count` (#4394)

* remove hardcoded k8s version in test case

* update recording

* Update azure-pipelines.yml for Azure Pipelines (#4399)

* [Vm-repair] preview script bug fix (#4388)

* bug fix

* adding history

* changing history

* Apply suggestions from code review

* bug fix preview

* adding history

* version bump

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

* {AKS} Update version to 0.5.52 (#4377)

* update version to 0.5.52

* update history

update recording for test_aks_create_and_update_outbound_ips

show pip as workaround

update jmes check

fix

update recording

* Add clear for sso & cors  properties (#4371)

* AlertsManagement-CLI-GA-Fixes (#4400)

* 1. help file fix
2. removed redundant import from typing_extension

* Increased minor version and added it to the history file

Co-authored-by: Liran Englender <lienglender@microsoft.com>

* [Release] Update index.json for extension [ alertsmanagement ] (#4403)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1355227

Last commit: https://github.com/Azure/azure-cli-extensions/commit/fe44a1bb123a58b7e8248850bdc20555ca893406

* [Quantum] Workspace creation race condition fix (#4314)

* Add ARM templates

* Add ARM template that does role assignment

* Modify auth code and move template folder to operations

* Try AzureCliCredential

* Restore deleted Storage Account lines in template

* Fixed Deployment.properties problem

* Call _add_quantum_providers for validation

* Call _get_data_credentials

* Fix pylint infractions

* Eliminate Pylint message W1514

* Add test that does role assignment

* Use short storage account name in utils.py

* Use workspace name for deployment name

* Use workspace name for storage account deployment name.

* Use workspace name for deployment name and temporarily comment-out the provisioningState check in test

* Add workspace creation timeout

* Add ARM template file to wheel

* Delete commented-out lines and unused ARM files

* Fix static analysis violations

* Re-run CI/CD checks

* update url links (#4354)

Co-authored-by: cxznmhdcxz <>

* Change links for setup file till k8s-configuration module (#4348)

Co-authored-by: kai ru <69238381+kairu-ms@users.noreply.github.com>

* [Public Preview] Azure Confidential Ledger Extension (#4276)

* generated code

* add recording

* update tests

* json deserialize

* regenerated sdk

* tests passed!

* run pre-pr checks

* update docstrings

* update codeowners

* ci fix attempts

* add to codeowners

* update service_name.json

* Update src/confidentialledger/azext_confidentialledger/tests/latest/example_steps.py

* Update src/confidentialledger/azext_confidentialledger/tests/latest/test_confidentialledger_scenario.py

* ci fixes again

* coverage file updated

Co-authored-by: kai ru <69238381+kairu-ms@users.noreply.github.com>

* [Release] Update index.json for extension [ confidentialledger ] (#4410)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1358406

Last commit: https://github.com/Azure/azure-cli-extensions/commit/ddba03626f75e10984652bf74235bb3cd5c4c894

* [Stream Analytics] Bump up version to 0.1.2 (#4404)

* Refine help messages

* Add tests and recordings

* Fix style and linter checks

* update disk-pool-volume-create --mount-option to only accept one para… (#4396)

* update disk-pool-volume-create --mount-option to only accept one parameter

* updated mount option help and added unit tests

* mount type help text update

* {AKS} Clean up some deprecated code (#4412)

* remove validator for cluster_autoscaler_profile

* clean up unused **kwargs

* change to property & SimpleNamespace for nat_gateway_models

* fix lint issues

* remove another hardcoded k8s version in test

* update recording

* {account} Bump up `azure-mgmt-subscription` SDK to `3.0.0` (#4409)

* bump up subscription SDK

* update

* [Release] Update index.json for extension [ account ] (#4416)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1362133

Last commit: https://github.com/Azure/azure-cli-extensions/commit/8c9c7841dbc38d9c114c2b6a9de04d963577374f

* [Release] Update index.json for extension [ vmware ] (#4415)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1361421

Last commit: https://github.com/Azure/azure-cli-extensions/commit/8dbc3b19762c619c11613a5ef7748417e8cfe2ab

* [Release] Update index.json for extension [ aks-preview ] [ hack ] (#4408)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1357913

Last commit: https://github.com/Azure/azure-cli-extensions/commit/d236554051bdd0f359ec1bd3ad4ece70cccd7f53

* [Release] Update index.json for extension [ stream-analytics ] (#4414)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1361403

Last commit: https://github.com/Azure/azure-cli-extensions/commit/d9108c0305d48feb92a73cc63954380bc30b58a4

* {AKS} Vendor 2022-01-02-preview for aks-preview (#4417)

* vendor new sdk

* update default api

* fix check in test test_aks_nodepool_update_taints_msi

* update recordings'

* fix recordings

* fix check

* [Release] Update index.json for extension [ vm-repair ] (#4401)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1355202

Last commit: https://github.com/Azure/azure-cli-extensions/commit/2cd5fda928273f4cd5c5a0488d306a8d6afa5c48

* AKS CRG for Aks v20211101preview (#4292)

* add support for capacity reservation group

* fix an UT issue

* fix a static test issue

* add new test function for new get_crg_id

* remove type=str per comment.

* Adds test case for crg

* Adds test case for crg

* fixed a merging error

* fixed a merging error

* fixed a space error

* fix: add runtime version in build (#4420)

* fix: add runtime version in build

* fix npe

* fix

* Update src/spring-cloud/azext_spring_cloud/_buildservices_factory.py

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

* add test

* fix

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

* Add Arc Appliance extension 0.2.15 (#4421)

Co-authored-by: Prashanth Koushik <Prashanth.Koushik@microsoft.com>

* AKS preview upgraded to 0.5.53 with CRG (#4422)

* add support for capacity reservation group

* fix an UT issue

* fix a static test issue

* add new test function for new get_crg_id

* remove type=str per comment.

* Adds test case for crg

* Adds test case for crg

* fixed a merging error

* fixed a merging error

* fixed a space error

* fixed a space error

* upgrade to 0.5.53

* [Spring-Cloud] Upgrade version (#4294)

* [Spring-Cloud] Upgrade version

* Update HISTORY.md

* Update HISTORY.md

* Update HISTORY.md

* Update HISTORY.md

* Update HISTORY.md

* Update HISTORY.md

* Update wording

* Update commands.py

* TOC - fixed Azure service names (#4425)

* fixed TOC service names

* fixed Azure service names

Co-authored-by: Delora Bradish <debradis@microsoft.com>

* [Release] Update index.json for extension [ aks-preview ] (#4423)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1368539

Last commit: https://github.com/Azure/azure-cli-extensions/commit/b01494990b0c5672b1513727f4adbf39f95ad338

* [Release] Update index.json for extension [ spring-cloud ] (#4426)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1370330

Last commit: https://github.com/Azure/azure-cli-extensions/commit/6593c6a9df7071b3052ac5cd516967eed27ea928

* Add support for host group id (#4419)

* some initial changes for host group

* add host-group-id support

* remove some unnecessary changes

* format _validators.py by adding extra line

* resolve comments

* add missing comma

* update test_decorator.py

* update version to 0.5.54

Co-authored-by: Jianping Zeng <jizen@microsoft.com>

* [Release] Update index.json for extension [ aks-preview ] (#4430)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1373529

Last commit: https://github.com/Azure/azure-cli-extensions/commit/16bd206af6ca04510694a98a16e42e4fecef7ba4

* [AKS] Add network plugin none support (#4007)

* rebase

* improve help text clarity

* fixes

* closing params

* reset the count

* include location

* add test recording file

* add check network plugin in test

Co-authored-by: FumingZhang <81607949+FumingZhang@users.noreply.github.com>

* remove csi deployment (#4431)

* {AKS} Update unit test coverage configuration (#4432)

* clean up ut

* update ut coverage config

* remove read_only property setting in ut

* [appservice-kube] Fix #4357, #4358 : support functions v4 and powershell functions (#4411)

* support functions v4; powershell functions

* add custom handler runtime and fix CI issue

* use specific error type

* set max CLI version

* fix CI issues

* fix style

* [Release] Update index.json for extension [ appservice-kube ] (#4434)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1374379

Last commit: https://github.com/Azure/azure-cli-extensions/commit/e305b4d01f56c38f94be004bea18d19bed534502

* [Release] Update index.json for extension [ aks-preview ] (#4433)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1374361

Last commit: https://github.com/Azure/azure-cli-extensions/commit/811a3192458606c794e76071c830872f4f5d003e

* Added version 2.1.1 for Azure ML CLI (#4418)

* CLI 2.0.3 public preview release

* Updated CLI release with linting fixes

* Updated .whl file

* Fixed conflict

* Fix change to 2.0.7 checksum

* Replaced 2.1.0 with 2.1.1

* AzureML CLI patch release 2.1.2 (#4442)

* Customcert and fix for non escaping values in helm (#4428)

* Use userValues.txt instead of --resuse-values in update command

* fix error msg

* added custom cert

* change setup.py

* Helmupdatefix (#4)

* Use userValues.txt instead of --resuse-values in update command

* fix error msg

Co-authored-by: Siri Teja Reddy Kasireddy <sikasire@microsoft.com>

* fix output file

* Helmupdatefix (#5)

* Use userValues.txt instead of --resuse-values in update command

* fix error msg

* fix output file

Co-authored-by: Siri Teja Reddy Kasireddy <sikasire@microsoft.com>

* place values file in .azure folder

* place values file in .azure folder

* Helmupdatefix (#6)

* Use userValues.txt instead of --resuse-values in update command

* fix error msg

* fix output file

* place values file in .azure folder

* place values file in .azure folder

Co-authored-by: Siri Teja Reddy Kasireddy <sikasire@microsoft.com>

* place values file in .azure folder

* nit

* nit

* nit

* setp.py and history.rst updates

* modify the way of fetching userValues.txt path

* Waiting for LRO to complete before moving ahead with agent installation/deletion

* update history.rst

* fix

* fix location variable

Co-authored-by: Siri Teja Reddy Kasireddy <sikasire@microsoft.com>
Co-authored-by: siriteja <32883500+sirireddy12@users.noreply.github.com>

* [Release] Update index.json for extension [ connectedk8s ] (#4445)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1383624

Last commit: https://github.com/Azure/azure-cli-extensions/commit/6d0ff505113ca853fea82e5f0573a8edb96b63a6

* {appservice-kube} Ensure compatibility with upcoming CLI version (#4384)

* ensure compatibility with upcoming CLI version

* change min CLI version to 2.34.0

* Update src/appservice-kube/HISTORY.rst

Co-authored-by: ZelinWang <zelinwang@microsoft.com>

* fix 'az functionapp create' compatibility

* Update HISTORY.rst

* remove unneeded methods

* fix style

* fix 'az webapp create'

* bump version no.

Co-authored-by: ZelinWang <zelinwang@microsoft.com>

* add message of the day for aks agentpools (#4381)

* add message of the day for aks agentpools

* bump version

* add validation for linux only

* fix tests

* fix spacing

* try to fix ut

* fix: typo, remove cluster creation validation

* add missing comma

* ut

* use more specific validator error

* update recording

* add a line

* bump version, test fixes, encoding fixes

* fix lint

* fix missing coverage

* change to iter (#4449)

* Data migration - Adding SKU recommendation (#4436)

* Adding SKU Recommendation Command

* Adding multiserver support - currently fails

* Adding Support for DatabaseAllowList and DatabaseDenyList

* Correcting lint and style errors

* Adding help for perf-data-collection and sku-recommendation

* Adding changes as per suggestions

* Nit change: config_file_path

* Adding custom cmds to common group

* Updating version of extension

* [Release] Update index.json for extension [ datamigration ] (#4456)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1387498

Last commit: https://github.com/Azure/azure-cli-extensions/commit/7cf0cbe19dac82a16fbf054aa9f4bf10dd1989c5

* [Monitor] `az monitor app-insights web-test`: Support Application Insights Web Test (#4440)

* Update vendored SDK

* Add list/show/create/update/delete commands

* Add parameter actions

* Add help messages

* Fix style and linter checks

* Add tests and recording files

* Update version and changelog

* Restorable APIs for Tables and Gremlin. Added Latest backup info for Gremlin and Table and also added start and end time filter for collection listing. (#4385)

* Table/Gremlin changes (Generated code)

* Table/Gremlin code and test changes for new commands

* New change

* New changes

* Working

* New Vendored sdk

* Test Updates and Session Records.

* Merge changes for removing EnableGremlinV2 Support

* Fixing Linter

* Update ReadMe, History and Version.

* [Release] Update index.json for extension [ application-insights ] (#4458)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1389585

Last commit: https://github.com/Azure/azure-cli-extensions/commit/a1ac7443895dd794ae3a86dfabfab5c4ea04a5d3

* [Release] Update index.json for extension [ aks-preview ] (#4455)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1387121

Last commit: https://github.com/Azure/azure-cli-extensions/commit/e4edce2ed79082e0cc183148810da86a7c3a52ca

* [EdgeOrder] Initial Release (#4450)

* Add command groups

* Simplify long parameters

* Refine help messages and README.md

* Add tests and recording files

* Fix style and linter checks

* [Release] Update index.json for extension [ edgeorder ] (#4460)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1390385

Last commit: https://github.com/Azure/azure-cli-extensions/commit/a408888db3f9ab1c5ea63f096b0973d997e87a22

* DataShare CLI (#4454)

* adding auo-generated cli commands and basic-test file with recording, commit-1

* adding tests, commit-2

* adding tests, commit-3

* adding tests, commit-4

* Updating cli version to 2021-08-01 and modifying tests

* updating test files

* Fixing CI checks

* removing auto-generated test file

* addressing PR comments, rev-1

* reinstating experimental tag

* updating test recording file after updating the branch with main

* updating test recording file after merging azure-cli repo with main on local

* updating test file after installing newer version of storage

* [Release] Update index.json for extension [ cosmosdb-preview ] (#4459)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1389592

Last commit: https://github.com/Azure/azure-cli-extensions/commit/52bca4ddf4b52ff1bf36da92461b3981e463f63f

* [Release] Update index.json for extension [ datashare ] (#4461)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1390624

Last commit: https://github.com/Azure/azure-cli-extensions/commit/00f0762f671793f96aa5b1c8e773077121f2946b

* fix: 🐛 [Spring-Cloud] Failed to remove jvm option in Enterprise (#4444)

* fix: 🐛 [Spring-Cloud] Failed to remove jvm option in Enterprise

* fix test

* fix lint

* Add more test

* fix app update

* fix UT recording

* add log

* fix lint

* Add new WHL for SCVMM scenarios (#4465)

Co-authored-by: Prashanth Koushik <Prashanth.Koushik@microsoft.com>

* [Spring-Cloud] Add a new parameter "--build-env" for app deploy (#4443)

* fix: fix the deploy of gradle project with multiple modules

* add a new parameter --build-env

* fix typos

* fix

* fix

* fix

* fix

* fix

* fix

* fix test

* fix test

* fix test

* fix test

* fix test

* fix

* Update src/spring-cloud/HISTORY.md

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

* update ClientRequestError to ArgumentUsageError

* fix test

* fix test

* fix test

* update validator

* add new line

* update history

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

* chore(arcdata): arcdata version bump to 1.2.1 (#4466)

* chore(arcdata): arcdata version bump to 1.2.1

* chore(arcdata): arcdata version bump to 1.2.1

* Add CLI version 0.1.48 (#4470)

Co-authored-by: Prashanth Koushik <Prashanth.Koushik@microsoft.com>

* [Release] Update index.json for extension [ spring-cloud ] (#4467)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1393299

Last commit: https://github.com/Azure/azure-cli-extensions/commit/47fd457596e401a5f3c5524c176064cc46559696

* [Release] Update index.json for extension [ appservice-kube ] (#4481)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1386720

Last commit: https://github.com/Azure/azure-cli-extensions/commit/4fbcd8fcc049730f65d92a30da1eb8628559b76b

Co-authored-by: Azure CLI Team <AzPyCLI@microsoft.com>

* chore(arcdata): arcdata version bump to 1.2.2 (#4473)

* chore(arcdata): arcdata version bump to 1.2.2

* chore(arcdata): arcdata version bump to 1.2.2

* Update version and history info for az quantum extension 0.13.0 (#4484)

* Added ArcAppliance 0.2.16 (#4487)

Co-authored-by: Sai Sankar Gochhayat <sgochhayat@microsoft.com>

* [Release] Update index.json for extension [ quantum ] (#4489)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1408510

Last commit: https://github.com/Azure/azure-cli-extensions/commit/f659327e9aa96b842cbcfe94a58d5ca4609a8041

* {Quota}Generate quota with codegen (#4475)

* {Quota}Generate quota with codegen

* Update setup.py

* Update test_quota_crud.yaml

* Update test_quota_crud.yaml

* Update

* Update

* Update _help.py

* Update _help.py

* [Release] Update index.json for extension [ quota ] (#4496)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1412890

Last commit: https://github.com/Azure/azure-cli-extensions/commit/d292d6d0295e5245cff22da0bdc4bbf38ed92dd7

* [Quantum] Show progress messages and dots before executing commands (#4480)

* Show the first progress indicator dot before starting ARM template deployment

* Show progress messages on 'execute' and 'job submit'

* Change f-string to simple string

* chore(arcdata): arcdata version bump to 1.2.3 (#4501)

* Revert "chore(arcdata): arcdata version bump to 1.2.3 (#4501)" (#4502)

This reverts commit c45ca8102492ece8d1f7594f25224612954a2986.

* chore(arcdata): arcdata version bump to 1.2.3 (#4503)

* [appservice-kube] Make compatible with new SDK (#4494)

* fix plan create and webapp create

* bump version, include bug fix from #4493, fix style, fix webapp update bug, add basic regression tests

* remove deprecated 'az webapp update' params

* Fix UUID issue for data disk (#4479)

* new version 0.4.2

* new version 0.4.2

* Fixed an UUID issue by getting the data disk attached to the VM after VM creation

* Fixed an UUID issue by getting the data disk attached to the VM after VM creation

* Fixed an UUID issue by getting the data disk attached to the VM after VM creation

* Fixed an UUID issue by getting the data disk attached to the VM after VM creation

* Fixed an UUID issue by getting the data disk attached to the VM after VM creation

* Fixed an UUID issue by getting the data disk attached to the VM after VM creation

* Update src/vm-repair/azext_vm_repair/custom.py

Co-authored-by: ZelinWang <zelinwang@microsoft.com>

Co-authored-by: ZelinWang <zelinwang@microsoft.com>

* Move cli to production subscription (#4505)

* {NetworkManager}Add new commands (#4413)

* {NetworkManager}Add new commands

Add new commands 'az network manager connection', 'az network manager connection management-group', 'az network manager scope connection', 'az network manager group static-members'

* Update _help.py

* Update _params.py

Bump up azure-mamt-network SDK to 2021_05_01_preview and Update  params and commands.

* Update

* Update

* Update

* Update

* Update

* Update

* update tests for new api version 2021-05-01-preview for network-manager extension

* Update

* Update

* Update custom.py

* Update

* Update

Co-authored-by: Jared Gorthy <jaredgorthy@microsoft.com>

* CosmosDB Adding enable MaterializedViews parameter for create/update database … (#4499)

* Adding enable MaterializedViews parameter for create/update database account

* api-version=2021-11-15-preview

* CassandraEnableMaterializedViews

* Update src/cosmosdb-preview/HISTORY.rst

Co-authored-by: Yishi Wang <yishiwang@microsoft.com>

* Update src/cosmosdb-preview/README.md

Co-authored-by: Yishi Wang <yishiwang@microsoft.com>

* Update src/cosmosdb-preview/azext_cosmosdb_preview/_params.py

Co-authored-by: Yishi Wang <yishiwang@microsoft.com>

* Update linter_exclusions.yml

Co-authored-by: Yishi Wang <yishiwang@microsoft.com>

* [Release] Update index.json for extension [ network-manager ] (#4511)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1419833

Last commit: https://github.com/Azure/azure-cli-extensions/commit/03dc8173839f44a960b25e625c23dbc34932143b

* [Release] Update index.json for extension [ vm-repair ] (#4507)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1416685

Last commit: https://github.com/Azure/azure-cli-extensions/commit/b68739c74809633eb9d358034f7884a81a2158d6

* [Release] Update index.json for extension [ appservice-kube ] (#4504)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1415742

Last commit: https://github.com/Azure/azure-cli-extensions/commit/f77b373146be6cb2f15b1cccec5311f161b23ce0

* {AKS} Fix several test cases (#4506)

* update

* update recording

* update subnet cidr for ingress test case

* update recordings

* fix coverage

* [Release] Update index.json for extension [ cosmosdb-preview ] (#4512)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1419899

Last commit: https://github.com/Azure/azure-cli-extensions/commit/387d57b8a1140d19738ace79864788814725d61b

* SSH Extension v.1.0.1 (#4474)

* Change how private ips are appended to the list (#4517)

* [Release] Update index.json for extension [ ssh ] (#4520)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1426796

Last commit: https://github.com/Azure/azure-cli-extensions/commit/55eee43c837115fe90760a1ebcb16edde6c8deb8

* ADAL to MSAL move for cli>=2.30.0 (#4468)

* ADAL to MSAL move for cli>=2.30.0

* nit

* nit

* nit

* add comment

* addressing review comments

* linting fixes

* linter fixes

* linter nit

* add license for new file

* update release date

* add token condition

* Update src/connectedk8s/azext_connectedk8s/_utils.py

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

Co-authored-by: Siri Teja Reddy Kasireddy <sikasire@microsoft.com>
Co-authored-by: Xing Zhou <Zhou.Xing@microsoft.com>

* [Release] Update index.json for extension [ connectedk8s ] (#4523)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1431525

Last commit: https://github.com/Azure/azure-cli-extensions/commit/f13c4952c40bc1796a8e2c4b024d373140a6cfbf

* add aks update support for http proxy (#4469)

* add aks update support for http proxy

* adjust e2e tests

* fix decorator and tests

* add test

* fix: add back update bits

* fix recording

* fix decorator

* decorator should have trusted ca in ut

* new recording

* add real proxy vm

* remove extraneous option list

Co-authored-by: ZelinWang <zelinwang@microsoft.com>

* fix tests

* fix ut

* fix proxy urls

* add credscan suppression

* bump setup py version

* add live_only because of custom feature required

* exclude test due to feature

Co-authored-by: ZelinWang <zelinwang@microsoft.com>

* [Release] Update index.json for extension [ aks-preview ] (#4525)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1433736

Last commit: https://github.com/Azure/azure-cli-extensions/commit/456f486a75de4c6d19c8f861bbf8fe3f54ff8856

* [storage-preview] `az storage account create/update`: Support `--key-vault-federated-identity-client-id` and `--allowed-copy-scope` (#4498)

* `az storage account create/update`: Support `--key-vault-federated-identity-client-id` and `--allowed-copy-scope`

* rerun tests

* Update src/storage-preview/HISTORY.rst

* [Release] Update index.json for extension [ storage-preview ] (#4527)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1434569

Last commit: https://github.com/Azure/azure-cli-extensions/commit/1208f9ec30660177a7571a5482df3f7a40a41901

* [appservice-kube] `az webapp create`: Fix TypeError: 'NoneType' object is not subscriptable (#4518)

* fix plan create and webapp create

* bump version, include bug fix from #4493, fix style, fix webapp update bug, add basic regression tests

* remove deprecated 'az webapp update' params

* fix TypeError: 'NoneType' object is not subscriptable

* bump version

* better error message for nonextant customlocation

* fix name

* Fix functionapp devops-pipeline create (#4500)

* Fix functionapp devops-pipeline create

* Update version

* Bump up minimum cli core version to 2.23.0 (#4537)

Co-authored-by: Siri Teja Reddy Kasireddy <sikasire@microsoft.com>

* [Release] Update index.json for extension [ connectedk8s ] (#4538)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1437831

Last commit: https://github.com/Azure/azure-cli-extensions/commit/a1959b123d4c11149adae2728ab5791949889d54

* [Release] Update index.json for extension [ functionapp ] (#4532)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1437244

Last commit: https://github.com/Azure/azure-cli-extensions/commit/182362788e6f0e70f67b4f8934ce6e170a207bd2

* [Release] Update index.json for extension [ appservice-kube ] (#4531)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1437153

Last commit: https://github.com/Azure/azure-cli-extensions/commit/d2674f49819c6b1e953d55c5c650a5a0a8cfa559

* [CostManagement] `az costmanagement export`: Support `ActualCost` and `AmortizedCost` for export type (#4528)

* Fixing typo (#4541)

* [Release] Update index.json for extension [ costmanagement ] (#4544)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1439436

Last commit: https://github.com/Azure/azure-cli-extensions/commit/8080424bfe2b4cfc2c0bfee76ec918daeacc4d71

* Remove "packaging" module since 2.16.0 doesn't support it (#4545)

* Remove "packaging" module

* nit

* handle 2.30 case

* nit

* nit

Co-authored-by: Siri Teja Reddy Kasireddy <sikasire@microsoft.com>

* [Release] Update index.json for extension [ connectedk8s ] (#4546)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1439941

Last commit: https://github.com/Azure/azure-cli-extensions/commit/411a1c893715364f6a4980c1b0de3e67618292cc

* [AuthV2] Nov 2022 Bug Fixes and Improvements (#4089)

* fixes

* static analysis done

* fix test recordings

* fix static analysis

* Update to throw AZCliErrors and add Unit Tests for new Error Cases

* Fix indentation issue

* Merge main and re-record tests

* change azclierror to argumentusageerror

* Fix indentation

Co-authored-by: James Christianson <jamchri@microsoft.com>
Co-authored-by: James Christianson <jamesrchristianson@gmail.com>

* Add sdk for 2022-03-01-preview api generated here in this PR: (#4552)

https://github.com/Azure/azure-rest-api-specs/pull/18319

* {AKS} Vendor 2022-02-02-preview for aks-preview  (#4553)

* vendor 2022-02-02-preview

* update recordings

* manual update recording for test_aks_create_with_crg_id

* [Quantum] Output error information in table when Quantum job fails (#4463)

* Output status, error code, and error message (errorData) when job fails

* Add Target, Job ID, and Submission Time to table

* Let 'az quantum job output' show error info

* Add unit test cases and error handling for missing errorData items

* Delete commented-out code

* Add logging

* Add Job ID to error log, delete commented-out code

* Delete more commented-out code

* Use dict.get() function

* Alerts management contains operator support for resource type condition (#4554)

* added support for contains and doesNotContain operators for resource types filter

* 1. updated version to 0.2.1
2. updated history file accordingly

Co-authored-by: MIDDLEEAST\lienglender <lienglender@microsoft.com>

* Release 0.24.0 (#4516)

Co-authored-by: Roshan <roshan.s@srencloud.com>

* [Quantum] Handle more storage types during workspace creation (#4524)

* Parameterize storage SKU and kind

* Get storage account parameters

* Add a break

* Add unit test

* Update test defaults

* Make minor changes to satisfy Pylint and Flake8

* Add storage account validation

* Add unit test cases

* Rearranged a logical expression to satisfy Flake8 style check

* Append 'GRS' (or 'grs') to all references to the new test storage account

* Re-run the CI/CD checks

* Change test defaults back to e2e-scenarios resource group

* Bulk fix to change az API links from using underscore to dash (#4551)

* fix_storage_azcopy_blob_sync_help (#4521)

* Add support for enabling Azure KeyVault KMS in aks-preview (#4547)

* support AzureKeyVaultKms

* fix

* [Release] Update index.json for extension [ aks-preview ] (#4558)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1450270

Last commit: https://github.com/Azure/azure-cli-extensions/commit/4a7de787a95b840679a5b24fb6e5c4c1e40c28a2

* update owners of aks-preview (#4557)

* Onboard command extension for Azure Managed Grafana service (#4495)

* POC: update with command list to implement

* consolidate control plane and dashboard commands

* half done: make resource group and location optional

* more commands and code style fixes

* add a validator to workspace https://bugs.python.org/issue9334

* catch up a few TODOs

* Consolidate data source CRUD commands with bug fixes and samples

* add help

* bug fixes on data source commands

* fix style errors

* fix bugs in data-source commands

* clean up command help

* upload whl file for tempoaray measures, before we publish it officially

* update readme and bug fixes

* update get_start doc

* Update get_start,md

* fix typos in get_start.md

* add vendor SDK

* new extension

* new extension built from azdev

* rename from ags to amg

* add tag support

* Update readme.rst

* undo non related changes

* rename readme to markdown

* address lint error

* address linter error

* more fix towards command lint error

* register the command module in a few common file

* add import

* support gallery import

* use deep copy

* address review feedback

* set the minimum cli core version

* fix a bug in 'az grafana user show'

* Remove the 'id' on creating dashboard to prevent 'Not Found' error

* 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

* Updated dapr enable/disable to current spec.

* Fixed oversight.

* Fixed dapr enable fixed create --dapr.

Co-authored-by: vivek-microsoft <32766101+vivek-microsoft@users.noreply.github.com>
Co-authored-by: Vivek Sundararajan <s.vivek.rajan@gmail.com>
Co-authored-by: Azure CLI Bot <azpycli@microsoft.com>
Co-authored-by: Silas Strawn <strawnsc@gmail.com>
Co-authored-by: Yishi Wang <yishiwang@microsoft.com>
Co-authored-by: Wenhao Zhang <sjtu_zhangwh@163.com>
Co-authored-by: Wenhao Zhang <wenhaozhang@microsoft.com>
Co-authored-by: FumingZhang <81607949+FumingZhang@users.noreply.github.com>
Co-authored-by: Jonathan Innis <jonathan.innis.ji@gmail.com>
Co-authored-by: yuyue9284 <15863499+yuyue9284@users.noreply.github.com>
Co-authored-by: Yue Yu <yuyu3@microsoft.com>
Co-authored-by: Lia Kazakova <58274127+liakaz@users.noreply.github.com>
Co-authored-by: Yuwei Zhou <yuwzho@microsoft.com>
Co-authored-by: Ryan K <ryan.k@outlook.com>
Co-authored-by: Ricardo Espinoza <ricardoe@microsoft.com>
Co-authored-by: XField <58103249+vxfield@users.noreply.github.com>
Co-authored-by: necusjz <necusjz@gmail.com>
Co-authored-by: ZengTaoxu <96050289+ZengTaoxu@users.noreply.github.com>
Co-authored-by: Yu Chen <16348853+jsntcy@users.noreply.github.com>
Co-authored-by: siriteja <32883500+sirireddy12@users.noreply.github.com>
Co-authored-by: Siri Teja Reddy Kasireddy <sikasire@microsoft.com>
Co-authored-by: Ashutosh Suman <48060857+ashutoshsuman99@users.noreply.github.com>
Co-authored-by: Sachin Gangwar <sagangwar@microsoft.com>
Co-authored-by: alice_wang <37516611+Xinyue-Wang@users.noreply.github.com>
Co-authored-by: Ni Yuanyuan <95396631+YuanyuanNi@users.noreply.github.com>
Co-authored-by: Daeun Yim <69321306+DaeunYim@users.noreply.github.com>
Co-authored-by: Ark…
haroonf added a commit to calvinsID/azure-cli-extensions that referenced this pull request Apr 18, 2022
* [storage-preview] `az storage account create/update`: Support `--enable-sftp` and `--enable-local-user` (#4140)

* Bump `azure-mgmt-storage` to 2021-08-01

* linter

* update SDK

* Update SDK

* Copy `az storage account create/update` from CLI main repo

* `az storage account create/update`: Support `--enable-sftp` and `--enable-local-user`

* update sdk

* fix test

* re-record test

* [Spring-Cloud] add Build Service related command for enterprise tier (#4295)

* [Spring-Cloud] Add Build service for enterprise tier

* fix

* fix

* Update src/spring-cloud/azext_spring_cloud/_params.py

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

* Update src/spring-cloud/azext_spring_cloud/_params.py

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

* fix

* fix

* fix

* fix

* fix

* Update src/spring-cloud/azext_spring_cloud/_buildservices.py

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

* Update src/spring-cloud/azext_spring_cloud/_buildservices.py

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

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* Update src/spring-cloud/azext_spring_cloud/_params.py

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

* Update src/spring-cloud/azext_spring_cloud/_params.py

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

* fix

* add delete test

* fix

* Update spring_cloud_instance.py

* Update commands.py

* fix

* fix

* Update _params.py

* fix

* fix test

* fix test

* fix test

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

* Rename Ldap Parameter Names. (#4315)

* managed cassandra commands for cli extension

* remove node-status, add backups

* fix style and add backup command

* AuthenticationMethod param

* add sku, availability and idenitty parameters

* bugfix

* add backup key uri

* python vendor sdk changes

* bugfix

* recorded scenario tests

* bugfix on cassandra_stop_start

* update invoke-command arguments

* bugfix

* conditionally set ldap properties

* ldap property bugfix

* linter fix

* linter fix

* remove public commands from preview

* linter fix in help text

* linter fix

* use backup show and backup list

* preview python sdk

* bugfix

* removing whitespace

* Update History.rst

* update setup.py

* rename parameters

* parameter rename and help text

* update version history

Co-authored-by: Vivek Sundararajan <s.vivek.rajan@gmail.com>

* [Storage] `az storage account local-user`: add new command group local-user with create, update, delete, list, show, list-key, and regenerate-password (#4125)

* Bump `azure-mgmt-storage` to 2021-08-01

* linter

* update SDK

* start create_local_user

* continue create_local_user base64 error

* local user commands done, test pending

* test

* add help

* add help, fix credscan

* lint

* credscan

* credscan

* add back files deleted by accident

* Update _configuration.py

* refactor

* version

* lint

* add delete test

* fix PR comments

* lint, credscan

* date before release

* show command

Co-authored-by: yishiwang@microsoft.com <yishiwang@microsoft.com>

* [storage-preview] `az storage account create/update`: Support `--sam-account-name` and `--account-type` (#4316)

* Bump `azure-mgmt-storage` to 2021-08-01

* linter

* update SDK

* Update SDK

* Copy `az storage account create/update` from CLI main repo

* `az storage account create/update`: Support `--enable-sftp` and `--enable-local-user`

* update sdk

* fix test

* re-record test

* `az storage account create/update`: Support `--sam-account-name` and `--account-type`

* add test

* Update workaround information in parameter helptext (#4321)

* update workaround information in helptext

* update setup.py to use 0.12.0 version

Co-authored-by: Vivek Sundararajan <s.vivek.rajan@gmail.com>

* [Release] Update index.json for extension [ cosmosdb-preview ] (#4323)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1296094

Last commit: https://github.com/Azure/azure-cli-extensions/commit/68fd2df68090503ccaa95a8135bfc651b0a5136b

* [Enterprise-Edge] : `az staticwebapp enterprise-edge enable` : register Microsoft.CDN provider automatically upon running enable command  (#4324)

* register Microsoft.CDN provider automatically

* bump version and fix style issues

* small fixes; use sdk method

* fix sdk call

* Update version (#4322)

* [Release] Update index.json for extension [ storage-preview ] (#4326)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1307240

Last commit: https://github.com/Azure/azure-cli-extensions/commit/f6aa6d8194a7dec21f29b4c92dec5946c60699f1

* [Release] Update index.json for extension [ enterprise-edge ] (#4325)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1306508

Last commit: https://github.com/Azure/azure-cli-extensions/commit/7fc818250de852b5d6ad46ed537694f3ee1e8038

* Make cli zone redundant property be none (#4327)

Co-authored-by: Wenhao Zhang <wenhaozhang@microsoft.com>

* fix regex used to check node image version (#4319)

* Update Terminology end-to-end TLS to ingress-to-app TLS (#4320)

* Update Terminology end-to-end TLS to ingress-to-app TLS

* Update position

* Update for static analysis

* Add it for e2etls

* Remove useless line

Co-authored-by: Wenhao Zhang <wenhaozhang@microsoft.com>

* Fix certificate list output error (#4330)

* Fix certificate output error

* Update according to comments

Co-authored-by: Wenhao Zhang <wenhaozhang@microsoft.com>

* [k8s-configuration] Release v1.4.1 with fixed help text (#4328)

* Create pull.yml

* Update pull.yml

* Update azure-pipelines.yml

* Initial commit of k8s-extension

* Update CODEOWNERS

* Update azure-pipelines.yml

* Create pull.yml

* Update pull.yml

* Update pull.yml

* Update pipelines file

* Update k8s-configuration name

* Update test script params

* Update pipeline file

* Remove codeowners

* Update pipelines file

* Update CODEOWNERS

* Update private preview pipelines

* Remove open service mesh from public release

* Update pipeline files

* Update custom pipelines files

* Add publish step to k8s-configuration

* Update pipeline to publish extension

* Update public extension pipeline

* Change condition variable

* Update pipeline naming

* Add version to public preview/private preview

* Update pipelines

* Add different testing based on private branch

* Add annotations to extension model

* Update k8s-custom-pipelines.yml

* Update SDKs with Updated Swagger Spec for 2020-07-01-preview (#13)

* Update sdks with updated swagger spec

* Update version and history rst

* Reorder release history timeline

* Fix ExtensionInstanceForCreate for import

* remove py2 bdist support

* Add custom table formatting

* Remove unnecessary files

* Fix style issues

* Fix branch based on comments

* Update identity piece manually

* Don't handle defaults at the CLI level

* Remove defaults from CLI client

* Check null target namespace with namespace scope

* Update style

* Add cassandra operator and location to model

* Stage Public Version of k8s-extension 0.2.0 for official release (#15)

* Create pull.yml

* Update pull.yml

* Update azure-pipelines.yml

* Initial commit of k8s-extension

* Update pipelines file

* Update CODEOWNERS

* Update private preview pipelines

* Remove open service mesh from public release

* Update pipeline files

* Update public extension pipeline

* Change condition variable

* Add version to public preview/private preview

* Update pipelines

* Add different testing based on private branch

* Add annotations to extension model

* Update k8s-custom-pipelines.yml

* Update SDKs with Updated Swagger Spec for 2020-07-01-preview (#13)

* Update sdks with updated swagger spec

* Update version and history rst

* Reorder release history timeline

* Fix ExtensionInstanceForCreate for import

* remove py2 bdist support

* Add custom table formatting

* Remove unnecessary files

* Fix style issues

* Fix branch based on comments

* Update identity piece manually

* Don't handle defaults at the CLI level

* Remove defaults from CLI client

* Check null target namespace with namespace scope

* Update style

* Add cassandra operator and location to model

Co-authored-by: action@github.com <Action - Fork Sync>

* Remove custom pipelines file

* Update extension description, remove private const

* Update pipeline file

* Disable check ref docs

* Disable refs docs

* Update to include better create warning logs and remove update context (#20)

* Update to include better create warning logs and remove update context

* Remove help text for update

* Fix spelling error

* Update message

* Fix k8s-extension conflict with private version

* Fix style errors

* Fix filename

* add customization for microsoft.azureml.kubernetes (#23)

* add customization for microsoft.azureml.kubernetes

* Update release history

Co-authored-by: Yue Yu <yuyu3@microsoft.com>
Co-authored-by: jonathan-innis <jonathan.innis.ji@gmail.com>

* Add E2E Testing from Separate branch into internal code (#26)

* Add internal e2e testing

* Change to testing folder

* Inference CLI validation for Scoring FE (#24)

* cli validation starter

* added the call to the fe validation function

* nodeport validation not required

* test fix

Co-authored-by: Jonathan Innis <jonathan.innis.ji@gmail.com>

* legal warning added (#27)

* Remove deprecated method logger.warn

* Update k8s-custom-pipelines.yml for Azure Pipelines

* Update k8s-custom-pipelines.yml for Azure Pipelines

* Add Azure Defender to E2E testing (#28)

* Add azure defender testing to e2e

* Remove the debug flag

* Add configuration testing

* Fix pipeline failures

* Make test script more intuitive

* Remove parameter from testing

* Add some debug

* Fix wrong location for k8s config whl

* Fix pip install upgrade issue

* Fix pip install upgrade issue

* Add Check for Provider Registration and Refactor (#19)

* Add check for provider registration and refactor

* Fix bug in checking registration

* Add license header to utils

* Update private key check and error messaging

* Update based on refactoring

* Fix failing tests

* Add provider registration check

* Create a test for uppercase url, address comments

* Add blank line to fix style check

* Testing increase to ubuntu-latest

* Update k8s-configuration Models to Track2 (#63)

* Update models to track2

* Increase k8s-configuration version number

* Update kind version

* Change error to warning because of DSA failure

* Upgrade helm operator chart version (#75)

* Pin helm version

* Bump version

* Migrate pipeline (#90)

* Disable updates on configuration tests (#89)

* Release k8s-configuration v1.2.0 for Flux v2 Public Preview (#86)

* Scaffold out the k8s-config package

* Base implementation of CLI commands

* Add create scenario and cleanup in consts

* Add help text to commands, params

* Add other clients to client factory

* Automatically installing the flux extension

* Move flux and extension into modules

* Updated the versioned sdks

* Push working command for testing

* Update to multi api versioned sdk

* Support other extension methods

* Fix nullity check

* Add source control provider

* Add scc commands

* Add defer logic for create with cache

* Use default extension with identity

* Fix identity creation

* Add kustomization caching

* Add formatters

* Add scc provider

* Add help text for k8s-config fluxv1

* Add help text for extension

* Allow force delete of extension and fluxconfiguration

* Add location to the extension model

* Update with latest from k8s-extension

* Add k8s-config testing

* Add license header

* Fix all style issues

* Update codeowners file

* Validate data before checking cluster compliance

* No kustomizations warning

* Fix identity issue in 2020-07-01

* Fix k8s regex

* Fix configuration name regex validation

* Fix name length validation

* Adding some validation warnings

* Add protected settings to request

* Exclude private test path

* Add suspend functionality

* Add correct values to build Kustomization

* Add no_wait

* Fix style issues

* Use base64 encoded httpsUser

* Fix formatting error and base64 encoding error

* Fix style issues

* Fix force

* Updated help text

* Style fixes

* Increase namespace maximum len

* Add managed cluster support to k8s-config

* Custom confirmation when prune is enabled

* Add flux commands to existing k8s-configuration

* Remove extension provider from CLI

* Fix style issues

* Override extension variables

* Strip newlines from known_hosts file

* Update help text and validators

* Strip newlines from known hosts

* Add provisioning state check for flux extension

* Pin helm version

* Remove validation from create command

* Add patch support with new SDK

* Add implementation for CRUD of source and kustomization

* Fix errors on patch

* Fix some bugs in patching properties

* Add fixes for patch in k8s-configuraiton

* Change duration formatting in table output

* Add validation and conversion for durations

* Bump verison and fix typo

* Fix bug with dependencies

* Fix linter and style issues

* Fix delete prune check

* Add flux testing

* Create separate jobs for scenarios

* Update error text

* Fix filepath suggestion from CLI team

* Fix unneeded file edit

* Add a Deployed Object List to the Flux CLI (#91)

* Enable a deployed object list on the CLI

* Show detail when extension install fails

* Bump version

* Update deployed object format (#93)

* Fix help text for consistency

* Enable Bucket Support in the CLI (#92)

* Update vendored_sdks

* Enable source kind generation factories and use kwargs to pass to provider

* Add better validation logic to source generator

* Move away from classes in the provider directory

* Fix style issues using black auto-formatter

* Fix linter failures

* Update identity with api version and rp in same function

* Bucket Testing for E2E Testing (#96)

* Bucket testing

* Add switching kind test to update CLI

* Bump version

* Fix help text and parameter naming for bucket (#100)

* Fix default help text for parameters (#101)

* Remove unneeded files

* Edit history with breaking change

Co-authored-by: action@github.com <Action - Fork Sync>
Co-authored-by: yuyue9284 <15863499+yuyue9284@users.noreply.github.com>
Co-authored-by: Yue Yu <yuyu3@microsoft.com>
Co-authored-by: Lia Kazakova <58274127+liakaz@users.noreply.github.com>

* fix: 🐛 Validate deployment parameters with source type (#4329)

* fix: 🐛 Should enable persistent storage when updating App

* Validate deployment source parameters

* fix lint

* fix bugs

* fix test

* [IoT] IoT Extension Release v0.13.0 (#4333)

* Remove IoT Extension v0.10.14
* Add IoT Extension v0.13.0
* Update linter exclusions

* [Release] Update index.json for extension [ k8s-configuration ] (#4332)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1309054

Last commit: https://github.com/Azure/azure-cli-extensions/commit/649b29ab8f154006be6cc4fd2c53f242eec0a319

* update location (#4334)

* Update data plane client from swagger (#4318)

* Update generated client to latest Azure Quantum Python Data Plane

Co-authored-by: XField <58103249+vxfield@users.noreply.github.com>

* Update Data-Plane client generate script to delete previous output folder contents (#4340)

* [Resource Mover] Update Resource Mover CLI (#4309)

- generate vendored SDK
- bump up version to 0.1.1

* [Release] Update index.json for extension [ resource-mover ] (#4343)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1317636

Last commit: https://github.com/Azure/azure-cli-extensions/commit/e9497c3fe0b619aa92548f21246f584fca9c3d4b

* [Databricks]az databricks workspace create: Add new parameters --publ… (#4331)

* [Databricks]az databricks workspace create: Add new parameters --public-network-access and --required-nsg-rules

update databricks sdk version and add new parameters

* Update

1.move databricks.models into load_arguments function
2.update extension version in

* [Logic] Upgrade SDK to fix deserialization errors (#4347)

* [Release] Update index.json for extension [ logic ] (#4349)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1321294

Last commit: https://github.com/Azure/azure-cli-extensions/commit/16595ffb29a5d5cc24593c3656d25fa47b71196c

* fetching tenantID from subscription object instead of graph client (to pickup tenant Id of sub where cc is getting created instead of user/spn's tenant) (#4336)

* Fetch the tenant ID from the subscription object instead of graphclient

* nit

* nit

* revert proxy tenantid change

Co-authored-by: Siri Teja Reddy Kasireddy <sikasire@microsoft.com>

* Adding new module DataMigration (#4298)

* Adding initial settings to module

* Working on Linter, License and Cred scan errors

* Working on Static analysis error

* Hiding Register-ir commands for now

* Lint and Integration Tests solving

* Unhiding register-ir command and adding windows test to assessment command

* Making error messages proper

* Nit changes from comments

* MultiServer support for Assessment and nit changes

* Adding Proper Json format, lower case for access, seperate util for Windows check

* Correcting Lint and Static errors

* Removing to-* from command names

* Adding correct error formats

* Removing Update operation from DatabaseMigration

* Updating readme and help

* Nit: Readme corrections

* Added CLI Test Cases

* Removed IR AuthKeys and Unused Imports

* Adding Default IR Program files path for 32-bit error

* Nit and Static analysis fix

* Added File Extension Validation

* Removed unnecessary spaces and fixed static analysis Issues

* Deferred IR path and MSI Extension validations

Co-authored-by: Sachin Gangwar <sagangwar@microsoft.com>

* [Release] Update index.json for extension [ connectedk8s ] (#4350)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1323101

Last commit: https://github.com/Azure/azure-cli-extensions/commit/b8abdf1987ed799ed1d5a2cc846d8696c86cc5d7

* [AKS] az aks update/az aks nodepool update: Allow empty string as label value  (#4351)

* skip none check for labels

* use correct value

* change empty string check in aks nodepool update

* revert change

* fix value

* revert change

* [Release] Update index.json for extension [ datamigration ] (#4352)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1323628

Last commit: https://github.com/Azure/azure-cli-extensions/commit/f412582fe051ce76f555fee010f3d8240118ed18

* Change link in datamigration setup file (#4353)

* add rdbms-connect to cloud shell (#4313)

* Update azurestackhci version to 0.2.3 (#4356)

* [Release] Update index.json for extension [ rdbms-connect ] (#4359)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1325769

Last commit: https://github.com/Azure/azure-cli-extensions/commit/83cde80e25e9273eece470369f18f5a3b5662249

* fix: fix builder validator (#4339)

* fix: fix builder validator

* fix

* [Release] Update index.json for extension [ databricks ] (#4346)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1321182

Last commit: https://github.com/Azure/azure-cli-extensions/commit/c908659851fa910522935d8e71c7d717b5e22824

* [Spring-Cloud] fix app deployment validator can retrieve app name from app and name (#4335)

* fix app deployment validator can retrieve app name from app and name

* fix lint

* Initial commit for 0.12.0 release (#4341)

* Initial commit for 0.12.0 release

* Update src/quantum/HISTORY.rst to use cost instead of price

Co-authored-by: Ricardo Espinoza <ricardoe@microsoft.com>

* Update commands.py

* Update src/quantum/HISTORY.rst

Co-authored-by: Angela Burton <anjbur@users.noreply.github.com>

* Restart CI/CD

Co-authored-by: Ricardo Espinoza <ricardoe@microsoft.com>
Co-authored-by: Angela Burton <anjbur@users.noreply.github.com>

* [Release] Update index.json for extension [ quantum ] (#4364)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1328638

Last commit: https://github.com/Azure/azure-cli-extensions/commit/d28093638614c9af2cef3041d6422691c6bb1e99

* Baremetalinfrastructure extension stable release support (#4180)

* baremetalinfrastructure extension release support

* adding whl extension

* removing unnecessary files

* Alerts management new alert processing rule (#4337)

* Alerts management new alert processing rule

Co-authored-by: Liran Englender <lienglender@microsoft.com>
Co-authored-by: kai ru <69238381+kairu-ms@users.noreply.github.com>

* chore(arcdata): arcdata version bump to 1.2.0 (#4365)

* 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

* {AKS} Declare delete command and update recordings (#4367)

* add delete command

* fix location for gpu test

* update recordings

* [Image Copy] Fix the hyper_v_generation of image copy (#4372)

* Fix generation

* Fix CI

* Update ml extension to version 2.0.7 (#4370)

* Update ml extension to version 2.0.6

* fix linter issue

* Remove is_preview from snapshot related commands (#4376)

* {AKS} Use default serialization for maintenanceconfiguration commands (#4362)

* Use msrest deserilizer

* fix as per comments

* remove the import

Co-authored-by: Allan Zhang <xiazhan@microsoft.com>

* [Release] Update index.json for extension [ image-copy ] (#4373)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1332056

Last commit: https://github.com/Azure/azure-cli-extensions/commit/f1bdd0318036276b6aa199103895b7e02d90356d

* Release 0.23.0 for azure dev ops (#4378)

* [AKS] Allow aks nodepool update --node-taints (#4363)

* allow edit taints and add test

* add missing parameter

* change var name

* .get_output_in_json()

* give value

* try fix'

* fix test

* address comments

* add yaml file to package data (#4382)

* [Release] Update index.json for extension [ alertsmanagement ] (#4366)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1329629

Last commit: https://github.com/Azure/azure-cli-extensions/commit/2e6b127b67489ae3ad36419a436e6529b4d38a73

* [CosmosDB] Mongo RBAC (#4389)

* Mongo RBAC

* Fixing Lint issues

* Fixing help Lint issue

* [Release] Update index.json for extension [ cosmosdb-preview ] (#4392)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1351532

Last commit: https://github.com/Azure/azure-cli-extensions/commit/9dac199b9a77beb191e870f44adb0d42b5757c63

* Fix test: change to use soft taint on system pool in test (#4393)

* change to soft taint on system pool

* outbound ip workaround

* {AKS} Remove hardcoded k8s version in test case `test_aks_create_and_update_ipv6_count` (#4394)

* remove hardcoded k8s version in test case

* update recording

* Update azure-pipelines.yml for Azure Pipelines (#4399)

* [Vm-repair] preview script bug fix (#4388)

* bug fix

* adding history

* changing history

* Apply suggestions from code review

* bug fix preview

* adding history

* version bump

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

* {AKS} Update version to 0.5.52 (#4377)

* update version to 0.5.52

* update history

update recording for test_aks_create_and_update_outbound_ips

show pip as workaround

update jmes check

fix

update recording

* Add clear for sso & cors  properties (#4371)

* AlertsManagement-CLI-GA-Fixes (#4400)

* 1. help file fix
2. removed redundant import from typing_extension

* Increased minor version and added it to the history file

Co-authored-by: Liran Englender <lienglender@microsoft.com>

* [Release] Update index.json for extension [ alertsmanagement ] (#4403)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1355227

Last commit: https://github.com/Azure/azure-cli-extensions/commit/fe44a1bb123a58b7e8248850bdc20555ca893406

* [Quantum] Workspace creation race condition fix (#4314)

* Add ARM templates

* Add ARM template that does role assignment

* Modify auth code and move template folder to operations

* Try AzureCliCredential

* Restore deleted Storage Account lines in template

* Fixed Deployment.properties problem

* Call _add_quantum_providers for validation

* Call _get_data_credentials

* Fix pylint infractions

* Eliminate Pylint message W1514

* Add test that does role assignment

* Use short storage account name in utils.py

* Use workspace name for deployment name

* Use workspace name for storage account deployment name.

* Use workspace name for deployment name and temporarily comment-out the provisioningState check in test

* Add workspace creation timeout

* Add ARM template file to wheel

* Delete commented-out lines and unused ARM files

* Fix static analysis violations

* Re-run CI/CD checks

* update url links (#4354)

Co-authored-by: cxznmhdcxz <>

* Change links for setup file till k8s-configuration module (#4348)

Co-authored-by: kai ru <69238381+kairu-ms@users.noreply.github.com>

* [Public Preview] Azure Confidential Ledger Extension (#4276)

* generated code

* add recording

* update tests

* json deserialize

* regenerated sdk

* tests passed!

* run pre-pr checks

* update docstrings

* update codeowners

* ci fix attempts

* add to codeowners

* update service_name.json

* Update src/confidentialledger/azext_confidentialledger/tests/latest/example_steps.py

* Update src/confidentialledger/azext_confidentialledger/tests/latest/test_confidentialledger_scenario.py

* ci fixes again

* coverage file updated

Co-authored-by: kai ru <69238381+kairu-ms@users.noreply.github.com>

* [Release] Update index.json for extension [ confidentialledger ] (#4410)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1358406

Last commit: https://github.com/Azure/azure-cli-extensions/commit/ddba03626f75e10984652bf74235bb3cd5c4c894

* [Stream Analytics] Bump up version to 0.1.2 (#4404)

* Refine help messages

* Add tests and recordings

* Fix style and linter checks

* update disk-pool-volume-create --mount-option to only accept one para… (#4396)

* update disk-pool-volume-create --mount-option to only accept one parameter

* updated mount option help and added unit tests

* mount type help text update

* {AKS} Clean up some deprecated code (#4412)

* remove validator for cluster_autoscaler_profile

* clean up unused **kwargs

* change to property & SimpleNamespace for nat_gateway_models

* fix lint issues

* remove another hardcoded k8s version in test

* update recording

* {account} Bump up `azure-mgmt-subscription` SDK to `3.0.0` (#4409)

* bump up subscription SDK

* update

* [Release] Update index.json for extension [ account ] (#4416)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1362133

Last commit: https://github.com/Azure/azure-cli-extensions/commit/8c9c7841dbc38d9c114c2b6a9de04d963577374f

* [Release] Update index.json for extension [ vmware ] (#4415)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1361421

Last commit: https://github.com/Azure/azure-cli-extensions/commit/8dbc3b19762c619c11613a5ef7748417e8cfe2ab

* [Release] Update index.json for extension [ aks-preview ] [ hack ] (#4408)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1357913

Last commit: https://github.com/Azure/azure-cli-extensions/commit/d236554051bdd0f359ec1bd3ad4ece70cccd7f53

* [Release] Update index.json for extension [ stream-analytics ] (#4414)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1361403

Last commit: https://github.com/Azure/azure-cli-extensions/commit/d9108c0305d48feb92a73cc63954380bc30b58a4

* {AKS} Vendor 2022-01-02-preview for aks-preview (#4417)

* vendor new sdk

* update default api

* fix check in test test_aks_nodepool_update_taints_msi

* update recordings'

* fix recordings

* fix check

* [Release] Update index.json for extension [ vm-repair ] (#4401)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1355202

Last commit: https://github.com/Azure/azure-cli-extensions/commit/2cd5fda928273f4cd5c5a0488d306a8d6afa5c48

* AKS CRG for Aks v20211101preview (#4292)

* add support for capacity reservation group

* fix an UT issue

* fix a static test issue

* add new test function for new get_crg_id

* remove type=str per comment.

* Adds test case for crg

* Adds test case for crg

* fixed a merging error

* fixed a merging error

* fixed a space error

* fix: add runtime version in build (#4420)

* fix: add runtime version in build

* fix npe

* fix

* Update src/spring-cloud/azext_spring_cloud/_buildservices_factory.py

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

* add test

* fix

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

* Add Arc Appliance extension 0.2.15 (#4421)

Co-authored-by: Prashanth Koushik <Prashanth.Koushik@microsoft.com>

* AKS preview upgraded to 0.5.53 with CRG (#4422)

* add support for capacity reservation group

* fix an UT issue

* fix a static test issue

* add new test function for new get_crg_id

* remove type=str per comment.

* Adds test case for crg

* Adds test case for crg

* fixed a merging error

* fixed a merging error

* fixed a space error

* fixed a space error

* upgrade to 0.5.53

* [Spring-Cloud] Upgrade version (#4294)

* [Spring-Cloud] Upgrade version

* Update HISTORY.md

* Update HISTORY.md

* Update HISTORY.md

* Update HISTORY.md

* Update HISTORY.md

* Update HISTORY.md

* Update wording

* Update commands.py

* TOC - fixed Azure service names (#4425)

* fixed TOC service names

* fixed Azure service names

Co-authored-by: Delora Bradish <debradis@microsoft.com>

* [Release] Update index.json for extension [ aks-preview ] (#4423)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1368539

Last commit: https://github.com/Azure/azure-cli-extensions/commit/b01494990b0c5672b1513727f4adbf39f95ad338

* [Release] Update index.json for extension [ spring-cloud ] (#4426)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1370330

Last commit: https://github.com/Azure/azure-cli-extensions/commit/6593c6a9df7071b3052ac5cd516967eed27ea928

* Add support for host group id (#4419)

* some initial changes for host group

* add host-group-id support

* remove some unnecessary changes

* format _validators.py by adding extra line

* resolve comments

* add missing comma

* update test_decorator.py

* update version to 0.5.54

Co-authored-by: Jianping Zeng <jizen@microsoft.com>

* [Release] Update index.json for extension [ aks-preview ] (#4430)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1373529

Last commit: https://github.com/Azure/azure-cli-extensions/commit/16bd206af6ca04510694a98a16e42e4fecef7ba4

* [AKS] Add network plugin none support (#4007)

* rebase

* improve help text clarity

* fixes

* closing params

* reset the count

* include location

* add test recording file

* add check network plugin in test

Co-authored-by: FumingZhang <81607949+FumingZhang@users.noreply.github.com>

* remove csi deployment (#4431)

* {AKS} Update unit test coverage configuration (#4432)

* clean up ut

* update ut coverage config

* remove read_only property setting in ut

* [appservice-kube] Fix #4357, #4358 : support functions v4 and powershell functions (#4411)

* support functions v4; powershell functions

* add custom handler runtime and fix CI issue

* use specific error type

* set max CLI version

* fix CI issues

* fix style

* [Release] Update index.json for extension [ appservice-kube ] (#4434)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1374379

Last commit: https://github.com/Azure/azure-cli-extensions/commit/e305b4d01f56c38f94be004bea18d19bed534502

* [Release] Update index.json for extension [ aks-preview ] (#4433)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1374361

Last commit: https://github.com/Azure/azure-cli-extensions/commit/811a3192458606c794e76071c830872f4f5d003e

* Added version 2.1.1 for Azure ML CLI (#4418)

* CLI 2.0.3 public preview release

* Updated CLI release with linting fixes

* Updated .whl file

* Fixed conflict

* Fix change to 2.0.7 checksum

* Replaced 2.1.0 with 2.1.1

* AzureML CLI patch release 2.1.2 (#4442)

* Customcert and fix for non escaping values in helm (#4428)

* Use userValues.txt instead of --resuse-values in update command

* fix error msg

* added custom cert

* change setup.py

* Helmupdatefix (#4)

* Use userValues.txt instead of --resuse-values in update command

* fix error msg

Co-authored-by: Siri Teja Reddy Kasireddy <sikasire@microsoft.com>

* fix output file

* Helmupdatefix (#5)

* Use userValues.txt instead of --resuse-values in update command

* fix error msg

* fix output file

Co-authored-by: Siri Teja Reddy Kasireddy <sikasire@microsoft.com>

* place values file in .azure folder

* place values file in .azure folder

* Helmupdatefix (#6)

* Use userValues.txt instead of --resuse-values in update command

* fix error msg

* fix output file

* place values file in .azure folder

* place values file in .azure folder

Co-authored-by: Siri Teja Reddy Kasireddy <sikasire@microsoft.com>

* place values file in .azure folder

* nit

* nit

* nit

* setp.py and history.rst updates

* modify the way of fetching userValues.txt path

* Waiting for LRO to complete before moving ahead with agent installation/deletion

* update history.rst

* fix

* fix location variable

Co-authored-by: Siri Teja Reddy Kasireddy <sikasire@microsoft.com>
Co-authored-by: siriteja <32883500+sirireddy12@users.noreply.github.com>

* [Release] Update index.json for extension [ connectedk8s ] (#4445)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1383624

Last commit: https://github.com/Azure/azure-cli-extensions/commit/6d0ff505113ca853fea82e5f0573a8edb96b63a6

* {appservice-kube} Ensure compatibility with upcoming CLI version (#4384)

* ensure compatibility with upcoming CLI version

* change min CLI version to 2.34.0

* Update src/appservice-kube/HISTORY.rst

Co-authored-by: ZelinWang <zelinwang@microsoft.com>

* fix 'az functionapp create' compatibility

* Update HISTORY.rst

* remove unneeded methods

* fix style

* fix 'az webapp create'

* bump version no.

Co-authored-by: ZelinWang <zelinwang@microsoft.com>

* add message of the day for aks agentpools (#4381)

* add message of the day for aks agentpools

* bump version

* add validation for linux only

* fix tests

* fix spacing

* try to fix ut

* fix: typo, remove cluster creation validation

* add missing comma

* ut

* use more specific validator error

* update recording

* add a line

* bump version, test fixes, encoding fixes

* fix lint

* fix missing coverage

* change to iter (#4449)

* Data migration - Adding SKU recommendation (#4436)

* Adding SKU Recommendation Command

* Adding multiserver support - currently fails

* Adding Support for DatabaseAllowList and DatabaseDenyList

* Correcting lint and style errors

* Adding help for perf-data-collection and sku-recommendation

* Adding changes as per suggestions

* Nit change: config_file_path

* Adding custom cmds to common group

* Updating version of extension

* [Release] Update index.json for extension [ datamigration ] (#4456)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1387498

Last commit: https://github.com/Azure/azure-cli-extensions/commit/7cf0cbe19dac82a16fbf054aa9f4bf10dd1989c5

* [Monitor] `az monitor app-insights web-test`: Support Application Insights Web Test (#4440)

* Update vendored SDK

* Add list/show/create/update/delete commands

* Add parameter actions

* Add help messages

* Fix style and linter checks

* Add tests and recording files

* Update version and changelog

* Restorable APIs for Tables and Gremlin. Added Latest backup info for Gremlin and Table and also added start and end time filter for collection listing. (#4385)

* Table/Gremlin changes (Generated code)

* Table/Gremlin code and test changes for new commands

* New change

* New changes

* Working

* New Vendored sdk

* Test Updates and Session Records.

* Merge changes for removing EnableGremlinV2 Support

* Fixing Linter

* Update ReadMe, History and Version.

* [Release] Update index.json for extension [ application-insights ] (#4458)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1389585

Last commit: https://github.com/Azure/azure-cli-extensions/commit/a1ac7443895dd794ae3a86dfabfab5c4ea04a5d3

* [Release] Update index.json for extension [ aks-preview ] (#4455)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1387121

Last commit: https://github.com/Azure/azure-cli-extensions/commit/e4edce2ed79082e0cc183148810da86a7c3a52ca

* [EdgeOrder] Initial Release (#4450)

* Add command groups

* Simplify long parameters

* Refine help messages and README.md

* Add tests and recording files

* Fix style and linter checks

* [Release] Update index.json for extension [ edgeorder ] (#4460)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1390385

Last commit: https://github.com/Azure/azure-cli-extensions/commit/a408888db3f9ab1c5ea63f096b0973d997e87a22

* DataShare CLI (#4454)

* adding auo-generated cli commands and basic-test file with recording, commit-1

* adding tests, commit-2

* adding tests, commit-3

* adding tests, commit-4

* Updating cli version to 2021-08-01 and modifying tests

* updating test files

* Fixing CI checks

* removing auto-generated test file

* addressing PR comments, rev-1

* reinstating experimental tag

* updating test recording file after updating the branch with main

* updating test recording file after merging azure-cli repo with main on local

* updating test file after installing newer version of storage

* [Release] Update index.json for extension [ cosmosdb-preview ] (#4459)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1389592

Last commit: https://github.com/Azure/azure-cli-extensions/commit/52bca4ddf4b52ff1bf36da92461b3981e463f63f

* [Release] Update index.json for extension [ datashare ] (#4461)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1390624

Last commit: https://github.com/Azure/azure-cli-extensions/commit/00f0762f671793f96aa5b1c8e773077121f2946b

* fix: 🐛 [Spring-Cloud] Failed to remove jvm option in Enterprise (#4444)

* fix: 🐛 [Spring-Cloud] Failed to remove jvm option in Enterprise

* fix test

* fix lint

* Add more test

* fix app update

* fix UT recording

* add log

* fix lint

* Add new WHL for SCVMM scenarios (#4465)

Co-authored-by: Prashanth Koushik <Prashanth.Koushik@microsoft.com>

* [Spring-Cloud] Add a new parameter "--build-env" for app deploy (#4443)

* fix: fix the deploy of gradle project with multiple modules

* add a new parameter --build-env

* fix typos

* fix

* fix

* fix

* fix

* fix

* fix

* fix test

* fix test

* fix test

* fix test

* fix test

* fix

* Update src/spring-cloud/HISTORY.md

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

* update ClientRequestError to ArgumentUsageError

* fix test

* fix test

* fix test

* update validator

* add new line

* update history

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

* chore(arcdata): arcdata version bump to 1.2.1 (#4466)

* chore(arcdata): arcdata version bump to 1.2.1

* chore(arcdata): arcdata version bump to 1.2.1

* Add CLI version 0.1.48 (#4470)

Co-authored-by: Prashanth Koushik <Prashanth.Koushik@microsoft.com>

* [Release] Update index.json for extension [ spring-cloud ] (#4467)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1393299

Last commit: https://github.com/Azure/azure-cli-extensions/commit/47fd457596e401a5f3c5524c176064cc46559696

* [Release] Update index.json for extension [ appservice-kube ] (#4481)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1386720

Last commit: https://github.com/Azure/azure-cli-extensions/commit/4fbcd8fcc049730f65d92a30da1eb8628559b76b

Co-authored-by: Azure CLI Team <AzPyCLI@microsoft.com>

* chore(arcdata): arcdata version bump to 1.2.2 (#4473)

* chore(arcdata): arcdata version bump to 1.2.2

* chore(arcdata): arcdata version bump to 1.2.2

* Update version and history info for az quantum extension 0.13.0 (#4484)

* Added ArcAppliance 0.2.16 (#4487)

Co-authored-by: Sai Sankar Gochhayat <sgochhayat@microsoft.com>

* [Release] Update index.json for extension [ quantum ] (#4489)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1408510

Last commit: https://github.com/Azure/azure-cli-extensions/commit/f659327e9aa96b842cbcfe94a58d5ca4609a8041

* {Quota}Generate quota with codegen (#4475)

* {Quota}Generate quota with codegen

* Update setup.py

* Update test_quota_crud.yaml

* Update test_quota_crud.yaml

* Update

* Update

* Update _help.py

* Update _help.py

* [Release] Update index.json for extension [ quota ] (#4496)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1412890

Last commit: https://github.com/Azure/azure-cli-extensions/commit/d292d6d0295e5245cff22da0bdc4bbf38ed92dd7

* [Quantum] Show progress messages and dots before executing commands (#4480)

* Show the first progress indicator dot before starting ARM template deployment

* Show progress messages on 'execute' and 'job submit'

* Change f-string to simple string

* chore(arcdata): arcdata version bump to 1.2.3 (#4501)

* Revert "chore(arcdata): arcdata version bump to 1.2.3 (#4501)" (#4502)

This reverts commit c45ca8102492ece8d1f7594f25224612954a2986.

* chore(arcdata): arcdata version bump to 1.2.3 (#4503)

* [appservice-kube] Make compatible with new SDK (#4494)

* fix plan create and webapp create

* bump version, include bug fix from #4493, fix style, fix webapp update bug, add basic regression tests

* remove deprecated 'az webapp update' params

* Fix UUID issue for data disk (#4479)

* new version 0.4.2

* new version 0.4.2

* Fixed an UUID issue by getting the data disk attached to the VM after VM creation

* Fixed an UUID issue by getting the data disk attached to the VM after VM creation

* Fixed an UUID issue by getting the data disk attached to the VM after VM creation

* Fixed an UUID issue by getting the data disk attached to the VM after VM creation

* Fixed an UUID issue by getting the data disk attached to the VM after VM creation

* Fixed an UUID issue by getting the data disk attached to the VM after VM creation

* Update src/vm-repair/azext_vm_repair/custom.py

Co-authored-by: ZelinWang <zelinwang@microsoft.com>

Co-authored-by: ZelinWang <zelinwang@microsoft.com>

* Move cli to production subscription (#4505)

* {NetworkManager}Add new commands (#4413)

* {NetworkManager}Add new commands

Add new commands 'az network manager connection', 'az network manager connection management-group', 'az network manager scope connection', 'az network manager group static-members'

* Update _help.py

* Update _params.py

Bump up azure-mamt-network SDK to 2021_05_01_preview and Update  params and commands.

* Update

* Update

* Update

* Update

* Update

* Update

* update tests for new api version 2021-05-01-preview for network-manager extension

* Update

* Update

* Update custom.py

* Update

* Update

Co-authored-by: Jared Gorthy <jaredgorthy@microsoft.com>

* CosmosDB Adding enable MaterializedViews parameter for create/update database … (#4499)

* Adding enable MaterializedViews parameter for create/update database account

* api-version=2021-11-15-preview

* CassandraEnableMaterializedViews

* Update src/cosmosdb-preview/HISTORY.rst

Co-authored-by: Yishi Wang <yishiwang@microsoft.com>

* Update src/cosmosdb-preview/README.md

Co-authored-by: Yishi Wang <yishiwang@microsoft.com>

* Update src/cosmosdb-preview/azext_cosmosdb_preview/_params.py

Co-authored-by: Yishi Wang <yishiwang@microsoft.com>

* Update linter_exclusions.yml

Co-authored-by: Yishi Wang <yishiwang@microsoft.com>

* [Release] Update index.json for extension [ network-manager ] (#4511)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1419833

Last commit: https://github.com/Azure/azure-cli-extensions/commit/03dc8173839f44a960b25e625c23dbc34932143b

* [Release] Update index.json for extension [ vm-repair ] (#4507)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1416685

Last commit: https://github.com/Azure/azure-cli-extensions/commit/b68739c74809633eb9d358034f7884a81a2158d6

* [Release] Update index.json for extension [ appservice-kube ] (#4504)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1415742

Last commit: https://github.com/Azure/azure-cli-extensions/commit/f77b373146be6cb2f15b1cccec5311f161b23ce0

* {AKS} Fix several test cases (#4506)

* update

* update recording

* update subnet cidr for ingress test case

* update recordings

* fix coverage

* [Release] Update index.json for extension [ cosmosdb-preview ] (#4512)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1419899

Last commit: https://github.com/Azure/azure-cli-extensions/commit/387d57b8a1140d19738ace79864788814725d61b

* SSH Extension v.1.0.1 (#4474)

* Change how private ips are appended to the list (#4517)

* [Release] Update index.json for extension [ ssh ] (#4520)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1426796

Last commit: https://github.com/Azure/azure-cli-extensions/commit/55eee43c837115fe90760a1ebcb16edde6c8deb8

* ADAL to MSAL move for cli>=2.30.0 (#4468)

* ADAL to MSAL move for cli>=2.30.0

* nit

* nit

* nit

* add comment

* addressing review comments

* linting fixes

* linter fixes

* linter nit

* add license for new file

* update release date

* add token condition

* Update src/connectedk8s/azext_connectedk8s/_utils.py

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

Co-authored-by: Siri Teja Reddy Kasireddy <sikasire@microsoft.com>
Co-authored-by: Xing Zhou <Zhou.Xing@microsoft.com>

* [Release] Update index.json for extension [ connectedk8s ] (#4523)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1431525

Last commit: https://github.com/Azure/azure-cli-extensions/commit/f13c4952c40bc1796a8e2c4b024d373140a6cfbf

* add aks update support for http proxy (#4469)

* add aks update support for http proxy

* adjust e2e tests

* fix decorator and tests

* add test

* fix: add back update bits

* fix recording

* fix decorator

* decorator should have trusted ca in ut

* new recording

* add real proxy vm

* remove extraneous option list

Co-authored-by: ZelinWang <zelinwang@microsoft.com>

* fix tests

* fix ut

* fix proxy urls

* add credscan suppression

* bump setup py version

* add live_only because of custom feature required

* exclude test due to feature

Co-authored-by: ZelinWang <zelinwang@microsoft.com>

* [Release] Update index.json for extension [ aks-preview ] (#4525)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1433736

Last commit: https://github.com/Azure/azure-cli-extensions/commit/456f486a75de4c6d19c8f861bbf8fe3f54ff8856

* [storage-preview] `az storage account create/update`: Support `--key-vault-federated-identity-client-id` and `--allowed-copy-scope` (#4498)

* `az storage account create/update`: Support `--key-vault-federated-identity-client-id` and `--allowed-copy-scope`

* rerun tests

* Update src/storage-preview/HISTORY.rst

* [Release] Update index.json for extension [ storage-preview ] (#4527)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1434569

Last commit: https://github.com/Azure/azure-cli-extensions/commit/1208f9ec30660177a7571a5482df3f7a40a41901

* [appservice-kube] `az webapp create`: Fix TypeError: 'NoneType' object is not subscriptable (#4518)

* fix plan create and webapp create

* bump version, include bug fix from #4493, fix style, fix webapp update bug, add basic regression tests

* remove deprecated 'az webapp update' params

* fix TypeError: 'NoneType' object is not subscriptable

* bump version

* better error message for nonextant customlocation

* fix name

* Fix functionapp devops-pipeline create (#4500)

* Fix functionapp devops-pipeline create

* Update version

* Bump up minimum cli core version to 2.23.0 (#4537)

Co-authored-by: Siri Teja Reddy Kasireddy <sikasire@microsoft.com>

* [Release] Update index.json for extension [ connectedk8s ] (#4538)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1437831

Last commit: https://github.com/Azure/azure-cli-extensions/commit/a1959b123d4c11149adae2728ab5791949889d54

* [Release] Update index.json for extension [ functionapp ] (#4532)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1437244

Last commit: https://github.com/Azure/azure-cli-extensions/commit/182362788e6f0e70f67b4f8934ce6e170a207bd2

* [Release] Update index.json for extension [ appservice-kube ] (#4531)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1437153

Last commit: https://github.com/Azure/azure-cli-extensions/commit/d2674f49819c6b1e953d55c5c650a5a0a8cfa559

* [CostManagement] `az costmanagement export`: Support `ActualCost` and `AmortizedCost` for export type (#4528)

* Fixing typo (#4541)

* [Release] Update index.json for extension [ costmanagement ] (#4544)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1439436

Last commit: https://github.com/Azure/azure-cli-extensions/commit/8080424bfe2b4cfc2c0bfee76ec918daeacc4d71

* Remove "packaging" module since 2.16.0 doesn't support it (#4545)

* Remove "packaging" module

* nit

* handle 2.30 case

* nit

* nit

Co-authored-by: Siri Teja Reddy Kasireddy <sikasire@microsoft.com>

* [Release] Update index.json for extension [ connectedk8s ] (#4546)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1439941

Last commit: https://github.com/Azure/azure-cli-extensions/commit/411a1c893715364f6a4980c1b0de3e67618292cc

* [AuthV2] Nov 2022 Bug Fixes and Improvements (#4089)

* fixes

* static analysis done

* fix test recordings

* fix static analysis

* Update to throw AZCliErrors and add Unit Tests for new Error Cases

* Fix indentation issue

* Merge main and re-record tests

* change azclierror to argumentusageerror

* Fix indentation

Co-authored-by: James Christianson <jamchri@microsoft.com>
Co-authored-by: James Christianson <jamesrchristianson@gmail.com>

* Add sdk for 2022-03-01-preview api generated here in this PR: (#4552)

https://github.com/Azure/azure-rest-api-specs/pull/18319

* {AKS} Vendor 2022-02-02-preview for aks-preview  (#4553)

* vendor 2022-02-02-preview

* update recordings

* manual update recording for test_aks_create_with_crg_id

* [Quantum] Output error information in table when Quantum job fails (#4463)

* Output status, error code, and error message (errorData) when job fails

* Add Target, Job ID, and Submission Time to table

* Let 'az quantum job output' show error info

* Add unit test cases and error handling for missing errorData items

* Delete commented-out code

* Add logging

* Add Job ID to error log, delete commented-out code

* Delete more commented-out code

* Use dict.get() function

* Alerts management contains operator support for resource type condition (#4554)

* added support for contains and doesNotContain operators for resource types filter

* 1. updated version to 0.2.1
2. updated history file accordingly

Co-authored-by: MIDDLEEAST\lienglender <lienglender@microsoft.com>

* Release 0.24.0 (#4516)

Co-authored-by: Roshan <roshan.s@srencloud.com>

* [Quantum] Handle more storage types during workspace creation (#4524)

* Parameterize storage SKU and kind

* Get storage account parameters

* Add a break

* Add unit test

* Update test defaults

* Make minor changes to satisfy Pylint and Flake8

* Add storage account validation

* Add unit test cases

* Rearranged a logical expression to satisfy Flake8 style check

* Append 'GRS' (or 'grs') to all references to the new test storage account

* Re-run the CI/CD checks

* Change test defaults back to e2e-scenarios resource group

* Bulk fix to change az API links from using underscore to dash (#4551)

* fix_storage_azcopy_blob_sync_help (#4521)

* Add support for enabling Azure KeyVault KMS in aks-preview (#4547)

* support AzureKeyVaultKms

* fix

* [Release] Update index.json for extension [ aks-preview ] (#4558)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1450270

Last commit: https://github.com/Azure/azure-cli-extensions/commit/4a7de787a95b840679a5b24fb6e5c4c1e40c28a2

* update owners of aks-preview (#4557)

* Onboard command extension for Azure Managed Grafana service (#4495)

* POC: update with command list to implement

* consolidate control plane and dashboard commands

* half done: make resource group and location optional

* more commands and code style fixes

* add a validator to workspace https://bugs.python.org/issue9334

* catch up a few TODOs

* Consolidate data source CRUD commands with bug fixes and samples

* add help

* bug fixes on data source commands

* fix style errors

* fix bugs in data-source commands

* clean up command help

* upload whl file for tempoaray measures, before we publish it officially

* update readme and bug fixes

* update get_start doc

* Update get_start,md

* fix typos in get_start.md

* add vendor SDK

* new extension

* new extension built from azdev

* rename from ags to amg

* add tag support

* Update readme.rst

* undo non related changes

* rename readme to markdown

* address lint error

* address linter error

* more fix towards command lint error

* register the command module in a few common file

* add import

* support gallery import

* use deep copy

* address review feedback

* set the minimum cli core version

* fix a bug in 'az grafana user show'

* Remove the 'id' on creating dashboard to prevent 'Not Found' error

* fix validation for kms options (#4560)

* [Release] Update index.json for extension [ alertsmanagement ] (#4556)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1447524

Last commit: https://github.com/Azure/azure-cli-extensions/commit/1e8404b25d94f6f63b7ed7aee229ab9f4273cbe9

* [Release] Update index.json for extension [ amg ] (#4559)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1451213

Last commit: https://github.com/Azure/azure-cli-extensions/commit/0ad46009734e4f72c0584f0a00e9bca17dffe7bd

* {CI} Pin `Jinja2` to 3.0.3 (#4572)

* ContainerApp extension (#4441)

* 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 wa…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants