gdcloud compute backend-services add-backend

이름

gdcloud compute backend-services add-backend - 기존 백엔드 서비스에 백엔드를 추가합니다.

개요

gdcloud compute backend-services add-backend BACKEND_SERVICE_NAME [flags]

EXAMPLES

To add the backend "backend-1" to the global backend service "backend-service-1", run:

    gdcloud compute backend-services add-backend backend-service-1 \
      --global \
      --backend-zone=us-central1-a \
      --backend=backend-1

    To add the backend "backend-1 to the zonal backend service "backend-service-1", run:

    gdcloud compute backend-services add-backend backend-service-1 \
      --backend=backend-1

필수 플래그

      --backend string   Name of the backend to add to the backend service.

선택적 플래그

      --backend-zone string   Name of zone in which the referenced backend is created. This is a required flag for adding a backend to a global backend service.
      --global                If set, the backend is added to the global backend service.
      --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 참조 개요 페이지를 참고하세요.