hosts create

hosts create

hosts create 명령은 새 호스트를 만들어요.

출처: HashiCorp Boundary docs

본문

예시

이 예시는 이름이 prodops이고 설명이 For ProdOps usage인 정적(static) 호스트를 만들어요.

$ boundary hosts create static -name prodops -description "For ProdOps usage"

사용법 (Usage)

$ boundary hosts create [type] <subcommand> [options] [args]

유형별 하위 명령의 자세한 사용법은 그 하위 명령의 도움말을 참고해요.

Subcommands:
    static    static 유형 호스트 생성

유형별 사용법 (Usages by type)

boundary hosts create static 명령은 static 유형 호스트를 만들어요.

예시

이 예시는 이름이 prodops, 설명이 Static host for ProdOps, 주소가 127.0.0.1인 static 유형 호스트를 만들어요.

$ boundary hosts create static -name prodops -description "Static host for ProdOps" -address "127.0.0.1"

사용법

$ boundary hosts create static [options] [args]

명령 옵션 (Command options)

  • -description=<string> — 호스트에 설정할 설명이에요.
  • -host-catalog-id=<string> — 작업에 사용할 호스트 카탈로그 리소스예요. BOUNDARY_HOST_CATALOG_ID 환경 변수로도 지정할 수 있어요.
  • -name=<string> — 호스트에 설정할 이름이에요.

Static 호스트 옵션

  • -address=<string> — static 호스트의 주소예요.

CLI 옵션 (CLI options)

명령별 옵션 외에, 모든 CLI 명령과 하위 명령에 공통으로 적용되는 옵션들이 있어요.

  • 연결 옵션 (Connection options)
  • 클라이언트 옵션 (Client options)
  • 출력 옵션 (Output options)
  • 환경 변수 (Environment variables)

더 알아보기 (Learn more)