pulumi-oci 1.29.0a1711606977__py3-none-any.whl → 1.29.0a1711616250__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.
Files changed (41) hide show
  1. pulumi_oci/__init__.py +8 -0
  2. pulumi_oci/database/autonomous_database.py +155 -14
  3. pulumi_oci/database/get_autonomous_database.py +41 -2
  4. pulumi_oci/database/get_autonomous_databases.py +1 -1
  5. pulumi_oci/database/outputs.py +68 -2
  6. pulumi_oci/databasemanagement/get_managed_my_sql_database.py +111 -6
  7. pulumi_oci/databasemanagement/get_managed_my_sql_database_sql_data.py +32 -4
  8. pulumi_oci/databasemanagement/outputs.py +267 -75
  9. pulumi_oci/dataintegration/__init__.py +3 -0
  10. pulumi_oci/dataintegration/_inputs.py +4504 -0
  11. pulumi_oci/dataintegration/get_workspace_task.py +443 -0
  12. pulumi_oci/dataintegration/get_workspace_tasks.py +254 -0
  13. pulumi_oci/dataintegration/outputs.py +16511 -4723
  14. pulumi_oci/dataintegration/workspace_task.py +1364 -0
  15. pulumi_oci/devops/_inputs.py +18 -2
  16. pulumi_oci/devops/deploy_artifact.py +2 -0
  17. pulumi_oci/devops/deploy_stage.py +141 -0
  18. pulumi_oci/devops/get_deploy_stage.py +40 -1
  19. pulumi_oci/devops/outputs.py +75 -6
  20. pulumi_oci/logging/_inputs.py +2751 -187
  21. pulumi_oci/logging/outputs.py +4981 -768
  22. pulumi_oci/logging/unified_agent_configuration.py +34 -208
  23. pulumi_oci/monitoring/_inputs.py +136 -0
  24. pulumi_oci/monitoring/alarm.py +173 -0
  25. pulumi_oci/monitoring/get_alarm.py +40 -1
  26. pulumi_oci/monitoring/get_alarm_history_collection.py +2 -2
  27. pulumi_oci/monitoring/outputs.py +305 -0
  28. pulumi_oci/networkloadbalancer/_inputs.py +20 -20
  29. pulumi_oci/networkloadbalancer/backend.py +7 -7
  30. pulumi_oci/networkloadbalancer/backend_set.py +11 -11
  31. pulumi_oci/networkloadbalancer/get_backend_set.py +1 -1
  32. pulumi_oci/networkloadbalancer/get_listener.py +1 -1
  33. pulumi_oci/networkloadbalancer/get_network_load_balancer.py +14 -1
  34. pulumi_oci/networkloadbalancer/listener.py +7 -7
  35. pulumi_oci/networkloadbalancer/network_load_balancer.py +56 -7
  36. pulumi_oci/networkloadbalancer/network_load_balancers_backend_sets_unified.py +7 -7
  37. pulumi_oci/networkloadbalancer/outputs.py +41 -34
  38. {pulumi_oci-1.29.0a1711606977.dist-info → pulumi_oci-1.29.0a1711616250.dist-info}/METADATA +1 -1
  39. {pulumi_oci-1.29.0a1711606977.dist-info → pulumi_oci-1.29.0a1711616250.dist-info}/RECORD +41 -38
  40. {pulumi_oci-1.29.0a1711606977.dist-info → pulumi_oci-1.29.0a1711616250.dist-info}/WHEEL +0 -0
  41. {pulumi_oci-1.29.0a1711606977.dist-info → pulumi_oci-1.29.0a1711616250.dist-info}/top_level.txt +0 -0
@@ -11,9 +11,11 @@ from .. import _utilities
11
11
  from . import outputs
12
12
 
