Skip to main content

Function: saveMonitorRetryAttempts()

saveMonitorRetryAttempts(args: { currentSiteIdentifier: string; localRetryAttempts: 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; updateMonitorRetryAttempts: (siteIdentifier: string, monitorId: string, retryAttempts: number) => Promise<void>; }): Promise<void>

Defined in: src/hooks/site/useSiteDetails.operations.ts:353

Saves the selected monitor's retry attempts.

Parametersโ€‹

argsโ€‹

currentSiteIdentifierโ€‹

string

localRetryAttemptsโ€‹

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

updateMonitorRetryAttemptsโ€‹

(siteIdentifier: string, monitorId: string, retryAttempts: number) => Promise<void>

Returnsโ€‹

Promise<void>