Google 會運用 AI 技術將內容翻譯成你偏好的語言,但可能會出錯。
提供意見
Method: projects.locations.instances.startMigration
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
將來源執行個體遷移至目標 Memorystore 執行個體。
這項作業順利完成後,目標執行個體會:1. 使用來源執行個體設定複寫功能,並將任何寫入作業複寫至來源執行個體。2. 僅允許讀取。
HTTP 要求
選擇端點:
全球 africa-south1 asia-east1 asia-east2 asia-northeast1 asia-northeast2 asia-northeast3 asia-south1 asia-south2 asia-southeast1 asia-southeast2 asia-southeast3 australia-southeast1 australia-southeast2 europe-central2 europe-north1 europe-north2 europe-southwest1 europe-west1 europe-west10 europe-west12 europe-west15 europe-west2 europe-west3 europe-west4 europe-west6 europe-west8 europe-west9 me-central1 me-central2 me-west1 northamerica-northeast1 northamerica-northeast2 northamerica-south1 southamerica-east1 southamerica-west1 us-central1 us-central2 us-east1 us-east4 us-east5 us-east7 us-south1 us-west1 us-west2 us-west3 us-west4 us-west8
POST https://memorystore.googleapis.com/v1beta/{name=projects/*/locations/*/instances/*}:startMigration
這些網址使用 gRPC 轉碼 語法。
路徑參數
參數
name
string
這是必要旗標,要開始遷移的執行個體資源名稱。格式:projects/{project}/locations/{location}/instances/{instance}
要求主體
要求主體包含下列結構的資料:
JSON 表示法
{
// The following is a list of mutually exclusive fields. At most one of the
// fields will be set in a response:
"selfManagedSource" : {
object (SelfManagedSource )
}
// End of mutually exclusive fields.
}
欄位
定義遷移來源。以下列出互斥欄位。回應中最多會設定一個欄位:
selfManagedSource
object (SelfManagedSource )
這是必要旗標,從自行管理的 Valkey/Redis 執行個體遷移的設定
互斥欄位的結尾。
回應主體
如果成功,回應主體會包含 Operation 的執行個體。
授權範圍
需要下列其中一種 OAuth 範圍:
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/memorystore.read-write
IAM 權限
需要 name 資源的下列 IAM 權限:
memorystore.instances.startMigration
詳情請參閱 IAM 說明文件 。
提供意見
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權 ,程式碼範例則為阿帕契 2.0 授權 。詳情請參閱《Google Developers 網站政策 》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2026-09-28 (世界標準時間)。
想進一步說明嗎?
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2026-09-28 (世界標準時間)。"],[],[]]