ListSchedules

您可以使用 ListSchedules 获取已创建的所有计划快照的相关信息。

参数

此方法没有任何输入参数。

返回值

此方法具有以下返回值:

名称 说明 类型
schedules 集群中的当前计划列表。 schedule 数组

请求示例

此方法的请求类似于以下示例:
{
  "method": "ListSchedules",
    "params": {},
"id": 1 
}

响应示例

此方法返回类似于以下示例的响应:

{
  "id": 1,
  "result": { 
    "schedules": [
      {
       "attributes": {
         "frequency": "Days Of Week"
       },
       "hasError": false,
       "hours": 0,
       "lastRunStatus": "Success",
       "lastRunTimeStarted": null,
       "minutes": 1,
       "monthdays": [],
       "paused": false,
       "recurring": false,
       "runNextInterval": false,
       "scheduleID": 3,
       "scheduleInfo": {
            "name": "Wednesday Schedule",
            "retention": "00:02:00",
            "volumeID": "2"
      },
      "scheduleName": "Vol2Schedule",
      "scheduleType": "Snapshot",
      "startingDate": "2015-03-23T20:08:33Z",
      "toBeDeleted": false,
      "weekdays": [
          {
            "day": 3,
            "offset": 1
          }
     ]
   },
   {
      "attributes": {
          "frequency": "Time Interval"
      },
       "hasError": false,
       "hours": 0,
       "lastRunStatus": "Success",
       "lastRunTimeStarted": "2015-03-23T21:40:00Z",
       "minutes": 2,
       "monthdays": [],
       "paused": false,
       "recurring": true,
       "runNextInterval": false,
       "scheduleID": 2,
       "scheduleInfo": {
            "name": "MCA2",
            "volumeID": "3"
       },
       "scheduleName": "MCAsnapshot2",
       "scheduleType": "Snapshot",
       "startingDate": "2015-03-23T19:28:57Z",
       "toBeDeleted": false,
       "weekdays": []
       }
     ]
  }
}

发布以下版本后新增

9.6