Function: saveMonitorTimeout()
function saveMonitorTimeout(args: {
currentSiteIdentifier: string;
localTimeoutSeconds: 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;
updateMonitorTimeout: (
siteIdentifier: string,
monitorId: string,
timeout: number
) => Promise<void>;
}): Promise<void>;
Defined in: src/hooks/site/useSiteDetails.operations.ts:287
Saves the selected monitor's timeout.
Parametersโ
argsโ
currentSiteIdentifierโ
string
localTimeoutSecondsโ
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โ
updateMonitorTimeoutโ
(siteIdentifier: string, monitorId: string, timeout: number) => Promise<void>
Returnsโ
Promise<void>