path パラメータ
-
Atlas Project/Group ID。
-
アプリケーションの ObjectID。App Services API プロジェクトとアプリケーション ID のセクションでは、この値を見つける方法が示されています。
body
必須
アプリが移行すべき配置モデルとクラウドプロバイダーのリージョン。
-
アプリケーションの配置モデル。
値は
GLOBALまたはLOCALです。 provider_region
string 次の 1 つ: 値は、
aws-us-east-1、aws-us-west-2、aws-us-east-2、aws-eu-central-1、aws-eu-west-1、aws-eu-west-2、aws-ap-southeast-1、aws-ap-southeast-2、aws-ap-south-1、またはaws-sa-east-1です。値は、
azure-eastus2、azure-westus、azure-westeurope、azure-eastasia、またはazure-southeastasiaです。値は、
gcp-us-central1、gcp-us-east4、gcp-us-west1、gcp-europe-west1、またはgcp-asia-south1です。
PUT /groups/{groupId}/apps/{appId}/deployment_migration
curl \
--request PUT 'https://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/deployment_migration' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"provider_region":"aws-us-east-1","deployment_model":"LOCAL"}'
リクエストの例
{
"provider_region": "aws-us-east-1",
"deployment_model": "LOCAL"
}