pulumi-oci 1.19.0a1705693078__py3-none-any.whl → 1.20.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.
Files changed (111) hide show
  1. pulumi_oci/__init__.py +59 -0
  2. pulumi_oci/adm/_inputs.py +99 -18
  3. pulumi_oci/adm/get_remediation_run_application_dependency_recommendations.py +23 -3
  4. pulumi_oci/adm/get_vulnerability_audit.py +31 -5
  5. pulumi_oci/adm/get_vulnerability_audit_application_dependency_vulnerabilities.py +43 -6
  6. pulumi_oci/adm/get_vulnerability_audit_application_dependency_vulnerability.py +27 -1
  7. pulumi_oci/adm/get_vulnerability_audits.py +54 -3
  8. pulumi_oci/adm/outputs.py +296 -31
  9. pulumi_oci/adm/remediation_recipe.py +2 -0
  10. pulumi_oci/adm/vulnerability_audit.py +96 -37
  11. pulumi_oci/database/__init__.py +1 -0
  12. pulumi_oci/database/_inputs.py +40 -0
  13. pulumi_oci/database/cloud_vm_cluster.py +22 -1
  14. pulumi_oci/database/get_system_versions.py +173 -0
  15. pulumi_oci/database/outputs.py +88 -0
  16. pulumi_oci/database/vm_cluster.py +22 -1
  17. pulumi_oci/datasafe/__init__.py +22 -0
  18. pulumi_oci/datasafe/_inputs.py +1826 -161
  19. pulumi_oci/datasafe/audit_trail.py +140 -0
  20. pulumi_oci/datasafe/discovery_mod.py +7 -7
  21. pulumi_oci/datasafe/get_audit_trail.py +66 -1
  22. pulumi_oci/datasafe/get_discovery_job.py +1 -1
  23. pulumi_oci/datasafe/get_discovery_jobs_result.py +1 -1
  24. pulumi_oci/datasafe/get_discovery_jobs_results.py +1 -1
  25. pulumi_oci/datasafe/get_masking_policies_masking_column.py +1 -1
  26. pulumi_oci/datasafe/get_masking_policies_masking_columns.py +1 -1
  27. pulumi_oci/datasafe/get_masking_policy.py +1 -1
  28. pulumi_oci/datasafe/get_report.py +1 -1
  29. pulumi_oci/datasafe/get_security_assessment.py +3 -3
  30. pulumi_oci/datasafe/get_security_assessment_comparison.py +5 -5
  31. pulumi_oci/datasafe/get_security_assessment_finding.py +29 -3
  32. pulumi_oci/datasafe/get_security_assessment_finding_analytics.py +276 -0
  33. pulumi_oci/datasafe/get_security_assessment_findings.py +43 -7
  34. pulumi_oci/datasafe/get_security_assessment_findings_change_audit_logs.py +309 -0
  35. pulumi_oci/datasafe/get_security_assessment_security_feature_analytics.py +198 -0
  36. pulumi_oci/datasafe/get_security_assessment_security_features.py +377 -0
  37. pulumi_oci/datasafe/get_security_assessments.py +2 -2
  38. pulumi_oci/datasafe/get_security_policies.py +253 -0
  39. pulumi_oci/datasafe/get_security_policy.py +235 -0
  40. pulumi_oci/datasafe/get_security_policy_deployment.py +261 -0
  41. pulumi_oci/datasafe/get_security_policy_deployment_security_policy_entry_state.py +165 -0
  42. pulumi_oci/datasafe/get_security_policy_deployment_security_policy_entry_states.py +180 -0
  43. pulumi_oci/datasafe/get_security_policy_deployments.py +293 -0
  44. pulumi_oci/datasafe/get_security_policy_report.py +248 -0
  45. pulumi_oci/datasafe/get_security_policy_report_database_table_access_entries.py +158 -0
  46. pulumi_oci/datasafe/get_security_policy_report_database_table_access_entry.py +408 -0
  47. pulumi_oci/datasafe/get_security_policy_report_database_view_access_entries.py +178 -0
  48. pulumi_oci/datasafe/get_security_policy_report_database_view_access_entry.py +382 -0
  49. pulumi_oci/datasafe/get_security_policy_report_role_grant_paths.py +177 -0
  50. pulumi_oci/datasafe/get_security_policy_reports.py +273 -0
  51. pulumi_oci/datasafe/get_sensitive_data_model.py +1 -1
  52. pulumi_oci/datasafe/get_target_database.py +27 -4
  53. pulumi_oci/datasafe/get_target_database_peer_target_database.py +263 -0
  54. pulumi_oci/datasafe/get_target_database_peer_target_databases.py +133 -0
  55. pulumi_oci/datasafe/get_target_databases.py +1 -1
  56. pulumi_oci/datasafe/get_user_assessment.py +5 -5
  57. pulumi_oci/datasafe/get_user_assessment_comparison.py +2 -2
  58. pulumi_oci/datasafe/get_user_assessment_user_access_analytics.py +133 -0
  59. pulumi_oci/datasafe/get_user_assessment_user_analytics.py +2 -2
  60. pulumi_oci/datasafe/get_user_assessment_users.py +42 -2
  61. pulumi_oci/datasafe/get_user_assessments.py +2 -2
  62. pulumi_oci/datasafe/masking_policies_masking_column.py +7 -7
  63. pulumi_oci/datasafe/masking_policy.py +9 -9
  64. pulumi_oci/datasafe/outputs.py +16686 -9777
  65. pulumi_oci/datasafe/report.py +559 -0
  66. pulumi_oci/datasafe/security_assessment.py +12 -12
  67. pulumi_oci/datasafe/sensitive_data_model.py +7 -7
  68. pulumi_oci/datasafe/set_security_assessment_baseline.py +7 -7
  69. pulumi_oci/datasafe/set_user_assessment_baseline.py +7 -7
  70. pulumi_oci/datasafe/target_database.py +146 -25
  71. pulumi_oci/datasafe/target_database_peer_target_database.py +634 -0
  72. pulumi_oci/datasafe/user_assessment.py +20 -20
  73. pulumi_oci/generativeai/__init__.py +18 -0
  74. pulumi_oci/generativeai/_inputs.py +534 -0
  75. pulumi_oci/generativeai/dedicated_ai_cluster.py +808 -0
  76. pulumi_oci/generativeai/endpoint.py +717 -0
  77. pulumi_oci/generativeai/get_dedicated_ai_cluster.py +288 -0
  78. pulumi_oci/generativeai/get_dedicated_ai_clusters.py +183 -0
  79. pulumi_oci/generativeai/get_endpoint.py +275 -0
  80. pulumi_oci/generativeai/get_endpoints.py +183 -0
  81. pulumi_oci/generativeai/get_model.py +353 -0
  82. pulumi_oci/generativeai/get_models.py +220 -0
  83. pulumi_oci/generativeai/model.py +858 -0
  84. pulumi_oci/generativeai/outputs.py +1721 -0
  85. pulumi_oci/marketplace/get_publication.py +14 -1
  86. pulumi_oci/marketplace/outputs.py +11 -0
  87. pulumi_oci/marketplace/publication.py +28 -0
  88. pulumi_oci/monitoring/__init__.py +3 -0
  89. pulumi_oci/monitoring/_inputs.py +82 -4
  90. pulumi_oci/monitoring/alarm.py +15 -15
  91. pulumi_oci/monitoring/alarm_suppression.py +745 -0
  92. pulumi_oci/monitoring/get_alarm.py +5 -5
  93. pulumi_oci/monitoring/get_alarm_history_collection.py +4 -4
  94. pulumi_oci/monitoring/get_alarm_statuses.py +3 -1
  95. pulumi_oci/monitoring/get_alarm_suppression.py +276 -0
  96. pulumi_oci/monitoring/get_alarm_suppressions.py +192 -0
  97. pulumi_oci/monitoring/get_metric_data.py +12 -8
  98. pulumi_oci/monitoring/get_metrics.py +2 -2
  99. pulumi_oci/monitoring/outputs.py +355 -50
  100. pulumi_oci/networkfirewall/_inputs.py +25 -20
  101. pulumi_oci/networkfirewall/outputs.py +40 -30
  102. pulumi_oci/stackmonitoring/__init__.py +3 -0
  103. pulumi_oci/stackmonitoring/_inputs.py +143 -0
  104. pulumi_oci/stackmonitoring/get_process_set.py +236 -0
  105. pulumi_oci/stackmonitoring/get_process_sets.py +156 -0
  106. pulumi_oci/stackmonitoring/outputs.py +422 -0
  107. pulumi_oci/stackmonitoring/process_set.py +548 -0
  108. {pulumi_oci-1.19.0a1705693078.dist-info → pulumi_oci-1.20.0.dist-info}/METADATA +1 -1
  109. {pulumi_oci-1.19.0a1705693078.dist-info → pulumi_oci-1.20.0.dist-info}/RECORD +111 -70
  110. {pulumi_oci-1.19.0a1705693078.dist-info → pulumi_oci-1.20.0.dist-info}/WHEEL +0 -0
  111. {pulumi_oci-1.19.0a1705693078.dist-info → pulumi_oci-1.20.0.dist-info}/top_level.txt +0 -0
