createAlert()
Home > @gooddata/sdk-ui-dashboard > createAlert
createAlert() function
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Creates the SaveAlert command. Dispatching this command will result in the creating alert on the backend.
Signature:
export declare function createAlert(alert: IAutomationMetadataObjectDefinition, correlationId?: string): ICreateAlert;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
alert |
specify alert to create. | |
|
correlationId |
string |
(Optional) specify correlation id to use for this command. this will be included in all events that will be emitted during the command processing |
Returns: