gcloud alpha compute instance-templates delete - delete Compute Engine virtual machine instance templates
gcloud alpha compute instance-templates delete NAME [NAME ...] [--global | --region=REGION] [GCLOUD_WIDE_FLAG ...]
(ALPHA) gcloud alpha compute instance-templates delete deletes one or more Compute Engine virtual machine instance templates.
To delete the instance template named 'INSTANCE-TEMPLATE', run:
$ gcloud alpha compute instance-templates delete INSTANCE-TEMPLATE
- NAME [NAME ...]
Names of the instance templates to delete.
- At most one of these can be specified:
- --global
If set, the instance templates are global.
- --region=REGION
Region of the instance templates to delete. Overrides the default compute/region property value for this command invocation.
These flags are available to all commands: --access-token-file, --account, --billing-project, --configuration, --flags-file, --flatten, --format, --help, --impersonate-service-account, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
This command is currently in alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist. These variants are also available:
$ gcloud compute instance-templates delete
$ gcloud beta compute instance-templates delete