3.1 KiB
Description
This repository contains the implementation of CIQS(Cloud Intelligence Quickstart) Azure Cli extension. It help AI solution authoring and provisioning platform (a.k.a CIQS) reach out to a broader set of customers, including data scientists, data engineers, developers and ISVs.
Contributing
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.
When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
Maintaining This Repository
The Extension is dependant on the SDK which is currently located in src/CIQS-CLI-Extension/cloudintelligencequickstart. This SDK was autogenerated by msswagger from the CIQS API. In the future, should such SDK be made available in pip, the custom.py should be modified to import from the correct location. Should any changes to the REST API be made for CIQS, the SDK should be regenerated and updated in the CLI source.
When new versions of the extension are ready to publish. They should be published to the Releases on this repository. A python wheel file should be generated by following the instructions below and added as the binary for the release. The link to this binary will be able to be used as the value for --source when installing the extension.
Dependencies
- Azure CLI 2.0 (install instructions here)
- Python 2 or Python 3
Build Instructions
Navigate to src/CIQS-CLI-Extension. Run the following command:
python setup.py bdist_wheel
This will create a dist
directory containing your .whl
extension.
The .whl
file will be used to install the extension.
Install Instructions
Navigate to src/CIQS-CLI-Extension.
Run the following command where "{FILENAME}.whl" is the file generated when building:
az extension add --source ./dist/{FILENAME}.whl
See https://docs.microsoft.com/en-us/cli/azure/azure-cli-extensions-overview?view=azure-cli-latest for details of installing extensions.
Run Instructions
Now the extension should be install directly into the Azure CLI. To see availabe subgroups and commands run the following command:
az ciqs --help
An example command that would list all deployments in a given subsciption would be as follows:
az ciqs deployment list --subscription "xxxx-xxxx-xxxx-xxxx"