databricks.Alert
Explore with Pulumi AI
Import
This resource can be imported using alert ID:
bash
$ pulumi import databricks:index/alert:Alert this <alert-id>
Create Alert Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Alert(name: string, args: AlertArgs, opts?: CustomResourceOptions);
@overload
def Alert(resource_name: str,
args: AlertArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Alert(resource_name: str,
opts: Optional[ResourceOptions] = None,
condition: Optional[AlertConditionArgs] = None,
display_name: Optional[str] = None,
query_id: Optional[str] = None,
custom_body: Optional[str] = None,
custom_subject: Optional[str] = None,
notify_on_ok: Optional[bool] = None,
owner_user_name: Optional[str] = None,
parent_path: Optional[str] = None,
seconds_to_retrigger: Optional[int] = None)
func NewAlert(ctx *Context, name string, args AlertArgs, opts ...ResourceOption) (*Alert, error)
public Alert(string name, AlertArgs args, CustomResourceOptions? opts = null)
type: databricks:Alert
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AlertArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AlertArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AlertArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AlertArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AlertArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var alertResource = new Databricks.Alert("alertResource", new()
{
Condition = new Databricks.Inputs.AlertConditionArgs
{
Op = "string",
Operand = new Databricks.Inputs.AlertConditionOperandArgs
{
Column = new Databricks.Inputs.AlertConditionOperandColumnArgs
{
Name = "string",
},
},
EmptyResultState = "string",
Threshold = new Databricks.Inputs.AlertConditionThresholdArgs
{
Value = new Databricks.Inputs.AlertConditionThresholdValueArgs
{
BoolValue = false,
DoubleValue = 0,
StringValue = "string",
},
},
},
DisplayName = "string",
QueryId = "string",
CustomBody = "string",
CustomSubject = "string",
NotifyOnOk = false,
OwnerUserName = "string",
ParentPath = "string",
SecondsToRetrigger = 0,
});
example, err := databricks.NewAlert(ctx, "alertResource", &databricks.AlertArgs{
Condition: &databricks.AlertConditionArgs{
Op: pulumi.String("string"),
Operand: &databricks.AlertConditionOperandArgs{
Column: &databricks.AlertConditionOperandColumnArgs{
Name: pulumi.String("string"),
},
},
EmptyResultState: pulumi.String("string"),
Threshold: &databricks.AlertConditionThresholdArgs{
Value: &databricks.AlertConditionThresholdValueArgs{
BoolValue: pulumi.Bool(false),
DoubleValue: pulumi.Float64(0),
StringValue: pulumi.String("string"),
},
},
},
DisplayName: pulumi.String("string"),
QueryId: pulumi.String("string"),
CustomBody: pulumi.String("string"),
CustomSubject: pulumi.String("string"),
NotifyOnOk: pulumi.Bool(false),
OwnerUserName: pulumi.String("string"),
ParentPath: pulumi.String("string"),
SecondsToRetrigger: pulumi.Int(0),
})
var alertResource = new Alert("alertResource", AlertArgs.builder()
.condition(AlertConditionArgs.builder()
.op("string")
.operand(AlertConditionOperandArgs.builder()
.column(AlertConditionOperandColumnArgs.builder()
.name("string")
.build())
.build())
.emptyResultState("string")
.threshold(AlertConditionThresholdArgs.builder()
.value(AlertConditionThresholdValueArgs.builder()
.boolValue(false)
.doubleValue(0)
.stringValue("string")
.build())
.build())
.build())
.displayName("string")
.queryId("string")
.customBody("string")
.customSubject("string")
.notifyOnOk(false)
.ownerUserName("string")
.parentPath("string")
.secondsToRetrigger(0)
.build());
alert_resource = databricks.Alert("alertResource",
condition={
"op": "string",
"operand": {
"column": {
"name": "string",
},
},
"empty_result_state": "string",
"threshold": {
"value": {
"bool_value": False,
"double_value": 0,
"string_value": "string",
},
},
},
display_name="string",
query_id="string",
custom_body="string",
custom_subject="string",
notify_on_ok=False,
owner_user_name="string",
parent_path="string",
seconds_to_retrigger=0)
const alertResource = new databricks.Alert("alertResource", {
condition: {
op: "string",
operand: {
column: {
name: "string",
},
},
emptyResultState: "string",
threshold: {
value: {
boolValue: false,
doubleValue: 0,
stringValue: "string",
},
},
},
displayName: "string",
queryId: "string",
customBody: "string",
customSubject: "string",
notifyOnOk: false,
ownerUserName: "string",
parentPath: "string",
secondsToRetrigger: 0,
});
type: databricks:Alert
properties:
condition:
emptyResultState: string
op: string
operand:
column:
name: string
threshold:
value:
boolValue: false
doubleValue: 0
stringValue: string
customBody: string
customSubject: string
displayName: string
notifyOnOk: false
ownerUserName: string
parentPath: string
queryId: string
secondsToRetrigger: 0
Alert Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Alert resource accepts the following input properties:
- Condition
Alert
Condition - Trigger conditions of the alert. Block consists of the following attributes:
- Display
Name string - Name of the alert.
- Query
Id string - ID of the query evaluated by the alert.
- Custom
Body string - Custom body of alert notification, if it exists. See Alerts API reference for custom templating instructions.
- Custom
Subject string - Custom subject of alert notification, if it exists. This includes email subject, Slack notification header, etc. See Alerts API reference for custom templating instructions.
- Notify
On boolOk - Whether to notify alert subscribers when alert returns back to normal.
- Owner
User stringName - Alert owner's username.
- Parent
Path string - The path to a workspace folder containing the alert. The default is the user's home folder. If changed, the alert will be recreated.
- Seconds
To intRetrigger - Number of seconds an alert must wait after being triggered to rearm itself. After rearming, it can be triggered again. If 0 or not specified, the alert will not be triggered again.
- Condition
Alert
Condition Args - Trigger conditions of the alert. Block consists of the following attributes:
- Display
Name string - Name of the alert.
- Query
Id string - ID of the query evaluated by the alert.
- Custom
Body string - Custom body of alert notification, if it exists. See Alerts API reference for custom templating instructions.
- Custom
Subject string - Custom subject of alert notification, if it exists. This includes email subject, Slack notification header, etc. See Alerts API reference for custom templating instructions.
- Notify
On boolOk - Whether to notify alert subscribers when alert returns back to normal.
- Owner
User stringName - Alert owner's username.
- Parent
Path string - The path to a workspace folder containing the alert. The default is the user's home folder. If changed, the alert will be recreated.
- Seconds
To intRetrigger - Number of seconds an alert must wait after being triggered to rearm itself. After rearming, it can be triggered again. If 0 or not specified, the alert will not be triggered again.
- condition
Alert
Condition - Trigger conditions of the alert. Block consists of the following attributes:
- display
Name String - Name of the alert.
- query
Id String - ID of the query evaluated by the alert.
- custom
Body String - Custom body of alert notification, if it exists. See Alerts API reference for custom templating instructions.
- custom
Subject String - Custom subject of alert notification, if it exists. This includes email subject, Slack notification header, etc. See Alerts API reference for custom templating instructions.
- notify
On BooleanOk - Whether to notify alert subscribers when alert returns back to normal.
- owner
User StringName - Alert owner's username.
- parent
Path String - The path to a workspace folder containing the alert. The default is the user's home folder. If changed, the alert will be recreated.
- seconds
To IntegerRetrigger - Number of seconds an alert must wait after being triggered to rearm itself. After rearming, it can be triggered again. If 0 or not specified, the alert will not be triggered again.
- condition
Alert
Condition - Trigger conditions of the alert. Block consists of the following attributes:
- display
Name string - Name of the alert.
- query
Id string - ID of the query evaluated by the alert.
- custom
Body string - Custom body of alert notification, if it exists. See Alerts API reference for custom templating instructions.
- custom
Subject string - Custom subject of alert notification, if it exists. This includes email subject, Slack notification header, etc. See Alerts API reference for custom templating instructions.
- notify
On booleanOk - Whether to notify alert subscribers when alert returns back to normal.
- owner
User stringName - Alert owner's username.
- parent
Path string - The path to a workspace folder containing the alert. The default is the user's home folder. If changed, the alert will be recreated.
- seconds
To numberRetrigger - Number of seconds an alert must wait after being triggered to rearm itself. After rearming, it can be triggered again. If 0 or not specified, the alert will not be triggered again.
- condition
Alert
Condition Args - Trigger conditions of the alert. Block consists of the following attributes:
- display_
name str - Name of the alert.
- query_
id str - ID of the query evaluated by the alert.
- custom_
body str - Custom body of alert notification, if it exists. See Alerts API reference for custom templating instructions.
- custom_
subject str - Custom subject of alert notification, if it exists. This includes email subject, Slack notification header, etc. See Alerts API reference for custom templating instructions.
- notify_
on_ boolok - Whether to notify alert subscribers when alert returns back to normal.
- owner_
user_ strname - Alert owner's username.
- parent_
path str - The path to a workspace folder containing the alert. The default is the user's home folder. If changed, the alert will be recreated.
- seconds_
to_ intretrigger - Number of seconds an alert must wait after being triggered to rearm itself. After rearming, it can be triggered again. If 0 or not specified, the alert will not be triggered again.
- condition Property Map
- Trigger conditions of the alert. Block consists of the following attributes:
- display
Name String - Name of the alert.
- query
Id String - ID of the query evaluated by the alert.
- custom
Body String - Custom body of alert notification, if it exists. See Alerts API reference for custom templating instructions.
- custom
Subject String - Custom subject of alert notification, if it exists. This includes email subject, Slack notification header, etc. See Alerts API reference for custom templating instructions.
- notify
On BooleanOk - Whether to notify alert subscribers when alert returns back to normal.
- owner
User StringName - Alert owner's username.
- parent
Path String - The path to a workspace folder containing the alert. The default is the user's home folder. If changed, the alert will be recreated.
- seconds
To NumberRetrigger - Number of seconds an alert must wait after being triggered to rearm itself. After rearming, it can be triggered again. If 0 or not specified, the alert will not be triggered again.
Outputs
All input properties are implicitly available as output properties. Additionally, the Alert resource produces the following output properties:
- Create
Time string - The timestamp string indicating when the alert was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
State string - The workspace state of the alert. Used for tracking trashed status. (Possible values are
ACTIVE
orTRASHED
). - State string
- Current state of the alert's trigger status (
UNKNOWN
,OK
,TRIGGERED
). This field is set toUNKNOWN
if the alert has not yet been evaluated or ran into an error during the last evaluation. - Trigger
Time string - The timestamp string when the alert was last triggered if the alert has been triggered before.
- Update
Time string - The timestamp string indicating when the alert was updated.
- Create
Time string - The timestamp string indicating when the alert was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
State string - The workspace state of the alert. Used for tracking trashed status. (Possible values are
ACTIVE
orTRASHED
). - State string
- Current state of the alert's trigger status (
UNKNOWN
,OK
,TRIGGERED
). This field is set toUNKNOWN
if the alert has not yet been evaluated or ran into an error during the last evaluation. - Trigger
Time string - The timestamp string when the alert was last triggered if the alert has been triggered before.
- Update
Time string - The timestamp string indicating when the alert was updated.
- create
Time String - The timestamp string indicating when the alert was created.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
State String - The workspace state of the alert. Used for tracking trashed status. (Possible values are
ACTIVE
orTRASHED
). - state String
- Current state of the alert's trigger status (
UNKNOWN
,OK
,TRIGGERED
). This field is set toUNKNOWN
if the alert has not yet been evaluated or ran into an error during the last evaluation. - trigger
Time String - The timestamp string when the alert was last triggered if the alert has been triggered before.
- update
Time String - The timestamp string indicating when the alert was updated.
- create
Time string - The timestamp string indicating when the alert was created.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
State string - The workspace state of the alert. Used for tracking trashed status. (Possible values are
ACTIVE
orTRASHED
). - state string
- Current state of the alert's trigger status (
UNKNOWN
,OK
,TRIGGERED
). This field is set toUNKNOWN
if the alert has not yet been evaluated or ran into an error during the last evaluation. - trigger
Time string - The timestamp string when the alert was last triggered if the alert has been triggered before.
- update
Time string - The timestamp string indicating when the alert was updated.
- create_
time str - The timestamp string indicating when the alert was created.
- id str
- The provider-assigned unique ID for this managed resource.
- lifecycle_
state str - The workspace state of the alert. Used for tracking trashed status. (Possible values are
ACTIVE
orTRASHED
). - state str
- Current state of the alert's trigger status (
UNKNOWN
,OK
,TRIGGERED
). This field is set toUNKNOWN
if the alert has not yet been evaluated or ran into an error during the last evaluation. - trigger_
time str - The timestamp string when the alert was last triggered if the alert has been triggered before.
- update_
time str - The timestamp string indicating when the alert was updated.
- create
Time String - The timestamp string indicating when the alert was created.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
State String - The workspace state of the alert. Used for tracking trashed status. (Possible values are
ACTIVE
orTRASHED
). - state String
- Current state of the alert's trigger status (
UNKNOWN
,OK
,TRIGGERED
). This field is set toUNKNOWN
if the alert has not yet been evaluated or ran into an error during the last evaluation. - trigger
Time String - The timestamp string when the alert was last triggered if the alert has been triggered before.
- update
Time String - The timestamp string indicating when the alert was updated.
Look up Existing Alert Resource
Get an existing Alert resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AlertState, opts?: CustomResourceOptions): Alert
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
condition: Optional[AlertConditionArgs] = None,
create_time: Optional[str] = None,
custom_body: Optional[str] = None,
custom_subject: Optional[str] = None,
display_name: Optional[str] = None,
lifecycle_state: Optional[str] = None,
notify_on_ok: Optional[bool] = None,
owner_user_name: Optional[str] = None,
parent_path: Optional[str] = None,
query_id: Optional[str] = None,
seconds_to_retrigger: Optional[int] = None,
state: Optional[str] = None,
trigger_time: Optional[str] = None,
update_time: Optional[str] = None) -> Alert
func GetAlert(ctx *Context, name string, id IDInput, state *AlertState, opts ...ResourceOption) (*Alert, error)
public static Alert Get(string name, Input<string> id, AlertState? state, CustomResourceOptions? opts = null)
public static Alert get(String name, Output<String> id, AlertState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Condition
Alert
Condition - Trigger conditions of the alert. Block consists of the following attributes:
- Create
Time string - The timestamp string indicating when the alert was created.
- Custom
Body string - Custom body of alert notification, if it exists. See Alerts API reference for custom templating instructions.
- Custom
Subject string - Custom subject of alert notification, if it exists. This includes email subject, Slack notification header, etc. See Alerts API reference for custom templating instructions.
- Display
Name string - Name of the alert.
- Lifecycle
State string - The workspace state of the alert. Used for tracking trashed status. (Possible values are
ACTIVE
orTRASHED
). - Notify
On boolOk - Whether to notify alert subscribers when alert returns back to normal.
- Owner
User stringName - Alert owner's username.
- Parent
Path string - The path to a workspace folder containing the alert. The default is the user's home folder. If changed, the alert will be recreated.
- Query
Id string - ID of the query evaluated by the alert.
- Seconds
To intRetrigger - Number of seconds an alert must wait after being triggered to rearm itself. After rearming, it can be triggered again. If 0 or not specified, the alert will not be triggered again.
- State string
- Current state of the alert's trigger status (
UNKNOWN
,OK
,TRIGGERED
). This field is set toUNKNOWN
if the alert has not yet been evaluated or ran into an error during the last evaluation. - Trigger
Time string - The timestamp string when the alert was last triggered if the alert has been triggered before.
- Update
Time string - The timestamp string indicating when the alert was updated.
- Condition
Alert
Condition Args - Trigger conditions of the alert. Block consists of the following attributes:
- Create
Time string - The timestamp string indicating when the alert was created.
- Custom
Body string - Custom body of alert notification, if it exists. See Alerts API reference for custom templating instructions.
- Custom
Subject string - Custom subject of alert notification, if it exists. This includes email subject, Slack notification header, etc. See Alerts API reference for custom templating instructions.
- Display
Name string - Name of the alert.
- Lifecycle
State string - The workspace state of the alert. Used for tracking trashed status. (Possible values are
ACTIVE
orTRASHED
). - Notify
On boolOk - Whether to notify alert subscribers when alert returns back to normal.
- Owner
User stringName - Alert owner's username.
- Parent
Path string - The path to a workspace folder containing the alert. The default is the user's home folder. If changed, the alert will be recreated.
- Query
Id string - ID of the query evaluated by the alert.
- Seconds
To intRetrigger - Number of seconds an alert must wait after being triggered to rearm itself. After rearming, it can be triggered again. If 0 or not specified, the alert will not be triggered again.
- State string
- Current state of the alert's trigger status (
UNKNOWN
,OK
,TRIGGERED
). This field is set toUNKNOWN
if the alert has not yet been evaluated or ran into an error during the last evaluation. - Trigger
Time string - The timestamp string when the alert was last triggered if the alert has been triggered before.
- Update
Time string - The timestamp string indicating when the alert was updated.
- condition
Alert
Condition - Trigger conditions of the alert. Block consists of the following attributes:
- create
Time String - The timestamp string indicating when the alert was created.
- custom
Body String - Custom body of alert notification, if it exists. See Alerts API reference for custom templating instructions.
- custom
Subject String - Custom subject of alert notification, if it exists. This includes email subject, Slack notification header, etc. See Alerts API reference for custom templating instructions.
- display
Name String - Name of the alert.
- lifecycle
State String - The workspace state of the alert. Used for tracking trashed status. (Possible values are
ACTIVE
orTRASHED
). - notify
On BooleanOk - Whether to notify alert subscribers when alert returns back to normal.
- owner
User StringName - Alert owner's username.
- parent
Path String - The path to a workspace folder containing the alert. The default is the user's home folder. If changed, the alert will be recreated.
- query
Id String - ID of the query evaluated by the alert.
- seconds
To IntegerRetrigger - Number of seconds an alert must wait after being triggered to rearm itself. After rearming, it can be triggered again. If 0 or not specified, the alert will not be triggered again.
- state String
- Current state of the alert's trigger status (
UNKNOWN
,OK
,TRIGGERED
). This field is set toUNKNOWN
if the alert has not yet been evaluated or ran into an error during the last evaluation. - trigger
Time String - The timestamp string when the alert was last triggered if the alert has been triggered before.
- update
Time String - The timestamp string indicating when the alert was updated.
- condition
Alert
Condition - Trigger conditions of the alert. Block consists of the following attributes:
- create
Time string - The timestamp string indicating when the alert was created.
- custom
Body string - Custom body of alert notification, if it exists. See Alerts API reference for custom templating instructions.
- custom
Subject string - Custom subject of alert notification, if it exists. This includes email subject, Slack notification header, etc. See Alerts API reference for custom templating instructions.
- display
Name string - Name of the alert.
- lifecycle
State string - The workspace state of the alert. Used for tracking trashed status. (Possible values are
ACTIVE
orTRASHED
). - notify
On booleanOk - Whether to notify alert subscribers when alert returns back to normal.
- owner
User stringName - Alert owner's username.
- parent
Path string - The path to a workspace folder containing the alert. The default is the user's home folder. If changed, the alert will be recreated.
- query
Id string - ID of the query evaluated by the alert.
- seconds
To numberRetrigger - Number of seconds an alert must wait after being triggered to rearm itself. After rearming, it can be triggered again. If 0 or not specified, the alert will not be triggered again.
- state string
- Current state of the alert's trigger status (
UNKNOWN
,OK
,TRIGGERED
). This field is set toUNKNOWN
if the alert has not yet been evaluated or ran into an error during the last evaluation. - trigger
Time string - The timestamp string when the alert was last triggered if the alert has been triggered before.
- update
Time string - The timestamp string indicating when the alert was updated.
- condition
Alert
Condition Args - Trigger conditions of the alert. Block consists of the following attributes:
- create_
time str - The timestamp string indicating when the alert was created.
- custom_
body str - Custom body of alert notification, if it exists. See Alerts API reference for custom templating instructions.
- custom_
subject str - Custom subject of alert notification, if it exists. This includes email subject, Slack notification header, etc. See Alerts API reference for custom templating instructions.
- display_
name str - Name of the alert.
- lifecycle_
state str - The workspace state of the alert. Used for tracking trashed status. (Possible values are
ACTIVE
orTRASHED
). - notify_
on_ boolok - Whether to notify alert subscribers when alert returns back to normal.
- owner_
user_ strname - Alert owner's username.
- parent_
path str - The path to a workspace folder containing the alert. The default is the user's home folder. If changed, the alert will be recreated.
- query_
id str - ID of the query evaluated by the alert.
- seconds_
to_ intretrigger - Number of seconds an alert must wait after being triggered to rearm itself. After rearming, it can be triggered again. If 0 or not specified, the alert will not be triggered again.
- state str
- Current state of the alert's trigger status (
UNKNOWN
,OK
,TRIGGERED
). This field is set toUNKNOWN
if the alert has not yet been evaluated or ran into an error during the last evaluation. - trigger_
time str - The timestamp string when the alert was last triggered if the alert has been triggered before.
- update_
time str - The timestamp string indicating when the alert was updated.
- condition Property Map
- Trigger conditions of the alert. Block consists of the following attributes:
- create
Time String - The timestamp string indicating when the alert was created.
- custom
Body String - Custom body of alert notification, if it exists. See Alerts API reference for custom templating instructions.
- custom
Subject String - Custom subject of alert notification, if it exists. This includes email subject, Slack notification header, etc. See Alerts API reference for custom templating instructions.
- display
Name String - Name of the alert.
- lifecycle
State String - The workspace state of the alert. Used for tracking trashed status. (Possible values are
ACTIVE
orTRASHED
). - notify
On BooleanOk - Whether to notify alert subscribers when alert returns back to normal.
- owner
User StringName - Alert owner's username.
- parent
Path String - The path to a workspace folder containing the alert. The default is the user's home folder. If changed, the alert will be recreated.
- query
Id String - ID of the query evaluated by the alert.
- seconds
To NumberRetrigger - Number of seconds an alert must wait after being triggered to rearm itself. After rearming, it can be triggered again. If 0 or not specified, the alert will not be triggered again.
- state String
- Current state of the alert's trigger status (
UNKNOWN
,OK
,TRIGGERED
). This field is set toUNKNOWN
if the alert has not yet been evaluated or ran into an error during the last evaluation. - trigger
Time String - The timestamp string when the alert was last triggered if the alert has been triggered before.
- update
Time String - The timestamp string indicating when the alert was updated.
Supporting Types
AlertCondition, AlertConditionArgs
- Op string
- Operator used for comparison in alert evaluation. (Enum:
GREATER_THAN
,GREATER_THAN_OR_EQUAL
,LESS_THAN
,LESS_THAN_OR_EQUAL
,EQUAL
,NOT_EQUAL
,IS_NULL
) - Operand
Alert
Condition Operand - Name of the column from the query result to use for comparison in alert evaluation:
- Empty
Result stringState - Alert state if the result is empty (
UNKNOWN
,OK
,TRIGGERED
) - Threshold
Alert
Condition Threshold - Threshold value used for comparison in alert evaluation:
- Op string
- Operator used for comparison in alert evaluation. (Enum:
GREATER_THAN
,GREATER_THAN_OR_EQUAL
,LESS_THAN
,LESS_THAN_OR_EQUAL
,EQUAL
,NOT_EQUAL
,IS_NULL
) - Operand
Alert
Condition Operand - Name of the column from the query result to use for comparison in alert evaluation:
- Empty
Result stringState - Alert state if the result is empty (
UNKNOWN
,OK
,TRIGGERED
) - Threshold
Alert
Condition Threshold - Threshold value used for comparison in alert evaluation:
- op String
- Operator used for comparison in alert evaluation. (Enum:
GREATER_THAN
,GREATER_THAN_OR_EQUAL
,LESS_THAN
,LESS_THAN_OR_EQUAL
,EQUAL
,NOT_EQUAL
,IS_NULL
) - operand
Alert
Condition Operand - Name of the column from the query result to use for comparison in alert evaluation:
- empty
Result StringState - Alert state if the result is empty (
UNKNOWN
,OK
,TRIGGERED
) - threshold
Alert
Condition Threshold - Threshold value used for comparison in alert evaluation:
- op string
- Operator used for comparison in alert evaluation. (Enum:
GREATER_THAN
,GREATER_THAN_OR_EQUAL
,LESS_THAN
,LESS_THAN_OR_EQUAL
,EQUAL
,NOT_EQUAL
,IS_NULL
) - operand
Alert
Condition Operand - Name of the column from the query result to use for comparison in alert evaluation:
- empty
Result stringState - Alert state if the result is empty (
UNKNOWN
,OK
,TRIGGERED
) - threshold
Alert
Condition Threshold - Threshold value used for comparison in alert evaluation:
- op str
- Operator used for comparison in alert evaluation. (Enum:
GREATER_THAN
,GREATER_THAN_OR_EQUAL
,LESS_THAN
,LESS_THAN_OR_EQUAL
,EQUAL
,NOT_EQUAL
,IS_NULL
) - operand
Alert
Condition Operand - Name of the column from the query result to use for comparison in alert evaluation:
- empty_
result_ strstate - Alert state if the result is empty (
UNKNOWN
,OK
,TRIGGERED
) - threshold
Alert
Condition Threshold - Threshold value used for comparison in alert evaluation:
- op String
- Operator used for comparison in alert evaluation. (Enum:
GREATER_THAN
,GREATER_THAN_OR_EQUAL
,LESS_THAN
,LESS_THAN_OR_EQUAL
,EQUAL
,NOT_EQUAL
,IS_NULL
) - operand Property Map
- Name of the column from the query result to use for comparison in alert evaluation:
- empty
Result StringState - Alert state if the result is empty (
UNKNOWN
,OK
,TRIGGERED
) - threshold Property Map
- Threshold value used for comparison in alert evaluation:
AlertConditionOperand, AlertConditionOperandArgs
- Column
Alert
Condition Operand Column - Block describing the column from the query result to use for comparison in alert evaluation:
- Column
Alert
Condition Operand Column - Block describing the column from the query result to use for comparison in alert evaluation:
- column
Alert
Condition Operand Column - Block describing the column from the query result to use for comparison in alert evaluation:
- column
Alert
Condition Operand Column - Block describing the column from the query result to use for comparison in alert evaluation:
- column
Alert
Condition Operand Column - Block describing the column from the query result to use for comparison in alert evaluation:
- column Property Map
- Block describing the column from the query result to use for comparison in alert evaluation:
AlertConditionOperandColumn, AlertConditionOperandColumnArgs
- Name string
- Name of the column.
- Name string
- Name of the column.
- name String
- Name of the column.
- name string
- Name of the column.
- name str
- Name of the column.
- name String
- Name of the column.
AlertConditionThreshold, AlertConditionThresholdArgs
- Value
Alert
Condition Threshold Value - actual value used in comparison (one of the attributes is required):
- Value
Alert
Condition Threshold Value - actual value used in comparison (one of the attributes is required):
- value
Alert
Condition Threshold Value - actual value used in comparison (one of the attributes is required):
- value
Alert
Condition Threshold Value - actual value used in comparison (one of the attributes is required):
- value
Alert
Condition Threshold Value - actual value used in comparison (one of the attributes is required):
- value Property Map
- actual value used in comparison (one of the attributes is required):
AlertConditionThresholdValue, AlertConditionThresholdValueArgs
- Bool
Value bool - boolean value (
true
orfalse
) to compare against boolean results. - Double
Value double - double value to compare against integer and double results.
- String
Value string - string value to compare against string results.
- Bool
Value bool - boolean value (
true
orfalse
) to compare against boolean results. - Double
Value float64 - double value to compare against integer and double results.
- String
Value string - string value to compare against string results.
- bool
Value Boolean - boolean value (
true
orfalse
) to compare against boolean results. - double
Value Double - double value to compare against integer and double results.
- string
Value String - string value to compare against string results.
- bool
Value boolean - boolean value (
true
orfalse
) to compare against boolean results. - double
Value number - double value to compare against integer and double results.
- string
Value string - string value to compare against string results.
- bool_
value bool - boolean value (
true
orfalse
) to compare against boolean results. - double_
value float - double value to compare against integer and double results.
- string_
value str - string value to compare against string results.
- bool
Value Boolean - boolean value (
true
orfalse
) to compare against boolean results. - double
Value Number - double value to compare against integer and double results.
- string
Value String - string value to compare against string results.
Package Details
- Repository
- databricks pulumi/pulumi-databricks
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
databricks
Terraform Provider.