admin_show_alerts
- admin_show_alerts(
num_alerts: number,
options?: Record<string, string>,
callback?: GPUdbCallback,
): Promise<AdminShowAlertsResponse>Parameters
- num_alerts: number
Number of most recent alerts to request. The response will include up to
num_alertsdepending on how many alerts there are in the system. A value of 0 returns all stored alerts. Optionaloptions: Record<string, string>Optional parameters.
Optionalcallback: GPUdbCallbackOptional callback function
Returns Promise<AdminShowAlertsResponse>
Promise<Types.AdminShowAlertsResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:2473
- num_alerts: number
admin_show_alerts_request
- admin_show_alerts_request(
request: AdminShowAlertsRequest,
callback?: GPUdbCallback,
): Promise<AdminShowAlertsResponse>Requests a list of the most recent alerts.
Returns lists of alert data, including timestamp and type.
Parameters
- request: AdminShowAlertsRequest
Request object containing the parameters for the operation
Optionalcallback: GPUdbCallbackOptional callback function
Returns Promise<AdminShowAlertsResponse>
Promise<Types.AdminShowAlertsResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:2448
- request: AdminShowAlertsRequest
Requests a list of the most recent alerts.
Returns lists of alert data, including timestamp and type.