Gemini Enterprise 的 MongoDB Atlas 資料儲存庫可讓您查詢 MongoDB Atlas 叢集中的資料、查詢專案、叢集、資料庫和集合,並使用自然語言管理 MongoDB Atlas 資源。
支援的動作
啟用 MongoDB Atlas 資料儲存庫後,您可以在 Gemini Enterprise 中使用自然語言指令執行下列操作。
| 動作 | 說明 |
|---|---|
| Atlas 建立存取清單 | 允許 IP 位址或 CIDR 範圍存取 MongoDB Atlas 叢集。 |
| Atlas 建立叢集 | 建立 MongoDB Atlas 叢集。 |
| Atlas 建立資料庫使用者 | 建立 MongoDB Atlas 資料庫使用者。 |
| Atlas 建立免費叢集 | 建立免費的 MongoDB Atlas 叢集。 |
| Atlas 建立專案 | 建立 MongoDB Atlas 專案。 |
| Atlas 載入範例資料集 | 將 MongoDB 範例資料集載入 MongoDB Atlas 叢集。 |
| Atlas 暫停/繼續叢集 | 暫停或繼續執行專屬 (M10 以上) MongoDB Atlas 叢集。 |
| Atlas 串流建構作業 | 建立 Atlas 串流處理資源。 |
| Atlas 串流管理 | 管理 Atlas 串流處理資源。 |
| Atlas 串流拆除 | 刪除 Atlas 串流處理資源。 |
| Atlas 升級叢集 | 升級 MongoDB Atlas 叢集的級別。 |
| 建立集合 | 在資料庫中建立集合,如果資料庫不存在,則會建立資料庫。 |
| 建立索引 | 建立集合的索引。 |
| 刪除多個 | 從集合中移除符合篩選條件的所有文件。 |
| 捨棄集合 | 從資料庫中移除集合或檢視表,以及其索引。 |
| 捨棄資料庫 | 移除資料庫並刪除其資料檔案。 |
| 捨棄索引 | 從集合中移除索引。 |
| 插入多個 | 將文件陣列插入集合。 |
| 變更集合名稱 | 重新命名資料庫中的集合。 |
| 更新多個 | 更新集合中符合篩選條件的所有文件。 |
限制
Gemini Enterprise 的 MongoDB Atlas 資料儲存庫有下列限制:
- 建立新應用程式或在現有應用程式中新增資料儲存庫時,建議只將一個資料儲存庫與單一連接器類型的動作建立關聯。
- 不支援對現有 MongoDB Atlas 資料儲存庫強制執行 VPC Service Controls perimeter。如要強制執行 VPC Service Controls,請刪除並重新建立資料儲存庫。如要進一步瞭解 VPC Service Controls,以及如何在啟用 VPC Service Controls 後使用動作,請參閱「使用 VPC Service Controls 保護應用程式」。
- MongoDB Atlas 資料儲存庫僅支援
global、us和eu位置。
後續步驟
- 如要使用 MongoDB Atlas 建立及設定資料儲存庫,請參閱「設定 MongoDB Atlas 資料儲存庫」。