13
13
  __all__ = [
14
+ 'AlarmOverride',
14
15
  'AlarmSuppression',
15
16
  'AlarmSuppressionAlarmSuppressionTarget',
16
17
  'GetAlarmHistoryCollectionEntryResult',
18
+ 'GetAlarmOverrideResult',
17
19
  'GetAlarmStatusesAlarmStatusResult',
18
20
  'GetAlarmStatusesAlarmStatusSuppressionResult',
19
21
  'GetAlarmStatusesFilterResult',
@@ -24,6 +26,7 @@ __all__ = [
24
26
  'GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetResult',
25
27
  'GetAlarmSuppressionsFilterResult',
26
28
  'GetAlarmsAlarmResult',
29
+ 'GetAlarmsAlarmOverrideResult',
27
30
  'GetAlarmsAlarmSuppressionResult',
28
31
  'GetAlarmsFilterResult',
29
32
  'GetMetricDataFilterResult',
@@ -33,6 +36,140 @@ __all__ = [
33
36
  'GetMetricsMetricResult',
34
37
  ]
35
38
 
39
+ @pulumi.output_type
40
+ class AlarmOverride(dict):
41
+ @staticmethod
42
+ def __key_warning(key: str):
43
+ suggest = None
44
+ if key == "pendingDuration":
45
+ suggest = "pending_duration"
46
+ elif key == "ruleName":
47
+ suggest = "rule_name"
48
+
49
+ if suggest:
50
+ pulumi.log.warn(f"Key '{key}' not found in AlarmOverride. Access the value via the '{suggest}' property getter instead.")
51
+
52
+ def __getitem__(self, key: str) -> Any:
53
+ AlarmOverride.__key_warning(key)
54
+ return super().__getitem__(key)
55
+
56
+ def get(self, key: str, default = None) -> Any:
57
+ AlarmOverride.__key_warning(key)
58
+ return super().get(key, default)
59
+
60
+ def __init__(__self__, *,
61
+ body: Optional[str] = None,
62
+ pending_duration: Optional[str] = None,
63
+ query: Optional[str] = None,
64
+ rule_name: Optional[str] = None,
65
+ severity: Optional[str] = None):
66
+ """
67
+ :param 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.`
68
+ :param 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".
69
+
70
+ 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.
71
+
72
+ Under the default value of PT1M, the first evaluation that breaches the alarm updates the state to "FIRING".
73
+
74
+ The alarm updates its status to "OK" when the breaching condition has been clear for the most recent minute.
75
+
76
+ Example: `PT5M`
77
+ :param 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).
78
+
79
+ Example of threshold alarm:
80
+
81
+ -----
82
+
83
+ CpuUtilization[1m]{availabilityDomain="cumS:PHX-AD-1"}.groupBy(availabilityDomain).percentile(0.9) > 85
84
+
85
+ -----
86
+
87
+ Example of absence alarm:
88
+
89
+ -----
90
+
91
+ CpuUtilization[1m]{availabilityDomain="cumS:PHX-AD-1"}.absent()
92
+
93
+ -----
94
+ :param str rule_name: (Updatable) Identifier of the alarm's base values for alarm evaluation, for use when the alarm contains overrides. A valid ruleName value starts with an alphabetic character and includes only alphanumeric characters, underscores and square brackets. Minimum number of characters: 3. Default value is `BASE`. For information about alarm overrides, see [AlarmOverride](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/datatypes/AlarmOverride).
95
+ :param str severity: (Updatable) The perceived type of response required when the alarm is in the "FIRING" state. Example: `CRITICAL`
96
+ """
97
+ if body is not None:
98
+ pulumi.set(__self__, "body", body)
99
+ if pending_duration is not None:
100
+ pulumi.set(__self__, "pending_duration", pending_duration)
101
+ if query is not None:
102
+ pulumi.set(__self__, "query", query)
103
+ if rule_name is not None:
104
+ pulumi.set(__self__, "rule_name", rule_name)
105
+ if severity is not None:
106
+ pulumi.set(__self__, "severity", severity)
107
+
108
+ @property
109
+ @pulumi.getter
110
+ def body(self) -> Optional[str]:
111
+ """
112
+ (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.`
113
+ """
114
+ return pulumi.get(self, "body")
115
+
116
+ @property
117
+ @pulumi.getter(name="pendingDuration")
118
+ def pending_duration(self) -> Optional[str]:
119
+ """
120
+ (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".
121
+
122
+ 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.
123
+
124
+ Under the default value of PT1M, the first evaluation that breaches the alarm updates the state to "FIRING".
125
+
126
+ The alarm updates its status to "OK" when the breaching condition has been clear for the most recent minute.
127
+
128
+ Example: `PT5M`
129
+ """
130
+ return pulumi.get(self, "pending_duration")
131
+
132
+ @property
133
+ @pulumi.getter
134
+ def query(self) -> Optional[str]:
135
+ """
136
+ (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).
137
+
138
+ Example of threshold alarm:
139
+
140
+ -----
141
+
142
+ CpuUtilization[1m]{availabilityDomain="cumS:PHX-AD-1"}.groupBy(availabilityDomain).percentile(0.9) > 85
143
+
144
+ -----
145
+
146
+ Example of absence alarm:
147
+
148
+ -----
149
+
150
+ CpuUtilization[1m]{availabilityDomain="cumS:PHX-AD-1"}.absent()
151
+
152
+ -----
153
+ """
154
+ return pulumi.get(self, "query")
155
+
156
+ @property
157
+ @pulumi.getter(name="ruleName")
158
+ def rule_name(self) -> Optional[str]:
159
+ """
160
+ (Updatable) Identifier of the alarm's base values for alarm evaluation, for use when the alarm contains overrides. A valid ruleName value starts with an alphabetic character and includes only alphanumeric characters, underscores and square brackets. Minimum number of characters: 3. Default value is `BASE`. For information about alarm overrides, see [AlarmOverride](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/datatypes/AlarmOverride).
161
+ """
162
+ return pulumi.get(self, "rule_name")
163
+
164
+ @property
165
+ @pulumi.getter
166
+ def severity(self) -> Optional[str]:
167
+ """
168
+ (Updatable) The perceived type of response required when the alarm is in the "FIRING" state. Example: `CRITICAL`
169
+ """
170
+ return pulumi.get(self, "severity")
171
+
172
+
36
173
  @pulumi.output_type
37
174
  class AlarmSuppression(dict):
38
175
  @staticmethod
@@ -197,11 +334,74 @@ class GetAlarmHistoryCollectionEntryResult(dict):
197
334
  return pulumi.get(self, "timestamp_triggered")
198
335
 
199
336
 
337
+ @pulumi.output_type
338
+ class GetAlarmOverrideResult(dict):
339
+ def __init__(__self__, *,
340
+ body: str,
341
+ pending_duration: str,
342
+ query: str,
343
+ rule_name: str,
344
+ severity: str):
345
+ """
346
+ :param str body: 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.`
347
+ :param str pending_duration: 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".
348
+ :param str query: 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).
349
+ :param str rule_name: Identifier of the alarm's base values for alarm evaluation, for use when the alarm contains overrides. A valid ruleName value starts with an alphabetic character and includes only alphanumeric characters, underscores and square brackets. Minimum number of characters: 3. Default value is `BASE`. For information about alarm overrides, see [AlarmOverride](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/datatypes/AlarmOverride).
350
+ :param str severity: The perceived type of response required when the alarm is in the "FIRING" state. Example: `CRITICAL`
351
+ """
352
+ pulumi.set(__self__, "body", body)
353
+ pulumi.set(__self__, "pending_duration", pending_duration)
354
+ pulumi.set(__self__, "query", query)
355
+ pulumi.set(__self__, "rule_name", rule_name)
356
+ pulumi.set(__self__, "severity", severity)
357
+
358
+ @property
359
+ @pulumi.getter
360
+ def body(self) -> str:
361
+ """
362
+ 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.`
363
+ """
364
+ return pulumi.get(self, "body")
365
+
366
+ @property
367
+ @pulumi.getter(name="pendingDuration")
368
+ def pending_duration(self) -> str:
369
+ """
370
+ 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".
371
+ """
372
+ return pulumi.get(self, "pending_duration")
373
+
374
+ @property
375
+ @pulumi.getter
376
+ def query(self) -> str:
377
+ """
378
+ 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).
379
+ """
380
+ return pulumi.get(self, "query")
381
+
382
+ @property
383
+ @pulumi.getter(name="ruleName")
384
+ def rule_name(self) -> str:
385
+ """
386
+ Identifier of the alarm's base values for alarm evaluation, for use when the alarm contains overrides. A valid ruleName value starts with an alphabetic character and includes only alphanumeric characters, underscores and square brackets. Minimum number of characters: 3. Default value is `BASE`. For information about alarm overrides, see [AlarmOverride](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/datatypes/AlarmOverride).
387
+ """
388
+ return pulumi.get(self, "rule_name")
389
+
390
+ @property
391
+ @pulumi.getter
392
+ def severity(self) -> str:
393
+ """
394
+ The perceived type of response required when the alarm is in the "FIRING" state. Example: `CRITICAL`
395
+ """
396
+ return pulumi.get(self, "severity")
397
+
398
+
200
399
  @pulumi.output_type
201
400
  class GetAlarmStatusesAlarmStatusResult(dict):
202
401
  def __init__(__self__, *,
203
402
  display_name: str,
204
403
  id: str,
404
+ rule_name: str,
205
405
  severity: str,
206
406
  status: str,
207
407
  suppressions: Sequence['outputs.GetAlarmStatusesAlarmStatusSuppressionResult'],
@@ -209,6 +409,7 @@ class GetAlarmStatusesAlarmStatusResult(dict):
209
409
  """
210
410
  :param str display_name: A filter to return only resources that match the given display name exactly. Use this filter to list an alarm by name. Alternatively, when you know the alarm OCID, use the GetAlarm operation.
211
411
  :param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm.
412
+ :param str rule_name: Identifier of the alarm's base values for alarm evaluation, for use when the alarm contains overrides. A valid ruleName value starts with an alphabetic character and includes only alphanumeric characters, underscores and square brackets. Minimum number of characters: 3. Default value is `BASE`. For information about alarm overrides, see [AlarmOverride](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/datatypes/AlarmOverride).
212
413
  :param str severity: The perceived type of response required when the alarm is in the "FIRING" state. Example: `CRITICAL`
213
414
  :param str status: The status of the metric stream to use for alarm filtering. For example, set `StatusQueryParam` to "FIRING" to filter results to metric streams of the alarm with that status. Default behaviour is to return alarms irrespective of metric streams' status. Example: `FIRING`
214
415
  :param Sequence['GetAlarmStatusesAlarmStatusSuppressionArgs'] suppressions: The configuration details for suppressing an alarm.
@@ -216,6 +417,7 @@ class GetAlarmStatusesAlarmStatusResult(dict):
216
417
  """
217
418
  pulumi.set(__self__, "display_name", display_name)
218
419
  pulumi.set(__self__, "id", id)
420
+ pulumi.set(__self__, "rule_name", rule_name)
219
421
  pulumi.set(__self__, "severity", severity)
220
422
  pulumi.set(__self__, "status", status)
221
423
  pulumi.set(__self__, "suppressions", suppressions)
@@ -237,6 +439,14 @@ class GetAlarmStatusesAlarmStatusResult(dict):
237
439
  """
238
440
  return pulumi.get(self, "id")
239
441
 
442
+ @property
443
+ @pulumi.getter(name="ruleName")
444
+ def rule_name(self) -> str:
445
+ """
446
+ Identifier of the alarm's base values for alarm evaluation, for use when the alarm contains overrides. A valid ruleName value starts with an alphabetic character and includes only alphanumeric characters, underscores and square brackets. Minimum number of characters: 3. Default value is `BASE`. For information about alarm overrides, see [AlarmOverride](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/datatypes/AlarmOverride).
447
+ """
448
+ return pulumi.get(self, "rule_name")
449
+
240
450
  @property
241
451
  @pulumi.getter
242
452
  def severity(self) -> str:
@@ -640,11 +850,14 @@ class GetAlarmsAlarmResult(dict):
640
850
  metric_compartment_id: str,
641
851
  metric_compartment_id_in_subtree: bool,
642
852
  namespace: str,
853
+ notification_version: str,
854
+ overrides: Sequence['outputs.GetAlarmsAlarmOverrideResult'],
643
855
  pending_duration: str,
644
856
  query: str,
645
857
  repeat_notification_duration: str,
646
858
  resolution: str,
647
859
  resource_group: str,
860
+ rule_name: str,
648
861
  severity: str,
649
862
  state: str,
650
863
  suppressions: Sequence['outputs.GetAlarmsAlarmSuppressionResult'],
@@ -664,11 +877,14 @@ class GetAlarmsAlarmResult(dict):
664
877
  :param str metric_compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the metric being evaluated by the alarm.
665
878
  :param bool metric_compartment_id_in_subtree: When true, the alarm evaluates metrics from all compartments and subcompartments. The parameter can only be set to true when metricCompartmentId is the tenancy OCID (the tenancy is the root compartment). A true value requires the user to have tenancy-level permissions. If this requirement is not met, then the call is rejected. When false, the alarm evaluates metrics from only the compartment specified in metricCompartmentId. Default is false. Example: `true`
666
879
  :param str namespace: The source service or application emitting the metric that is evaluated by the alarm. Example: `oci_computeagent`
880
+ :param str notification_version: The version of the alarm notification to be delivered. Allowed value: `1.X` The value must start with a number (up to four digits), followed by a period and an uppercase X.
881
+ :param Sequence['GetAlarmsAlarmOverrideArgs'] overrides: A set of overrides that control evaluations of the alarm.
667
882
  :param str pending_duration: 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".
668
883
  :param str query: 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).
669
884
  :param str repeat_notification_duration: The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, `PT4H` indicates four hours. Minimum: PT1M. Maximum: P30D.
670
885
  :param str resolution: The time between calculated aggregation windows for the alarm. Supported value: `1m`
671
886
  :param str resource_group: Resource group to match for metric data retrieved by the alarm. A resource group is a custom string that you can match when retrieving custom metrics. Only one resource group can be applied per metric. A valid resourceGroup value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($). Example: `frontend-fleet`
887
+ :param str rule_name: Identifier of the alarm's base values for alarm evaluation, for use when the alarm contains overrides. A valid ruleName value starts with an alphabetic character and includes only alphanumeric characters, underscores and square brackets. Minimum number of characters: 3. Default value is `BASE`. For information about alarm overrides, see [AlarmOverride](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/datatypes/AlarmOverride).
672
888
  :param str severity: The perceived type of response required when the alarm is in the "FIRING" state. Example: `CRITICAL`
673
889
  :param str state: A filter to return only alarms that match the given lifecycle state exactly. When not specified, only alarms in the ACTIVE lifecycle state are listed.
674
890
  :param Sequence['GetAlarmsAlarmSuppressionArgs'] suppressions: The configuration details for suppressing an alarm.
@@ -688,11 +904,14 @@ class GetAlarmsAlarmResult(dict):
688
904
  pulumi.set(__self__, "metric_compartment_id", metric_compartment_id)
689
905
  pulumi.set(__self__, "metric_compartment_id_in_subtree", metric_compartment_id_in_subtree)
690
906
  pulumi.set(__self__, "namespace", namespace)
907
+ pulumi.set(__self__, "notification_version", notification_version)
908
+ pulumi.set(__self__, "overrides", overrides)
691
909
  pulumi.set(__self__, "pending_duration", pending_duration)
692
910
  pulumi.set(__self__, "query", query)
693
911
  pulumi.set(__self__, "repeat_notification_duration", repeat_notification_duration)
694
912
  pulumi.set(__self__, "resolution", resolution)
695
913
  pulumi.set(__self__, "resource_group", resource_group)
914
+ pulumi.set(__self__, "rule_name", rule_name)
696
915
  pulumi.set(__self__, "severity", severity)
697
916
  pulumi.set(__self__, "state", state)
698
917
  pulumi.set(__self__, "suppressions", suppressions)
@@ -803,6 +1022,22 @@ class GetAlarmsAlarmResult(dict):
803
1022
  """
804
1023
  return pulumi.get(self, "namespace")
805
1024
 
1025
+ @property
1026
+ @pulumi.getter(name="notificationVersion")
1027
+ def notification_version(self) -> str:
1028
+ """
1029
+ The version of the alarm notification to be delivered. Allowed value: `1.X` The value must start with a number (up to four digits), followed by a period and an uppercase X.
1030
+ """
1031
+ return pulumi.get(self, "notification_version")
1032
+
1033
+ @property
1034
+ @pulumi.getter
1035
+ def overrides(self) -> Sequence['outputs.GetAlarmsAlarmOverrideResult']:
1036
+ """
1037
+ A set of overrides that control evaluations of the alarm.
1038
+ """
1039
+ return pulumi.get(self, "overrides")
1040
+
806
1041
  @property
807
1042
  @pulumi.getter(name="pendingDuration")
808
1043
  def pending_duration(self) -> str:
@@ -843,6 +1078,14 @@ class GetAlarmsAlarmResult(dict):
843
1078
  """
844
1079
  return pulumi.get(self, "resource_group")
845
1080
 
1081
+ @property
1082
+ @pulumi.getter(name="ruleName")
1083
+ def rule_name(self) -> str:
1084
+ """
1085
+ Identifier of the alarm's base values for alarm evaluation, for use when the alarm contains overrides. A valid ruleName value starts with an alphabetic character and includes only alphanumeric characters, underscores and square brackets. Minimum number of characters: 3. Default value is `BASE`. For information about alarm overrides, see [AlarmOverride](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/datatypes/AlarmOverride).
1086
+ """
1087
+ return pulumi.get(self, "rule_name")
1088
+
846
1089
  @property
847
1090
  @pulumi.getter
848
1091
  def severity(self) -> str:
@@ -884,6 +1127,68 @@ class GetAlarmsAlarmResult(dict):
884
1127
  return pulumi.get(self, "time_updated")
885
1128
 
886
1129
 
1130
+ @pulumi.output_type
1131
+ class GetAlarmsAlarmOverrideResult(dict):
1132
+ def __init__(__self__, *,
1133
+ body: str,
1134
+ pending_duration: str,
1135
+ query: str,
1136
+ rule_name: str,
1137
+ severity: str):
1138
+ """
1139
+ :param str body: 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.`
1140
+ :param str pending_duration: 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".
1141
+ :param str query: 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).
1142
+ :param str rule_name: Identifier of the alarm's base values for alarm evaluation, for use when the alarm contains overrides. A valid ruleName value starts with an alphabetic character and includes only alphanumeric characters, underscores and square brackets. Minimum number of characters: 3. Default value is `BASE`. For information about alarm overrides, see [AlarmOverride](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/datatypes/AlarmOverride).
1143
+ :param str severity: The perceived type of response required when the alarm is in the "FIRING" state. Example: `CRITICAL`
1144
+ """
1145
+ pulumi.set(__self__, "body", body)
1146
+ pulumi.set(__self__, "pending_duration", pending_duration)
1147
+ pulumi.set(__self__, "query", query)
1148
+ pulumi.set(__self__, "rule_name", rule_name)
1149
+ pulumi.set(__self__, "severity", severity)
1150
+
1151
+ @property
1152
+ @pulumi.getter
1153
+ def body(self) -> str:
1154
+ """
1155
+ 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.`
1156
+ """
1157
+ return pulumi.get(self, "body")
1158
+
1159
+ @property
1160
+ @pulumi.getter(name="pendingDuration")
1161
+ def pending_duration(self) -> str:
1162
+ """
1163
+ 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".
1164
+ """
1165
+ return pulumi.get(self, "pending_duration")
1166
+
1167
+ @property
1168
+ @pulumi.getter
1169
+ def query(self) -> str:
1170
+ """
1171
+ 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).
1172
+ """
1173
+ return pulumi.get(self, "query")
1174
+
1175
+ @property
1176
+ @pulumi.getter(name="ruleName")
1177
+ def rule_name(self) -> str:
1178
+ """
1179
+ Identifier of the alarm's base values for alarm evaluation, for use when the alarm contains overrides. A valid ruleName value starts with an alphabetic character and includes only alphanumeric characters, underscores and square brackets. Minimum number of characters: 3. Default value is `BASE`. For information about alarm overrides, see [AlarmOverride](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/datatypes/AlarmOverride).
1180
+ """
1181
+ return pulumi.get(self, "rule_name")
1182
+
1183
+ @property
1184
+ @pulumi.getter
1185
+ def severity(self) -> str:
1186
+ """
1187
+ The perceived type of response required when the alarm is in the "FIRING" state. Example: `CRITICAL`
1188
+ """
1189
+ return pulumi.get(self, "severity")
1190
+
1191
+
887
1192
  @pulumi.output_type
888
1193
  class GetAlarmsAlarmSuppressionResult(dict):
889
1194
  def __init__(__self__, *,
@@ -38,17 +38,17 @@ class BackendSetBackendArgs:
38
38
  weight: Optional[pulumi.Input[int]] = None):
39
39
  """
40
40
  :param pulumi.Input[int] port: (Updatable) The backend server port against which to run the health check. If the port is not specified, then the network load balancer uses the port information from the `Backend` object. The port must be specified if the backend port is 0. Example: `8080`
41
- :param pulumi.Input[str] ip_address: The IP address of the backend server. Example: `10.0.0.3`
42
- :param pulumi.Input[bool] is_backup: Whether the network load balancer should treat this server as a backup unit. If `true`, then the network load balancer forwards no ingress traffic to this backend server unless all other backend servers not marked as "isBackup" fail the health check policy. Example: `false`
43
- :param pulumi.Input[bool] is_drain: Whether the network load balancer should drain this server. Servers marked "isDrain" receive no incoming traffic. Example: `false`
44
- :param pulumi.Input[bool] is_offline: Whether the network load balancer should treat this server as offline. Offline servers receive no incoming traffic. Example: `false`
41
+ :param pulumi.Input[str] ip_address: (Updatable) The IP address of the backend server. Example: `10.0.0.3`
42
+ :param pulumi.Input[bool] is_backup: (Updatable) Whether the network load balancer should treat this server as a backup unit. If `true`, then the network load balancer forwards no ingress traffic to this backend server unless all other backend servers not marked as "isBackup" fail the health check policy. Example: `false`
43
+ :param pulumi.Input[bool] is_drain: (Updatable) Whether the network load balancer should drain this server. Servers marked "isDrain" receive no incoming traffic. Example: `false`
44
+ :param pulumi.Input[bool] is_offline: (Updatable) Whether the network load balancer should treat this server as offline. Offline servers receive no incoming traffic. Example: `false`
45
45
  :param pulumi.Input[str] name: A user-friendly name for the backend set that must be unique and cannot be changed.
46
46
 
47
47
  Valid backend set names include only alphanumeric characters, dashes, and underscores. Backend set names cannot contain spaces. Avoid entering confidential information.
48
48
 
49
49
  Example: `example_backend_set`
50
- :param pulumi.Input[str] target_id: The IP OCID/Instance OCID associated with the backend server. Example: `ocid1.privateip..oc1.<var>&lt;unique_ID&gt;</var>`
51
- :param pulumi.Input[int] weight: The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections as a server weighted '1'. For more information about load balancing policies, see [How Network Load Balancing Policies Work](https://docs.cloud.oracle.com/iaas/Content/Balance/Reference/lbpolicies.htm). Example: `3`
50
+ :param pulumi.Input[str] target_id: (Updatable) The IP OCID/Instance OCID associated with the backend server. Example: `ocid1.privateip..oc1.<var>&lt;unique_ID&gt;</var>`
51
+ :param pulumi.Input[int] weight: (Updatable) The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections as a server weighted '1'. For more information about load balancing policies, see [How Network Load Balancing Policies Work](https://docs.cloud.oracle.com/iaas/Content/NetworkLoadBalancer/introducton.htm#Policies). Example: `3`
52
52
  """
53
53
  pulumi.set(__self__, "port", port)
54
54
  if ip_address is not None:
@@ -82,7 +82,7 @@ class BackendSetBackendArgs:
82
82
  @pulumi.getter(name="ipAddress")
83
83
  def ip_address(self) -> Optional[pulumi.Input[str]]:
84
84
  """
85
- The IP address of the backend server. Example: `10.0.0.3`
85
+ (Updatable) The IP address of the backend server. Example: `10.0.0.3`
86
86
  """
87
87
  return pulumi.get(self, "ip_address")
88
88
 
@@ -94,7 +94,7 @@ class BackendSetBackendArgs:
94
94
  @pulumi.getter(name="isBackup")
95
95
  def is_backup(self) -> Optional[pulumi.Input[bool]]:
96
96
  """
97
- Whether the network load balancer should treat this server as a backup unit. If `true`, then the network load balancer forwards no ingress traffic to this backend server unless all other backend servers not marked as "isBackup" fail the health check policy. Example: `false`
97
+ (Updatable) Whether the network load balancer should treat this server as a backup unit. If `true`, then the network load balancer forwards no ingress traffic to this backend server unless all other backend servers not marked as "isBackup" fail the health check policy. Example: `false`
98
98
  """
99
99
  return pulumi.get(self, "is_backup")
100
100
 
@@ -106,7 +106,7 @@ class BackendSetBackendArgs:
106
106
  @pulumi.getter(name="isDrain")
107
107
  def is_drain(self) -> Optional[pulumi.Input[bool]]:
108
108
  """
109
- Whether the network load balancer should drain this server. Servers marked "isDrain" receive no incoming traffic. Example: `false`
109
+ (Updatable) Whether the network load balancer should drain this server. Servers marked "isDrain" receive no incoming traffic. Example: `false`
110
110
  """
111
111
  return pulumi.get(self, "is_drain")
112
112
 
@@ -118,7 +118,7 @@ class BackendSetBackendArgs:
118
118
  @pulumi.getter(name="isOffline")
119
119
  def is_offline(self) -> Optional[pulumi.Input[bool]]:
120
120
  """
121
- Whether the network load balancer should treat this server as offline. Offline servers receive no incoming traffic. Example: `false`
121
+ (Updatable) Whether the network load balancer should treat this server as offline. Offline servers receive no incoming traffic. Example: `false`
122
122
  """
123
123
  return pulumi.get(self, "is_offline")
124
124
 
@@ -146,7 +146,7 @@ class BackendSetBackendArgs:
146
146
  @pulumi.getter(name="targetId")
147
147
  def target_id(self) -> Optional[pulumi.Input[str]]:
148
148
  """
149
- The IP OCID/Instance OCID associated with the backend server. Example: `ocid1.privateip..oc1.<var>&lt;unique_ID&gt;</var>`
149
+ (Updatable) The IP OCID/Instance OCID associated with the backend server. Example: `ocid1.privateip..oc1.<var>&lt;unique_ID&gt;</var>`
150
150
  """
151
151
  return pulumi.get(self, "target_id")
152
152
 
@@ -158,7 +158,7 @@ class BackendSetBackendArgs:
158
158
  @pulumi.getter
159
159
  def weight(self) -> Optional[pulumi.Input[int]]:
160
160
  """
161
- The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections as a server weighted '1'. For more information about load balancing policies, see [How Network Load Balancing Policies Work](https://docs.cloud.oracle.com/iaas/Content/Balance/Reference/lbpolicies.htm). Example: `3`
161
+ (Updatable) The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections as a server weighted '1'. For more information about load balancing policies, see [How Network Load Balancing Policies Work](https://docs.cloud.oracle.com/iaas/Content/NetworkLoadBalancer/introducton.htm#Policies). Example: `3`
162
162
  """
163
163
  return pulumi.get(self, "weight")
164
164
 
@@ -341,8 +341,8 @@ class NetworkLoadBalancerIpAddressArgs:
341
341
  is_public: Optional[pulumi.Input[bool]] = None,
342
342
  reserved_ips: Optional[pulumi.Input[Sequence[pulumi.Input['NetworkLoadBalancerIpAddressReservedIpArgs']]]] = None):
343
343
  """
344
- :param pulumi.Input[str] ip_address: An IP address. Example: `192.168.0.3`
345
- :param pulumi.Input[str] ip_version: IP version associated with this IP address.
344
+ :param pulumi.Input[str] ip_address: The IP address of the backend server. Example: `10.0.0.3`
345
+ :param pulumi.Input[str] ip_version: IP version associated with the backend set.
346
346
  :param pulumi.Input[bool] is_public: Whether the IP address is public or private.
347
347
  :param pulumi.Input[Sequence[pulumi.Input['NetworkLoadBalancerIpAddressReservedIpArgs']]] reserved_ips: An object representing a reserved IP address to be attached or that is already attached to a network load balancer.
348
348
  """
@@ -359,7 +359,7 @@ class NetworkLoadBalancerIpAddressArgs:
359
359
  @pulumi.getter(name="ipAddress")
360
360
  def ip_address(self) -> Optional[pulumi.Input[str]]:
361
361
  """
362
- An IP address. Example: `192.168.0.3`
362
+ The IP address of the backend server. Example: `10.0.0.3`
363
363
  """
364
364
  return pulumi.get(self, "ip_address")
365
365
 
@@ -371,7 +371,7 @@ class NetworkLoadBalancerIpAddressArgs:
371
371
  @pulumi.getter(name="ipVersion")
372
372
  def ip_version(self) -> Optional[pulumi.Input[str]]:
373
373
  """
374
- IP version associated with this IP address.
374
+ IP version associated with the backend set.
375
375
  """
376
376
  return pulumi.get(self, "ip_version")
377
377
 
@@ -497,7 +497,7 @@ class NetworkLoadBalancersBackendSetsUnifiedBackendArgs:
497
497
  :param pulumi.Input[int] port: (Updatable) The backend server port against which to run the health check. If the port is not specified, then the network load balancer uses the port information from the `Backend` object. The port must be specified if the backend port is 0. Example: `8080`
498
498
  :param pulumi.Input[str] ip_address: (Updatable) The IP address of the backend server. Example: `10.0.0.3`
499
499
  :param pulumi.Input[bool] is_backup: (Updatable) Whether the network load balancer should treat this server as a backup unit. If `true`, then the network load balancer forwards no ingress traffic to this backend server unless all other backend servers not marked as "isBackup" fail the health check policy. Example: `false`
500
- :param pulumi.Input[bool] is_drain: (Updatable) Whether the network load balancer should drain this server. Servers marked "isDrain" receive no incoming traffic. Example: `false`
500
+ :param pulumi.Input[bool] is_drain: (Updatable) Whether the network load balancer should drain this server. Servers marked "isDrain" receive no incoming traffic. Example: `false`
501
501
  :param pulumi.Input[bool] is_offline: (Updatable) Whether the network load balancer should treat this server as offline. Offline servers receive no incoming traffic. Example: `false`
502
502
  :param pulumi.Input[str] name: A user-friendly name for the backend set that must be unique and cannot be changed.
503
503
 
@@ -505,7 +505,7 @@ class NetworkLoadBalancersBackendSetsUnifiedBackendArgs:
505
505
 
506
506
  Example: `example_backend_set`
507
507
  :param pulumi.Input[str] target_id: (Updatable) The IP OCID/Instance OCID associated with the backend server. Example: `ocid1.privateip..oc1.<var>&lt;unique_ID&gt;</var>`
508
- :param pulumi.Input[int] weight: (Updatable) The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections as a server weighted '1'. For more information about load balancing policies, see [How Network Load Balancing Policies Work](https://docs.cloud.oracle.com/iaas/Content/Balance/Reference/lbpolicies.htm). Example: `3`
508
+ :param pulumi.Input[int] weight: (Updatable) The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections as a server weighted '1'. For more information about load balancing policies, see [How Network Load Balancing Policies Work](https://docs.cloud.oracle.com/iaas/Content/NetworkLoadBalancer/introducton.htm#Policies). Example: `3`
509
509
  """
510
510
  pulumi.set(__self__, "port", port)
511
511
  if ip_address is not None:
@@ -563,7 +563,7 @@ class NetworkLoadBalancersBackendSetsUnifiedBackendArgs:
563
563
  @pulumi.getter(name="isDrain")
564
564
  def is_drain(self) -> Optional[pulumi.Input[bool]]:
565
565
  """
566
- (Updatable) Whether the network load balancer should drain this server. Servers marked "isDrain" receive no incoming traffic. Example: `false`
566
+ (Updatable) Whether the network load balancer should drain this server. Servers marked "isDrain" receive no incoming traffic. Example: `false`
567
567
  """
568
568
  return pulumi.get(self, "is_drain")
569
569
 
@@ -615,7 +615,7 @@ class NetworkLoadBalancersBackendSetsUnifiedBackendArgs:
615
615
  @pulumi.getter
616
616
  def weight(self) -> Optional[pulumi.Input[int]]:
617
617
  """
618
- (Updatable) The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections as a server weighted '1'. For more information about load balancing policies, see [How Network Load Balancing Policies Work](https://docs.cloud.oracle.com/iaas/Content/Balance/Reference/lbpolicies.htm). Example: `3`
618
+ (Updatable) The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections as a server weighted '1'. For more information about load balancing policies, see [How Network Load Balancing Policies Work](https://docs.cloud.oracle.com/iaas/Content/NetworkLoadBalancer/introducton.htm#Policies). Example: `3`
619
619
  """
620
620
  return pulumi.get(self, "weight")
621
621