gdcloud compute backend-services create

이름

gdcloud compute backend-services create - 부하 분산기의 백엔드 서비스를 만듭니다.

개요

gdcloud compute backend-services create BACKEND_SERVICE_NAME [flags]

EXAMPLES

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 전체 플래그

이러한 플래그는 모든 명령어에서 사용할 수 있습니다(--configuration, --format, --help, --project, --quiet).

자세한 내용은 gdcloud CLI 참조 개요 페이지를 참고하세요.