anjuna-azure-cli instance delete

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

Deletes an Azure Confidential VM instance.

If the --delete-nics option is used, it will also delete the attached NICs.

Options

Usage

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

-d, --delete-nics

Add this flag to delete the attached NICs (default: false)

-n, --name

(Required) Name of the VM instance to use

-g, --resource-group

(Required) The Azure resource group to use

-s, --subscription-id

Azure subscription ID 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 delete \
  --resource-group myresourcegroup \
  --name my-cvm-instance \
  --delete-nics \
  --subscription-id my-subscription-id