|
| 1 | +--- |
| 2 | +# generated by https://github.com/hashicorp/terraform-plugin-docs |
| 3 | +page_title: "atlassian-operations_notification_policy Resource - atlassian-operations" |
| 4 | +subcategory: "" |
| 5 | +description: |- |
| 6 | + |
| 7 | +--- |
| 8 | + |
| 9 | +# atlassian-operations_notification_policy (Resource) |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | +<!-- schema generated by tfplugindocs --> |
| 16 | +## Schema |
| 17 | + |
| 18 | +### Required |
| 19 | + |
| 20 | +- `enabled` (Boolean) Whether the notification policy is enabled |
| 21 | +- `name` (String) The name of the notification policy |
| 22 | +- `team_id` (String) The ID of the team this notification policy belongs to |
| 23 | +- `type` (String) The type of the notification policy. Must be 'notification'. |
| 24 | + |
| 25 | +### Optional |
| 26 | + |
| 27 | +- `auto_close_action` (Attributes) Configuration for automatically closing alerts (see [below for nested schema](#nestedatt--auto_close_action)) |
| 28 | +- `auto_restart_action` (Attributes) Configuration for automatically restarting alerts (see [below for nested schema](#nestedatt--auto_restart_action)) |
| 29 | +- `deduplication_action` (Attributes) Configuration for alert deduplication (see [below for nested schema](#nestedatt--deduplication_action)) |
| 30 | +- `delay_action` (Attributes) Configuration for delaying alert notifications (see [below for nested schema](#nestedatt--delay_action)) |
| 31 | +- `description` (String) The description of the notification policy |
| 32 | +- `filter` (Attributes) The filter configuration for the notification policy (see [below for nested schema](#nestedatt--filter)) |
| 33 | +- `order` (Number) Order of the notification policy |
| 34 | +- `suppress` (Boolean) Whether to suppress notifications for this policy |
| 35 | +- `time_restriction` (Attributes) Time restriction configuration for the notification policy (see [below for nested schema](#nestedatt--time_restriction)) |
| 36 | + |
| 37 | +### Read-Only |
| 38 | + |
| 39 | +- `id` (String) The ID of this resource. |
| 40 | + |
| 41 | +<a id="nestedatt--auto_close_action"></a> |
| 42 | +### Nested Schema for `auto_close_action` |
| 43 | + |
| 44 | +Optional: |
| 45 | + |
| 46 | +- `duration_format` (String) Message to include with the auto-close action. Possible values are 'nanos', 'micros', 'millis', 'seconds', 'minutes', 'hours', 'days' |
| 47 | +- `wait_duration` (Number) Wait Duration amount for the auto-close action |
| 48 | + |
| 49 | + |
| 50 | +<a id="nestedatt--auto_restart_action"></a> |
| 51 | +### Nested Schema for `auto_restart_action` |
| 52 | + |
| 53 | +Required: |
| 54 | + |
| 55 | +- `max_repeat_count` (Number) Maximum number of times to repeat the restart. Must be between 1 and 20. |
| 56 | + |
| 57 | +Optional: |
| 58 | + |
| 59 | +- `duration_format` (String) Message to include with the auto-restart action. Possible values are 'nanos', 'micros', 'millis', 'seconds', 'minutes', 'hours', 'days' |
| 60 | +- `wait_duration` (Number) Wait Duration amount for the auto-restart action |
| 61 | + |
| 62 | + |
| 63 | +<a id="nestedatt--deduplication_action"></a> |
| 64 | +### Nested Schema for `deduplication_action` |
| 65 | + |
| 66 | +Required: |
| 67 | + |
| 68 | +- `deduplication_action_type` (String) The type of deduplication to perform |
| 69 | + |
| 70 | +Optional: |
| 71 | + |
| 72 | +- `count_value_limit` (Number) Number of alerts to trigger deduplication |
| 73 | +- `duration_format` (String) Message to include with the deduplication_action action. Possible values are 'nanos', 'micros', 'millis', 'seconds', 'minutes', 'hours', 'days' |
| 74 | +- `frequency` (Number) Duration in seconds for the deduplication window |
| 75 | +- `wait_duration` (Number) Wait Duration amount for the deduplication_action action |
| 76 | + |
| 77 | + |
| 78 | +<a id="nestedatt--delay_action"></a> |
| 79 | +### Nested Schema for `delay_action` |
| 80 | + |
| 81 | +Required: |
| 82 | + |
| 83 | +- `delay_option` (String) Option for how to apply the delay |
| 84 | +- `delay_time` (Attributes) Duration in seconds to delay the alert (see [below for nested schema](#nestedatt--delay_action--delay_time)) |
| 85 | + |
| 86 | +Optional: |
| 87 | + |
| 88 | +- `duration_format` (String) Message to include with the delay_action action. Possible values are 'nanos', 'micros', 'millis', 'seconds', 'minutes', 'hours', 'days' |
| 89 | +- `wait_duration` (Number) Wait Duration amount for the delay_action action |
| 90 | + |
| 91 | +<a id="nestedatt--delay_action--delay_time"></a> |
| 92 | +### Nested Schema for `delay_action.delay_time` |
| 93 | + |
| 94 | +Required: |
| 95 | + |
| 96 | +- `hours` (Number) Number of hours to delay the alert |
| 97 | +- `minutes` (Number) Number of minutes to delay the alert |
| 98 | + |
| 99 | + |
| 100 | + |
| 101 | +<a id="nestedatt--filter"></a> |
| 102 | +### Nested Schema for `filter` |
| 103 | + |
| 104 | +Required: |
| 105 | + |
| 106 | +- `conditions` (Attributes List) List of filter conditions (see [below for nested schema](#nestedatt--filter--conditions)) |
| 107 | +- `type` (String) The type of the filter |
| 108 | + |
| 109 | +<a id="nestedatt--filter--conditions"></a> |
| 110 | +### Nested Schema for `filter.conditions` |
| 111 | + |
| 112 | +Required: |
| 113 | + |
| 114 | +- `expected_value` (String) The expected value for the condition |
| 115 | +- `field` (String) The field to filter on |
| 116 | +- `operation` (String) The operation to perform |
| 117 | + |
| 118 | +Optional: |
| 119 | + |
| 120 | +- `key` (String) The key to filter on |
| 121 | +- `not` (Boolean) Whether to negate the condition |
| 122 | +- `order` (Number) The order of the condition |
| 123 | + |
| 124 | + |
| 125 | + |
| 126 | +<a id="nestedatt--time_restriction"></a> |
| 127 | +### Nested Schema for `time_restriction` |
| 128 | + |
| 129 | +Required: |
| 130 | + |
| 131 | +- `enabled` (Boolean) Whether time restrictions are enabled |
| 132 | +- `time_restrictions` (Attributes List) List of time restriction periods (see [below for nested schema](#nestedatt--time_restriction--time_restrictions)) |
| 133 | + |
| 134 | +<a id="nestedatt--time_restriction--time_restrictions"></a> |
| 135 | +### Nested Schema for `time_restriction.time_restrictions` |
| 136 | + |
| 137 | +Required: |
| 138 | + |
| 139 | +- `end_hour` (Number) End hour of the restriction period |
| 140 | +- `end_minute` (Number) End minute of the restriction period |
| 141 | +- `start_hour` (Number) Start hour of the restriction period |
| 142 | +- `start_minute` (Number) Start minute of the restriction period |
0 commit comments