@@ -12,11 +12,17 @@ from . import outputs
12
12
 
13
13
  __all__ = [
14
14
  'AlarmSuppression',
15
+ 'AlarmSuppressionAlarmSuppressionTarget',
15
16
  'GetAlarmHistoryCollectionEntryResult',
16
17
  'GetAlarmStatusesAlarmStatusResult',
17
18
  'GetAlarmStatusesAlarmStatusSuppressionResult',
18
19
  'GetAlarmStatusesFilterResult',
19
20
  'GetAlarmSuppressionResult',
21
+ 'GetAlarmSuppressionAlarmSuppressionTargetResult',
22
+ 'GetAlarmSuppressionsAlarmSuppressionCollectionResult',
23
+ 'GetAlarmSuppressionsAlarmSuppressionCollectionItemResult',
24
+ 'GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetResult',
25
+ 'GetAlarmSuppressionsFilterResult',
20
26
  'GetAlarmsAlarmResult',
21
27
  'GetAlarmsAlarmSuppressionResult',
22
28
  'GetAlarmsFilterResult',
@@ -53,8 +59,8 @@ class AlarmSuppression(dict):
53
59
  time_suppress_until: str,
54
60
  description: Optional[str] = None):
55
61
  """
56
- :param str time_suppress_from: (Updatable) The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2019-02-01T01:02:29.600Z`
57
- :param str time_suppress_until: (Updatable) The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2019-02-01T02:02:29.600Z`
62
+ :param str time_suppress_from: (Updatable) The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z`
63
+ :param str time_suppress_until: (Updatable) The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T02:02:29.600Z`
58
64
 
59
65
 
60
66
  ** IMPORTANT **
@@ -74,7 +80,7 @@ class AlarmSuppression(dict):
74
80
  @pulumi.getter(name="timeSuppressFrom")
75
81
  def time_suppress_from(self) -> str:
76
82
  """
77
- (Updatable) The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2019-02-01T01:02:29.600Z`
83
+ (Updatable) The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z`
78
84
  """
79
85
  return pulumi.get(self, "time_suppress_from")
80
86
 
@@ -82,7 +88,7 @@ class AlarmSuppression(dict):
82
88
  @pulumi.getter(name="timeSuppressUntil")
83
89
  def time_suppress_until(self) -> str:
84
90
  """
85
- (Updatable) The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2019-02-01T02:02:29.600Z`
91
+ (Updatable) The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T02:02:29.600Z`
86
92
 
87
93
 
88
94
  ** IMPORTANT **
@@ -103,6 +109,54 @@ class AlarmSuppression(dict):
103
109
  return pulumi.get(self, "description")
104
110
 
105
111
 
112
+ @pulumi.output_type
113
+ class AlarmSuppressionAlarmSuppressionTarget(dict):
114
+ @staticmethod
115
+ def __key_warning(key: str):
116
+ suggest = None
117
+ if key == "alarmId":
118
+ suggest = "alarm_id"
119
+ elif key == "targetType":
120
+ suggest = "target_type"
121
+
122
+ if suggest:
123
+ pulumi.log.warn(f"Key '{key}' not found in AlarmSuppressionAlarmSuppressionTarget. Access the value via the '{suggest}' property getter instead.")
124
+
125
+ def __getitem__(self, key: str) -> Any:
126
+ AlarmSuppressionAlarmSuppressionTarget.__key_warning(key)
127
+ return super().__getitem__(key)
128
+
129
+ def get(self, key: str, default = None) -> Any:
130
+ AlarmSuppressionAlarmSuppressionTarget.__key_warning(key)
131
+ return super().get(key, default)
132
+
133
+ def __init__(__self__, *,
134
+ alarm_id: str,
135
+ target_type: str):
136
+ """
137
+ :param str alarm_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm that is the target of the alarm suppression.
138
+ :param str target_type: The type of the alarm suppression target.
139
+ """
140
+ pulumi.set(__self__, "alarm_id", alarm_id)
141
+ pulumi.set(__self__, "target_type", target_type)
142
+
143
+ @property
144
+ @pulumi.getter(name="alarmId")
145
+ def alarm_id(self) -> str:
146
+ """
147
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm that is the target of the alarm suppression.
148
+ """
149
+ return pulumi.get(self, "alarm_id")
150
+
151
+ @property
152
+ @pulumi.getter(name="targetType")
153
+ def target_type(self) -> str:
154
+ """
155
+ The type of the alarm suppression target.
156
+ """
157
+ return pulumi.get(self, "target_type")
158
+
159
+
106
160
  @pulumi.output_type
