gdcloud compute backend-services create

שם

gdcloud compute backend-services create - Create backend services for a load balancer.

SYNOPSIS

gdcloud compute backend-services create BACKEND_SERVICE_NAME [flags]

דוגמאות

To create a zonal backend service "backend-service-1" for a load balancer, run:

    gdcloud compute backend-services create backend-service-1 \
      --health-check=my-health-check \
      --target-ports=UDP:80:8080

    To create a global backend service "backend-service-1" for a load balancer, run:

    gdcloud compute backend-services create backend-service-1 \
      --health-check=my-health-check \
      --target-ports=UDP:80:8080 \
      --global

דגלים אופציונליים

      --global                 If set, the global backend service object is created.
      --health-check string    Name of the health check parameters object for this backend service.
      --target-ports strings   Comma-separated list of target ports that this backend service will translate, where each target port specifies the protocol, the port on the forwarding rule, and the port on the backend instance. Format: '{protocol}:{port}:{targetport}'.
      --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.

GDCLOUD WIDE FLAGS

הדגלים האלה זמינים לכל הפקודות: --configuration, ‏ --format, ‏ --help, ‏ --project, ‏ --quiet.

מידע נוסף זמין בדף סקירה כללית של מדריך העזר ל-CLI של gcloud.