- gcloud alpha compute instance-groups managed instance-configs delete - delete per instance configs from managed instance group
gcloud alpha compute instance-groups managed instance-configs delete NAME --instances=INSTANCE,[INSTANCE,...] [--force-instance-update] [--region=REGION | --zone=ZONE] [GCLOUD_WIDE_FLAG ...]
(ALPHA) gcloud alpha compute instance-groups managed instance-configs
Name of the managed instance group to delete.
Names of instances to delete instance-configs from.
The changes will be applied immediately to the instances. If this flag is not
provided, the changes will be applied once the instances are restarted or
Example: let's say we have an instance with a disk attached to it and an override for the disk. If we decide to delete the override and provide this flag, this will instantly recreate the instance and detach the disk from it. Similarly if we have attached new disk or changed its definition - with this flag it will instantly recreate instance with newly applied overrides.
If we omit this flag, the instance will continue to exist with no overrides changes applied until it gets restarted or recreated either manually or by autohealer or updater.
At most one of these may be specified:
Region of the managed instance group to delete. If not specified, you may be
prompted to select a region.
A list of regions can be fetched by running:
- $ gcloud compute regions list
Overrides the default compute/region property value for this command invocation.
Zone of the managed instance group to delete. If not specified, you may be
prompted to select a zone.
A list of zones can be fetched by running:
- $ gcloud compute zones list
Overrides the default compute/zone property value for this command invocation.
GCLOUD WIDE FLAGS
These flags are available to all commands: --account, --configuration, --flags-file, --flatten, --format, --help, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity. Run $ gcloud help for details.
This command is currently in ALPHA and may change without notice. If this command fails with API permission errors despite specifying the right project, you will have to apply for early access and have your projects registered on the API whitelist to use it. To do so, contact Support at cloud.google.com/support