107
161
  class GetAlarmHistoryCollectionEntryResult(dict):
108
162
  def __init__(__self__, *,
@@ -111,8 +165,8 @@ class GetAlarmHistoryCollectionEntryResult(dict):
111
165
  timestamp_triggered: str):
112
166
  """
113
167
  :param str summary: Description for this alarm history entry.
114
- :param str timestamp: Timestamp for this alarm history entry. Format defined by RFC3339. Example: `2019-02-01T01:02:29.600Z`
115
- :param str timestamp_triggered: Timestamp for the transition of the alarm state. For example, the time when the alarm transitioned from OK to Firing. Available for state transition entries only. Note: A three-minute lag for this value accounts for any late-arriving metrics. Example: `2019-02-01T0:59:00.789Z`
168
+ :param str timestamp: Timestamp for this alarm history entry. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z`
169
+ :param str timestamp_triggered: Timestamp for the transition of the alarm state. For example, the time when the alarm transitioned from OK to Firing. Available for state transition entries only. Note: A three-minute lag for this value accounts for any late-arriving metrics. Example: `2023-02-01T0:59:00.789Z`
116
170
  """
117
171
  pulumi.set(__self__, "summary", summary)
118
172
  pulumi.set(__self__, "timestamp", timestamp)
@@ -130,7 +184,7 @@ class GetAlarmHistoryCollectionEntryResult(dict):
130
184
  @pulumi.getter
131
185
  def timestamp(self) -> str:
132
186
  """
133
- Timestamp for this alarm history entry. Format defined by RFC3339. Example: `2019-02-01T01:02:29.600Z`
187
+ Timestamp for this alarm history entry. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z`
134
188
  """
135
189
  return pulumi.get(self, "timestamp")
136
190
 
@@ -138,7 +192,7 @@ class GetAlarmHistoryCollectionEntryResult(dict):
138
192
  @pulumi.getter(name="timestampTriggered")
139
193
  def timestamp_triggered(self) -> str:
140
194
  """
141
- Timestamp for the transition of the alarm state. For example, the time when the alarm transitioned from OK to Firing. Available for state transition entries only. Note: A three-minute lag for this value accounts for any late-arriving metrics. Example: `2019-02-01T0:59:00.789Z`
195
+ Timestamp for the transition of the alarm state. For example, the time when the alarm transitioned from OK to Firing. Available for state transition entries only. Note: A three-minute lag for this value accounts for any late-arriving metrics. Example: `2023-02-01T0:59:00.789Z`
142
196
  """
143
197
  return pulumi.get(self, "timestamp_triggered")
144
198
 
@@ -155,10 +209,10 @@ class GetAlarmStatusesAlarmStatusResult(dict):
155
209
  """
156
210
  :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.
157
211
  :param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm.
158
- :param str severity: The configured severity of the alarm. Example: `CRITICAL`
212
+ :param str severity: The perceived type of response required when the alarm is in the "FIRING" state. Example: `CRITICAL`
159
213
  :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`
160
214
  :param Sequence['GetAlarmStatusesAlarmStatusSuppressionArgs'] suppressions: The configuration details for suppressing an alarm.
161
- :param str timestamp_triggered: Timestamp for the transition of the alarm state. For example, the time when the alarm transitioned from OK to Firing. Note: A three-minute lag for this value accounts for any late-arriving metrics. Example: `2019-02-01T01:02:29.600Z`
215
+ :param str timestamp_triggered: Timestamp for the transition of the alarm state. For example, the time when the alarm transitioned from OK to Firing. Note: A three-minute lag for this value accounts for any late-arriving metrics. Example: `2023-02-01T01:02:29.600Z`
162
216
  """
163
217
  pulumi.set(__self__, "display_name", display_name)
164
218
  pulumi.set(__self__, "id", id)
@@ -187,7 +241,7 @@ class GetAlarmStatusesAlarmStatusResult(dict):
187
241
  @pulumi.getter
188
242
  def severity(self) -> str:
189
243
  """
190
- The configured severity of the alarm. Example: `CRITICAL`
244
+ The perceived type of response required when the alarm is in the "FIRING" state. Example: `CRITICAL`
191
245
  """
192
246
  return pulumi.get(self, "severity")
193
247
 
@@ -211,7 +265,7 @@ class GetAlarmStatusesAlarmStatusResult(dict):
211
265
  @pulumi.getter(name="timestampTriggered")
212
266
  def timestamp_triggered(self) -> str:
213
267
  """
214
- Timestamp for the transition of the alarm state. For example, the time when the alarm transitioned from OK to Firing. Note: A three-minute lag for this value accounts for any late-arriving metrics. Example: `2019-02-01T01:02:29.600Z`
268
+ Timestamp for the transition of the alarm state. For example, the time when the alarm transitioned from OK to Firing. Note: A three-minute lag for this value accounts for any late-arriving metrics. Example: `2023-02-01T01:02:29.600Z`
215
269
  """
216
270
  return pulumi.get(self, "timestamp_triggered")
217
271
 
@@ -224,8 +278,8 @@ class GetAlarmStatusesAlarmStatusSuppressionResult(dict):
224
278
  time_suppress_until: str):
225
279
  """
226
280
  :param str description: Human-readable reason for suppressing alarm notifications. It does not have to be unique, and it's changeable. Avoid entering confidential information.
227
- :param str time_suppress_from: The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2019-02-01T01:02:29.600Z`
228
- :param str time_suppress_until: The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2019-02-01T02:02:29.600Z`
281
+ :param str time_suppress_from: The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z`
282
+ :param str time_suppress_until: The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T02:02:29.600Z`
229
283
  """
230
284
  pulumi.set(__self__, "description", description)
231
285
  pulumi.set(__self__, "time_suppress_from", time_suppress_from)
@@ -243,7 +297,7 @@ class GetAlarmStatusesAlarmStatusSuppressionResult(dict):
243
297
  @pulumi.getter(name="timeSuppressFrom")
