Function: saveMonitorCheckInterval()
function saveMonitorCheckInterval(args: {
currentSiteIdentifier: string;
localCheckIntervalMs: number;
selectedMonitorId: string;
selectedMonitorType:
| "cdn-edge-consistency"
| "dns"
| "http"
| "http-header"
| "http-json"
| "http-keyword"
| "http-latency"
| "http-status"
| "ping"
| "port"
| "replication"
| "server-heartbeat"
| "ssl"
| "websocket-keepalive"
| undefined;
setMonitorEditStateById: MonitorEditStateByIdSetter;
updateSiteCheckInterval: (
siteIdentifier: string,
monitorId: string,
checkInterval: number
) => Promise<void>;
}): Promise<void>;
Defined in: src/hooks/site/useSiteDetails.operations.ts:231
Saves the selected monitor's check interval.
Parametersโ
argsโ
currentSiteIdentifierโ
string
localCheckIntervalMsโ
number
selectedMonitorIdโ
string
selectedMonitorTypeโ
| "cdn-edge-consistency"
| "dns"
| "http"
| "http-header"
| "http-json"
| "http-keyword"
| "http-latency"
| "http-status"
| "ping"
| "port"
| "replication"
| "server-heartbeat"
| "ssl"
| "websocket-keepalive"
| undefined
setMonitorEditStateByIdโ
updateSiteCheckIntervalโ
(siteIdentifier: string, monitorId: string, checkInterval: number) => Promise<void>
Returnsโ
Promise<void>