Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Creating CLI extension for Azure Quantum (Azure#1879)
* Azure quantum extension v0 (#2) Initial version. * Fixing style issues * Incorporating feedback (#6) * readme * feedback * Help * Make storage account optional (#7) * Storage is now optional (#8) * Making storage an argument, not an env variable (#9) * Adding implementation of 'az quantum workspace delete' command. * Setting new temporary version. * Fixing missing file in test change * Adding details to README.md (#5) * Updating generated files for Azure Quantum resource manager from new swagger file version * Remove manual edit of generated file. * Updating generated files for Azure Quantum data plane from new swagger file version * Updating generated files for Azure Quantum resource manager from new swagger file version. (2020-11-06) (#13) * Adding implementation of 'az quantum workspace create' command. (#14) Adding initial implementation of 'az quantum workspace create' command. ----------------------------------- Command az quantum workspace create : Creates a new Azure Quantum workspace. Command group 'quantum' is in preview. It may be changed/removed in a future release. Arguments --location -l : Location. Values from: az account list-locations. You can configure the default location using az configure --defaults location=<location>. --resource-group -g : Name of resource group. You can configure the default group using az configure --defaults group=<name>. --storage_account -sa : Name of the storage account to be used by a quantum workspace. --workspace-name -w : Name of the Quantum Workspace. You can configure the default workspace using az quantum workspace set. * Update Azure CLI quantum extension to multi-region (#17) This change will set the URL for the data plan API accordingly with a location parameter specified as part of the command. * Updating swagger files per commit 44563991425d862ba4e8090a2b5b6caf8333600c in azure-rest-api-specs-pr. (#16) Updating swagger files per commit 44563991425d862ba4e8090a2b5b6caf8333600c in azure-rest-api-specs-pr. * Fixing tests for multi-region URL change on Az CLI quantum extension (#19) Fixing tests for multi-region URL change on Az CLI quantum extension * Incorporating ARM feedback (#18) * Picking up latest changes from swagger after ARM feedback * updated create_or_update * run command * Setting default location in workspace calls if not specified (#20) * updating python azure quantum rest client (#21) * Update generated files from swagger file (Version 2021-01-11) (#22) * Hot fixes on December 2020 release of Azure CLI extension (#23) * Fixing issue with over specification of location * Updating version information of extension * Update CLI with generated clients from more recent swagger files (#24) - Data plane updated to official swagger file (2021-01-11 19:01:32 UTC) on azure-rest-api-specs @ 98ae52b. - Resource manager updated to candidate swagger file (2021-01-15 19:35:41 UTC) on anpaz:quantum/resource-manager @ a9a9e271c13500aa54fdbb1bcb656eb61d82d38b. * Update src/quantum/README.rst Co-authored-by: Feiyue Yu <[email protected]> * Update src/quantum/README.rst Co-authored-by: Feiyue Yu <[email protected]> * Update src/quantum/README.rst Co-authored-by: Feiyue Yu <[email protected]> * Update src/quantum/README.rst Co-authored-by: Feiyue Yu <[email protected]> * Require location as a mandatory parameter in workspace specification (#25) * Make location mandatory in commands * Update test recordings * Resetting the version history for the released version. * Fix description of workspace clear command * Updatig Readme file to RST format. * Update Readme file per pull request comments. * Fixing az quantum run and execute commands to include location parameter * Performing role assignment on storage account on workspace creation. (#29) * Add warning message about providers during workspace creation (#30) * Enable command az quantum workspace quotas (#31) * Removing extra space in Readme.rst Co-authored-by: Feiyue Yu <[email protected]> * Fix punctuation in Readme.rst Co-authored-by: Feiyue Yu <[email protected]> * Update src/quantum/README.rst Co-authored-by: Feiyue Yu <[email protected]> * Update src/quantum/azext_quantum/_params.py Co-authored-by: Feiyue Yu <[email protected]> * First round of code review feedback on Readme.rst * Improve code readability on job commands * Avoid IndexError in case of malformed URL * Extended info on targetId parameter * Add help to each individual command * Reorganize sections in Readme.rst and merge in a single set of instructions. * Static analysis fixes * Fix CLI Linter errors * Fix CLI Linter errors. Part 2 * Fix typo in show command. * Fix show command for Linter * Use standard name for show command method * Modify workspace create test to skip role assignment * Update tests with workspace names used currently. * Update test recordings. * Set subscription for the recordings. * Update test recordings. * Update QDK version number * Remove asserts and checks for subscription * Experiment: Remove check for preview subscription * Refresh recordings with current test values. * Update recordings after typo fix. * Remove commented out API that references subscription * Enable QuantumJobsScenarioTest.test_submit_args only on live mode Co-authored-by: Ricardo Espinoza <[email protected]> Co-authored-by: Feiyue Yu <[email protected]>
- Loading branch information