c7940989a7
AVS CLI - first release |
||
---|---|---|
azext_vmware_cs | ||
.gitignore | ||
CODE_OF_CONDUCT.md | ||
HISTORY.rst | ||
LICENSE | ||
README.md | ||
README.rst | ||
setup.cfg | ||
setup.py |
README.md
Azure VMware Solutions by CloudSimple Extension for Azure CLI
This extension provides command to manage Azure VMware Solutions.
Installing Azure CLI
Please refer to the install guide for detailed install instructions.
You can also use the extension from Azure Cloud Shell.
Installing vmware-cs extension
Download the whl file for the extension. Install by the CLI command:
az extension add --source vmware_cs-0.1.0-py2.py3-none-any.whl
Quick start
-
Run the
az login
command to log in to your Azure account.If the CLI can open your default browser, it will do so and load a sign-in page. Otherwise, you need to open a browser page and follow the instructions on the command line to enter an authorization code after navigating to https://aka.ms/devicelogin in your browser. For more information, see the Azure CLI login page.
-
Use
az account set
with the subscription ID or name you want to switch to.
az account set --subscription "My Subscription"
- You can configure defaults such as the resource group and location, or you can also provide these as parameters for each command.
az configure --defaults location=MyLocation group=MyResourceGroup
Usage
az [group] [subgroup] [command] {parameters}
For usage and help content for any command, pass in the -h parameter, for example:
az vmware -h
Group
az vmware : Manage Azure VMware Solution.
This command group is in preview. It may be changed/removed in a future release.
Subgroups:
private-cloud : Manage VMware private clouds.
resource-pool : Manage VMware resource pools.
virtual-network : Manage virtual networks.
vm : Manage VMware virtual machines.
vm-template : Manage VMware virtual machine templates.
This extension provides CLI commands to:
- Create, list, show, update, delete, start, stop - VMware Virtual Machines by CloudSimple. You can update disks, nics, and the tags of a VM. More update capabilities would be supported in future releases. For creating a VMware VM by CloudSimple, a CloudSimple private cloud should be provisioned, which involves creating a CloudSimple service and provisioning a minimum of 3 nodes.
- List and show - private clouds, resource pools, virtual machine templates, and virtual networks.
Removing extension
Extension can be removed using the following CLI command:
az extension remove -n vmware-cs
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.opensource.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., status check, 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.