Skip to content

Latest commit

 

History

History
184 lines (151 loc) · 6.27 KB

community.missing_collection.checkly_mw_info_module.rst

File metadata and controls

184 lines (151 loc) · 6.27 KB

community.missing_collection.checkly_mw_info

Get information about checkly Maintenance windows.

Version added: 0.3.0

The below requirements are needed on the host that executes this module.

  • requests
Parameter Choices/Defaults Comments
api_key
string / required
api key for checkly.
id
string
id of maintenance window.
limit
integer
Default:
100
number of maintenance windows retrieved in one call.
page
integer
Default:
1
page number of maintenance window retrieve call.
url
string
Default:
checkly api.

- name: get all maintenance windows from checkly
  community.missing_collection.checkly_maintenance_windows_info:
    api_key: 'a8f08873c494445ba156e572e1324300'

- name: get one maintenance window from checkly
  community.missing_collection.checkly_maintenance_windows_info:
    api_key: 'a8f08873c494445ba156e572e1324300'
    id: '426'

Common return values are documented here, the following are the fields unique to this module:

Key Returned Description
result
list/dict
when success.
result of checkly api.

Sample:
[{'id': 0, 'name': 'string', 'tags': [], 'startsAt': '2019-08-24', 'endsAt': '2019-08-24', 'repeatInterval': 1, 'repeatUnit': 'string', 'repeatEndsAt': '2019-08-24', 'created_at': '2019-08-24', 'updated_at': '2019-08-24'}]


Authors