이름
gdcloud database connection-profiles create - 지정된 데이터베이스 유형의 데이터 이전을 위한 연결 프로필을 만듭니다.
개요
gdcloud database connection-profiles create DATABASE_TYPE CONNECTION_PROFILE_NAME [flags]
EXAMPLES
To create a connection profile for PostgreSQL, run:
gdcloud database connection-profiles create postgresql pg-connection-profile-sample \
--password=123456 --username=my-user --host=1.2.3.4 --port=5432 --ca-certificate=/path/to/ca.crt
필수 플래그
--ca-certificate string file path for x509 PEM-encoded certificate of the CA that signed the database server's certificate.
--host string IP or hostname of the database.
--password string Password for the user that the migration service uses to connect to the database.
--username string Username that the migration service uses to connect to the database.
선택적 플래그
--client-certificate string file path for x509 PEM-encoded certificate that will be used by the replica to authenticate against the database server.
--port int32 Network port of the database. (default 5432)
--private-key string file path for Unencrypted PKCS#1 or PKCS#8 PEM-encoded private key associated with the Client Certificate.
GDCLOUD 전체 플래그
이러한 플래그는 모든 명령어에서 사용할 수 있습니다(--configuration
, --format
, --help
, --project
, --quiet
).
자세한 내용은 gdcloud CLI 참조 개요 페이지를 참고하세요.