Management of the checkly Alert Channels.
Version added: 0.3.0
- Management of the checkly Alert Channels.
- https://www.checklyhq.com/docs/api#tag/Alert-channels
- Developer Note - subscriptions field is skipped on purpose for create/update.
The below requirements are needed on the host that executes this module.
- requests
- name: create alert channel
community.missing_collection.checkly_alert_channels:
api_key: 'a8f08873c494445ba156e572e1324300'
command: 'create'
config:
address: 'dpsangwal@gmail.com'
register: __
- name: update a alert channel aka email address
community.missing_collection.checkly_alert_channels:
api_key: 'a8f08873c494445ba156e572e1324300'
command: 'update'
id: '{{ __.result.id }}'
config:
address: 'example1@gmail.com'
- name: update a alert channel subcriptions only
community.missing_collection.checkly_alert_channels:
api_key: 'a8f08873c494445ba156e572e1324300'
command: 'update-sub'
id: '{{ __.result.id }}'
activated: true
check_id: '1ceaff6c-12ce-4322-9ac1-2dd2c14a2967'
- name: delete a alert channel
community.missing_collection.checkly_alert_channels:
api_key: 'a8f08873c494445ba156e572e1324300'
command: 'delete'
id: '{{ __.result.id }}'
Common return values are documented here, the following are the fields unique to this module:
- Davinder Pal (@116davinder) <dpsangwal@gmail.com>