온라인 아카이브 구성 파일 을 사용하면 Atlas CLI 를 사용하여 온라인 온라인 를 업데이트 할 때 필요한 설정을 지정할 수 있습니다. Atlas CLI 는 .json 온라인 아카이브 구성 파일을 허용합니다.
사용 가능한 설정
When you create online archives using a configuration file, you can specify any settings that are listed in Create One Online Archive under Request Body Schema.
When you update online archives using a configuration file, you can specify any settings that are listed in Update One Online Archive under Request Body Schema.
구성 파일 만들기
온라인 보관 만들기
구성 파일을 사용하여 온라인 아카이브를 만들려면 다음 단계를 따르세요.
Copy the sample request for Create One Online Archive.
Navigate to the Create One Online Archive section of the Atlas Admin API specification.
Request samples 오른쪽의 아래에서 을 Expand all 클릭합니다.
샘플 요청을 복사하려면 Copy 을 클릭합니다.
--file 옵션과 함께 Atlas cluster 검색 노드 생성 명령을 실행합니다.
--file 플래그를 사용하여 저장한 파일의 경로를 지정합니다.
온라인 보관 업데이트
구성 파일 로 온라인 아카이브를 업데이트 하려면 다음 단계를 따르세요.
Copy the sample request for Update One Online Archive.
Navigate to the Update One Online Archive section of the Atlas Admin API specification.
Request samples 오른쪽의 아래에서 을 Expand all 클릭합니다.
샘플 요청을 복사하려면 Copy 을 클릭합니다.
--file 옵션을 사용하여 Atlas cluster 검색 노드 업데이트 명령을 실행합니다.
--file 플래그를 사용하여 저장한 파일의 경로를 지정합니다.