244
298
  def time_suppress_from(self) -> str:
245
299
  """
246
- The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2019-02-01T01:02:29.600Z`
300
+ The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z`
247
301
  """
248
302
  return pulumi.get(self, "time_suppress_from")
249
303
 
@@ -251,7 +305,7 @@ class GetAlarmStatusesAlarmStatusSuppressionResult(dict):
251
305
  @pulumi.getter(name="timeSuppressUntil")
252
306
  def time_suppress_until(self) -> str:
253
307
  """
254
- The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2019-02-01T02:02:29.600Z`
308
+ The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T02:02:29.600Z`
255
309
  """
256
310
  return pulumi.get(self, "time_suppress_until")
257
311
 
@@ -291,8 +345,8 @@ class GetAlarmSuppressionResult(dict):
291
345
  time_suppress_until: str):
292
346
  """
293
347
  :param str description: Human-readable reason for suppressing alarm notifications. It does not have to be unique, and it's changeable. Avoid entering confidential information.
294
- :param str time_suppress_from: The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2019-02-01T01:02:29.600Z`
295
- :param str time_suppress_until: The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2019-02-01T02:02:29.600Z`
348
+ :param str time_suppress_from: The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z`
349
+ :param str time_suppress_until: The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T02:02:29.600Z`
296
350
  """
297
351
  pulumi.set(__self__, "description", description)
298
352
  pulumi.set(__self__, "time_suppress_from", time_suppress_from)
@@ -310,7 +364,190 @@ class GetAlarmSuppressionResult(dict):
310
364
  @pulumi.getter(name="timeSuppressFrom")
311
365
  def time_suppress_from(self) -> str:
312
366
  """
313
- The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2019-02-01T01:02:29.600Z`
367
+ The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z`
368
+ """
369
+ return pulumi.get(self, "time_suppress_from")
370
+
371
+ @property
372
+ @pulumi.getter(name="timeSuppressUntil")
373
+ def time_suppress_until(self) -> str:
374
+ """
375
+ The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T02:02:29.600Z`
376
+ """
377
+ return pulumi.get(self, "time_suppress_until")
378
+
379
+
380
+ @pulumi.output_type
381
+ class GetAlarmSuppressionAlarmSuppressionTargetResult(dict):
382
+ def __init__(__self__, *,
383
+ alarm_id: str,
384
+ target_type: str):
385
+ """
386
+ :param str alarm_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm that is the target of the alarm suppression.
387
+ :param str target_type: The type of the alarm suppression target.
388
+ """
389
+ pulumi.set(__self__, "alarm_id", alarm_id)
390
+ pulumi.set(__self__, "target_type", target_type)
391
+
392
+ @property
393
+ @pulumi.getter(name="alarmId")
394
+ def alarm_id(self) -> str:
395
+ """
396
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm that is the target of the alarm suppression.
397
+ """
398
+ return pulumi.get(self, "alarm_id")
399
+
400
+ @property
401
+ @pulumi.getter(name="targetType")
402
+ def target_type(self) -> str:
403
+ """
404
+ The type of the alarm suppression target.
405
+ """
406
+ return pulumi.get(self, "target_type")
407
+
408
+
409
+ @pulumi.output_type
410
+ class GetAlarmSuppressionsAlarmSuppressionCollectionResult(dict):
411
+ def __init__(__self__, *,
412
+ items: Sequence['outputs.GetAlarmSuppressionsAlarmSuppressionCollectionItemResult']):
413
+ pulumi.set(__self__, "items", items)
414
+
415
+ @property
416
+ @pulumi.getter
417
+ def items(self) -> Sequence['outputs.GetAlarmSuppressionsAlarmSuppressionCollectionItemResult']:
418
+ return pulumi.get(self, "items")
419
+
420
+
421
+ @pulumi.output_type
422
+ class GetAlarmSuppressionsAlarmSuppressionCollectionItemResult(dict):
423
+ def __init__(__self__, *,
424
+ alarm_suppression_targets: Sequence['outputs.GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetResult'],
425
+ compartment_id: str,
426
+ defined_tags: Mapping[str, Any],
427
+ description: str,
428
+ dimensions: Mapping[str, Any],
429
+ display_name: str,
430
+ freeform_tags: Mapping[str, Any],
431
+ id: str,
432
+ state: str,
433
+ time_created: str,
434
+ time_suppress_from: str,
435
+ time_suppress_until: str,
436
+ time_updated: str):
437
+ """
438
+ :param Sequence['GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArgs'] alarm_suppression_targets: The target of the alarm suppression.
439
+ :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the alarm suppression.
440
+ :param Mapping[str, Any] defined_tags: Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"Operations.CostCenter": "42"}`
441
+ :param str description: Human-readable reason for this alarm suppression. It does not have to be unique, and it's changeable. Avoid entering confidential information.
442
+ :param Mapping[str, Any] dimensions: Configured dimension filter for suppressing alarm state entries that include the set of specified dimension key-value pairs. Example: `{"resourceId": "instance.region1.phx.exampleuniqueID"}`
443
+ :param str display_name: A filter to return only resources that match the given display name exactly. Use this filter to list a alarm suppression by name. Alternatively, when you know the alarm suppression OCID, use the GetAlarmSuppression operation.
444
+ :param Mapping[str, Any] freeform_tags: Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"Department": "Finance"}`
445
+ :param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm suppression.
446
+ :param str state: A filter to return only resources that match the given lifecycle state exactly. When not specified, only resources in the ACTIVE lifecycle state are listed.
447
+ :param str time_created: The date and time the alarm suppression was created. Format defined by RFC3339. Example: `2018-02-01T01:02:29.600Z`
448
+ :param str time_suppress_from: The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2018-02-01T01:02:29.600Z`
449
+ :param str time_suppress_until: The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2018-02-01T02:02:29.600Z`
450
+ :param str time_updated: The date and time the alarm suppression was last updated (deleted). Format defined by RFC3339. Example: `2018-02-03T01:02:29.600Z`
451
+ """
452
+ pulumi.set(__self__, "alarm_suppression_targets", alarm_suppression_targets)
453
+ pulumi.set(__self__, "compartment_id", compartment_id)
454
+ pulumi.set(__self__, "defined_tags", defined_tags)
455
+ pulumi.set(__self__, "description", description)
456
+ pulumi.set(__self__, "dimensions", dimensions)
457
+ pulumi.set(__self__, "display_name", display_name)
458
+ pulumi.set(__self__, "freeform_tags", freeform_tags)
459
+ pulumi.set(__self__, "id", id)
460
+ pulumi.set(__self__, "state", state)
461
+ pulumi.set(__self__, "time_created", time_created)
462
+ pulumi.set(__self__, "time_suppress_from", time_suppress_from)
463
+ pulumi.set(__self__, "time_suppress_until", time_suppress_until)
464
+ pulumi.set(__self__, "time_updated", time_updated)
465
+
466
+ @property
467
+ @pulumi.getter(name="alarmSuppressionTargets")
468
+ def alarm_suppression_targets(self) -> Sequence['outputs.GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetResult']:
469
+ """
470
+ The target of the alarm suppression.
471
+ """
472
+ return pulumi.get(self, "alarm_suppression_targets")
473
+
474
+ @property
475
+ @pulumi.getter(name="compartmentId")
476
+ def compartment_id(self) -> str:
477
+ """
478
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the alarm suppression.
479
+ """
480
+ return pulumi.get(self, "compartment_id")
481
+
482
+ @property
483
+ @pulumi.getter(name="definedTags")
484
+ def defined_tags(self) -> Mapping[str, Any]:
485
+ """
486
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"Operations.CostCenter": "42"}`
487
+ """
488
+ return pulumi.get(self, "defined_tags")
489
+
490
+ @property
491
+ @pulumi.getter
492
+ def description(self) -> str:
493
+ """
494
+ Human-readable reason for this alarm suppression. It does not have to be unique, and it's changeable. Avoid entering confidential information.
495
+ """
496
+ return pulumi.get(self, "description")
497
+
498
+ @property
499
+ @pulumi.getter
500
+ def dimensions(self) -> Mapping[str, Any]:
501
+ """
502
+ Configured dimension filter for suppressing alarm state entries that include the set of specified dimension key-value pairs. Example: `{"resourceId": "instance.region1.phx.exampleuniqueID"}`
503
+ """
504
+ return pulumi.get(self, "dimensions")
505
+
506
+ @property
507
+ @pulumi.getter(name="displayName")
508
+ def display_name(self) -> str:
509
+ """
510
+ A filter to return only resources that match the given display name exactly. Use this filter to list a alarm suppression by name. Alternatively, when you know the alarm suppression OCID, use the GetAlarmSuppression operation.
511
+ """
512
+ return pulumi.get(self, "display_name")
513
+
514
+ @property
515
+ @pulumi.getter(name="freeformTags")
516
+ def freeform_tags(self) -> Mapping[str, Any]:
517
+ """
518
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"Department": "Finance"}`
519
+ """
520
+ return pulumi.get(self, "freeform_tags")
521
+
522
+ @property
523
+ @pulumi.getter
524
+ def id(self) -> str:
525
+ """
526
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm suppression.
527
+ """
528
+ return pulumi.get(self, "id")
529
+
530
+ @property
531
+ @pulumi.getter
532
+ def state(self) -> str:
533
+ """
534
+ A filter to return only resources that match the given lifecycle state exactly. When not specified, only resources in the ACTIVE lifecycle state are listed.
535
+ """
536
+ return pulumi.get(self, "state")
537
+
538
+ @property
539
+ @pulumi.getter(name="timeCreated")
540
+ def time_created(self) -> str:
541
+ """
542
+ The date and time the alarm suppression was created. Format defined by RFC3339. Example: `2018-02-01T01:02:29.600Z`
543
+ """
544
+ return pulumi.get(self, "time_created")
545
+
546
+ @property
547
+ @pulumi.getter(name="timeSuppressFrom")
548
+ def time_suppress_from(self) -> str:
549
+ """
550
+ The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2018-02-01T01:02:29.600Z`
314
551
  """
