databricks.AlertV2
Explore with Pulumi AI
Import
As of terraform v1.5, resources can be imported through configuration.
hcl
import {
id = id
to = databricks_alert_v2.this
}
If you are using an older version of terraform, you can import the resource using cli as follows:
$ pulumi import databricks:index/alertV2:AlertV2 databricks_alert_v2 id
Create AlertV2 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AlertV2(name: string, args?: AlertV2Args, opts?: CustomResourceOptions);
@overload
def AlertV2(resource_name: str,
args: Optional[AlertV2Args] = None,
opts: Optional[ResourceOptions] = None)
@overload
def AlertV2(resource_name: str,
opts: Optional[ResourceOptions] = None,
custom_description: Optional[str] = None,
custom_summary: Optional[str] = None,
display_name: Optional[str] = None,
evaluation: Optional[AlertV2EvaluationArgs] = None,
parent_path: Optional[str] = None,
query_text: Optional[str] = None,
schedule: Optional[AlertV2ScheduleArgs] = None,
warehouse_id: Optional[str] = None)
func NewAlertV2(ctx *Context, name string, args *AlertV2Args, opts ...ResourceOption) (*AlertV2, error)
public AlertV2(string name, AlertV2Args? args = null, CustomResourceOptions? opts = null)
public AlertV2(String name, AlertV2Args args)
public AlertV2(String name, AlertV2Args args, CustomResourceOptions options)
type: databricks:AlertV2
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 AlertV2Args
- 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 AlertV2Args
- 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 AlertV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AlertV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AlertV2Args
- 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 alertV2Resource = new Databricks.AlertV2("alertV2Resource", new()
{
CustomDescription = "string",
CustomSummary = "string",
DisplayName = "string",
Evaluation = new Databricks.Inputs.AlertV2EvaluationArgs
{
ComparisonOperator = "string",
EmptyResultState = "string",
LastEvaluatedAt = "string",
Notification = new Databricks.Inputs.AlertV2EvaluationNotificationArgs
{
NotifyOnOk = false,
RetriggerSeconds = 0,
Subscriptions = new[]
{
new Databricks.Inputs.AlertV2EvaluationNotificationSubscriptionArgs
{
DestinationId = "string",
UserEmail = "string",
},
},
},
Source = new Databricks.Inputs.AlertV2EvaluationSourceArgs
{
Aggregation = "string",
Display = "string",
Name = "string",
},
State = "string",
Threshold = new Databricks.Inputs.AlertV2EvaluationThresholdArgs
{
Column = new Databricks.Inputs.AlertV2EvaluationThresholdColumnArgs
{
Aggregation = "string",
Display = "string",
Name = "string",
},
Value = new Databricks.Inputs.AlertV2EvaluationThresholdValueArgs
{
BoolValue = false,
DoubleValue = 0,
StringValue = "string",
},
},
},
ParentPath = "string",
QueryText = "string",
Schedule = new Databricks.Inputs.AlertV2ScheduleArgs
{
PauseStatus = "string",
QuartzCronSchedule = "string",
TimezoneId = "string",
},
WarehouseId = "string",
});
example, err := databricks.NewAlertV2(ctx, "alertV2Resource", &databricks.AlertV2Args{
CustomDescription: pulumi.String("string"),
CustomSummary: pulumi.String("string"),
DisplayName: pulumi.String("string"),
Evaluation: &databricks.AlertV2EvaluationArgs{
ComparisonOperator: pulumi.String("string"),
EmptyResultState: pulumi.String("string"),
LastEvaluatedAt: pulumi.String("string"),
Notification: &databricks.AlertV2EvaluationNotificationArgs{
NotifyOnOk: pulumi.Bool(false),
RetriggerSeconds: pulumi.Int(0),
Subscriptions: databricks.AlertV2EvaluationNotificationSubscriptionArray{
&databricks.AlertV2EvaluationNotificationSubscriptionArgs{
DestinationId: pulumi.String("string"),
UserEmail: pulumi.String("string"),
},
},
},
Source: &databricks.AlertV2EvaluationSourceArgs{
Aggregation: pulumi.String("string"),
Display: pulumi.String("string"),
Name: pulumi.String("string"),
},
State: pulumi.String("string"),
Threshold: &databricks.AlertV2EvaluationThresholdArgs{
Column: &databricks.AlertV2EvaluationThresholdColumnArgs{
Aggregation: pulumi.String("string"),
Display: pulumi.String("string"),
Name: pulumi.String("string"),
},
Value: &databricks.AlertV2EvaluationThresholdValueArgs{
BoolValue: pulumi.Bool(false),
DoubleValue: pulumi.Float64(0),
StringValue: pulumi.String("string"),
},
},
},
ParentPath: pulumi.String("string"),
QueryText: pulumi.String("string"),
Schedule: &databricks.AlertV2ScheduleArgs{
PauseStatus: pulumi.String("string"),
QuartzCronSchedule: pulumi.String("string"),
TimezoneId: pulumi.String("string"),
},
WarehouseId: pulumi.String("string"),
})
var alertV2Resource = new AlertV2("alertV2Resource", AlertV2Args.builder()
.customDescription("string")
.customSummary("string")
.displayName("string")
.evaluation(AlertV2EvaluationArgs.builder()
.comparisonOperator("string")
.emptyResultState("string")
.lastEvaluatedAt("string")
.notification(AlertV2EvaluationNotificationArgs.builder()
.notifyOnOk(false)
.retriggerSeconds(0)
.subscriptions(AlertV2EvaluationNotificationSubscriptionArgs.builder()
.destinationId("string")
.userEmail("string")
.build())
.build())
.source(AlertV2EvaluationSourceArgs.builder()
.aggregation("string")
.display("string")
.name("string")
.build())
.state("string")
.threshold(AlertV2EvaluationThresholdArgs.builder()
.column(AlertV2EvaluationThresholdColumnArgs.builder()
.aggregation("string")
.display("string")
.name("string")
.build())
.value(AlertV2EvaluationThresholdValueArgs.builder()
.boolValue(false)
.doubleValue(0.0)
.stringValue("string")
.build())
.build())
.build())
.parentPath("string")
.queryText("string")
.schedule(AlertV2ScheduleArgs.builder()
.pauseStatus("string")
.quartzCronSchedule("string")
.timezoneId("string")
.build())
.warehouseId("string")
.build());
alert_v2_resource = databricks.AlertV2("alertV2Resource",
custom_description="string",
custom_summary="string",
display_name="string",
evaluation={
"comparison_operator": "string",
"empty_result_state": "string",
"last_evaluated_at": "string",
"notification": {
"notify_on_ok": False,
"retrigger_seconds": 0,
"subscriptions": [{
"destination_id": "string",
"user_email": "string",
}],
},
"source": {
"aggregation": "string",
"display": "string",
"name": "string",
},
"state": "string",
"threshold": {
"column": {
"aggregation": "string",
"display": "string",
"name": "string",
},
"value": {
"bool_value": False,
"double_value": 0,
"string_value": "string",
},
},
},
parent_path="string",
query_text="string",
schedule={
"pause_status": "string",
"quartz_cron_schedule": "string",
"timezone_id": "string",
},
warehouse_id="string")
const alertV2Resource = new databricks.AlertV2("alertV2Resource", {
customDescription: "string",
customSummary: "string",
displayName: "string",
evaluation: {
comparisonOperator: "string",
emptyResultState: "string",
lastEvaluatedAt: "string",
notification: {
notifyOnOk: false,
retriggerSeconds: 0,
subscriptions: [{
destinationId: "string",
userEmail: "string",
}],
},
source: {
aggregation: "string",
display: "string",
name: "string",
},
state: "string",
threshold: {
column: {
aggregation: "string",
display: "string",
name: "string",
},
value: {
boolValue: false,
doubleValue: 0,
stringValue: "string",
},
},
},
parentPath: "string",
queryText: "string",
schedule: {
pauseStatus: "string",
quartzCronSchedule: "string",
timezoneId: "string",
},
warehouseId: "string",
});
type: databricks:AlertV2
properties:
customDescription: string
customSummary: string
displayName: string
evaluation:
comparisonOperator: string
emptyResultState: string
lastEvaluatedAt: string
notification:
notifyOnOk: false
retriggerSeconds: 0
subscriptions:
- destinationId: string
userEmail: string
source:
aggregation: string
display: string
name: string
state: string
threshold:
column:
aggregation: string
display: string
name: string
value:
boolValue: false
doubleValue: 0
stringValue: string
parentPath: string
queryText: string
schedule:
pauseStatus: string
quartzCronSchedule: string
timezoneId: string
warehouseId: string
AlertV2 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 AlertV2 resource accepts the following input properties:
- Custom
Description string - Custom description for the alert. support mustache template
- Custom
Summary string - Custom summary for the alert. support mustache template
- Display
Name string - The display name of the alert
- Evaluation
Alert
V2Evaluation - Parent
Path string - The workspace path of the folder containing the alert. Can only be set on create, and cannot be updated
- Query
Text string - Text of the query to be run
- Schedule
Alert
V2Schedule - Warehouse
Id string - ID of the SQL warehouse attached to the alert
- Custom
Description string - Custom description for the alert. support mustache template
- Custom
Summary string - Custom summary for the alert. support mustache template
- Display
Name string - The display name of the alert
- Evaluation
Alert
V2Evaluation Args - Parent
Path string - The workspace path of the folder containing the alert. Can only be set on create, and cannot be updated
- Query
Text string - Text of the query to be run
- Schedule
Alert
V2Schedule Args - Warehouse
Id string - ID of the SQL warehouse attached to the alert
- custom
Description String - Custom description for the alert. support mustache template
- custom
Summary String - Custom summary for the alert. support mustache template
- display
Name String - The display name of the alert
- evaluation
Alert
V2Evaluation - parent
Path String - The workspace path of the folder containing the alert. Can only be set on create, and cannot be updated
- query
Text String - Text of the query to be run
- schedule
Alert
V2Schedule - warehouse
Id String - ID of the SQL warehouse attached to the alert
- custom
Description string - Custom description for the alert. support mustache template
- custom
Summary string - Custom summary for the alert. support mustache template
- display
Name string - The display name of the alert
- evaluation
Alert
V2Evaluation - parent
Path string - The workspace path of the folder containing the alert. Can only be set on create, and cannot be updated
- query
Text string - Text of the query to be run
- schedule
Alert
V2Schedule - warehouse
Id string - ID of the SQL warehouse attached to the alert
- custom_
description str - Custom description for the alert. support mustache template
- custom_
summary str - Custom summary for the alert. support mustache template
- display_
name str - The display name of the alert
- evaluation
Alert
V2Evaluation Args - parent_
path str - The workspace path of the folder containing the alert. Can only be set on create, and cannot be updated
- query_
text str - Text of the query to be run
- schedule
Alert
V2Schedule Args - warehouse_
id str - ID of the SQL warehouse attached to the alert
- custom
Description String - Custom description for the alert. support mustache template
- custom
Summary String - Custom summary for the alert. support mustache template
- display
Name String - The display name of the alert
- evaluation Property Map
- parent
Path String - The workspace path of the folder containing the alert. Can only be set on create, and cannot be updated
- query
Text String - Text of the query to be run
- schedule Property Map
- warehouse
Id String - ID of the SQL warehouse attached to the alert
Outputs
All input properties are implicitly available as output properties. Additionally, the AlertV2 resource produces the following output properties:
- Create
Time string - (string) - The timestamp indicating when the alert was created
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
State string - (string) - Indicates whether the query is trashed. Possible values are: ACTIVE, TRASHED
- Owner
User stringName - (string) - The owner's username. This field is set to "Unavailable" if the user has been deleted
- Run
As stringUser Name - (string) - The run as username. This field is set to "Unavailable" if the user has been deleted
- Update
Time string - (string) - The timestamp indicating when the alert was updated
- Create
Time string - (string) - The timestamp indicating when the alert was created
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
State string - (string) - Indicates whether the query is trashed. Possible values are: ACTIVE, TRASHED
- Owner
User stringName - (string) - The owner's username. This field is set to "Unavailable" if the user has been deleted
- Run
As stringUser Name - (string) - The run as username. This field is set to "Unavailable" if the user has been deleted
- Update
Time string - (string) - The timestamp indicating when the alert was updated
- create
Time String - (string) - The timestamp indicating when the alert was created
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
State String - (string) - Indicates whether the query is trashed. Possible values are: ACTIVE, TRASHED
- owner
User StringName - (string) - The owner's username. This field is set to "Unavailable" if the user has been deleted
- run
As StringUser Name - (string) - The run as username. This field is set to "Unavailable" if the user has been deleted
- update
Time String - (string) - The timestamp indicating when the alert was updated
- create
Time string - (string) - The timestamp indicating when the alert was created
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
State string - (string) - Indicates whether the query is trashed. Possible values are: ACTIVE, TRASHED
- owner
User stringName - (string) - The owner's username. This field is set to "Unavailable" if the user has been deleted
- run
As stringUser Name - (string) - The run as username. This field is set to "Unavailable" if the user has been deleted
- update
Time string - (string) - The timestamp indicating when the alert was updated
- create_
time str - (string) - The timestamp indicating when the alert was created
- id str
- The provider-assigned unique ID for this managed resource.
- lifecycle_
state str - (string) - Indicates whether the query is trashed. Possible values are: ACTIVE, TRASHED
- owner_
user_ strname - (string) - The owner's username. This field is set to "Unavailable" if the user has been deleted
- run_
as_ struser_ name - (string) - The run as username. This field is set to "Unavailable" if the user has been deleted
- update_
time str - (string) - The timestamp indicating when the alert was updated
- create
Time String - (string) - The timestamp indicating when the alert was created
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
State String - (string) - Indicates whether the query is trashed. Possible values are: ACTIVE, TRASHED
- owner
User StringName - (string) - The owner's username. This field is set to "Unavailable" if the user has been deleted
- run
As StringUser Name - (string) - The run as username. This field is set to "Unavailable" if the user has been deleted
- update
Time String - (string) - The timestamp indicating when the alert was updated
Look up Existing AlertV2 Resource
Get an existing AlertV2 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?: AlertV2State, opts?: CustomResourceOptions): AlertV2
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
create_time: Optional[str] = None,
custom_description: Optional[str] = None,
custom_summary: Optional[str] = None,
display_name: Optional[str] = None,
evaluation: Optional[AlertV2EvaluationArgs] = None,
lifecycle_state: Optional[str] = None,
owner_user_name: Optional[str] = None,
parent_path: Optional[str] = None,
query_text: Optional[str] = None,
run_as_user_name: Optional[str] = None,
schedule: Optional[AlertV2ScheduleArgs] = None,
update_time: Optional[str] = None,
warehouse_id: Optional[str] = None) -> AlertV2
func GetAlertV2(ctx *Context, name string, id IDInput, state *AlertV2State, opts ...ResourceOption) (*AlertV2, error)
public static AlertV2 Get(string name, Input<string> id, AlertV2State? state, CustomResourceOptions? opts = null)
public static AlertV2 get(String name, Output<String> id, AlertV2State state, CustomResourceOptions options)
resources: _: type: databricks:AlertV2 get: id: ${id}
- 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.
- Create
Time string - (string) - The timestamp indicating when the alert was created
- Custom
Description string - Custom description for the alert. support mustache template
- Custom
Summary string - Custom summary for the alert. support mustache template
- Display
Name string - The display name of the alert
- Evaluation
Alert
V2Evaluation - Lifecycle
State string - (string) - Indicates whether the query is trashed. Possible values are: ACTIVE, TRASHED
- Owner
User stringName - (string) - The owner's username. This field is set to "Unavailable" if the user has been deleted
- Parent
Path string - The workspace path of the folder containing the alert. Can only be set on create, and cannot be updated
- Query
Text string - Text of the query to be run
- Run
As stringUser Name - (string) - The run as username. This field is set to "Unavailable" if the user has been deleted
- Schedule
Alert
V2Schedule - Update
Time string - (string) - The timestamp indicating when the alert was updated
- Warehouse
Id string - ID of the SQL warehouse attached to the alert
- Create
Time string - (string) - The timestamp indicating when the alert was created
- Custom
Description string - Custom description for the alert. support mustache template
- Custom
Summary string - Custom summary for the alert. support mustache template
- Display
Name string - The display name of the alert
- Evaluation
Alert
V2Evaluation Args - Lifecycle
State string - (string) - Indicates whether the query is trashed. Possible values are: ACTIVE, TRASHED
- Owner
User stringName - (string) - The owner's username. This field is set to "Unavailable" if the user has been deleted
- Parent
Path string - The workspace path of the folder containing the alert. Can only be set on create, and cannot be updated
- Query
Text string - Text of the query to be run
- Run
As stringUser Name - (string) - The run as username. This field is set to "Unavailable" if the user has been deleted
- Schedule
Alert
V2Schedule Args - Update
Time string - (string) - The timestamp indicating when the alert was updated
- Warehouse
Id string - ID of the SQL warehouse attached to the alert
- create
Time String - (string) - The timestamp indicating when the alert was created
- custom
Description String - Custom description for the alert. support mustache template
- custom
Summary String - Custom summary for the alert. support mustache template
- display
Name String - The display name of the alert
- evaluation
Alert
V2Evaluation - lifecycle
State String - (string) - Indicates whether the query is trashed. Possible values are: ACTIVE, TRASHED
- owner
User StringName - (string) - The owner's username. This field is set to "Unavailable" if the user has been deleted
- parent
Path String - The workspace path of the folder containing the alert. Can only be set on create, and cannot be updated
- query
Text String - Text of the query to be run
- run
As StringUser Name - (string) - The run as username. This field is set to "Unavailable" if the user has been deleted
- schedule
Alert
V2Schedule - update
Time String - (string) - The timestamp indicating when the alert was updated
- warehouse
Id String - ID of the SQL warehouse attached to the alert
- create
Time string - (string) - The timestamp indicating when the alert was created
- custom
Description string - Custom description for the alert. support mustache template
- custom
Summary string - Custom summary for the alert. support mustache template
- display
Name string - The display name of the alert
- evaluation
Alert
V2Evaluation - lifecycle
State string - (string) - Indicates whether the query is trashed. Possible values are: ACTIVE, TRASHED
- owner
User stringName - (string) - The owner's username. This field is set to "Unavailable" if the user has been deleted
- parent
Path string - The workspace path of the folder containing the alert. Can only be set on create, and cannot be updated
- query
Text string - Text of the query to be run
- run
As stringUser Name - (string) - The run as username. This field is set to "Unavailable" if the user has been deleted
- schedule
Alert
V2Schedule - update
Time string - (string) - The timestamp indicating when the alert was updated
- warehouse
Id string - ID of the SQL warehouse attached to the alert
- create_
time str - (string) - The timestamp indicating when the alert was created
- custom_
description str - Custom description for the alert. support mustache template
- custom_
summary str - Custom summary for the alert. support mustache template
- display_
name str - The display name of the alert
- evaluation
Alert
V2Evaluation Args - lifecycle_
state str - (string) - Indicates whether the query is trashed. Possible values are: ACTIVE, TRASHED
- owner_
user_ strname - (string) - The owner's username. This field is set to "Unavailable" if the user has been deleted
- parent_
path str - The workspace path of the folder containing the alert. Can only be set on create, and cannot be updated
- query_
text str - Text of the query to be run
- run_
as_ struser_ name - (string) - The run as username. This field is set to "Unavailable" if the user has been deleted
- schedule
Alert
V2Schedule Args - update_
time str - (string) - The timestamp indicating when the alert was updated
- warehouse_
id str - ID of the SQL warehouse attached to the alert
- create
Time String - (string) - The timestamp indicating when the alert was created
- custom
Description String - Custom description for the alert. support mustache template
- custom
Summary String - Custom summary for the alert. support mustache template
- display
Name String - The display name of the alert
- evaluation Property Map
- lifecycle
State String - (string) - Indicates whether the query is trashed. Possible values are: ACTIVE, TRASHED
- owner
User StringName - (string) - The owner's username. This field is set to "Unavailable" if the user has been deleted
- parent
Path String - The workspace path of the folder containing the alert. Can only be set on create, and cannot be updated
- query
Text String - Text of the query to be run
- run
As StringUser Name - (string) - The run as username. This field is set to "Unavailable" if the user has been deleted
- schedule Property Map
- update
Time String - (string) - The timestamp indicating when the alert was updated
- warehouse
Id String - ID of the SQL warehouse attached to the alert
Supporting Types
AlertV2Evaluation, AlertV2EvaluationArgs
- Comparison
Operator string - Operator used for comparison in alert evaluation. Possible values are: EQUAL, GREATER_THAN, GREATER_THAN_OR_EQUAL, IS_NOT_NULL, IS_NULL, LESS_THAN, LESS_THAN_OR_EQUAL, NOT_EQUAL
- Empty
Result stringState - Alert state if result is empty. Possible values are: ERROR, OK, TRIGGERED, UNKNOWN
- Last
Evaluated stringAt - (string) - Timestamp of the last evaluation
- Notification
Alert
V2Evaluation Notification - User or Notification Destination to notify when alert is triggered
- Source
Alert
V2Evaluation Source - Source column from result to use to evaluate alert
- State string
- (string) - Latest state of alert evaluation. Possible values are: ERROR, OK, TRIGGERED, UNKNOWN
- Threshold
Alert
V2Evaluation Threshold - Threshold to user for alert evaluation, can be a column or a value
- Comparison
Operator string - Operator used for comparison in alert evaluation. Possible values are: EQUAL, GREATER_THAN, GREATER_THAN_OR_EQUAL, IS_NOT_NULL, IS_NULL, LESS_THAN, LESS_THAN_OR_EQUAL, NOT_EQUAL
- Empty
Result stringState - Alert state if result is empty. Possible values are: ERROR, OK, TRIGGERED, UNKNOWN
- Last
Evaluated stringAt - (string) - Timestamp of the last evaluation
- Notification
Alert
V2Evaluation Notification - User or Notification Destination to notify when alert is triggered
- Source
Alert
V2Evaluation Source - Source column from result to use to evaluate alert
- State string
- (string) - Latest state of alert evaluation. Possible values are: ERROR, OK, TRIGGERED, UNKNOWN
- Threshold
Alert
V2Evaluation Threshold - Threshold to user for alert evaluation, can be a column or a value
- comparison
Operator String - Operator used for comparison in alert evaluation. Possible values are: EQUAL, GREATER_THAN, GREATER_THAN_OR_EQUAL, IS_NOT_NULL, IS_NULL, LESS_THAN, LESS_THAN_OR_EQUAL, NOT_EQUAL
- empty
Result StringState - Alert state if result is empty. Possible values are: ERROR, OK, TRIGGERED, UNKNOWN
- last
Evaluated StringAt - (string) - Timestamp of the last evaluation
- notification
Alert
V2Evaluation Notification - User or Notification Destination to notify when alert is triggered
- source
Alert
V2Evaluation Source - Source column from result to use to evaluate alert
- state String
- (string) - Latest state of alert evaluation. Possible values are: ERROR, OK, TRIGGERED, UNKNOWN
- threshold
Alert
V2Evaluation Threshold - Threshold to user for alert evaluation, can be a column or a value
- comparison
Operator string - Operator used for comparison in alert evaluation. Possible values are: EQUAL, GREATER_THAN, GREATER_THAN_OR_EQUAL, IS_NOT_NULL, IS_NULL, LESS_THAN, LESS_THAN_OR_EQUAL, NOT_EQUAL
- empty
Result stringState - Alert state if result is empty. Possible values are: ERROR, OK, TRIGGERED, UNKNOWN
- last
Evaluated stringAt - (string) - Timestamp of the last evaluation
- notification
Alert
V2Evaluation Notification - User or Notification Destination to notify when alert is triggered
- source
Alert
V2Evaluation Source - Source column from result to use to evaluate alert
- state string
- (string) - Latest state of alert evaluation. Possible values are: ERROR, OK, TRIGGERED, UNKNOWN
- threshold
Alert
V2Evaluation Threshold - Threshold to user for alert evaluation, can be a column or a value
- comparison_
operator str - Operator used for comparison in alert evaluation. Possible values are: EQUAL, GREATER_THAN, GREATER_THAN_OR_EQUAL, IS_NOT_NULL, IS_NULL, LESS_THAN, LESS_THAN_OR_EQUAL, NOT_EQUAL
- empty_
result_ strstate - Alert state if result is empty. Possible values are: ERROR, OK, TRIGGERED, UNKNOWN
- last_
evaluated_ strat - (string) - Timestamp of the last evaluation
- notification
Alert
V2Evaluation Notification - User or Notification Destination to notify when alert is triggered
- source
Alert
V2Evaluation Source - Source column from result to use to evaluate alert
- state str
- (string) - Latest state of alert evaluation. Possible values are: ERROR, OK, TRIGGERED, UNKNOWN
- threshold
Alert
V2Evaluation Threshold - Threshold to user for alert evaluation, can be a column or a value
- comparison
Operator String - Operator used for comparison in alert evaluation. Possible values are: EQUAL, GREATER_THAN, GREATER_THAN_OR_EQUAL, IS_NOT_NULL, IS_NULL, LESS_THAN, LESS_THAN_OR_EQUAL, NOT_EQUAL
- empty
Result StringState - Alert state if result is empty. Possible values are: ERROR, OK, TRIGGERED, UNKNOWN
- last
Evaluated StringAt - (string) - Timestamp of the last evaluation
- notification Property Map
- User or Notification Destination to notify when alert is triggered
- source Property Map
- Source column from result to use to evaluate alert
- state String
- (string) - Latest state of alert evaluation. Possible values are: ERROR, OK, TRIGGERED, UNKNOWN
- threshold Property Map
- Threshold to user for alert evaluation, can be a column or a value
AlertV2EvaluationNotification, AlertV2EvaluationNotificationArgs
- Notify
On boolOk - Whether to notify alert subscribers when alert returns back to normal
- Retrigger
Seconds int - 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
- Subscriptions
List<Alert
V2Evaluation Notification Subscription>
- Notify
On boolOk - Whether to notify alert subscribers when alert returns back to normal
- Retrigger
Seconds int - 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
- Subscriptions
[]Alert
V2Evaluation Notification Subscription
- notify
On BooleanOk - Whether to notify alert subscribers when alert returns back to normal
- retrigger
Seconds Integer - 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
- subscriptions
List<Alert
V2Evaluation Notification Subscription>
- notify
On booleanOk - Whether to notify alert subscribers when alert returns back to normal
- retrigger
Seconds number - 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
- subscriptions
Alert
V2Evaluation Notification Subscription[]
- notify_
on_ boolok - Whether to notify alert subscribers when alert returns back to normal
- retrigger_
seconds int - 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
- subscriptions
Sequence[Alert
V2Evaluation Notification Subscription]
- notify
On BooleanOk - Whether to notify alert subscribers when alert returns back to normal
- retrigger
Seconds Number - 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
- subscriptions List<Property Map>
AlertV2EvaluationNotificationSubscription, AlertV2EvaluationNotificationSubscriptionArgs
- Destination
Id string - User
Email string
- Destination
Id string - User
Email string
- destination
Id String - user
Email String
- destination
Id string - user
Email string
- destination_
id str - user_
email str
- destination
Id String - user
Email String
AlertV2EvaluationSource, AlertV2EvaluationSourceArgs
- Aggregation string
- . Possible values are: AVG, COUNT, COUNT_DISTINCT, MAX, MEDIAN, MIN, STDDEV, SUM
- Display string
- Name string
- Aggregation string
- . Possible values are: AVG, COUNT, COUNT_DISTINCT, MAX, MEDIAN, MIN, STDDEV, SUM
- Display string
- Name string
- aggregation String
- . Possible values are: AVG, COUNT, COUNT_DISTINCT, MAX, MEDIAN, MIN, STDDEV, SUM
- display String
- name String
- aggregation string
- . Possible values are: AVG, COUNT, COUNT_DISTINCT, MAX, MEDIAN, MIN, STDDEV, SUM
- display string
- name string
- aggregation str
- . Possible values are: AVG, COUNT, COUNT_DISTINCT, MAX, MEDIAN, MIN, STDDEV, SUM
- display str
- name str
- aggregation String
- . Possible values are: AVG, COUNT, COUNT_DISTINCT, MAX, MEDIAN, MIN, STDDEV, SUM
- display String
- name String
AlertV2EvaluationThreshold, AlertV2EvaluationThresholdArgs
AlertV2EvaluationThresholdColumn, AlertV2EvaluationThresholdColumnArgs
- Aggregation string
- . Possible values are: AVG, COUNT, COUNT_DISTINCT, MAX, MEDIAN, MIN, STDDEV, SUM
- Display string
- Name string
- Aggregation string
- . Possible values are: AVG, COUNT, COUNT_DISTINCT, MAX, MEDIAN, MIN, STDDEV, SUM
- Display string
- Name string
- aggregation String
- . Possible values are: AVG, COUNT, COUNT_DISTINCT, MAX, MEDIAN, MIN, STDDEV, SUM
- display String
- name String
- aggregation string
- . Possible values are: AVG, COUNT, COUNT_DISTINCT, MAX, MEDIAN, MIN, STDDEV, SUM
- display string
- name string
- aggregation str
- . Possible values are: AVG, COUNT, COUNT_DISTINCT, MAX, MEDIAN, MIN, STDDEV, SUM
- display str
- name str
- aggregation String
- . Possible values are: AVG, COUNT, COUNT_DISTINCT, MAX, MEDIAN, MIN, STDDEV, SUM
- display String
- name String
AlertV2EvaluationThresholdValue, AlertV2EvaluationThresholdValueArgs
- Bool
Value bool - Double
Value double - String
Value string
- Bool
Value bool - Double
Value float64 - String
Value string
- bool
Value Boolean - double
Value Double - string
Value String
- bool
Value boolean - double
Value number - string
Value string
- bool_
value bool - double_
value float - string_
value str
- bool
Value Boolean - double
Value Number - string
Value String
AlertV2Schedule, AlertV2ScheduleArgs
- Pause
Status string - Indicate whether this schedule is paused or not. Possible values are: PAUSED, UNPAUSED
- Quartz
Cron stringSchedule - A cron expression using quartz syntax that specifies the schedule for this pipeline. Should use the quartz format described here: http://www.quartz-scheduler.org/documentation/quartz-2.1.7/tutorials/tutorial-lesson-06.html
- Timezone
Id string - A Java timezone id. The schedule will be resolved using this timezone. This will be combined with the quartz_cron_schedule to determine the schedule. See https://docs.databricks.com/sql/language-manual/sql-ref-syntax-aux-conf-mgmt-set-timezone.html for details
- Pause
Status string - Indicate whether this schedule is paused or not. Possible values are: PAUSED, UNPAUSED
- Quartz
Cron stringSchedule - A cron expression using quartz syntax that specifies the schedule for this pipeline. Should use the quartz format described here: http://www.quartz-scheduler.org/documentation/quartz-2.1.7/tutorials/tutorial-lesson-06.html
- Timezone
Id string - A Java timezone id. The schedule will be resolved using this timezone. This will be combined with the quartz_cron_schedule to determine the schedule. See https://docs.databricks.com/sql/language-manual/sql-ref-syntax-aux-conf-mgmt-set-timezone.html for details
- pause
Status String - Indicate whether this schedule is paused or not. Possible values are: PAUSED, UNPAUSED
- quartz
Cron StringSchedule - A cron expression using quartz syntax that specifies the schedule for this pipeline. Should use the quartz format described here: http://www.quartz-scheduler.org/documentation/quartz-2.1.7/tutorials/tutorial-lesson-06.html
- timezone
Id String - A Java timezone id. The schedule will be resolved using this timezone. This will be combined with the quartz_cron_schedule to determine the schedule. See https://docs.databricks.com/sql/language-manual/sql-ref-syntax-aux-conf-mgmt-set-timezone.html for details
- pause
Status string - Indicate whether this schedule is paused or not. Possible values are: PAUSED, UNPAUSED
- quartz
Cron stringSchedule - A cron expression using quartz syntax that specifies the schedule for this pipeline. Should use the quartz format described here: http://www.quartz-scheduler.org/documentation/quartz-2.1.7/tutorials/tutorial-lesson-06.html
- timezone
Id string - A Java timezone id. The schedule will be resolved using this timezone. This will be combined with the quartz_cron_schedule to determine the schedule. See https://docs.databricks.com/sql/language-manual/sql-ref-syntax-aux-conf-mgmt-set-timezone.html for details
- pause_
status str - Indicate whether this schedule is paused or not. Possible values are: PAUSED, UNPAUSED
- quartz_
cron_ strschedule - A cron expression using quartz syntax that specifies the schedule for this pipeline. Should use the quartz format described here: http://www.quartz-scheduler.org/documentation/quartz-2.1.7/tutorials/tutorial-lesson-06.html
- timezone_
id str - A Java timezone id. The schedule will be resolved using this timezone. This will be combined with the quartz_cron_schedule to determine the schedule. See https://docs.databricks.com/sql/language-manual/sql-ref-syntax-aux-conf-mgmt-set-timezone.html for details
- pause
Status String - Indicate whether this schedule is paused or not. Possible values are: PAUSED, UNPAUSED
- quartz
Cron StringSchedule - A cron expression using quartz syntax that specifies the schedule for this pipeline. Should use the quartz format described here: http://www.quartz-scheduler.org/documentation/quartz-2.1.7/tutorials/tutorial-lesson-06.html
- timezone
Id String - A Java timezone id. The schedule will be resolved using this timezone. This will be combined with the quartz_cron_schedule to determine the schedule. See https://docs.databricks.com/sql/language-manual/sql-ref-syntax-aux-conf-mgmt-set-timezone.html for details
Package Details
- Repository
- databricks pulumi/pulumi-databricks
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
databricks
Terraform Provider.