批次移除還原點
產品版本:10.11
最後修改日期:2024年7月31日
移除所有指定的還原點。
終點
https://<Director_IP_address>:4443/c/router
請求範例
複製
curl --request POST \
--url https://<Director_IP_address>:4443/c/router \
--header "content-type: application/json" \
--cookie cookies.txt \
--data '{
"action": "BackupManagement",
"method": "removeBackupObjectSavepoints",
"data": [{
"savepoints": {
"BACKUP_OBJECT-4": ["SAVEPOINT-130"],
"BACKUP_OBJECT-6": ["SAVEPOINT-67", "SAVEPOINT-66"],
"BACKUP_OBJECT-9": ["SAVEPOINT-123", "SAVEPOINT-122", "SAVEPOINT-121"]
}
}],
"type": "rpc",
"tid": 1}'
請求欄位
|
領域 |
類型 |
值(們) |
|---|---|---|
action
|
字串 |
|
method
|
字串 |
|
data
|
陣列 | 待移除的還原點清單 |
type
|
字串 | rpc
|
tid
|
int | 1 |
資料
|
領域 |
類型 |
Description |
|---|---|---|
|
|
陣列 |
請以以下格式列出要移除的還原點清單,並以逗號分隔各項目:
|
回應範例
複製
{
"action": "BackupManagement",
"method": "removeBackupObjectSavepoints",
"tid": "1",
"type": "rpc",
"message": null,
"where": null,
"cause": null,
"data": null
}
回應欄位
|
領域 |
價值 |
Description |
|---|---|---|
message
|
字串 | 若請求失敗,請顯示此訊息 |
where
|
字串 | 關於發生問題的方法的說明 |
cause
|
字串 | 故障原因 |
data
|
陣列 | null
|