pulumi-oci 1.40.0a1718172898__py3-none-any.whl → 1.41.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,453 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import pulumi
8
+ import pulumi.runtime
9
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
10
+ from .. import _utilities
11
+
12
+ __all__ = ['MaskingPolicyHealthReportManagementArgs', 'MaskingPolicyHealthReportManagement']
13
+
14
+ @pulumi.input_type
15
+ class MaskingPolicyHealthReportManagementArgs:
16
+ def __init__(__self__, *,
17
+ compartment_id: Optional[pulumi.Input[str]] = None,
18
+ masking_policy_id: Optional[pulumi.Input[str]] = None,
19
+ target_id: Optional[pulumi.Input[str]] = None):
20
+ """
21
+ The set of arguments for constructing a MaskingPolicyHealthReportManagement resource.
22
+ :param pulumi.Input[str] compartment_id: The OCID of the compartment that contains the masking report.
23
+ :param pulumi.Input[str] masking_policy_id: The OCID of the masking policy.
24
+ :param pulumi.Input[str] target_id: The OCID of the target database masked.
25
+ """
26
+ if compartment_id is not None:
27
+ pulumi.set(__self__, "compartment_id", compartment_id)
28
+ if masking_policy_id is not None:
29
+ pulumi.set(__self__, "masking_policy_id", masking_policy_id)
30
+ if target_id is not None:
31
+ pulumi.set(__self__, "target_id", target_id)
32
+
33
+ @property
34
+ @pulumi.getter(name="compartmentId")
35
+ def compartment_id(self) -> Optional[pulumi.Input[str]]:
36
+ """
37
+ The OCID of the compartment that contains the masking report.
38
+ """
39
+ return pulumi.get(self, "compartment_id")
40
+
41
+ @compartment_id.setter
42
+ def compartment_id(self, value: Optional[pulumi.Input[str]]):
43
+ pulumi.set(self, "compartment_id", value)
44
+
45
+ @property
46
+ @pulumi.getter(name="maskingPolicyId")
47
+ def masking_policy_id(self) -> Optional[pulumi.Input[str]]:
48
+ """
49
+ The OCID of the masking policy.
50
+ """
51
+ return pulumi.get(self, "masking_policy_id")
52
+
53
+ @masking_policy_id.setter
54
+ def masking_policy_id(self, value: Optional[pulumi.Input[str]]):
55
+ pulumi.set(self, "masking_policy_id", value)
56
+
57
+ @property
58
+ @pulumi.getter(name="targetId")
59
+ def target_id(self) -> Optional[pulumi.Input[str]]:
60
+ """
61
+ The OCID of the target database masked.
62
+ """
63
+ return pulumi.get(self, "target_id")
64
+
65
+ @target_id.setter
66
+ def target_id(self, value: Optional[pulumi.Input[str]]):
67
+ pulumi.set(self, "target_id", value)
68
+
69
+
70
+ @pulumi.input_type
71
+ class _MaskingPolicyHealthReportManagementState:
72
+ def __init__(__self__, *,
73
+ compartment_id: Optional[pulumi.Input[str]] = None,
74
+ defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
75
+ description: Optional[pulumi.Input[str]] = None,
76
+ display_name: Optional[pulumi.Input[str]] = None,
77
+ freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
78
+ masking_policy_id: Optional[pulumi.Input[str]] = None,
79
+ state: Optional[pulumi.Input[str]] = None,
80
+ target_id: Optional[pulumi.Input[str]] = None,
81
+ time_created: Optional[pulumi.Input[str]] = None,
82
+ time_updated: Optional[pulumi.Input[str]] = None):
83
+ """
84
+ Input properties used for looking up and filtering MaskingPolicyHealthReportManagement resources.
85
+ :param pulumi.Input[str] compartment_id: The OCID of the compartment that contains the masking report.
86
+ :param pulumi.Input[str] description: Description for the pre-masking report,
87
+ :param pulumi.Input[str] display_name: The display name of the pre-masking report,
88
+ :param pulumi.Input[str] masking_policy_id: The OCID of the masking policy.
89
+ :param pulumi.Input[str] state: The current state of the pre-masking report.
90
+ :param pulumi.Input[str] target_id: The OCID of the target database masked.
91
+ :param pulumi.Input[str] time_created: The date and time the pre-masking report was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339),
92
+ :param pulumi.Input[str] time_updated: The date and time the pre-masking report was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339),
93
+ """
94
+ if compartment_id is not None:
95
+ pulumi.set(__self__, "compartment_id", compartment_id)
96
+ if defined_tags is not None:
97
+ pulumi.set(__self__, "defined_tags", defined_tags)
98
+ if description is not None:
99
+ pulumi.set(__self__, "description", description)
100
+ if display_name is not None:
101
+ pulumi.set(__self__, "display_name", display_name)
102
+ if freeform_tags is not None:
103
+ pulumi.set(__self__, "freeform_tags", freeform_tags)
104
+ if masking_policy_id is not None:
105
+ pulumi.set(__self__, "masking_policy_id", masking_policy_id)
106
+ if state is not None:
107
+ pulumi.set(__self__, "state", state)
108
+ if target_id is not None:
109
+ pulumi.set(__self__, "target_id", target_id)
110
+ if time_created is not None:
111
+ pulumi.set(__self__, "time_created", time_created)
112
+ if time_updated is not None:
113
+ pulumi.set(__self__, "time_updated", time_updated)
114
+
115
+ @property
116
+ @pulumi.getter(name="compartmentId")
117
+ def compartment_id(self) -> Optional[pulumi.Input[str]]:
118
+ """
119
+ The OCID of the compartment that contains the masking report.
120
+ """
121
+ return pulumi.get(self, "compartment_id")
122
+
123
+ @compartment_id.setter
124
+ def compartment_id(self, value: Optional[pulumi.Input[str]]):
125
+ pulumi.set(self, "compartment_id", value)
126
+
127
+ @property
128
+ @pulumi.getter(name="definedTags")
129
+ def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
130
+ return pulumi.get(self, "defined_tags")
131
+
132
+ @defined_tags.setter
133
+ def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
134
+ pulumi.set(self, "defined_tags", value)
135
+
136
+ @property
137
+ @pulumi.getter
138
+ def description(self) -> Optional[pulumi.Input[str]]:
139
+ """
140
+ Description for the pre-masking report,
141
+ """
142
+ return pulumi.get(self, "description")
143
+
144
+ @description.setter
145
+ def description(self, value: Optional[pulumi.Input[str]]):
146
+ pulumi.set(self, "description", value)
147
+
148
+ @property
149
+ @pulumi.getter(name="displayName")
150
+ def display_name(self) -> Optional[pulumi.Input[str]]:
151
+ """
152
+ The display name of the pre-masking report,
153
+ """
154
+ return pulumi.get(self, "display_name")
155
+
156
+ @display_name.setter
157
+ def display_name(self, value: Optional[pulumi.Input[str]]):
158
+ pulumi.set(self, "display_name", value)
159
+
160
+ @property
161
+ @pulumi.getter(name="freeformTags")
162
+ def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
163
+ return pulumi.get(self, "freeform_tags")
164
+
165
+ @freeform_tags.setter
166
+ def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
167
+ pulumi.set(self, "freeform_tags", value)
168
+
169
+ @property
170
+ @pulumi.getter(name="maskingPolicyId")
171
+ def masking_policy_id(self) -> Optional[pulumi.Input[str]]:
172
+ """
173
+ The OCID of the masking policy.
174
+ """
175
+ return pulumi.get(self, "masking_policy_id")
176
+
177
+ @masking_policy_id.setter
178
+ def masking_policy_id(self, value: Optional[pulumi.Input[str]]):
179
+ pulumi.set(self, "masking_policy_id", value)
180
+
181
+ @property
182
+ @pulumi.getter
183
+ def state(self) -> Optional[pulumi.Input[str]]:
184
+ """
185
+ The current state of the pre-masking report.
186
+ """
187
+ return pulumi.get(self, "state")
188
+
189
+ @state.setter
190
+ def state(self, value: Optional[pulumi.Input[str]]):
191
+ pulumi.set(self, "state", value)
192
+
193
+ @property
194
+ @pulumi.getter(name="targetId")
195
+ def target_id(self) -> Optional[pulumi.Input[str]]:
196
+ """
197
+ The OCID of the target database masked.
198
+ """
199
+ return pulumi.get(self, "target_id")
200
+
201
+ @target_id.setter
202
+ def target_id(self, value: Optional[pulumi.Input[str]]):
203
+ pulumi.set(self, "target_id", value)
204
+
205
+ @property
206
+ @pulumi.getter(name="timeCreated")
207
+ def time_created(self) -> Optional[pulumi.Input[str]]:
208
+ """
209
+ The date and time the pre-masking report was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339),
210
+ """
211
+ return pulumi.get(self, "time_created")
212
+
213
+ @time_created.setter
214
+ def time_created(self, value: Optional[pulumi.Input[str]]):
215
+ pulumi.set(self, "time_created", value)
216
+
217
+ @property
218
+ @pulumi.getter(name="timeUpdated")
219
+ def time_updated(self) -> Optional[pulumi.Input[str]]:
220
+ """
221
+ The date and time the pre-masking report was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339),
222
+ """
223
+ return pulumi.get(self, "time_updated")
224
+
225
+ @time_updated.setter
226
+ def time_updated(self, value: Optional[pulumi.Input[str]]):
227
+ pulumi.set(self, "time_updated", value)
228
+
229
+
230
+ class MaskingPolicyHealthReportManagement(pulumi.CustomResource):
231
+ @overload
232
+ def __init__(__self__,
233
+ resource_name: str,
234
+ opts: Optional[pulumi.ResourceOptions] = None,
235
+ compartment_id: Optional[pulumi.Input[str]] = None,
236
+ masking_policy_id: Optional[pulumi.Input[str]] = None,
237
+ target_id: Optional[pulumi.Input[str]] = None,
238
+ __props__=None):
239
+ """
240
+ This resource provides Pre-masking Report Management resource in Oracle Cloud Infrastructure Data Safe service.
241
+
242
+ Gets the details of the specified pre-masking health report.
243
+
244
+ ## Example Usage
245
+
246
+ ```python
247
+ import pulumi
248
+ import pulumi_oci as oci
249
+
250
+ test_pre_masking_report_management = oci.data_safe.MaskingPolicyHealthReportManagement("test_pre_masking_report_management",
251
+ target_id=test_target_database["id"],
252
+ masking_policy_id=test_masking_policy["id"])
253
+ ```
254
+
255
+ ## Import
256
+
257
+ Import is not supported for this resource.
258
+
259
+ :param str resource_name: The name of the resource.
260
+ :param pulumi.ResourceOptions opts: Options for the resource.
261
+ :param pulumi.Input[str] compartment_id: The OCID of the compartment that contains the masking report.
262
+ :param pulumi.Input[str] masking_policy_id: The OCID of the masking policy.
263
+ :param pulumi.Input[str] target_id: The OCID of the target database masked.
264
+ """
265
+ ...
266
+ @overload
267
+ def __init__(__self__,
268
+ resource_name: str,
269
+ args: Optional[MaskingPolicyHealthReportManagementArgs] = None,
270
+ opts: Optional[pulumi.ResourceOptions] = None):
271
+ """
272
+ This resource provides Pre-masking Report Management resource in Oracle Cloud Infrastructure Data Safe service.
273
+
274
+ Gets the details of the specified pre-masking health report.
275
+
276
+ ## Example Usage
277
+
278
+ ```python
279
+ import pulumi
280
+ import pulumi_oci as oci
281
+
282
+ test_pre_masking_report_management = oci.data_safe.MaskingPolicyHealthReportManagement("test_pre_masking_report_management",
283
+ target_id=test_target_database["id"],
284
+ masking_policy_id=test_masking_policy["id"])
285
+ ```
286
+
287
+ ## Import
288
+
289
+ Import is not supported for this resource.
290
+
291
+ :param str resource_name: The name of the resource.
292
+ :param MaskingPolicyHealthReportManagementArgs args: The arguments to use to populate this resource's properties.
293
+ :param pulumi.ResourceOptions opts: Options for the resource.
294
+ """
295
+ ...
296
+ def __init__(__self__, resource_name: str, *args, **kwargs):
297
+ resource_args, opts = _utilities.get_resource_args_opts(MaskingPolicyHealthReportManagementArgs, pulumi.ResourceOptions, *args, **kwargs)
298
+ if resource_args is not None:
299
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
300
+ else:
301
+ __self__._internal_init(resource_name, *args, **kwargs)
302
+
303
+ def _internal_init(__self__,
304
+ resource_name: str,
305
+ opts: Optional[pulumi.ResourceOptions] = None,
306
+ compartment_id: Optional[pulumi.Input[str]] = None,
307
+ masking_policy_id: Optional[pulumi.Input[str]] = None,
308
+ target_id: Optional[pulumi.Input[str]] = None,
309
+ __props__=None):
310
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
311
+ if not isinstance(opts, pulumi.ResourceOptions):
312
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
313
+ if opts.id is None:
314
+ if __props__ is not None:
315
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
316
+ __props__ = MaskingPolicyHealthReportManagementArgs.__new__(MaskingPolicyHealthReportManagementArgs)
317
+
318
+ __props__.__dict__["compartment_id"] = compartment_id
319
+ __props__.__dict__["masking_policy_id"] = masking_policy_id
320
+ __props__.__dict__["target_id"] = target_id
321
+ __props__.__dict__["defined_tags"] = None
322
+ __props__.__dict__["description"] = None
323
+ __props__.__dict__["display_name"] = None
324
+ __props__.__dict__["freeform_tags"] = None
325
+ __props__.__dict__["state"] = None
326
+ __props__.__dict__["time_created"] = None
327
+ __props__.__dict__["time_updated"] = None
328
+ super(MaskingPolicyHealthReportManagement, __self__).__init__(
329
+ 'oci:DataSafe/maskingPolicyHealthReportManagement:MaskingPolicyHealthReportManagement',
330
+ resource_name,
331
+ __props__,
332
+ opts)
333
+
334
+ @staticmethod
335
+ def get(resource_name: str,
336
+ id: pulumi.Input[str],
337
+ opts: Optional[pulumi.ResourceOptions] = None,
338
+ compartment_id: Optional[pulumi.Input[str]] = None,
339
+ defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
340
+ description: Optional[pulumi.Input[str]] = None,
341
+ display_name: Optional[pulumi.Input[str]] = None,
342
+ freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
343
+ masking_policy_id: Optional[pulumi.Input[str]] = None,
344
+ state: Optional[pulumi.Input[str]] = None,
345
+ target_id: Optional[pulumi.Input[str]] = None,
346
+ time_created: Optional[pulumi.Input[str]] = None,
347
+ time_updated: Optional[pulumi.Input[str]] = None) -> 'MaskingPolicyHealthReportManagement':
348
+ """
349
+ Get an existing MaskingPolicyHealthReportManagement resource's state with the given name, id, and optional extra
350
+ properties used to qualify the lookup.
351
+
352
+ :param str resource_name: The unique name of the resulting resource.
353
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
354
+ :param pulumi.ResourceOptions opts: Options for the resource.
355
+ :param pulumi.Input[str] compartment_id: The OCID of the compartment that contains the masking report.
356
+ :param pulumi.Input[str] description: Description for the pre-masking report,
357
+ :param pulumi.Input[str] display_name: The display name of the pre-masking report,
358
+ :param pulumi.Input[str] masking_policy_id: The OCID of the masking policy.
359
+ :param pulumi.Input[str] state: The current state of the pre-masking report.
360
+ :param pulumi.Input[str] target_id: The OCID of the target database masked.
361
+ :param pulumi.Input[str] time_created: The date and time the pre-masking report was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339),
362
+ :param pulumi.Input[str] time_updated: The date and time the pre-masking report was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339),
363
+ """
364
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
365
+
366
+ __props__ = _MaskingPolicyHealthReportManagementState.__new__(_MaskingPolicyHealthReportManagementState)
367
+
368
+ __props__.__dict__["compartment_id"] = compartment_id
369
+ __props__.__dict__["defined_tags"] = defined_tags
370
+ __props__.__dict__["description"] = description
371
+ __props__.__dict__["display_name"] = display_name
372
+ __props__.__dict__["freeform_tags"] = freeform_tags
373
+ __props__.__dict__["masking_policy_id"] = masking_policy_id
374
+ __props__.__dict__["state"] = state
375
+ __props__.__dict__["target_id"] = target_id
376
+ __props__.__dict__["time_created"] = time_created
377
+ __props__.__dict__["time_updated"] = time_updated
378
+ return MaskingPolicyHealthReportManagement(resource_name, opts=opts, __props__=__props__)
379
+
380
+ @property
381
+ @pulumi.getter(name="compartmentId")
382
+ def compartment_id(self) -> pulumi.Output[str]:
383
+ """
384
+ The OCID of the compartment that contains the masking report.
385
+ """
386
+ return pulumi.get(self, "compartment_id")
387
+
388
+ @property
389
+ @pulumi.getter(name="definedTags")
390
+ def defined_tags(self) -> pulumi.Output[Mapping[str, Any]]:
391
+ return pulumi.get(self, "defined_tags")
392
+
393
+ @property
394
+ @pulumi.getter
395
+ def description(self) -> pulumi.Output[str]:
396
+ """
397
+ Description for the pre-masking report,
398
+ """
399
+ return pulumi.get(self, "description")
400
+
401
+ @property
402
+ @pulumi.getter(name="displayName")
403
+ def display_name(self) -> pulumi.Output[str]:
404
+ """
405
+ The display name of the pre-masking report,
406
+ """
407
+ return pulumi.get(self, "display_name")
408
+
409
+ @property
410
+ @pulumi.getter(name="freeformTags")
411
+ def freeform_tags(self) -> pulumi.Output[Mapping[str, Any]]:
412
+ return pulumi.get(self, "freeform_tags")
413
+
414
+ @property
415
+ @pulumi.getter(name="maskingPolicyId")
416
+ def masking_policy_id(self) -> pulumi.Output[str]:
417
+ """
418
+ The OCID of the masking policy.
419
+ """
420
+ return pulumi.get(self, "masking_policy_id")
421
+
422
+ @property
423
+ @pulumi.getter
424
+ def state(self) -> pulumi.Output[str]:
425
+ """
426
+ The current state of the pre-masking report.
427
+ """
428
+ return pulumi.get(self, "state")
429
+
430
+ @property
431
+ @pulumi.getter(name="targetId")
432
+ def target_id(self) -> pulumi.Output[str]:
433
+ """
434
+ The OCID of the target database masked.
435
+ """
436
+ return pulumi.get(self, "target_id")
437
+
438
+ @property
439
+ @pulumi.getter(name="timeCreated")
440
+ def time_created(self) -> pulumi.Output[str]:
441
+ """
442
+ The date and time the pre-masking report was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339),
443
+ """
444
+ return pulumi.get(self, "time_created")
445
+
446
+ @property
447
+ @pulumi.getter(name="timeUpdated")
448
+ def time_updated(self) -> pulumi.Output[str]:
449
+ """
450
+ The date and time the pre-masking report was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339),
451
+ """
452
+ return pulumi.get(self, "time_updated")
453
+
@@ -151,7 +151,7 @@ class Namespace(pulumi.CustomResource):
151
151
  Namespace can be imported using the `compartment_id` and `namespace`, e.g.
