CreateMonitorRequest
Properties
Name | Type | Required | Description |
---|---|---|---|
monitor | CreateMonitorMonitor1 | ❌ |
CreateMonitorMonitor1
Properties
Name | Type | Required | Description |
---|---|---|---|
collection | string | ❌ | The unique ID of the monitor's associated collection. |
environment | string | ❌ | The unique ID of the monitor's associated environment. |
name | string | ❌ | The monitor's name. |
schedule | MonitorSchedule1 | ❌ | Information about the monitor's schedule. |
MonitorSchedule1
Information about the monitor's schedule.
Properties
Name | Type | Required | Description |
---|---|---|---|
cron | string | ❌ | The monitor's run frequency, based on the given cron pattern: | Frequency | Pattern | | --------- | ------- | | Every 5 minutes | * /5 * * * | | Every 30 minutes | /30 * * * * | | Every hour | 0 * /1 * * _| | Every 6 hours | 0 _/6 * * * | | Every day at 5 pm | 0 17 * * * | | Every Monday at 12 pm | 0 12 * * MON | | Every weekday (Mon — Fri) at 6 am | 0 6 * * MON-FRI | At this time you can only create monitors with limited schedules. |
timezone | string | ❌ | The monitor's timezone. |
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs