gdcloud compute health-checks create tcp

NOM

gdcloud compute health-checks create tcp : créez une vérification de l'état TCP pour un équilibreur de charge.

SYNOPSIS

gdcloud compute health-checks create tcp HEALTH_CHECK_NAME [flags]

EXEMPLES

To create a global TCP health check named "tcp-health-check", run:

    gdcloud compute health-checks create tcp tcp-health-check \
      --port=80 \
      --global

To create a zonal TCP health check named "tcp-health-check", run:

    gdcloud compute health-checks create tcp tcp-health-check \
      --port=80

FLAGS FACULTATIFS

      --check-interval int        Time (in seconds) from the start of one probe to the start of the next one. (default 5)
      --global                    If set, the global health check object is created.
      --healthy-threshold int     Number of sequential probes that must succeed for the endpoint to be considered healthy. (default 2)
      --port int                  Port number on which to perform the health check. (default 80)
      --timeout int               Time (in seconds) to wait before claiming failure. (default 5)
      --unhealthy-threshold int   Number of sequential probes that must fail for the endpoint to be considered unhealthy. (default 2)
      --zone string               Zone to use for this invocation. To preset the zone flag for all commands that require it, run: "gdcloud config set core/zone ZONE". The zone flag is available only in multi-zone environments.

FLAGS GDCLOUD GÉNÉRAUX

Ces flags sont disponibles pour toutes les commandes : --configuration, --format, --help, --project, --quiet.

Pour en savoir plus, consultez la page de présentation de la documentation de référence de la gdcloud CLI.