315
552
  return pulumi.get(self, "time_suppress_from")
316
553
 
@@ -318,10 +555,74 @@ class GetAlarmSuppressionResult(dict):
318
555
  @pulumi.getter(name="timeSuppressUntil")
319
556
  def time_suppress_until(self) -> str:
320
557
  """
321
- The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2019-02-01T02:02:29.600Z`
558
+ The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2018-02-01T02:02:29.600Z`
322
559
  """
323
560
  return pulumi.get(self, "time_suppress_until")
324
561
 
562
+ @property
563
+ @pulumi.getter(name="timeUpdated")
564
+ def time_updated(self) -> str:
565
+ """
566
+ The date and time the alarm suppression was last updated (deleted). Format defined by RFC3339. Example: `2018-02-03T01:02:29.600Z`
567
+ """
568
+ return pulumi.get(self, "time_updated")
569
+
570
+
571
+ @pulumi.output_type
572
+ class GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetResult(dict):
573
+ def __init__(__self__, *,
574
+ alarm_id: str,
575
+ target_type: str):
576
+ """
577
+ :param str alarm_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm that is the target of the alarm suppression.
578
+ :param str target_type: The type of the alarm suppression target.
579
+ """
580
+ pulumi.set(__self__, "alarm_id", alarm_id)
581
+ pulumi.set(__self__, "target_type", target_type)
582
+
583
+ @property
584
+ @pulumi.getter(name="alarmId")
585
+ def alarm_id(self) -> str:
586
+ """
587
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm that is the target of the alarm suppression.
588
+ """
589
+ return pulumi.get(self, "alarm_id")
590
+
591
+ @property
592
+ @pulumi.getter(name="targetType")
593
+ def target_type(self) -> str:
594
+ """
595
+ The type of the alarm suppression target.
596
+ """
597
+ return pulumi.get(self, "target_type")
598
+
599
+
600
+ @pulumi.output_type
601
+ class GetAlarmSuppressionsFilterResult(dict):
602
+ def __init__(__self__, *,
603
+ name: str,
604
+ values: Sequence[str],
605
+ regex: Optional[bool] = None):
606
+ pulumi.set(__self__, "name", name)
607
+ pulumi.set(__self__, "values", values)
608
+ if regex is not None:
609
+ pulumi.set(__self__, "regex", regex)
610
+
611
+ @property
612
+ @pulumi.getter
613
+ def name(self) -> str:
614
+ return pulumi.get(self, "name")
615
+
616
+ @property
617
+ @pulumi.getter
618
+ def values(self) -> Sequence[str]:
619
+ return pulumi.get(self, "values")
620
+
621
+ @property
622
+ @pulumi.getter
623
+ def regex(self) -> Optional[bool]:
624
+ return pulumi.get(self, "regex")
625
+
325
626
 
326
627
  @pulumi.output_type
327
628
  class GetAlarmsAlarmResult(dict):
@@ -350,15 +651,15 @@ class GetAlarmsAlarmResult(dict):
350
651
  time_created: str,
351
652
  time_updated: str):
