Skip to main content
Element Software
简体中文版经机器翻译而成,仅供参考。如与英语版出现任何冲突,应以英语版为准。

ListSchedules

贡献者

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

Parameters

此方法没有输入参数。

返回值

此方法具有以下返回值:

Name Description Type

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