# ApiSnapshotPolicyList Data Model

A list of snapshot policies.

Properties
name | data type | description
--- | --- | ---
items | array of ApiSnapshotPolicy |

Example

    {
      "items" : [ {
        "name" : "...",
        "description" : "...",
        "hourlySnapshots" : 12345,
        "dailySnapshots" : 12345,
        "weeklySnapshots" : 12345,
        "monthlySnapshots" : 12345,
        "yearlySnapshots" : 12345,
        "minuteOfHour" : 12345,
        "hoursForHourlySnapshots" : [ 12345, 12345 ],
        "hourOfDay" : 12345,
        "dayOfWeek" : 12345,
        "dayOfMonth" : 12345,
        "monthOfYear" : 12345,
        "alertOnStart" : true,
        "alertOnSuccess" : true,
        "alertOnFail" : true,
        "alertOnAbort" : true,
        "hbaseArguments" : {
          "tableRegExps" : [ "...", "..." ],
          "storage" : "REMOTE_S3"
        },
        "hdfsArguments" : {
          "pathPatterns" : [ "...", "..." ]
        },
        "ozoneArguments" : {
          "buckets" : [ { }, { } ]
        },
        "lastCommand" : {
          "hbaseResult" : { },
          "hdfsResult" : { },
          "ozoneResult" : { },
          "id" : 12345,
          "name" : "...",
          "startTime" : "...",
          "endTime" : "...",
          "active" : true,
          "success" : true,
          "resultMessage" : "...",
          "resultDataUrl" : "...",
          "clusterRef" : { },
          "serviceRef" : { },
          "roleRef" : { },
          "hostRef" : { },
          "parent" : { },
          "children" : { },
          "canRetry" : true
        },
        "lastSuccessfulCommand" : {
          "hbaseResult" : { },
          "hdfsResult" : { },
          "ozoneResult" : { },
          "id" : 12345,
          "name" : "...",
          "startTime" : "...",
          "endTime" : "...",
          "active" : true,
          "success" : true,
          "resultMessage" : "...",
          "resultDataUrl" : "...",
          "clusterRef" : { },
          "serviceRef" : { },
          "roleRef" : { },
          "hostRef" : { },
          "parent" : { },
          "children" : { },
          "canRetry" : true
        },
        "paused" : true
      }, {
        "name" : "...",
        "description" : "...",
        "hourlySnapshots" : 12345,
        "dailySnapshots" : 12345,
        "weeklySnapshots" : 12345,
        "monthlySnapshots" : 12345,
        "yearlySnapshots" : 12345,
        "minuteOfHour" : 12345,
        "hoursForHourlySnapshots" : [ 12345, 12345 ],
        "hourOfDay" : 12345,
        "dayOfWeek" : 12345,
        "dayOfMonth" : 12345,
        "monthOfYear" : 12345,
        "alertOnStart" : true,
        "alertOnSuccess" : true,
        "alertOnFail" : true,
        "alertOnAbort" : true,
        "hbaseArguments" : {
          "tableRegExps" : [ "...", "..." ],
          "storage" : "LOCAL"
        },
        "hdfsArguments" : {
          "pathPatterns" : [ "...", "..." ]
        },
        "ozoneArguments" : {
          "buckets" : [ { }, { } ]
        },
        "lastCommand" : {
          "hbaseResult" : { },
          "hdfsResult" : { },
          "ozoneResult" : { },
          "id" : 12345,
          "name" : "...",
          "startTime" : "...",
          "endTime" : "...",
          "active" : true,
          "success" : true,
          "resultMessage" : "...",
          "resultDataUrl" : "...",
          "clusterRef" : { },
          "serviceRef" : { },
          "roleRef" : { },
          "hostRef" : { },
          "parent" : { },
          "children" : { },
          "canRetry" : true
        },
        "lastSuccessfulCommand" : {
          "hbaseResult" : { },
          "hdfsResult" : { },
          "ozoneResult" : { },
          "id" : 12345,
          "name" : "...",
          "startTime" : "...",
          "endTime" : "...",
          "active" : true,
          "success" : true,
          "resultMessage" : "...",
          "resultDataUrl" : "...",
          "clusterRef" : { },
          "serviceRef" : { },
          "roleRef" : { },
          "hostRef" : { },
          "parent" : { },
          "children" : { },
          "canRetry" : true
        },
        "paused" : true
      } ]
    }