---
version: 1
interactions:
- request:
    body: ""
    form: {}
    headers:
      Accept:
      - application/json
      Content-Type:
      - application/json
      User-Agent:
      - linodego/dev https://github.com/linode/linodego
    url: https://api.linode.com/v4beta/maintenance/policies
    method: GET
  response:
    body: '{"data": [{"slug": "linode/migrate", "label": "Migrate", "description":
      "Migrates the Linode to a new host while it remains fully operational. Recommended
      for maximizing availability.", "type": "migrate", "notification_period_sec":
      300, "is_default": true}, {"slug": "linode/power_off_on", "label": "Power-off/on",
      "description": "Powers off the Linode at the start of the maintenance event
      and reboots it once the maintenance finishes. Recommended for maximizing performance.",
      "type": "power_off_on", "notification_period_sec": 1800, "is_default": false}],
      "page": 1, "pages": 1, "results": 2}'
    headers:
      Access-Control-Allow-Credentials:
      - "true"
      Access-Control-Allow-Headers:
      - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter
      Access-Control-Allow-Methods:
      - HEAD, GET, OPTIONS, POST, PUT, DELETE
      Access-Control-Allow-Origin:
      - '*'
      Access-Control-Expose-Headers:
      - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status
      Cache-Control:
      - private, max-age=0, s-maxage=0, no-cache, no-store
      - private, max-age=60, s-maxage=60
      Connection:
      - keep-alive
      Content-Length:
      - "595"
      Content-Security-Policy:
      - default-src 'none'
      Content-Type:
      - application/json
      Server:
      - nginx/1.18.0
      Strict-Transport-Security:
      - max-age=31536000
      - max-age=31536000
      Vary:
      - Authorization, X-Filter
      - Authorization, X-Filter
      X-Accepted-Oauth-Scopes:
      - '*'
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - DENY
      - DENY
      X-Oauth-Scopes:
      - unknown
      X-Ratelimit-Limit:
      - "400"
      X-Xss-Protection:
      - 1; mode=block
    status: 200 OK
    code: 200
    duration: ""
