AI エージェント向け: ドキュメントインデックスは https://www.mongodb.com/ja-jp/docs/llms.txt で利用できます。すべてのページの markdown バージョンは、いずれかの URL パスに .md を追加することで利用できます。
Docs Menu

1 つの配置リージョンを作成

注意

グループとプロジェクトは同義語です。あなたの {PROJECT-ID} は、グループ IDと同じです。既存のグループの場合、グループ/グループ ID は同じままです。このページでは、説明を参照するときに、より一般的なタームのグループ を使用します。エンドポイントとなる接続されたデバイスは、ドキュメントに記載されているままです。

ベース URL: https://{OPSMANAGER-HOST}:{PORT}/api/public/v1.0

POST /admin/backup/backupDeployments

次のクエリ パラメータは 任意です。

名前
タイプ
必要性
説明
default

pretty

ブール値

任意

Flag indicating whether the response body is in a prettyprint format.

false

envelope

ブール値

任意

応答をエンベロープでラップするかどうかを示すフラグ。

Some API clients cannot access the HTTP response headers or status code. To remediate this, set envelope=true in the query.

1 つの結果を返すエンドポイントの場合、レスポンス本体には次のものが含まれます。

  • status: HTTP response code

  • content: 期待される応答本体

false

名前
タイプ
必要性
説明

assignmentEnabled

ブール値

任意

バックアップ リソースに配置リージョンを割り当てられるかどうかを示すフラグ。

bqProxyEndpoint

string

必須

Ops Manager instance that serves Queryable Backup requests. Value is in the following format: domain:port. For example, localhost:8080.

deploymentDescription

string

必須

配置リージョンの目的を説明するstring 。

id

string

必須

構成内のこの配置リージョンを参照する一意の識別子。

ingestionEndpoint

string

必須

Ops Manager instance to which the Backup Agent writes snapshot or oplog data. Value is a valid URL such as http://www.mongodb.com. Supports both HTTP and HTTPS.

restoreEndpoint

string

必須

復元リクエストを提供する MongoDB Ops Manager インスタンス

名前
タイプ
説明

assignmentEnabled

ブール値

バックアップ リソースに配置リージョンを割り当てられるかどうかを示すフラグ。

bqProxyEndpoint

string

Ops Manager instance that serves Queryable Backup requests. Value is in the following format: domain:port. For example, localhost:8080.

deploymentDescription

string

配置リージョンの目的を説明するstring 。

id

string

構成内のこの配置リージョンを参照する一意の識別子。

ingestionEndpoint

string

Ops Manager instance to which the Backup Agent writes snapshot or oplog data. Value is a valid URL such as http://www.mongodb.com. Supports both HTTP and HTTPS.

links

オブジェクト配列

サブリソースまたは関連リソースへの 1 つ以上のリンク。応答内のすべての links 配列には、self と呼ばれるリンクが少なくとも 1 つ含まれています。URLの関係は、Web リンク仕様で説明されています。

restoreEndpoint

string

復元リクエストを提供する MongoDB Ops Manager インスタンス

curl --user "{publicKey}:{privateKey}" --digest \
--header "Accept: application/json" \
--include \
--request POST "https://{opsManagerHost}:{port}/api/public/v1.0/admin/backup/backupDeployments/NY_NJ?pretty=true"
--data '
{
"id": "AU_NZ",
"ingestionEndpoint": "https://api-backup.mongodb.com",
"restoreEndpoint": "https://api-backup.mongodb.com",
"bqProxyEndpoint": "queryable-backup.mongodb.com:27217",
"deploymentDescription": "Australia and New Zealand",
"assignmentEnabled": true
}'
HTTP/1.1 401 Unauthorized
Content-Type: application/json;charset=ISO-8859-1
Date: {dateInUnixFormat}
WWW-Authenticate: Digest realm="MMS Public API", domain="", nonce="{nonce}", algorithm=MD5, op="auth", stale=false
Content-Length: {requestLengthInBytes}
Connection: keep-alive
HTTP/1.1 200 OK
Vary: Accept-Encoding
Content-Type: application/json
Strict-Transport-Security: max-age=300
Date: {dateInUnixFormat}
Connection: keep-alive
Content-Length: {requestLengthInBytes}
X-MongoDB-Service-Version: gitHash={gitHash}; versionString={ApplicationVersion}
{
"assignmentEnabled" : true,
"bqProxyEndpoint" : "queryable-backup.mongodb.com:27217",
"deploymentDescription" : "Australia and New Zealand",
"id" : "AU_NZ",
"ingestionEndpoint" : "https://api-backup.mongodb.com",
"links" : [ ],
"restoreEndpoint" : "https://api-backup.mongodb.com"
}