anjuna-azure-cli instance describe

anjuna-azure-cli instance describe --resource-group <resource-group> --name <VM-instance-name> [OPTIONS...]

Displays information about existing VMs.

Options

Usage

anjuna-azure-cli instance describe --resource-group <resource-group> --name <VM-instance-name> [OPTIONS...]

--json

Get instance details formatted as JSON data (verbose)

--name

(Required) Name of the VM instance to use

--query

JSON query string. See https://jmespath.org/ for more information and examples.

--resource-group

(Required) Azure resource group to use

Global options

The following options are available for all anjuna-azure-cli subcommands.

Global options

-h, --help

Prints the help information for the command

--debug

Prints debug messaging

-v, --version

Prints the anjuna-azure-cli version

Exit status

  • 0 on success

  • 1 on error

Examples

$ anjuna-azure-cli instance describe \
  --name my-cvm-instance \
  --resource-group myresourcegroup

Name             ResourceGroup       PowerState      PublicIps    Fqdns    Location    Zones
---------------  ------------------  --------------  -----------  -------  ----------  -------
my-cvm-instance  myresourcegroup     VM deallocated  192.168.1.1           eastus
$ anjuna-azure-cli instance describe \
  --json \
  --name my-cvm-instance \
  --resource-group myresourcegroup

{
  "additionalCapabilities": null,
  "applicationProfile": null,
  "availabilitySet": null,
  "billingProfile": null,
  "capacityReservation": null,
  "diagnosticsProfile": {
    "bootDiagnostics": {
      "enabled": true,
      "storageUri": null
    }
  },
  "evictionPolicy": null,
  "extendedLocation": null,
  "extensionsTimeBudget": null,
  "fqdns": "",
  "hardwareProfile": {
    "vmSize": "Standard_D2s_v3",
    "vmSizeProperties": null
  },
...
}