repo containing Azure CLI extension code for Vmware solutions by CloudSimple
Перейти к файлу
Shivam Mittal ead065215e Changing extension name and namespace to csvmware 2020-02-21 16:57:01 +05:30
azext_csvmware Changing extension name and namespace to csvmware 2020-02-21 16:57:01 +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 Swagger changed after release 44 2020-02-05 18:54:36 +05:30
LICENSE Initial commit 2019-08-01 03:09:32 -07:00
README.md Changing extension name and namespace to csvmware 2020-02-21 16:57:01 +05:30
README.rst Changing extension name and namespace to csvmware 2020-02-21 16:57:01 +05:30
setup.cfg vendored sdk generated from released package 2019-10-11 15:48:21 +05:30
setup.py Changing extension name and namespace to csvmware 2020-02-21 16:57:01 +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 csvmware extension

Install by the CLI command:

az extension add -n csvmware

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 csvmware -h

Group
    az csvmware : 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.

You can views the various commands and its usage here: Microsoft docs.

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 csvmware

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.