Docs Menu
Docs Home
/ /
Atlas CLI
/ / / /

Atlas cluster 검색 λ…Έλ“œ μ—…λ°μ΄νŠΈ

cluster의 검색 λ…Έλ“œλ₯Ό μ—…λ°μ΄νŠΈν•©λ‹ˆλ‹€.

이 λͺ…령을 μ‚¬μš©ν•˜λ €λ©΄ 쑰직 μ†Œμœ μž λ˜λŠ” ν”„λ‘œμ νŠΈ μ†Œμœ μž 역할이 μžˆλŠ” API ν‚€λ‘œ λ˜λŠ” μ‚¬μš©μž κ³„μ •μœΌλ‘œ 인증해야 ν•©λ‹ˆλ‹€.

λͺ…λ Ή ꡬ문
atlas clusters search nodes update [options]
이름
μœ ν˜•
ν•„μˆ˜ 사항
μ„€λͺ…

--clusterName

λ¬Έμžμ—΄

true

-f, --file

λ¬Έμžμ—΄

true

μ‚¬μš©ν•  JSON 인덱슀 ꡬ성 파일 의 μ΄λ¦„μž…λ‹ˆλ‹€. Atlas Search λ…Έλ“œ ꡬ성 파일 에 λŒ€ν•΄ ν•™μŠ΅ https://dochub.mongodb.org/core/search-nodes-config-file-atlascliλ₯Ό μ°Έμ‘°ν•˜μ„Έμš”.

-h, --help

κ±°μ§“

μ—…λ°μ΄νŠΈ 도움말

-o, --output

λ¬Έμžμ—΄

κ±°μ§“

좜λ ₯ ν˜•μ‹μž…λ‹ˆλ‹€. μœ νš¨ν•œ 값은 json, json-path, go-ν…œν”Œλ¦Ώ λ˜λŠ” go-ν…œν”Œλ¦Ώ νŒŒμΌμž…λ‹ˆλ‹€. 전체 좜λ ₯을 보렀면 -o json μ˜΅μ…˜μ„ μ‚¬μš©ν•©λ‹ˆλ‹€.

--projectId

λ¬Έμžμ—΄

κ±°μ§“

μ‚¬μš©ν•  ν”„λ‘œμ νŠΈλ₯Ό μ‹λ³„ν•˜λŠ” 16μ§„μˆ˜ λ¬Έμžμ—΄μž…λ‹ˆλ‹€. 이 μ˜΅μ…˜μ€ ꡬ성 파일 λ˜λŠ” ν™˜κ²½ λ³€μˆ˜μ˜ 섀정을 μž¬μ •μ˜ν•©λ‹ˆλ‹€.

-w, --watch

κ±°μ§“

λͺ…령이 싀행이 μ™„λ£Œλ˜κ±°λ‚˜ κ°μ‹œ μ‹œκ°„μ΄ 초과될 λ•ŒκΉŒμ§€ λͺ…령을 κ°μ‹œν• μ§€ μ—¬λΆ€λ₯Ό λ‚˜νƒ€λ‚΄λŠ” ν”Œλž˜κ·Έμž…λ‹ˆλ‹€.

--watchTimeout

int

κ±°μ§“

watch μ‹œκ°„μ΄ 초과될 λ•ŒκΉŒμ§€μ˜ μ‹œκ°„(초)μž…λ‹ˆλ‹€. κ°μ‹œ μ‹œκ°„μ΄ 초과되면 Atlas CLIλŠ” 더 이상 λͺ…령을 κ°μ‹œν•˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€.

이름
μœ ν˜•
ν•„μˆ˜ 사항
μ„€λͺ…

-P, --profile

λ¬Έμžμ—΄

κ±°μ§“

ꡬ성 파일 μ—μ„œ μ‚¬μš©ν•  ν”„λ‘œν•„μ˜ μ΄λ¦„μž…λ‹ˆλ‹€. Atlas CLI 의 ν”„λ‘œν•„μ— λŒ€ν•΄ ν•™μŠ΅ https://dochub.mongodb.org/core/atlas-cli-save-connection-settingsλ₯Ό μ°Έμ‘°ν•˜μ„Έμš”.

λͺ…령이 μ„±κ³΅ν•˜λ©΄ Atlas CLIλŠ” λ‹€μŒ μƒ˜ν”Œκ³Ό μœ μ‚¬ν•œ 좜λ ₯을 λ°˜ν™˜ν•©λ‹ˆλ‹€. κ΄„ν˜Έ μ•ˆμ˜ 값은 μ‚¬μš©μžμ˜ 값을 λ‚˜νƒ€λƒ…λ‹ˆλ‹€.

Started updating search nodes.
# Update a search node for the cluster named myCluster using a JSON node spec configuration file named spec.json:
atlas clusters search nodes update --clusterName myCluster --file spec.json --output json

λŒμ•„κ°€κΈ°

λͺ©λ‘

이 νŽ˜μ΄μ§€μ˜ λ‚΄μš©