-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoct_alaram.yml
31 lines (29 loc) · 1.16 KB
/
oct_alaram.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
- hosts: all
become: yes
collections:
- oracle.oci
tasks:
- name: Create alarm
oci_monitoring_alarm:
display_name: display_name_example
compartment_id: "{{ compartment_id }}"
metric_compartment_id: "{{ compartment_id }}"
namespace: namespace_example
query: query_example
severity: severity_example
destinations: [ "destinations_example" ]
is_enabled: true
metric_compartment_id_in_subtree: true
resource_group: resource_group_example
resolution: resolution_example
pending_duration: pending_duration_example
body: body_example
is_notifications_per_metric_dimension_enabled: true
message_format: RAW
repeat_notification_duration: repeat_notification_duration_example
suppression:
time_suppress_from: time_suppress_from_example
time_suppress_until: time_suppress_until_example
description: description_example
freeform_tags: {'Department': 'Finance'}
defined_tags: {'Operations': {'CostCenter': 'US'}}