云数据库 GEMINIDB-获取容灾实例数据同步状态:响应示例

时间:2024-09-04 09:28:19

响应示例

状态码: 200

Success

请求实例id为主实例id: 
{ 
  "master_instance_id": "b0965c9010f44ffca9af4ee00746aa8din12", 
  "slave_instance_id": "c0965c9010f44ffca9af4ee00746aa8din12", 
  "status": "SYNCING", 
  "data_sync_indicators": { 
    "rsync_ops": 100, 
    "rsync_wal_size": 30, 
    "rsync_push_cost": 30, 
    "rsync_send_cost": 20, 
    "rsync_max_push_cost": 35, 
    "rsync_max_send_cost": 25, 
    "rsync_status": 1 
  }, 
  "rto_and_rpo_indicators": [ 
    { 
      "scene": "SWITCHOVER", 
      "rpo": 20, 
      "rto": 40 
    }, 
    { 
      "scene": "FAILOVER", 
      "rpo": 20, 
      "rto": 40 
    } 
  ] 
} 
请求实例id为备实例id: 
{ 
  "master_instance_id": "c0965c9010f44ffca9af4ee00746aa8din12", 
  "slave_instance_id": "b0965c9010f44ffca9af4ee00746aa8din12", 
   "status": "SYNCING" 
}
support.huaweicloud.com/api-nosql/nosql_10_0013.html