databricks.getAlertV2
Explore with Pulumi AI
The SQL Alert v2 data source allows you to retrieve detailed information about a specific alert in Databricks SQL. This data source provides access to all alert properties, including its configuration, evaluation criteria, notification settings, and schedule.
You can use this data source to:
- Retrieve alert details for reference in other resources
- Check the current state and configuration of an alert
- Verify notification settings and subscribers
- Examine the schedule configuration
Example Usage
Retrieve Alert by ID
This example retrieves a specific alert by its ID:
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
variables:
this:
fn::invoke:
function: databricks:getAlertV2
arguments:
id: '123'
Using getAlertV2
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getAlertV2(args: GetAlertV2Args, opts?: InvokeOptions): Promise<GetAlertV2Result>
function getAlertV2Output(args: GetAlertV2OutputArgs, opts?: InvokeOptions): Output<GetAlertV2Result>
def get_alert_v2(custom_description: Optional[str] = None,
custom_summary: Optional[str] = None,
display_name: Optional[str] = None,
evaluation: Optional[GetAlertV2Evaluation] = None,
parent_path: Optional[str] = None,
query_text: Optional[str] = None,
run_as: Optional[GetAlertV2RunAs] = None,
run_as_user_name: Optional[str] = None,
schedule: Optional[GetAlertV2Schedule] = None,
warehouse_id: Optional[str] = None,
workspace_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAlertV2Result
def get_alert_v2_output(custom_description: Optional[pulumi.Input[str]] = None,
custom_summary: Optional[pulumi.Input[str]] = None,
display_name: Optional[pulumi.Input[str]] = None,
evaluation: Optional[pulumi.Input[GetAlertV2EvaluationArgs]] = None,
parent_path: Optional[pulumi.Input[str]] = None,
query_text: Optional[pulumi.Input[str]] = None,
run_as: Optional[pulumi.Input[GetAlertV2RunAsArgs]] = None,
run_as_user_name: Optional[pulumi.Input[str]] = None,
schedule: Optional[pulumi.Input[GetAlertV2ScheduleArgs]] = None,
warehouse_id: Optional[pulumi.Input[str]] = None,
workspace_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAlertV2Result]
func LookupAlertV2(ctx *Context, args *LookupAlertV2Args, opts ...InvokeOption) (*LookupAlertV2Result, error)
func LookupAlertV2Output(ctx *Context, args *LookupAlertV2OutputArgs, opts ...InvokeOption) LookupAlertV2ResultOutput
> Note: This function is named LookupAlertV2
in the Go SDK.
public static class GetAlertV2
{
public static Task<GetAlertV2Result> InvokeAsync(GetAlertV2Args args, InvokeOptions? opts = null)
public static Output<GetAlertV2Result> Invoke(GetAlertV2InvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAlertV2Result> getAlertV2(GetAlertV2Args args, InvokeOptions options)
public static Output<GetAlertV2Result> getAlertV2(GetAlertV2Args args, InvokeOptions options)
fn::invoke:
function: databricks:index/getAlertV2:getAlertV2
arguments:
# arguments dictionary
The following arguments are supported:
- Custom
Description string - (string) - Custom description for the alert. support mustache template
- Custom
Summary string - (string) - Custom summary for the alert. support mustache template
- Display
Name string - (string) - The display name of the alert
- Evaluation
Get
Alert V2Evaluation - (AlertV2Evaluation)
- Parent
Path string - (string) - The workspace path of the folder containing the alert. Can only be set on create, and cannot be updated
- Query
Text string - (string) - Text of the query to be run
- Run
As GetAlert V2Run As - (AlertV2RunAs) - Specifies the identity that will be used to run the alert.
This field allows you to configure alerts to run as a specific user or service principal.
- For user identity: Set
user_name
to the email of an active workspace user. Users can only set this to their own email. - For service principal: Set
service_principal_name
to the application ID. Requires theservicePrincipal/user
role. If not specified, the alert will run as the request user
- For user identity: Set
- Run
As stringUser Name - (string, deprecated) - The run as username or application ID of service principal.
On Create and Update, this field can be set to application ID of an active service principal. Setting this field requires the servicePrincipal/user role.
Deprecated: Use
run_as
field instead. This field will be removed in a future release - Schedule
Get
Alert V2Schedule - (CronSchedule)
- Warehouse
Id string - (string) - ID of the SQL warehouse attached to the alert
- Workspace
Id string - Workspace ID of the resource
- Custom
Description string - (string) - Custom description for the alert. support mustache template
- Custom
Summary string - (string) - Custom summary for the alert. support mustache template
- Display
Name string - (string) - The display name of the alert
- Evaluation
Get
Alert V2Evaluation - (AlertV2Evaluation)
- Parent
Path string - (string) - The workspace path of the folder containing the alert. Can only be set on create, and cannot be updated
- Query
Text string - (string) - Text of the query to be run
- Run
As GetAlert V2Run As - (AlertV2RunAs) - Specifies the identity that will be used to run the alert.
This field allows you to configure alerts to run as a specific user or service principal.
- For user identity: Set
user_name
to the email of an active workspace user. Users can only set this to their own email. - For service principal: Set
service_principal_name
to the application ID. Requires theservicePrincipal/user
role. If not specified, the alert will run as the request user
- For user identity: Set
- Run
As stringUser Name - (string, deprecated) - The run as username or application ID of service principal.
On Create and Update, this field can be set to application ID of an active service principal. Setting this field requires the servicePrincipal/user role.
Deprecated: Use
run_as
field instead. This field will be removed in a future release - Schedule
Get
Alert V2Schedule - (CronSchedule)
- Warehouse
Id string - (string) - ID of the SQL warehouse attached to the alert
- Workspace
Id string - Workspace ID of the resource
- custom
Description String - (string) - Custom description for the alert. support mustache template
- custom
Summary String - (string) - Custom summary for the alert. support mustache template
- display
Name String - (string) - The display name of the alert
- evaluation
Get
Alert V2Evaluation - (AlertV2Evaluation)
- parent
Path String - (string) - The workspace path of the folder containing the alert. Can only be set on create, and cannot be updated
- query
Text String - (string) - Text of the query to be run
- run
As GetAlert V2Run As - (AlertV2RunAs) - Specifies the identity that will be used to run the alert.
This field allows you to configure alerts to run as a specific user or service principal.
- For user identity: Set
user_name
to the email of an active workspace user. Users can only set this to their own email. - For service principal: Set
service_principal_name
to the application ID. Requires theservicePrincipal/user
role. If not specified, the alert will run as the request user
- For user identity: Set
- run
As StringUser Name - (string, deprecated) - The run as username or application ID of service principal.
On Create and Update, this field can be set to application ID of an active service principal. Setting this field requires the servicePrincipal/user role.
Deprecated: Use
run_as
field instead. This field will be removed in a future release - schedule
Get
Alert V2Schedule - (CronSchedule)
- warehouse
Id String - (string) - ID of the SQL warehouse attached to the alert
- workspace
Id String - Workspace ID of the resource
- custom
Description string - (string) - Custom description for the alert. support mustache template
- custom
Summary string - (string) - Custom summary for the alert. support mustache template
- display
Name string - (string) - The display name of the alert
- evaluation
Get
Alert V2Evaluation - (AlertV2Evaluation)
- parent
Path string - (string) - The workspace path of the folder containing the alert. Can only be set on create, and cannot be updated
- query
Text string - (string) - Text of the query to be run
- run
As GetAlert V2Run As - (AlertV2RunAs) - Specifies the identity that will be used to run the alert.
This field allows you to configure alerts to run as a specific user or service principal.
- For user identity: Set
user_name
to the email of an active workspace user. Users can only set this to their own email. - For service principal: Set
service_principal_name
to the application ID. Requires theservicePrincipal/user
role. If not specified, the alert will run as the request user
- For user identity: Set
- run
As stringUser Name - (string, deprecated) - The run as username or application ID of service principal.
On Create and Update, this field can be set to application ID of an active service principal. Setting this field requires the servicePrincipal/user role.
Deprecated: Use
run_as
field instead. This field will be removed in a future release - schedule
Get
Alert V2Schedule - (CronSchedule)
- warehouse
Id string - (string) - ID of the SQL warehouse attached to the alert
- workspace
Id string - Workspace ID of the resource
- custom_
description str - (string) - Custom description for the alert. support mustache template
- custom_
summary str - (string) - Custom summary for the alert. support mustache template
- display_
name str - (string) - The display name of the alert
- evaluation
Get
Alert V2Evaluation - (AlertV2Evaluation)
- parent_
path str - (string) - The workspace path of the folder containing the alert. Can only be set on create, and cannot be updated
- query_
text str - (string) - Text of the query to be run
- run_
as GetAlert V2Run As - (AlertV2RunAs) - Specifies the identity that will be used to run the alert.
This field allows you to configure alerts to run as a specific user or service principal.
- For user identity: Set
user_name
to the email of an active workspace user. Users can only set this to their own email. - For service principal: Set
service_principal_name
to the application ID. Requires theservicePrincipal/user
role. If not specified, the alert will run as the request user
- For user identity: Set
- run_
as_ struser_ name - (string, deprecated) - The run as username or application ID of service principal.
On Create and Update, this field can be set to application ID of an active service principal. Setting this field requires the servicePrincipal/user role.
Deprecated: Use
run_as
field instead. This field will be removed in a future release - schedule
Get
Alert V2Schedule - (CronSchedule)
- warehouse_
id str - (string) - ID of the SQL warehouse attached to the alert
- workspace_
id str - Workspace ID of the resource
- custom
Description String - (string) - Custom description for the alert. support mustache template
- custom
Summary String - (string) - Custom summary for the alert. support mustache template
- display
Name String - (string) - The display name of the alert
- evaluation Property Map
- (AlertV2Evaluation)
- parent
Path String - (string) - The workspace path of the folder containing the alert. Can only be set on create, and cannot be updated
- query
Text String - (string) - Text of the query to be run
- run
As Property Map - (AlertV2RunAs) - Specifies the identity that will be used to run the alert.
This field allows you to configure alerts to run as a specific user or service principal.
- For user identity: Set
user_name
to the email of an active workspace user. Users can only set this to their own email. - For service principal: Set
service_principal_name
to the application ID. Requires theservicePrincipal/user
role. If not specified, the alert will run as the request user
- For user identity: Set
- run
As StringUser Name - (string, deprecated) - The run as username or application ID of service principal.
On Create and Update, this field can be set to application ID of an active service principal. Setting this field requires the servicePrincipal/user role.
Deprecated: Use
run_as
field instead. This field will be removed in a future release - schedule Property Map
- (CronSchedule)
- warehouse
Id String - (string) - ID of the SQL warehouse attached to the alert
- workspace
Id String - Workspace ID of the resource
getAlertV2 Result
The following output properties are available:
- Create
Time string - (string) - The timestamp indicating when the alert was created
- Effective
Run GetAs Alert V2Effective Run As - (AlertV2RunAs) - The actual identity that will be used to execute the alert. This is an output-only field that shows the resolved run-as identity after applying permissions and defaults
- Id string
- (string) - UUID identifying the alert
- 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
- Update
Time string - (string) - The timestamp indicating when the alert was updated
- Custom
Description string - (string) - Custom description for the alert. support mustache template
- Custom
Summary string - (string) - Custom summary for the alert. support mustache template
- Display
Name string - (string) - The display name of the alert
- Evaluation
Get
Alert V2Evaluation - (AlertV2Evaluation)
- Parent
Path string - (string) - The workspace path of the folder containing the alert. Can only be set on create, and cannot be updated
- Query
Text string - (string) - Text of the query to be run
- Run
As GetAlert V2Run As - (AlertV2RunAs) - Specifies the identity that will be used to run the alert.
This field allows you to configure alerts to run as a specific user or service principal.
- For user identity: Set
user_name
to the email of an active workspace user. Users can only set this to their own email. - For service principal: Set
service_principal_name
to the application ID. Requires theservicePrincipal/user
role. If not specified, the alert will run as the request user
- For user identity: Set
- Run
As stringUser Name - (string, deprecated) - The run as username or application ID of service principal.
On Create and Update, this field can be set to application ID of an active service principal. Setting this field requires the servicePrincipal/user role.
Deprecated: Use
run_as
field instead. This field will be removed in a future release - Schedule
Get
Alert V2Schedule - (CronSchedule)
- Warehouse
Id string - (string) - ID of the SQL warehouse attached to the alert
- Workspace
Id string
- Create
Time string - (string) - The timestamp indicating when the alert was created
- Effective
Run GetAs Alert V2Effective Run As - (AlertV2RunAs) - The actual identity that will be used to execute the alert. This is an output-only field that shows the resolved run-as identity after applying permissions and defaults
- Id string
- (string) - UUID identifying the alert
- 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
- Update
Time string - (string) - The timestamp indicating when the alert was updated
- Custom
Description string - (string) - Custom description for the alert. support mustache template
- Custom
Summary string - (string) - Custom summary for the alert. support mustache template
- Display
Name string - (string) - The display name of the alert
- Evaluation
Get
Alert V2Evaluation - (AlertV2Evaluation)
- Parent
Path string - (string) - The workspace path of the folder containing the alert. Can only be set on create, and cannot be updated
- Query
Text string - (string) - Text of the query to be run
- Run
As GetAlert V2Run As - (AlertV2RunAs) - Specifies the identity that will be used to run the alert.
This field allows you to configure alerts to run as a specific user or service principal.
- For user identity: Set
user_name
to the email of an active workspace user. Users can only set this to their own email. - For service principal: Set
service_principal_name
to the application ID. Requires theservicePrincipal/user
role. If not specified, the alert will run as the request user
- For user identity: Set
- Run
As stringUser Name - (string, deprecated) - The run as username or application ID of service principal.
On Create and Update, this field can be set to application ID of an active service principal. Setting this field requires the servicePrincipal/user role.
Deprecated: Use
run_as
field instead. This field will be removed in a future release - Schedule
Get
Alert V2Schedule - (CronSchedule)
- Warehouse
Id string - (string) - ID of the SQL warehouse attached to the alert
- Workspace
Id string
- create
Time String - (string) - The timestamp indicating when the alert was created
- effective
Run GetAs Alert V2Effective Run As - (AlertV2RunAs) - The actual identity that will be used to execute the alert. This is an output-only field that shows the resolved run-as identity after applying permissions and defaults
- id String
- (string) - UUID identifying the alert
- 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
- update
Time String - (string) - The timestamp indicating when the alert was updated
- custom
Description String - (string) - Custom description for the alert. support mustache template
- custom
Summary String - (string) - Custom summary for the alert. support mustache template
- display
Name String - (string) - The display name of the alert
- evaluation
Get
Alert V2Evaluation - (AlertV2Evaluation)
- parent
Path String - (string) - The workspace path of the folder containing the alert. Can only be set on create, and cannot be updated
- query
Text String - (string) - Text of the query to be run
- run
As GetAlert V2Run As - (AlertV2RunAs) - Specifies the identity that will be used to run the alert.
This field allows you to configure alerts to run as a specific user or service principal.
- For user identity: Set
user_name
to the email of an active workspace user. Users can only set this to their own email. - For service principal: Set
service_principal_name
to the application ID. Requires theservicePrincipal/user
role. If not specified, the alert will run as the request user
- For user identity: Set
- run
As StringUser Name - (string, deprecated) - The run as username or application ID of service principal.
On Create and Update, this field can be set to application ID of an active service principal. Setting this field requires the servicePrincipal/user role.
Deprecated: Use
run_as
field instead. This field will be removed in a future release - schedule
Get
Alert V2Schedule - (CronSchedule)
- warehouse
Id String - (string) - ID of the SQL warehouse attached to the alert
- workspace
Id String
- create
Time string - (string) - The timestamp indicating when the alert was created
- effective
Run GetAs Alert V2Effective Run As - (AlertV2RunAs) - The actual identity that will be used to execute the alert. This is an output-only field that shows the resolved run-as identity after applying permissions and defaults
- id string
- (string) - UUID identifying the alert
- 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
- update
Time string - (string) - The timestamp indicating when the alert was updated
- custom
Description string - (string) - Custom description for the alert. support mustache template
- custom
Summary string - (string) - Custom summary for the alert. support mustache template
- display
Name string - (string) - The display name of the alert
- evaluation
Get
Alert V2Evaluation - (AlertV2Evaluation)
- parent
Path string - (string) - The workspace path of the folder containing the alert. Can only be set on create, and cannot be updated
- query
Text string - (string) - Text of the query to be run
- run
As GetAlert V2Run As - (AlertV2RunAs) - Specifies the identity that will be used to run the alert.
This field allows you to configure alerts to run as a specific user or service principal.
- For user identity: Set
user_name
to the email of an active workspace user. Users can only set this to their own email. - For service principal: Set
service_principal_name
to the application ID. Requires theservicePrincipal/user
role. If not specified, the alert will run as the request user
- For user identity: Set
- run
As stringUser Name - (string, deprecated) - The run as username or application ID of service principal.
On Create and Update, this field can be set to application ID of an active service principal. Setting this field requires the servicePrincipal/user role.
Deprecated: Use
run_as
field instead. This field will be removed in a future release - schedule
Get
Alert V2Schedule - (CronSchedule)
- warehouse
Id string - (string) - ID of the SQL warehouse attached to the alert
- workspace
Id string
- create_
time str - (string) - The timestamp indicating when the alert was created
- effective_
run_ Getas Alert V2Effective Run As - (AlertV2RunAs) - The actual identity that will be used to execute the alert. This is an output-only field that shows the resolved run-as identity after applying permissions and defaults
- id str
- (string) - UUID identifying the alert
- 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
- update_
time str - (string) - The timestamp indicating when the alert was updated
- custom_
description str - (string) - Custom description for the alert. support mustache template
- custom_
summary str - (string) - Custom summary for the alert. support mustache template
- display_
name str - (string) - The display name of the alert
- evaluation
Get
Alert V2Evaluation - (AlertV2Evaluation)
- parent_
path str - (string) - The workspace path of the folder containing the alert. Can only be set on create, and cannot be updated
- query_
text str - (string) - Text of the query to be run
- run_
as GetAlert V2Run As - (AlertV2RunAs) - Specifies the identity that will be used to run the alert.
This field allows you to configure alerts to run as a specific user or service principal.
- For user identity: Set
user_name
to the email of an active workspace user. Users can only set this to their own email. - For service principal: Set
service_principal_name
to the application ID. Requires theservicePrincipal/user
role. If not specified, the alert will run as the request user
- For user identity: Set
- run_
as_ struser_ name - (string, deprecated) - The run as username or application ID of service principal.
On Create and Update, this field can be set to application ID of an active service principal. Setting this field requires the servicePrincipal/user role.
Deprecated: Use
run_as
field instead. This field will be removed in a future release - schedule
Get
Alert V2Schedule - (CronSchedule)
- warehouse_
id str - (string) - ID of the SQL warehouse attached to the alert
- workspace_
id str
- create
Time String - (string) - The timestamp indicating when the alert was created
- effective
Run Property MapAs - (AlertV2RunAs) - The actual identity that will be used to execute the alert. This is an output-only field that shows the resolved run-as identity after applying permissions and defaults
- id String
- (string) - UUID identifying the alert
- 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
- update
Time String - (string) - The timestamp indicating when the alert was updated
- custom
Description String - (string) - Custom description for the alert. support mustache template
- custom
Summary String - (string) - Custom summary for the alert. support mustache template
- display
Name String - (string) - The display name of the alert
- evaluation Property Map
- (AlertV2Evaluation)
- parent
Path String - (string) - The workspace path of the folder containing the alert. Can only be set on create, and cannot be updated
- query
Text String - (string) - Text of the query to be run
- run
As Property Map - (AlertV2RunAs) - Specifies the identity that will be used to run the alert.
This field allows you to configure alerts to run as a specific user or service principal.
- For user identity: Set
user_name
to the email of an active workspace user. Users can only set this to their own email. - For service principal: Set
service_principal_name
to the application ID. Requires theservicePrincipal/user
role. If not specified, the alert will run as the request user
- For user identity: Set
- run
As StringUser Name - (string, deprecated) - The run as username or application ID of service principal.
On Create and Update, this field can be set to application ID of an active service principal. Setting this field requires the servicePrincipal/user role.
Deprecated: Use
run_as
field instead. This field will be removed in a future release - schedule Property Map
- (CronSchedule)
- warehouse
Id String - (string) - ID of the SQL warehouse attached to the alert
- workspace
Id String
Supporting Types
GetAlertV2EffectiveRunAs
- Service
Principal stringName - (string) - Application ID of an active service principal. Setting this field requires the
servicePrincipal/user
role - User
Name string - (string) - The email of an active workspace user. Can only set this field to their own email
- Service
Principal stringName - (string) - Application ID of an active service principal. Setting this field requires the
servicePrincipal/user
role - User
Name string - (string) - The email of an active workspace user. Can only set this field to their own email
- service
Principal StringName - (string) - Application ID of an active service principal. Setting this field requires the
servicePrincipal/user
role - user
Name String - (string) - The email of an active workspace user. Can only set this field to their own email
- service
Principal stringName - (string) - Application ID of an active service principal. Setting this field requires the
servicePrincipal/user
role - user
Name string - (string) - The email of an active workspace user. Can only set this field to their own email
- service_
principal_ strname - (string) - Application ID of an active service principal. Setting this field requires the
servicePrincipal/user
role - user_
name str - (string) - The email of an active workspace user. Can only set this field to their own email
- service
Principal StringName - (string) - Application ID of an active service principal. Setting this field requires the
servicePrincipal/user
role - user
Name String - (string) - The email of an active workspace user. Can only set this field to their own email
GetAlertV2Evaluation
- Last
Evaluated stringAt - (string) - Timestamp of the last evaluation
- State string
- (string) - Latest state of alert evaluation. Possible values are:
ERROR
,OK
,TRIGGERED
,UNKNOWN
- Comparison
Operator string - (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 - (string) - Alert state if result is empty. Possible values are:
ERROR
,OK
,TRIGGERED
,UNKNOWN
- Notification
Get
Alert V2Evaluation Notification - (AlertV2Notification) - User or Notification Destination to notify when alert is triggered
- Source
Get
Alert V2Evaluation Source - (AlertV2OperandColumn) - Source column from result to use to evaluate alert
- Threshold
Get
Alert V2Evaluation Threshold - (AlertV2Operand) - Threshold to user for alert evaluation, can be a column or a value
- Last
Evaluated stringAt - (string) - Timestamp of the last evaluation
- State string
- (string) - Latest state of alert evaluation. Possible values are:
ERROR
,OK
,TRIGGERED
,UNKNOWN
- Comparison
Operator string - (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 - (string) - Alert state if result is empty. Possible values are:
ERROR
,OK
,TRIGGERED
,UNKNOWN
- Notification
Get
Alert V2Evaluation Notification - (AlertV2Notification) - User or Notification Destination to notify when alert is triggered
- Source
Get
Alert V2Evaluation Source - (AlertV2OperandColumn) - Source column from result to use to evaluate alert
- Threshold
Get
Alert V2Evaluation Threshold - (AlertV2Operand) - Threshold to user for alert evaluation, can be a column or a value
- last
Evaluated StringAt - (string) - Timestamp of the last evaluation
- state String
- (string) - Latest state of alert evaluation. Possible values are:
ERROR
,OK
,TRIGGERED
,UNKNOWN
- comparison
Operator String - (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 - (string) - Alert state if result is empty. Possible values are:
ERROR
,OK
,TRIGGERED
,UNKNOWN
- notification
Get
Alert V2Evaluation Notification - (AlertV2Notification) - User or Notification Destination to notify when alert is triggered
- source
Get
Alert V2Evaluation Source - (AlertV2OperandColumn) - Source column from result to use to evaluate alert
- threshold
Get
Alert V2Evaluation Threshold - (AlertV2Operand) - Threshold to user for alert evaluation, can be a column or a value
- last
Evaluated stringAt - (string) - Timestamp of the last evaluation
- state string
- (string) - Latest state of alert evaluation. Possible values are:
ERROR
,OK
,TRIGGERED
,UNKNOWN
- comparison
Operator string - (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 - (string) - Alert state if result is empty. Possible values are:
ERROR
,OK
,TRIGGERED
,UNKNOWN
- notification
Get
Alert V2Evaluation Notification - (AlertV2Notification) - User or Notification Destination to notify when alert is triggered
- source
Get
Alert V2Evaluation Source - (AlertV2OperandColumn) - Source column from result to use to evaluate alert
- threshold
Get
Alert V2Evaluation Threshold - (AlertV2Operand) - Threshold to user for alert evaluation, can be a column or a value
- last_
evaluated_ strat - (string) - Timestamp of the last evaluation
- state str
- (string) - Latest state of alert evaluation. Possible values are:
ERROR
,OK
,TRIGGERED
,UNKNOWN
- comparison_
operator str - (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_ strstate - (string) - Alert state if result is empty. Possible values are:
ERROR
,OK
,TRIGGERED
,UNKNOWN
- notification
Get
Alert V2Evaluation Notification - (AlertV2Notification) - User or Notification Destination to notify when alert is triggered
- source
Get
Alert V2Evaluation Source - (AlertV2OperandColumn) - Source column from result to use to evaluate alert
- threshold
Get
Alert V2Evaluation Threshold - (AlertV2Operand) - Threshold to user for alert evaluation, can be a column or a value
- last
Evaluated StringAt - (string) - Timestamp of the last evaluation
- state String
- (string) - Latest state of alert evaluation. Possible values are:
ERROR
,OK
,TRIGGERED
,UNKNOWN
- comparison
Operator String - (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 - (string) - Alert state if result is empty. Possible values are:
ERROR
,OK
,TRIGGERED
,UNKNOWN
- notification Property Map
- (AlertV2Notification) - User or Notification Destination to notify when alert is triggered
- source Property Map
- (AlertV2OperandColumn) - Source column from result to use to evaluate alert
- threshold Property Map
- (AlertV2Operand) - Threshold to user for alert evaluation, can be a column or a value
GetAlertV2EvaluationNotification
- Notify
On boolOk - (boolean) - Whether to notify alert subscribers when alert returns back to normal
- Retrigger
Seconds int - (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<Get
Alert V2Evaluation Notification Subscription> - (list of AlertV2Subscription)
- Notify
On boolOk - (boolean) - Whether to notify alert subscribers when alert returns back to normal
- Retrigger
Seconds int - (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
[]Get
Alert V2Evaluation Notification Subscription - (list of AlertV2Subscription)
- notify
On BooleanOk - (boolean) - Whether to notify alert subscribers when alert returns back to normal
- retrigger
Seconds Integer - (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<Get
Alert V2Evaluation Notification Subscription> - (list of AlertV2Subscription)
- notify
On booleanOk - (boolean) - Whether to notify alert subscribers when alert returns back to normal
- retrigger
Seconds number - (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
Get
Alert V2Evaluation Notification Subscription[] - (list of AlertV2Subscription)
- notify_
on_ boolok - (boolean) - Whether to notify alert subscribers when alert returns back to normal
- retrigger_
seconds int - (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
Sequence[Get
Alert V2Evaluation Notification Subscription] - (list of AlertV2Subscription)
- notify
On BooleanOk - (boolean) - Whether to notify alert subscribers when alert returns back to normal
- retrigger
Seconds Number - (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<Property Map>
- (list of AlertV2Subscription)
GetAlertV2EvaluationNotificationSubscription
- Destination
Id string - (string)
- User
Email string - (string)
- Destination
Id string - (string)
- User
Email string - (string)
- destination
Id String - (string)
- user
Email String - (string)
- destination
Id string - (string)
- user
Email string - (string)
- destination_
id str - (string)
- user_
email str - (string)
- destination
Id String - (string)
- user
Email String - (string)
GetAlertV2EvaluationSource
- Aggregation string
- (string) - . Possible values are:
AVG
,COUNT
,COUNT_DISTINCT
,MAX
,MEDIAN
,MIN
,STDDEV
,SUM
- Display string
- (string)
- Name string
- (string)
- Aggregation string
- (string) - . Possible values are:
AVG
,COUNT
,COUNT_DISTINCT
,MAX
,MEDIAN
,MIN
,STDDEV
,SUM
- Display string
- (string)
- Name string
- (string)
- aggregation String
- (string) - . Possible values are:
AVG
,COUNT
,COUNT_DISTINCT
,MAX
,MEDIAN
,MIN
,STDDEV
,SUM
- display String
- (string)
- name String
- (string)
- aggregation string
- (string) - . Possible values are:
AVG
,COUNT
,COUNT_DISTINCT
,MAX
,MEDIAN
,MIN
,STDDEV
,SUM
- display string
- (string)
- name string
- (string)
- aggregation str
- (string) - . Possible values are:
AVG
,COUNT
,COUNT_DISTINCT
,MAX
,MEDIAN
,MIN
,STDDEV
,SUM
- display str
- (string)
- name str
- (string)
- aggregation String
- (string) - . Possible values are:
AVG
,COUNT
,COUNT_DISTINCT
,MAX
,MEDIAN
,MIN
,STDDEV
,SUM
- display String
- (string)
- name String
- (string)
GetAlertV2EvaluationThreshold
- Column
Get
Alert V2Evaluation Threshold Column - (AlertV2OperandColumn)
- Value
Get
Alert V2Evaluation Threshold Value - (AlertV2OperandValue)
- Column
Get
Alert V2Evaluation Threshold Column - (AlertV2OperandColumn)
- Value
Get
Alert V2Evaluation Threshold Value - (AlertV2OperandValue)
- column
Get
Alert V2Evaluation Threshold Column - (AlertV2OperandColumn)
- value
Get
Alert V2Evaluation Threshold Value - (AlertV2OperandValue)
- column
Get
Alert V2Evaluation Threshold Column - (AlertV2OperandColumn)
- value
Get
Alert V2Evaluation Threshold Value - (AlertV2OperandValue)
- column
Get
Alert V2Evaluation Threshold Column - (AlertV2OperandColumn)
- value
Get
Alert V2Evaluation Threshold Value - (AlertV2OperandValue)
- column Property Map
- (AlertV2OperandColumn)
- value Property Map
- (AlertV2OperandValue)
GetAlertV2EvaluationThresholdColumn
- Aggregation string
- (string) - . Possible values are:
AVG
,COUNT
,COUNT_DISTINCT
,MAX
,MEDIAN
,MIN
,STDDEV
,SUM
- Display string
- (string)
- Name string
- (string)
- Aggregation string
- (string) - . Possible values are:
AVG
,COUNT
,COUNT_DISTINCT
,MAX
,MEDIAN
,MIN
,STDDEV
,SUM
- Display string
- (string)
- Name string
- (string)
- aggregation String
- (string) - . Possible values are:
AVG
,COUNT
,COUNT_DISTINCT
,MAX
,MEDIAN
,MIN
,STDDEV
,SUM
- display String
- (string)
- name String
- (string)
- aggregation string
- (string) - . Possible values are:
AVG
,COUNT
,COUNT_DISTINCT
,MAX
,MEDIAN
,MIN
,STDDEV
,SUM
- display string
- (string)
- name string
- (string)
- aggregation str
- (string) - . Possible values are:
AVG
,COUNT
,COUNT_DISTINCT
,MAX
,MEDIAN
,MIN
,STDDEV
,SUM
- display str
- (string)
- name str
- (string)
- aggregation String
- (string) - . Possible values are:
AVG
,COUNT
,COUNT_DISTINCT
,MAX
,MEDIAN
,MIN
,STDDEV
,SUM
- display String
- (string)
- name String
- (string)
GetAlertV2EvaluationThresholdValue
- Bool
Value bool - (boolean)
- Double
Value double - (number)
- String
Value string - (string)
- Bool
Value bool - (boolean)
- Double
Value float64 - (number)
- String
Value string - (string)
- bool
Value Boolean - (boolean)
- double
Value Double - (number)
- string
Value String - (string)
- bool
Value boolean - (boolean)
- double
Value number - (number)
- string
Value string - (string)
- bool_
value bool - (boolean)
- double_
value float - (number)
- string_
value str - (string)
- bool
Value Boolean - (boolean)
- double
Value Number - (number)
- string
Value String - (string)
GetAlertV2RunAs
- Service
Principal stringName - (string) - Application ID of an active service principal. Setting this field requires the
servicePrincipal/user
role - User
Name string - (string) - The email of an active workspace user. Can only set this field to their own email
- Service
Principal stringName - (string) - Application ID of an active service principal. Setting this field requires the
servicePrincipal/user
role - User
Name string - (string) - The email of an active workspace user. Can only set this field to their own email
- service
Principal StringName - (string) - Application ID of an active service principal. Setting this field requires the
servicePrincipal/user
role - user
Name String - (string) - The email of an active workspace user. Can only set this field to their own email
- service
Principal stringName - (string) - Application ID of an active service principal. Setting this field requires the
servicePrincipal/user
role - user
Name string - (string) - The email of an active workspace user. Can only set this field to their own email
- service_
principal_ strname - (string) - Application ID of an active service principal. Setting this field requires the
servicePrincipal/user
role - user_
name str - (string) - The email of an active workspace user. Can only set this field to their own email
- service
Principal StringName - (string) - Application ID of an active service principal. Setting this field requires the
servicePrincipal/user
role - user
Name String - (string) - The email of an active workspace user. Can only set this field to their own email
GetAlertV2Schedule
- Pause
Status string - (string) - Indicate whether this schedule is paused or not. Possible values are:
PAUSED
,UNPAUSED
- Quartz
Cron stringSchedule - (string) - 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 - (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 - (string) - Indicate whether this schedule is paused or not. Possible values are:
PAUSED
,UNPAUSED
- Quartz
Cron stringSchedule - (string) - 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 - (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 - (string) - Indicate whether this schedule is paused or not. Possible values are:
PAUSED
,UNPAUSED
- quartz
Cron StringSchedule - (string) - 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 - (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 - (string) - Indicate whether this schedule is paused or not. Possible values are:
PAUSED
,UNPAUSED
- quartz
Cron stringSchedule - (string) - 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 - (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 - (string) - Indicate whether this schedule is paused or not. Possible values are:
PAUSED
,UNPAUSED
- quartz_
cron_ strschedule - (string) - 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 - (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 - (string) - Indicate whether this schedule is paused or not. Possible values are:
PAUSED
,UNPAUSED
- quartz
Cron StringSchedule - (string) - 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 - (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.