152
152
 
153
153
  ```sh
154
- $ pulumi import oci:LogAnalytics/namespace:Namespace test_namespace "compartmentId/<compartment_id>/namespace/<namespace>"
154
+ $ pulumi import oci:LogAnalytics/namespace:Namespace test_namespace "compartmentId/{compartment_id}/namespace/{namespace}"
155
155
  ```
156
156
 
157
157
  :param str resource_name: The name of the resource.
@@ -188,7 +188,7 @@ class Namespace(pulumi.CustomResource):
188
188
  Namespace can be imported using the `compartment_id` and `namespace`, e.g.
189
189
 
190
190
  ```sh
191
- $ pulumi import oci:LogAnalytics/namespace:Namespace test_namespace "compartmentId/<compartment_id>/namespace/<namespace>"
191
+ $ pulumi import oci:LogAnalytics/namespace:Namespace test_namespace "compartmentId/{compartment_id}/namespace/{namespace}"
192
192
  ```
193
193
 
194
194
  :param str resource_name: The name of the resource.
@@ -29,7 +29,7 @@ class AlarmOverrideArgs:
29
29
  rule_name: Optional[pulumi.Input[str]] = None,
30
30
  severity: Optional[pulumi.Input[str]] = None):
31
31
  """
32
- :param pulumi.Input[str] body: (Updatable) The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. Example: `High CPU usage alert. Follow runbook instructions for resolution.`
32
+ :param pulumi.Input[str] body: (Updatable) The human-readable content of the delivered alarm notification. Optionally include [dynamic variables](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. Example: `High CPU usage alert. Follow runbook instructions for resolution.`
33
33
  :param pulumi.Input[str] pending_duration: (Updatable) The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". For example, a value of 5 minutes means that the alarm must persist in breaching the condition for five minutes before the alarm updates its state to "FIRING".
34
34
 
35
35
  The duration is specified as a string in ISO 8601 format (`PT10M` for ten minutes or `PT1H` for one hour). Minimum: PT1M. Maximum: PT1H. Default: PT1M.
@@ -39,7 +39,7 @@ class AlarmOverrideArgs:
39
39
  The alarm updates its status to "OK" when the breaching condition has been clear for the most recent minute.
40
40
 
41
41
  Example: `PT5M`
42
- :param pulumi.Input[str] query: (Updatable) The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature of the Monitoring service interprets results for each returned time series as Boolean values, where zero represents false and a non-zero value represents true. A true value means that the trigger rule condition has been met. The query must specify a metric, statistic, interval, and trigger rule (threshold or absence). Supported values for interval depend on the specified time range. More interval values are supported for smaller time ranges. You can optionally specify dimensions and grouping functions. Supported grouping functions: `grouping()`, `groupBy()`. For information about writing MQL expressions, see [Editing the MQL Expression for a Query](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/query-metric-mql.htm). For details about MQL, see [Monitoring Query Language (MQL) Reference](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Reference/mql.htm). For available dimensions, review the metric definition for the supported service. See [Supported Services](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#SupportedServices).
42
+ :param pulumi.Input[str] query: (Updatable) The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature of the Monitoring service interprets results for each returned time series as Boolean values, where zero represents false and a non-zero value represents true. A true value means that the trigger rule condition has been met. The query must specify a metric, statistic, interval, and trigger rule (threshold or absence). Supported values for interval depend on the specified time range. More interval values are supported for smaller time ranges. You can optionally specify dimensions and grouping functions. Also, you can customize the [absence detection period](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/create-edit-alarm-query-absence-detection-period.htm). Supported grouping functions: `grouping()`, `groupBy()`. For information about writing MQL expressions, see [Editing the MQL Expression for a Query](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/query-metric-mql.htm). For details about MQL, see [Monitoring Query Language (MQL) Reference](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Reference/mql.htm). For available dimensions, review the metric definition for the supported service. See [Supported Services](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#SupportedServices).
43
43
 
44
44
  Example of threshold alarm:
45
45
 
@@ -55,7 +55,9 @@ class AlarmOverrideArgs:
55
55
 
56
56
  CpuUtilization[1m]{availabilityDomain="cumS:PHX-AD-1"}.absent()
57
57
 
58
- -----
58
+ ----- Example of absence alarm with custom absence detection period of 20 hours:
59
+
60
+ ----- CpuUtilization[1m]{availabilityDomain="cumS:PHX-AD-1"}.absent(20h) -----
59
61
  :param pulumi.Input[str] rule_name: (Updatable) A user-friendly description for this alarm override. Must be unique across all `ruleName` values for the alarm.
60
62
  :param pulumi.Input[str] severity: (Updatable) The perceived severity of the alarm with regard to the affected system. Example: `CRITICAL`
61
63
  """
