Function: saveMonitorRetryAttempts()
function 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:344
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โ
updateMonitorRetryAttemptsโ
(siteIdentifier: string, monitorId: string, retryAttempts: number) => Promise<void>
Returnsโ
Promise<void>