page_title | subcategory | description |
---|---|---|
snowflake_resource_monitor Resource - terraform-provider-snowflake |
resource snowflake_resource_monitor monitor {
name = "monitor"
credit_quota = 100
frequency = "DAILY"
start_timestamp = "2020-12-07 00:00"
end_timestamp = "2021-12-07 00:00"
notify_triggers = [40]
suspend_triggers = [50]
suspend_immediate_triggers = [90]
}
- name (String, Required) Identifier for the resource monitor; must be unique for your account.
- credit_quota (Number, Optional) The number of credits allocated monthly to the resource monitor.
- end_timestamp (String, Optional) The date and time when the resource monitor suspends the assigned warehouses.
- frequency (String, Optional) The frequency interval at which the credit usage resets to 0. If you set a frequency for a resource monitor, you must also set START_TIMESTAMP.
- id (String, Optional) The ID of this resource.
- notify_triggers (Set of Number, Optional) A list of percentage thresholds at which to send an alert to subscribed users.
- start_timestamp (String, Optional) The date and time when the resource monitor starts monitoring credit usage for the assigned warehouses.
- suspend_immediate_triggers (Set of Number, Optional) A list of percentage thresholds at which to immediately suspend all warehouses.
- suspend_triggers (Set of Number, Optional) A list of percentage thresholds at which to suspend all warehouses.
Import is supported using the following syntax:
terraform import snowflake_resource_monitor.example