repo containing Azure CLI extension code for Vmware solutions by CloudSimple
Перейти к файлу
shivam-msft c7940989a7
Merge pull request #4 from Azure/no_provider_apis
AVS CLI - first release
2019-10-18 11:24:54 +05:30
azext_vmware_cs Minor changes 2019-10-17 12:00:59 +05:30
.gitignore Initial commit 2019-08-01 03:09:27 -07:00
CODE_OF_CONDUCT.md Initial commit 2019-08-01 03:09:33 -07:00
HISTORY.rst vendored sdk generated from released package 2019-10-11 15:48:21 +05:30
LICENSE Initial commit 2019-08-01 03:09:32 -07:00
README.md Changed some help strings 2019-10-01 20:58:16 +05:30
README.rst Add readme.rst 2019-10-18 11:15:24 +05:30
setup.cfg vendored sdk generated from released package 2019-10-11 15:48:21 +05:30
setup.py Minor changes 2019-10-17 12:00:59 +05:30

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

  1. 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.

  2. Use az account set with the subscription ID or name you want to switch to.

az account set --subscription "My Subscription"
  1. 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:

  1. 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.
  2. 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.