352
653
  """
353
- :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. Example: `High CPU usage alert. Follow runbook instructions for resolution.`
654
+ :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.`
354
655
  :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the resources monitored by the metric that you are searching for. Use tenancyId to search in the root compartment. Example: `ocid1.compartment.oc1..exampleuniqueID`
355
656
  :param Mapping[str, Any] defined_tags: Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"Operations.CostCenter": "42"}`
356
- :param Sequence[str] destinations: A list of destinations for alarm notifications. Each destination is represented by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a related resource, such as a [topic](https://docs.cloud.oracle.com/iaas/api/#/en/notification/latest/NotificationTopic). Supported destination services: Notifications , Streaming. Limit: One destination per supported destination service.
657
+ :param Sequence[str] destinations: A list of destinations for alarm notifications. Each destination is represented by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a related resource, such as a [topic](https://docs.cloud.oracle.com/iaas/api/#/en/notification/latest/NotificationTopic). Supported destination services: Notifications, Streaming. Limit: One destination per supported destination service.
357
658
  :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.
358
659
  :param Mapping[str, Any] freeform_tags: Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"Department": "Finance"}`
359
660
  :param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm.
360
661
  :param bool is_enabled: Whether the alarm is enabled. Example: `true`
361
- :param bool is_notifications_per_metric_dimension_enabled: When set to `true`, splits alarm notifications per metric stream. When set to `false`, groups alarm notifications across metric streams.
662
+ :param bool is_notifications_per_metric_dimension_enabled: Whether the alarm sends a separate message for each metric stream. See [Creating an Alarm That Splits Messages by Metric Stream](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/create-alarm-split.htm). Example: `true`
362
663
  :param str message_format: The format to use for alarm notifications. The formats are:
363
664
  :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.
364
665
  :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`
@@ -371,8 +672,8 @@ class GetAlarmsAlarmResult(dict):
371
672
  :param str severity: The perceived type of response required when the alarm is in the "FIRING" state. Example: `CRITICAL`
372
673
  :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.
373
674
  :param Sequence['GetAlarmsAlarmSuppressionArgs'] suppressions: The configuration details for suppressing an alarm.
374
- :param str time_created: The date and time the alarm was created. Format defined by RFC3339. Example: `2019-02-01T01:02:29.600Z`
375
- :param str time_updated: The date and time the alarm was last updated. Format defined by RFC3339. Example: `2019-02-03T01:02:29.600Z`
675
+ :param str time_created: The date and time the alarm was created. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z`
676
+ :param str time_updated: The date and time the alarm was last updated. Format defined by RFC3339. Example: `2023-02-03T01:02:29.600Z`
376
677
  """
377
678
  pulumi.set(__self__, "body", body)
378
679
  pulumi.set(__self__, "compartment_id", compartment_id)
@@ -402,7 +703,7 @@ class GetAlarmsAlarmResult(dict):
402
703
  @pulumi.getter
403
704
  def body(self) -> str:
404
705
  """
405
- 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. Example: `High CPU usage alert. Follow runbook instructions for resolution.`
706
+ 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.`
406
707
  """
407
708
  return pulumi.get(self, "body")
408
709
 
@@ -426,7 +727,7 @@ class GetAlarmsAlarmResult(dict):
426
727
  @pulumi.getter
427
728
  def destinations(self) -> Sequence[str]:
428
729
  """
429
- A list of destinations for alarm notifications. Each destination is represented by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a related resource, such as a [topic](https://docs.cloud.oracle.com/iaas/api/#/en/notification/latest/NotificationTopic). Supported destination services: Notifications , Streaming. Limit: One destination per supported destination service.
730
+ A list of destinations for alarm notifications. Each destination is represented by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a related resource, such as a [topic](https://docs.cloud.oracle.com/iaas/api/#/en/notification/latest/NotificationTopic). Supported destination services: Notifications, Streaming. Limit: One destination per supported destination service.
430
731
  """
431
732
  return pulumi.get(self, "destinations")
432
733
 
@@ -466,7 +767,7 @@ class GetAlarmsAlarmResult(dict):
466
767
  @pulumi.getter(name="isNotificationsPerMetricDimensionEnabled")
467
768
  def is_notifications_per_metric_dimension_enabled(self) -> bool:
468
769
  """
469
- When set to `true`, splits alarm notifications per metric stream. When set to `false`, groups alarm notifications across metric streams.
770
+ Whether the alarm sends a separate message for each metric stream. See [Creating an Alarm That Splits Messages by Metric Stream](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/create-alarm-split.htm). Example: `true`
470
771
  """
471
772
  return pulumi.get(self, "is_notifications_per_metric_dimension_enabled")
472
773
 
@@ -570,7 +871,7 @@ class GetAlarmsAlarmResult(dict):
570
871
  @pulumi.getter(name="timeCreated")
571
872
  def time_created(self) -> str:
572
873
  """
573
- The date and time the alarm was created. Format defined by RFC3339. Example: `2019-02-01T01:02:29.600Z`
874
+ The date and time the alarm was created. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z`
574
875
  """
575
876
  return pulumi.get(self, "time_created")
576
877
 
@@ -578,7 +879,7 @@ class GetAlarmsAlarmResult(dict):
578
879
  @pulumi.getter(name="timeUpdated")
579
880
  def time_updated(self) -> str:
580
881
  """
581
- The date and time the alarm was last updated. Format defined by RFC3339. Example: `2019-02-03T01:02:29.600Z`
882
+ The date and time the alarm was last updated. Format defined by RFC3339. Example: `2023-02-03T01:02:29.600Z`
582
883
  """
583
884
  return pulumi.get(self, "time_updated")
584
885
 
@@ -591,8 +892,8 @@ class GetAlarmsAlarmSuppressionResult(dict):
591
892
  time_suppress_until: str):
592
893
  """
593
894
  :param str description: Human-readable reason for suppressing alarm notifications. It does not have to be unique, and it's changeable. Avoid entering confidential information.
594
- :param str time_suppress_from: The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2019-02-01T01:02:29.600Z`
595
- :param str time_suppress_until: The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2019-02-01T02:02:29.600Z`
895
+ :param str time_suppress_from: The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z`
896
+ :param str time_suppress_until: The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T02:02:29.600Z`
596
897
  """
597
898
  pulumi.set(__self__, "description", description)
598
899
  pulumi.set(__self__, "time_suppress_from", time_suppress_from)
@@ -610,7 +911,7 @@ class GetAlarmsAlarmSuppressionResult(dict):
610
911
  @pulumi.getter(name="timeSuppressFrom")