@@ -74,7 +76,7 @@ class AlarmOverrideArgs:
74
76
  @pulumi.getter
75
77
  def body(self) -> Optional[pulumi.Input[str]]:
76
78
  """
77
- (Updatable) The human-readable content of the delivered alarm notification. Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. Example: `High CPU usage alert. Follow runbook instructions for resolution.`
79
+ (Updatable) The human-readable content of the delivered alarm notification. Optionally include [dynamic variables](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. Example: `High CPU usage alert. Follow runbook instructions for resolution.`
78
80
  """
79
81
  return pulumi.get(self, "body")
80
82
 
@@ -106,7 +108,7 @@ class AlarmOverrideArgs:
106
108
  @pulumi.getter
107
109
  def query(self) -> Optional[pulumi.Input[str]]:
108
110
  """
109
- (Updatable) The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature of the Monitoring service interprets results for each returned time series as Boolean values, where zero represents false and a non-zero value represents true. A true value means that the trigger rule condition has been met. The query must specify a metric, statistic, interval, and trigger rule (threshold or absence). Supported values for interval depend on the specified time range. More interval values are supported for smaller time ranges. You can optionally specify dimensions and grouping functions. Supported grouping functions: `grouping()`, `groupBy()`. For information about writing MQL expressions, see [Editing the MQL Expression for a Query](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/query-metric-mql.htm). For details about MQL, see [Monitoring Query Language (MQL) Reference](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Reference/mql.htm). For available dimensions, review the metric definition for the supported service. See [Supported Services](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#SupportedServices).
111
+ (Updatable) The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature of the Monitoring service interprets results for each returned time series as Boolean values, where zero represents false and a non-zero value represents true. A true value means that the trigger rule condition has been met. The query must specify a metric, statistic, interval, and trigger rule (threshold or absence). Supported values for interval depend on the specified time range. More interval values are supported for smaller time ranges. You can optionally specify dimensions and grouping functions. Also, you can customize the [absence detection period](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/create-edit-alarm-query-absence-detection-period.htm). Supported grouping functions: `grouping()`, `groupBy()`. For information about writing MQL expressions, see [Editing the MQL Expression for a Query](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/query-metric-mql.htm). For details about MQL, see [Monitoring Query Language (MQL) Reference](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Reference/mql.htm). For available dimensions, review the metric definition for the supported service. See [Supported Services](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#SupportedServices).
110
112
 
111
113
  Example of threshold alarm:
112
114
 
@@ -122,7 +124,9 @@ class AlarmOverrideArgs:
122
124
 
123
125
  CpuUtilization[1m]{availabilityDomain="cumS:PHX-AD-1"}.absent()
124
126
 
125
- -----
127
+ ----- Example of absence alarm with custom absence detection period of 20 hours:
128
+
129
+ ----- CpuUtilization[1m]{availabilityDomain="cumS:PHX-AD-1"}.absent(20h) -----
126
130
  """
127
131
  return pulumi.get(self, "query")
128
132