atlas accessLists describe
์ด ํ์ด์ง์ ๋ด์ฉ
์ง์ ๋ IP ์ก์ธ์ค ๋ชฉ๋ก ํญ๋ชฉ์ ๋ํ ์ธ๋ถ ์ ๋ณด๋ฅผ ๋ฐํํฉ๋๋ค.
์ด ๋ช ๋ น์ ์ฌ์ฉํ๋ ค๋ฉด ์ฌ์ฉ์ ๊ณ์ ๋๋ ์กฐ์ง ๊ตฌ์ฑ์ ์ญํ ์ด ์๋ API ํค๋ก ์ธ์ฆํด์ผ ํฉ๋๋ค.
๊ตฌ๋ฌธ
atlas accessLists describe <entry> [options]
arguments
์ด๋ฆ | ์ ํ | ํ์ ์ฌํญ | ์ค๋ช
|
---|---|---|---|
ํญ๋ชฉ | ๋ฌธ์์ด | true | ๋ฐํํ ์ก์ธ์ค ๋ชฉ๋ก ํญ๋ชฉ์ IP ์ฃผ์, CIDR ์ฃผ์ ๋๋ Amazon Web Services ๋ณด์ ๊ทธ๋ฃน ID์ ๋๋ค. |
์ต์
์ด๋ฆ | ์ ํ | ํ์ ์ฌํญ | ์ค๋ช
|
---|---|---|---|
-h, --help | ๊ฑฐ์ง | ์ค๋ช ๋์๋ง | |
-o, --output | ๋ฌธ์์ด | ๊ฑฐ์ง | ์ถ๋ ฅ ํ์์ ๋๋ค. ์ ํจํ ๊ฐ์ json, json-path, go-ํ ํ๋ฆฟ ๋๋ go-ํ ํ๋ฆฟ ํ์ผ์ ๋๋ค. ์ ์ฒด ์ถ๋ ฅ์ ๋ณด๋ ค๋ฉด -o json ์ต์ ์ ์ฌ์ฉํฉ๋๋ค. |
--projectId | ๋ฌธ์์ด | ๊ฑฐ์ง | ์ฌ์ฉํ ํ๋ก์ ํธ๋ฅผ ์๋ณํ๋ 16์ง์ ๋ฌธ์์ด์ ๋๋ค. ์ด ์ต์ ์ ๊ตฌ์ฑ ํ์ผ ๋๋ ํ๊ฒฝ ๋ณ์์ ์ค์ ์ ์ฌ์ ์ํฉ๋๋ค. |
์์๋ ์ต์
์ด๋ฆ | ์ ํ | ํ์ ์ฌํญ | ์ค๋ช
|
---|---|---|---|
-P, --profile | ๋ฌธ์์ด | ๊ฑฐ์ง | ๊ตฌ์ฑ ํ์ผ์์ ์ฌ์ฉํ ํ๋กํ์ ์ด๋ฆ์ ๋๋ค. Atlas CLI์ ํ๋กํ์ ๋ํด ์์ธํ ์์๋ณด๋ ค๋ฉด https://dochub.mongodb.org/core/atlas-cli-save-connection-settings๋ฅผ ์ฐธ์กฐํ์ธ์. |
์์
# Return the JSON-formatted details for the access list entry 192.0.2.0/24 in the project with ID 5e2211c17a3e5a48f5497de3: atlas accessLists describe 192.0.2.0/24 --output json --projectId 5e1234c17a3e5a48f5497de3