611
912
  def time_suppress_from(self) -> str:
612
913
  """
613
- The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2019-02-01T01:02:29.600Z`
914
+ The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z`
614
915
  """
615
916
  return pulumi.get(self, "time_suppress_from")
616
917
 
@@ -618,7 +919,7 @@ class GetAlarmsAlarmSuppressionResult(dict):
618
919
  @pulumi.getter(name="timeSuppressUntil")
619
920
  def time_suppress_until(self) -> str:
620
921
  """
621
- The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2019-02-01T02:02:29.600Z`
922
+ The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T02:02:29.600Z`
622
923
  """
623
924
  return pulumi.get(self, "time_suppress_until")
624
925
 
@@ -702,21 +1003,23 @@ class GetMetricDataMetricDataResult(dict):
702
1003
  :param Sequence['GetMetricDataMetricDataAggregatedDatapointArgs'] aggregated_datapoints: The list of timestamp-value pairs returned for the specified request. Metric values are rolled up to the start time specified in the request. For important limits information related to data points, see MetricData Reference at the top of this page.
703
1004
  :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the resources monitored by the metric that you are searching for. Use tenancyId to search in the root compartment. Example: `ocid1.compartment.oc1..exampleuniqueID`
704
1005
  :param bool compartment_id_in_subtree: When true, returns resources from all compartments and subcompartments. The parameter can only be set to true when compartmentId 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, returns resources from only the compartment specified in compartmentId. Default is false.
705
- :param Mapping[str, Any] dimensions: Qualifiers provided in the definition of the returned metric. Available dimensions vary by metric namespace. Each dimension takes the form of a key-value pair. Example: `"resourceId": "ocid1.instance.region1.phx.exampleuniqueID"`
706
- :param str end_time: The end of the time range to use when searching for metric data points. Format is defined by RFC3339. The response excludes metric data points for the endTime. Default value: the timestamp representing when the call was sent. Example: `2019-02-01T02:02:29.600Z`
1006
+ :param Mapping[str, Any] dimensions: Qualifiers provided in the definition of the returned metric. Available dimensions vary by metric namespace. Each dimension takes the form of a key-value pair. Example: `{"resourceId": "instance.region1.phx.exampleuniqueID"}`
1007
+ :param str end_time: The end of the time range to use when searching for metric data points. Format is defined by RFC3339. The response excludes metric data points for the endTime. Default value: the timestamp representing when the call was sent. Example: `2023-02-01T02:02:29.600Z`
707
1008
  :param Mapping[str, Any] metadata: The references provided in a metric definition to indicate extra information about the metric. Example: `"unit": "bytes"`
708
1009
  :param str name: The name of the metric. Example: `CpuUtilization`
709
1010
  :param str namespace: The source service or application to use when searching for metric data points to aggregate. Example: `oci_computeagent`
710
- :param str query: The Monitoring Query Language (MQL) expression to use when searching for metric data points to aggregate. The query must specify a metric, statistic, and interval. 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()`.
1011
+ :param str query: The Monitoring Query Language (MQL) expression to use when searching for metric data points to aggregate. The query must specify a metric, statistic, and interval. 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. When specifying a dimension value, surround it with double quotes, and escape each double quote with a backslash (`\\`) character. Supported grouping functions: `grouping()`, `groupBy()`.
711
1012
 
712
1013
  Construct your query to avoid exceeding limits on returned data. See [MetricData Reference](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/20180401/MetricData).
713
1014
 
714
1015
  For details about Monitoring Query Language (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).
715
1016
 
716
- Example: `CpuUtilization[1m].sum()`
1017
+ Example 1: `CpuUtilization[1m].sum()`
1018
+
1019
+ Example 2 (escaped double quotes for value string): `CpuUtilization[1m]{resourceId = \\"<var>&lt;instance_OCID&gt;</var>\\"}.max()`
717
1020
  :param str resolution: The time between calculated aggregation windows. Use with the query interval to vary the frequency for returning aggregated data points. For example, use a query interval of 5 minutes with a resolution of 1 minute to retrieve five-minute aggregations at a one-minute frequency. The resolution must be equal or less than the interval in the query. The default resolution is 1m (one minute). Supported values: `1m`-`60m`, `1h`-`24h`, `1d`. Example: `5m`
718
1021
  :param str resource_group: Resource group that you want to match. A null value returns only metric data that has no resource groups. The specified resource group must exist in the definition of the posted metric. 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`
719
- :param str start_time: The beginning of the time range to use when searching for metric data points. Format is defined by RFC3339. The response includes metric data points for the startTime. Default value: the timestamp 3 hours before the call was sent. Example: `2019-02-01T01:02:29.600Z`
1022
+ :param str start_time: The beginning of the time range to use when searching for metric data points. Format is defined by RFC3339. The response includes metric data points for the startTime. Default value: the timestamp 3 hours before the call was sent. Example: `2023-02-01T01:02:29.600Z`
720
1023
  """
721
1024
  pulumi.set(__self__, "aggregated_datapoints", aggregated_datapoints)
722
1025
  pulumi.set(__self__, "compartment_id", compartment_id)
@@ -759,7 +1062,7 @@ class GetMetricDataMetricDataResult(dict):
759
1062
  @pulumi.getter
760
1063
  def dimensions(self) -> Mapping[str, Any]:
761
1064
  """
762
- Qualifiers provided in the definition of the returned metric. Available dimensions vary by metric namespace. Each dimension takes the form of a key-value pair. Example: `"resourceId": "ocid1.instance.region1.phx.exampleuniqueID"`
1065
+ Qualifiers provided in the definition of the returned metric. Available dimensions vary by metric namespace. Each dimension takes the form of a key-value pair. Example: `{"resourceId": "instance.region1.phx.exampleuniqueID"}`
763
1066
  """
764
1067
  return pulumi.get(self, "dimensions")
765
1068
 
@@ -767,7 +1070,7 @@ class GetMetricDataMetricDataResult(dict):
767
1070
  @pulumi.getter(name="endTime")
768
1071
  def end_time(self) -> str:
769
1072
  """
770
- The end of the time range to use when searching for metric data points. Format is defined by RFC3339. The response excludes metric data points for the endTime. Default value: the timestamp representing when the call was sent. Example: `2019-02-01T02:02:29.600Z`
1073
+ The end of the time range to use when searching for metric data points. Format is defined by RFC3339. The response excludes metric data points for the endTime. Default value: the timestamp representing when the call was sent. Example: `2023-02-01T02:02:29.600Z`
771
1074
  """
772
1075
  return pulumi.get(self, "end_time")
773
1076
 
@@ -799,13 +1102,15 @@ class GetMetricDataMetricDataResult(dict):
799
1102
  @pulumi.getter
800
1103
  def query(self) -> str:
801
1104
  """
