gcloud_beta_compute_instance-groups_managed_set-autohealing (1)
NAME
- gcloud beta compute instance-groups managed set-autohealing - set autohealing policy for managed instance group
SYNOPSIS
-
gcloud beta compute instance-groups managed set-autohealing NAME [--initial-delay=INITIAL_DELAY] [--health-check=HEALTH_CHECK | --http-health-check=HTTP_HEALTH_CHECK | --https-health-check=HTTPS_HEALTH_CHECK] [--region=REGION | --zone=ZONE] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(BETA) gcloud beta compute instance-groups managed set-autohealing
If health check is specified, the resulting autohealing policy will be triggered by the health-check signal i.e. the autohealing action (RECREATE) on an instance will be performed if the health-check signals that the instance is UNHEALTHY. If no health check is specified, the resulting autohealing policy will be triggered by instance's status i.e. the autohealing action (RECREATE) on an instance will be performed if the instance.status is not RUNNING.
POSITIONAL ARGUMENTS
-
- NAME
-
Name of the managed instance group to operate on.
FLAGS
-
- --initial-delay=INITIAL_DELAY
-
Specifies the length of the period during which the instance is known to be
initializing and should not be autohealed even if unhealthy. This value cannot
be greater than 1 hour. See $ gcloud topic datetimes for information on duration
formats.
-
At most one of these may be specified:
-
- --health-check=HEALTH_CHECK
-
Name of the health check to operate on.
- --http-health-check=HTTP_HEALTH_CHECK
-
(DEPRECATED) Specifies the HTTP health check object used for autohealing
instances in this group.
HttpHealthCheck is deprecated. Use --health-check instead.
- --https-health-check=HTTPS_HEALTH_CHECK
-
(DEPRECATED) Specifies the HTTPS health check object used for autohealing
instances in this group.
HttpsHealthCheck is deprecated. Use --health-check instead.
-
-
At most one of these may be specified:
-
- --region=REGION
-
Region of the managed instance group to operate on. 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=ZONE
-
Zone of the managed instance group to operate on. 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.
NOTES
This command is currently in BETA and may change without notice. This variant is also available:
- $ gcloud alpha compute instance-groups managed set-autohealing