anjuna-azure-cli instance log-enable

anjuna-azure-cli instance log-enable --resource-group <resource-group> --name <VM-instance-name>

Enables boot diagnostics for VMs.

By default, the Anjuna CLI enables boot diagnostics for newly-created instances when the --storage-account flag is specified.

Options

Usage

anjuna-azure-cli instance log-enable --resource-group <resource-group> --name <VM-instance-name>

--name

(Required) Name of the VM instance to use

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

Example

$ anjuna-azure-cli instance log-enable --resource-group myresourcegroup --name my-cvm-instance