802
- The Monitoring Query Language (MQL) expression to use when searching for metric data points to aggregate. The query must specify a metric, statistic, and interval. 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()`.
1105
+ The Monitoring Query Language (MQL) expression to use when searching for metric data points to aggregate. The query must specify a metric, statistic, and interval. 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. When specifying a dimension value, surround it with double quotes, and escape each double quote with a backslash (`\\`) character. Supported grouping functions: `grouping()`, `groupBy()`.
803
1106
 
804
1107
  Construct your query to avoid exceeding limits on returned data. See [MetricData Reference](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/20180401/MetricData).
805
1108
 
806
1109
  For details about Monitoring Query Language (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).
807
1110
 
808
- Example: `CpuUtilization[1m].sum()`
1111
+ Example 1: `CpuUtilization[1m].sum()`
1112
+
1113
+ Example 2 (escaped double quotes for value string): `CpuUtilization[1m]{resourceId = \\"<var>&lt;instance_OCID&gt;</var>\\"}.max()`
809
1114
  """
810
1115
  return pulumi.get(self, "query")
811
1116
 
@@ -829,7 +1134,7 @@ class GetMetricDataMetricDataResult(dict):
829
1134
  @pulumi.getter(name="startTime")
830
1135
  def start_time(self) -> str:
831
1136
  """
832
- The beginning of the time range to use when searching for metric data points. Format is defined by RFC3339. The response includes metric data points for the startTime. Default value: the timestamp 3 hours before the call was sent. Example: `2019-02-01T01:02:29.600Z`
1137
+ The beginning of the time range to use when searching for metric data points. Format is defined by RFC3339. The response includes metric data points for the startTime. Default value: the timestamp 3 hours before the call was sent. Example: `2023-02-01T01:02:29.600Z`
833
1138
  """
834
1139
  return pulumi.get(self, "start_time")
835
1140
 
@@ -840,7 +1145,7 @@ class GetMetricDataMetricDataAggregatedDatapointResult(dict):
840
1145
  timestamp: str,
841
1146
  value: float):
842
1147
  """
843
- :param str timestamp: The date and time associated with the value of this data point. Format defined by RFC3339. Example: `2019-02-01T01:02:29.600Z`
1148
+ :param str timestamp: The date and time associated with the value of this data point. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z`
844
1149
  :param float value: Numeric value of the metric. Example: `10.4`
845
1150
  """
846
1151
  pulumi.set(__self__, "timestamp", timestamp)
@@ -850,7 +1155,7 @@ class GetMetricDataMetricDataAggregatedDatapointResult(dict):
850
1155
  @pulumi.getter
851
1156
  def timestamp(self) -> str:
852
1157
  """
853
- The date and time associated with the value of this data point. Format defined by RFC3339. Example: `2019-02-01T01:02:29.600Z`
1158
+ The date and time associated with the value of this data point. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z`
854
1159
  """
855
1160
  return pulumi.get(self, "timestamp")
856
1161
 
@@ -910,8 +1215,8 @@ class GetMetricsMetricResult(dict):
910
1215
  """
911
1216
  :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the resources monitored by the metric that you are searching for. Use tenancyId to search in the root compartment. Example: `ocid1.compartment.oc1..exampleuniqueID`
912
1217
  :param bool compartment_id_in_subtree: When true, returns resources from all compartments and subcompartments. The parameter can only be set to true when compartmentId 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, returns resources from only the compartment specified in compartmentId. Default is false.
913
- :param Mapping[str, Any] dimension_filters: Qualifiers that you want to use when searching for metric definitions. Available dimensions vary by metric namespace. Each dimension takes the form of a key-value pair. Example: `"resourceId": "ocid1.instance.region1.phx.exampleuniqueID"`
914
- :param Mapping[str, Any] dimensions: Qualifiers provided in a metric definition. Available dimensions vary by metric namespace. Each dimension takes the form of a key-value pair. Example: `"resourceId": "ocid1.instance.region1.phx.exampleuniqueID"`
1218
+ :param Mapping[str, Any] dimension_filters: Qualifiers that you want to use when searching for metric definitions. Available dimensions vary by metric namespace. Each dimension takes the form of a key-value pair. Example: `{"resourceId": "instance.region1.phx.exampleuniqueID"}`
1219
+ :param Mapping[str, Any] dimensions: Qualifiers provided in a metric definition. Available dimensions vary by metric namespace. Each dimension takes the form of a key-value pair. Example: `{"resourceId": "instance.region1.phx.exampleuniqueID"}`
915
1220
  :param Sequence[str] group_bies: Group metrics by these fields in the response. For example, to list all metric namespaces available in a compartment, groupBy the "namespace" field. Supported fields: namespace, name, resourceGroup. If `groupBy` is used, then `dimensionFilters` is ignored.
916
1221
 
917
1222
  Example - group by namespace: `[ "namespace" ]`
@@ -948,7 +1253,7 @@ class GetMetricsMetricResult(dict):
948
1253
  @pulumi.getter(name="dimensionFilters")
949
1254
  def dimension_filters(self) -> Mapping[str, Any]:
950
1255
  """
951
- Qualifiers that you want to use when searching for metric definitions. Available dimensions vary by metric namespace. Each dimension takes the form of a key-value pair. Example: `"resourceId": "ocid1.instance.region1.phx.exampleuniqueID"`
1256
+ Qualifiers that you want to use when searching for metric definitions. Available dimensions vary by metric namespace. Each dimension takes the form of a key-value pair. Example: `{"resourceId": "instance.region1.phx.exampleuniqueID"}`
952
1257
  """
953
1258
  return pulumi.get(self, "dimension_filters")
954
1259
 
@@ -956,7 +1261,7 @@ class GetMetricsMetricResult(dict):
956
1261
  @pulumi.getter
957
1262
  def dimensions(self) -> Mapping[str, Any]:
958
1263
  """
959
- Qualifiers provided in a metric definition. Available dimensions vary by metric namespace. Each dimension takes the form of a key-value pair. Example: `"resourceId": "ocid1.instance.region1.phx.exampleuniqueID"`
1264
+ Qualifiers provided in a metric definition. Available dimensions vary by metric namespace. Each dimension takes the form of a key-value pair. Example: `{"resourceId": "instance.region1.phx.exampleuniqueID"}`
960
1265
  """
961
1266
  return pulumi.get(self, "dimensions")
962
1267