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.
- pulumi_oci/__init__.py +8 -0
- pulumi_oci/database/autonomous_database.py +155 -14
- pulumi_oci/database/get_autonomous_database.py +41 -2
- pulumi_oci/database/get_autonomous_databases.py +1 -1
- pulumi_oci/database/outputs.py +68 -2
- pulumi_oci/databasemanagement/get_managed_my_sql_database.py +111 -6
- pulumi_oci/databasemanagement/get_managed_my_sql_database_sql_data.py +32 -4
- pulumi_oci/databasemanagement/outputs.py +267 -75
- pulumi_oci/dataintegration/__init__.py +3 -0
- pulumi_oci/dataintegration/_inputs.py +4504 -0
- pulumi_oci/dataintegration/get_workspace_task.py +443 -0
- pulumi_oci/dataintegration/get_workspace_tasks.py +254 -0
- pulumi_oci/dataintegration/outputs.py +16511 -4723
- pulumi_oci/dataintegration/workspace_task.py +1364 -0
- pulumi_oci/devops/_inputs.py +18 -2
- pulumi_oci/devops/deploy_artifact.py +2 -0
- pulumi_oci/devops/deploy_stage.py +141 -0
- pulumi_oci/devops/get_deploy_stage.py +40 -1
- pulumi_oci/devops/outputs.py +75 -6
- pulumi_oci/logging/_inputs.py +2751 -187
- pulumi_oci/logging/outputs.py +4981 -768
- pulumi_oci/logging/unified_agent_configuration.py +34 -208
- pulumi_oci/monitoring/_inputs.py +136 -0
- pulumi_oci/monitoring/alarm.py +173 -0
- pulumi_oci/monitoring/get_alarm.py +40 -1
- pulumi_oci/monitoring/get_alarm_history_collection.py +2 -2
- pulumi_oci/monitoring/outputs.py +305 -0
- pulumi_oci/networkloadbalancer/_inputs.py +20 -20
- pulumi_oci/networkloadbalancer/backend.py +7 -7
- pulumi_oci/networkloadbalancer/backend_set.py +11 -11
- pulumi_oci/networkloadbalancer/get_backend_set.py +1 -1
- pulumi_oci/networkloadbalancer/get_listener.py +1 -1
- pulumi_oci/networkloadbalancer/get_network_load_balancer.py +14 -1
- pulumi_oci/networkloadbalancer/listener.py +7 -7
- pulumi_oci/networkloadbalancer/network_load_balancer.py +56 -7
- pulumi_oci/networkloadbalancer/network_load_balancers_backend_sets_unified.py +7 -7
- pulumi_oci/networkloadbalancer/outputs.py +41 -34
- {pulumi_oci-1.29.0a1711606977.dist-info → pulumi_oci-1.29.0a1711616250.dist-info}/METADATA +1 -1
- {pulumi_oci-1.29.0a1711606977.dist-info → pulumi_oci-1.29.0a1711616250.dist-info}/RECORD +41 -38
- {pulumi_oci-1.29.0a1711606977.dist-info → pulumi_oci-1.29.0a1711616250.dist-info}/WHEEL +0 -0
- {pulumi_oci-1.29.0a1711606977.dist-info → pulumi_oci-1.29.0a1711616250.dist-info}/top_level.txt +0 -0
pulumi_oci/monitoring/alarm.py
CHANGED
@@ -30,10 +30,13 @@ class AlarmArgs:
|
|
30
30
|
is_notifications_per_metric_dimension_enabled: Optional[pulumi.Input[bool]] = None,
|
31
31
|
message_format: Optional[pulumi.Input[str]] = None,
|
32
32
|
metric_compartment_id_in_subtree: Optional[pulumi.Input[bool]] = None,
|
33
|
+
notification_version: Optional[pulumi.Input[str]] = None,
|
34
|
+
overrides: Optional[pulumi.Input[Sequence[pulumi.Input['AlarmOverrideArgs']]]] = None,
|
33
35
|
pending_duration: Optional[pulumi.Input[str]] = None,
|
34
36
|
repeat_notification_duration: Optional[pulumi.Input[str]] = None,
|
35
37
|
resolution: Optional[pulumi.Input[str]] = None,
|
36
38
|
resource_group: Optional[pulumi.Input[str]] = None,
|
39
|
+
rule_name: Optional[pulumi.Input[str]] = None,
|
37
40
|
suppression: Optional[pulumi.Input['AlarmSuppressionArgs']] = None):
|
38
41
|
"""
|
39
42
|
The set of arguments for constructing a Alarm resource.
|
@@ -71,6 +74,10 @@ class AlarmArgs:
|
|
71
74
|
:param pulumi.Input[bool] is_notifications_per_metric_dimension_enabled: (Updatable) When set to `true`, splits alarm notifications per metric stream. When set to `false`, groups alarm notifications across metric streams. Example: `true`
|
72
75
|
:param pulumi.Input[str] message_format: (Updatable) The format to use for alarm notifications. The formats are:
|
73
76
|
:param pulumi.Input[bool] metric_compartment_id_in_subtree: (Updatable) 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`
|
77
|
+
:param pulumi.Input[str] notification_version: (Updatable) 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.
|
78
|
+
:param pulumi.Input[Sequence[pulumi.Input['AlarmOverrideArgs']]] overrides: (Updatable) A set of overrides that control evaluations of the alarm.
|
79
|
+
|
80
|
+
Each override can specify values for query, severity, body, and pending duration. When an alarm contains overrides, the Monitoring service evaluates each override in order, beginning with the first override in the array (index position `0`), and then evaluates the alarm's base values (`ruleName` value of `BASE`).
|
74
81
|
:param pulumi.Input[str] pending_duration: (Updatable) The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". For example, a value of 5 minutes means that the alarm must persist in breaching the condition for five minutes before the alarm updates its state to "FIRING".
|
75
82
|
|
76
83
|
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.
|
@@ -87,6 +94,7 @@ class AlarmArgs:
|
|
87
94
|
Example: `PT2H`
|
88
95
|
:param pulumi.Input[str] resolution: (Updatable) The time between calculated aggregation windows for the alarm. Supported value: `1m`
|
89
96
|
:param pulumi.Input[str] resource_group: (Updatable) Resource group that you want to match. A null value returns only metric data that has no resource groups. The alarm retrieves metric data associated with the specified resource group only. 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 ($). Avoid entering confidential information. Example: `frontend-fleet`
|
97
|
+
:param pulumi.Input[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).
|
90
98
|
:param pulumi.Input['AlarmSuppressionArgs'] suppression: (Updatable) The configuration details for suppressing an alarm.
|
91
99
|
"""
|
92
100
|
pulumi.set(__self__, "compartment_id", compartment_id)
|
@@ -109,6 +117,10 @@ class AlarmArgs:
|
|
109
117
|
pulumi.set(__self__, "message_format", message_format)
|
110
118
|
if metric_compartment_id_in_subtree is not None:
|
111
119
|
pulumi.set(__self__, "metric_compartment_id_in_subtree", metric_compartment_id_in_subtree)
|
120
|
+
if notification_version is not None:
|
121
|
+
pulumi.set(__self__, "notification_version", notification_version)
|
122
|
+
if overrides is not None:
|
123
|
+
pulumi.set(__self__, "overrides", overrides)
|
112
124
|
if pending_duration is not None:
|
113
125
|
pulumi.set(__self__, "pending_duration", pending_duration)
|
114
126
|
if repeat_notification_duration is not None:
|
@@ -117,6 +129,8 @@ class AlarmArgs:
|
|
117
129
|
pulumi.set(__self__, "resolution", resolution)
|
118
130
|
if resource_group is not None:
|
119
131
|
pulumi.set(__self__, "resource_group", resource_group)
|
132
|
+
if rule_name is not None:
|
133
|
+
pulumi.set(__self__, "rule_name", rule_name)
|
120
134
|
if suppression is not None:
|
121
135
|
pulumi.set(__self__, "suppression", suppression)
|
122
136
|
|
@@ -308,6 +322,32 @@ class AlarmArgs:
|
|
308
322
|
def metric_compartment_id_in_subtree(self, value: Optional[pulumi.Input[bool]]):
|
309
323
|
pulumi.set(self, "metric_compartment_id_in_subtree", value)
|
310
324
|
|
325
|
+
@property
|
326
|
+
@pulumi.getter(name="notificationVersion")
|
327
|
+
def notification_version(self) -> Optional[pulumi.Input[str]]:
|
328
|
+
"""
|
329
|
+
(Updatable) 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.
|
330
|
+
"""
|
331
|
+
return pulumi.get(self, "notification_version")
|
332
|
+
|
333
|
+
@notification_version.setter
|
334
|
+
def notification_version(self, value: Optional[pulumi.Input[str]]):
|
335
|
+
pulumi.set(self, "notification_version", value)
|
336
|
+
|
337
|
+
@property
|
338
|
+
@pulumi.getter
|
339
|
+
def overrides(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AlarmOverrideArgs']]]]:
|
340
|
+
"""
|
341
|
+
(Updatable) A set of overrides that control evaluations of the alarm.
|
342
|
+
|
343
|
+
Each override can specify values for query, severity, body, and pending duration. When an alarm contains overrides, the Monitoring service evaluates each override in order, beginning with the first override in the array (index position `0`), and then evaluates the alarm's base values (`ruleName` value of `BASE`).
|
344
|
+
"""
|
345
|
+
return pulumi.get(self, "overrides")
|
346
|
+
|
347
|
+
@overrides.setter
|
348
|
+
def overrides(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AlarmOverrideArgs']]]]):
|
349
|
+
pulumi.set(self, "overrides", value)
|
350
|
+
|
311
351
|
@property
|
312
352
|
@pulumi.getter(name="pendingDuration")
|
313
353
|
def pending_duration(self) -> Optional[pulumi.Input[str]]:
|
@@ -368,6 +408,18 @@ class AlarmArgs:
|
|
368
408
|
def resource_group(self, value: Optional[pulumi.Input[str]]):
|
369
409
|
pulumi.set(self, "resource_group", value)
|
370
410
|
|
411
|
+
@property
|
412
|
+
@pulumi.getter(name="ruleName")
|
413
|
+
def rule_name(self) -> Optional[pulumi.Input[str]]:
|
414
|
+
"""
|
415
|
+
(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).
|
416
|
+
"""
|
417
|
+
return pulumi.get(self, "rule_name")
|
418
|
+
|
419
|
+
@rule_name.setter
|
420
|
+
def rule_name(self, value: Optional[pulumi.Input[str]]):
|
421
|
+
pulumi.set(self, "rule_name", value)
|
422
|
+
|
371
423
|
@property
|
372
424
|
@pulumi.getter
|
373
425
|
def suppression(self) -> Optional[pulumi.Input['AlarmSuppressionArgs']]:
|
@@ -396,11 +448,14 @@ class _AlarmState:
|
|
396
448
|
metric_compartment_id: Optional[pulumi.Input[str]] = None,
|
397
449
|
metric_compartment_id_in_subtree: Optional[pulumi.Input[bool]] = None,
|
398
450
|
namespace: Optional[pulumi.Input[str]] = None,
|
451
|
+
notification_version: Optional[pulumi.Input[str]] = None,
|
452
|
+
overrides: Optional[pulumi.Input[Sequence[pulumi.Input['AlarmOverrideArgs']]]] = None,
|
399
453
|
pending_duration: Optional[pulumi.Input[str]] = None,
|
400
454
|
query: Optional[pulumi.Input[str]] = None,
|
401
455
|
repeat_notification_duration: Optional[pulumi.Input[str]] = None,
|
402
456
|
resolution: Optional[pulumi.Input[str]] = None,
|
403
457
|
resource_group: Optional[pulumi.Input[str]] = None,
|
458
|
+
rule_name: Optional[pulumi.Input[str]] = None,
|
404
459
|
severity: Optional[pulumi.Input[str]] = None,
|
405
460
|
state: Optional[pulumi.Input[str]] = None,
|
406
461
|
suppression: Optional[pulumi.Input['AlarmSuppressionArgs']] = None,
|
@@ -424,6 +479,10 @@ class _AlarmState:
|
|
424
479
|
:param pulumi.Input[str] metric_compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the metric being evaluated by the alarm.
|
425
480
|
:param pulumi.Input[bool] metric_compartment_id_in_subtree: (Updatable) 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`
|
426
481
|
:param pulumi.Input[str] namespace: (Updatable) The source service or application emitting the metric that is evaluated by the alarm. Example: `oci_computeagent`
|
482
|
+
:param pulumi.Input[str] notification_version: (Updatable) 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.
|
483
|
+
:param pulumi.Input[Sequence[pulumi.Input['AlarmOverrideArgs']]] overrides: (Updatable) A set of overrides that control evaluations of the alarm.
|
484
|
+
|
485
|
+
Each override can specify values for query, severity, body, and pending duration. When an alarm contains overrides, the Monitoring service evaluates each override in order, beginning with the first override in the array (index position `0`), and then evaluates the alarm's base values (`ruleName` value of `BASE`).
|
427
486
|
:param pulumi.Input[str] pending_duration: (Updatable) The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". For example, a value of 5 minutes means that the alarm must persist in breaching the condition for five minutes before the alarm updates its state to "FIRING".
|
428
487
|
|
429
488
|
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.
|
@@ -457,6 +516,7 @@ class _AlarmState:
|
|
457
516
|
Example: `PT2H`
|
458
517
|
:param pulumi.Input[str] resolution: (Updatable) The time between calculated aggregation windows for the alarm. Supported value: `1m`
|
459
518
|
:param pulumi.Input[str] resource_group: (Updatable) Resource group that you want to match. A null value returns only metric data that has no resource groups. The alarm retrieves metric data associated with the specified resource group only. 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 ($). Avoid entering confidential information. Example: `frontend-fleet`
|
519
|
+
:param pulumi.Input[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).
|
460
520
|
:param pulumi.Input[str] severity: (Updatable) The perceived type of response required when the alarm is in the "FIRING" state. Example: `CRITICAL`
|
461
521
|
:param pulumi.Input[str] state: The current lifecycle state of the alarm. Example: `DELETED`
|
462
522
|
:param pulumi.Input['AlarmSuppressionArgs'] suppression: (Updatable) The configuration details for suppressing an alarm.
|
@@ -487,6 +547,10 @@ class _AlarmState:
|
|
487
547
|
pulumi.set(__self__, "metric_compartment_id_in_subtree", metric_compartment_id_in_subtree)
|
488
548
|
if namespace is not None:
|
489
549
|
pulumi.set(__self__, "namespace", namespace)
|
550
|
+
if notification_version is not None:
|
551
|
+
pulumi.set(__self__, "notification_version", notification_version)
|
552
|
+
if overrides is not None:
|
553
|
+
pulumi.set(__self__, "overrides", overrides)
|
490
554
|
if pending_duration is not None:
|
491
555
|
pulumi.set(__self__, "pending_duration", pending_duration)
|
492
556
|
if query is not None:
|
@@ -497,6 +561,8 @@ class _AlarmState:
|
|
497
561
|
pulumi.set(__self__, "resolution", resolution)
|
498
562
|
if resource_group is not None:
|
499
563
|
pulumi.set(__self__, "resource_group", resource_group)
|
564
|
+
if rule_name is not None:
|
565
|
+
pulumi.set(__self__, "rule_name", rule_name)
|
500
566
|
if severity is not None:
|
501
567
|
pulumi.set(__self__, "severity", severity)
|
502
568
|
if state is not None:
|
@@ -656,6 +722,32 @@ class _AlarmState:
|
|
656
722
|
def namespace(self, value: Optional[pulumi.Input[str]]):
|
657
723
|
pulumi.set(self, "namespace", value)
|
658
724
|
|
725
|
+
@property
|
726
|
+
@pulumi.getter(name="notificationVersion")
|
727
|
+
def notification_version(self) -> Optional[pulumi.Input[str]]:
|
728
|
+
"""
|
729
|
+
(Updatable) 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.
|
730
|
+
"""
|
731
|
+
return pulumi.get(self, "notification_version")
|
732
|
+
|
733
|
+
@notification_version.setter
|
734
|
+
def notification_version(self, value: Optional[pulumi.Input[str]]):
|
735
|
+
pulumi.set(self, "notification_version", value)
|
736
|
+
|
737
|
+
@property
|
738
|
+
@pulumi.getter
|
739
|
+
def overrides(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AlarmOverrideArgs']]]]:
|
740
|
+
"""
|
741
|
+
(Updatable) A set of overrides that control evaluations of the alarm.
|
742
|
+
|
743
|
+
Each override can specify values for query, severity, body, and pending duration. When an alarm contains overrides, the Monitoring service evaluates each override in order, beginning with the first override in the array (index position `0`), and then evaluates the alarm's base values (`ruleName` value of `BASE`).
|
744
|
+
"""
|
745
|
+
return pulumi.get(self, "overrides")
|
746
|
+
|
747
|
+
@overrides.setter
|
748
|
+
def overrides(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AlarmOverrideArgs']]]]):
|
749
|
+
pulumi.set(self, "overrides", value)
|
750
|
+
|
659
751
|
@property
|
660
752
|
@pulumi.getter(name="pendingDuration")
|
661
753
|
def pending_duration(self) -> Optional[pulumi.Input[str]]:
|
@@ -744,6 +836,18 @@ class _AlarmState:
|
|
744
836
|
def resource_group(self, value: Optional[pulumi.Input[str]]):
|
745
837
|
pulumi.set(self, "resource_group", value)
|
746
838
|
|
839
|
+
@property
|
840
|
+
@pulumi.getter(name="ruleName")
|
841
|
+
def rule_name(self) -> Optional[pulumi.Input[str]]:
|
842
|
+
"""
|
843
|
+
(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).
|
844
|
+
"""
|
845
|
+
return pulumi.get(self, "rule_name")
|
846
|
+
|
847
|
+
@rule_name.setter
|
848
|
+
def rule_name(self, value: Optional[pulumi.Input[str]]):
|
849
|
+
pulumi.set(self, "rule_name", value)
|
850
|
+
|
747
851
|
@property
|
748
852
|
@pulumi.getter
|
749
853
|
def severity(self) -> Optional[pulumi.Input[str]]:
|
@@ -822,11 +926,14 @@ class Alarm(pulumi.CustomResource):
|
|
822
926
|
metric_compartment_id: Optional[pulumi.Input[str]] = None,
|
823
927
|
metric_compartment_id_in_subtree: Optional[pulumi.Input[bool]] = None,
|
824
928
|
namespace: Optional[pulumi.Input[str]] = None,
|
929
|
+
notification_version: Optional[pulumi.Input[str]] = None,
|
930
|
+
overrides: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AlarmOverrideArgs']]]]] = None,
|
825
931
|
pending_duration: Optional[pulumi.Input[str]] = None,
|
826
932
|
query: Optional[pulumi.Input[str]] = None,
|
827
933
|
repeat_notification_duration: Optional[pulumi.Input[str]] = None,
|
828
934
|
resolution: Optional[pulumi.Input[str]] = None,
|
829
935
|
resource_group: Optional[pulumi.Input[str]] = None,
|
936
|
+
rule_name: Optional[pulumi.Input[str]] = None,
|
830
937
|
severity: Optional[pulumi.Input[str]] = None,
|
831
938
|
suppression: Optional[pulumi.Input[pulumi.InputType['AlarmSuppressionArgs']]] = None,
|
832
939
|
__props__=None):
|
@@ -869,10 +976,19 @@ class Alarm(pulumi.CustomResource):
|
|
869
976
|
is_notifications_per_metric_dimension_enabled=var["alarm_is_notifications_per_metric_dimension_enabled"],
|
870
977
|
message_format=var["alarm_message_format"],
|
871
978
|
metric_compartment_id_in_subtree=var["alarm_metric_compartment_id_in_subtree"],
|
979
|
+
notification_version=var["alarm_notification_version"],
|
980
|
+
overrides=[oci.monitoring.AlarmOverrideArgs(
|
981
|
+
body=var["alarm_overrides_body"],
|
982
|
+
pending_duration=var["alarm_overrides_pending_duration"],
|
983
|
+
query=var["alarm_overrides_query"],
|
984
|
+
rule_name=oci_events_rule["test_rule"]["name"],
|
985
|
+
severity=var["alarm_overrides_severity"],
|
986
|
+
)],
|
872
987
|
pending_duration=var["alarm_pending_duration"],
|
873
988
|
repeat_notification_duration=var["alarm_repeat_notification_duration"],
|
874
989
|
resolution=var["alarm_resolution"],
|
875
990
|
resource_group=var["alarm_resource_group"],
|
991
|
+
rule_name=oci_events_rule["test_rule"]["name"],
|
876
992
|
suppression=oci.monitoring.AlarmSuppressionArgs(
|
877
993
|
time_suppress_from=var["alarm_suppression_time_suppress_from"],
|
878
994
|
time_suppress_until=var["alarm_suppression_time_suppress_until"],
|
@@ -907,6 +1023,10 @@ class Alarm(pulumi.CustomResource):
|
|
907
1023
|
:param pulumi.Input[str] metric_compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the metric being evaluated by the alarm.
|
908
1024
|
:param pulumi.Input[bool] metric_compartment_id_in_subtree: (Updatable) 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`
|
909
1025
|
:param pulumi.Input[str] namespace: (Updatable) The source service or application emitting the metric that is evaluated by the alarm. Example: `oci_computeagent`
|
1026
|
+
:param pulumi.Input[str] notification_version: (Updatable) 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.
|
1027
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AlarmOverrideArgs']]]] overrides: (Updatable) A set of overrides that control evaluations of the alarm.
|
1028
|
+
|
1029
|
+
Each override can specify values for query, severity, body, and pending duration. When an alarm contains overrides, the Monitoring service evaluates each override in order, beginning with the first override in the array (index position `0`), and then evaluates the alarm's base values (`ruleName` value of `BASE`).
|
910
1030
|
:param pulumi.Input[str] pending_duration: (Updatable) The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". For example, a value of 5 minutes means that the alarm must persist in breaching the condition for five minutes before the alarm updates its state to "FIRING".
|
911
1031
|
|
912
1032
|
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.
|
@@ -940,6 +1060,7 @@ class Alarm(pulumi.CustomResource):
|
|
940
1060
|
Example: `PT2H`
|
941
1061
|
:param pulumi.Input[str] resolution: (Updatable) The time between calculated aggregation windows for the alarm. Supported value: `1m`
|
942
1062
|
:param pulumi.Input[str] resource_group: (Updatable) Resource group that you want to match. A null value returns only metric data that has no resource groups. The alarm retrieves metric data associated with the specified resource group only. 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 ($). Avoid entering confidential information. Example: `frontend-fleet`
|
1063
|
+
:param pulumi.Input[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).
|
943
1064
|
:param pulumi.Input[str] severity: (Updatable) The perceived type of response required when the alarm is in the "FIRING" state. Example: `CRITICAL`
|
944
1065
|
:param pulumi.Input[pulumi.InputType['AlarmSuppressionArgs']] suppression: (Updatable) The configuration details for suppressing an alarm.
|
945
1066
|
"""
|
@@ -988,10 +1109,19 @@ class Alarm(pulumi.CustomResource):
|
|
988
1109
|
is_notifications_per_metric_dimension_enabled=var["alarm_is_notifications_per_metric_dimension_enabled"],
|
989
1110
|
message_format=var["alarm_message_format"],
|
990
1111
|
metric_compartment_id_in_subtree=var["alarm_metric_compartment_id_in_subtree"],
|
1112
|
+
notification_version=var["alarm_notification_version"],
|
1113
|
+
overrides=[oci.monitoring.AlarmOverrideArgs(
|
1114
|
+
body=var["alarm_overrides_body"],
|
1115
|
+
pending_duration=var["alarm_overrides_pending_duration"],
|
1116
|
+
query=var["alarm_overrides_query"],
|
1117
|
+
rule_name=oci_events_rule["test_rule"]["name"],
|
1118
|
+
severity=var["alarm_overrides_severity"],
|
1119
|
+
)],
|
991
1120
|
pending_duration=var["alarm_pending_duration"],
|
992
1121
|
repeat_notification_duration=var["alarm_repeat_notification_duration"],
|
993
1122
|
resolution=var["alarm_resolution"],
|
994
1123
|
resource_group=var["alarm_resource_group"],
|
1124
|
+
rule_name=oci_events_rule["test_rule"]["name"],
|
995
1125
|
suppression=oci.monitoring.AlarmSuppressionArgs(
|
996
1126
|
time_suppress_from=var["alarm_suppression_time_suppress_from"],
|
997
1127
|
time_suppress_until=var["alarm_suppression_time_suppress_until"],
|
@@ -1035,11 +1165,14 @@ class Alarm(pulumi.CustomResource):
|
|
1035
1165
|
metric_compartment_id: Optional[pulumi.Input[str]] = None,
|
1036
1166
|
metric_compartment_id_in_subtree: Optional[pulumi.Input[bool]] = None,
|
1037
1167
|
namespace: Optional[pulumi.Input[str]] = None,
|
1168
|
+
notification_version: Optional[pulumi.Input[str]] = None,
|
1169
|
+
overrides: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AlarmOverrideArgs']]]]] = None,
|
1038
1170
|
pending_duration: Optional[pulumi.Input[str]] = None,
|
1039
1171
|
query: Optional[pulumi.Input[str]] = None,
|
1040
1172
|
repeat_notification_duration: Optional[pulumi.Input[str]] = None,
|
1041
1173
|
resolution: Optional[pulumi.Input[str]] = None,
|
1042
1174
|
resource_group: Optional[pulumi.Input[str]] = None,
|
1175
|
+
rule_name: Optional[pulumi.Input[str]] = None,
|
1043
1176
|
severity: Optional[pulumi.Input[str]] = None,
|
1044
1177
|
suppression: Optional[pulumi.Input[pulumi.InputType['AlarmSuppressionArgs']]] = None,
|
1045
1178
|
__props__=None):
|
@@ -1075,6 +1208,8 @@ class Alarm(pulumi.CustomResource):
|
|
1075
1208
|
if namespace is None and not opts.urn:
|
1076
1209
|
raise TypeError("Missing required property 'namespace'")
|
1077
1210
|
__props__.__dict__["namespace"] = namespace
|
1211
|
+
__props__.__dict__["notification_version"] = notification_version
|
1212
|
+
__props__.__dict__["overrides"] = overrides
|
1078
1213
|
__props__.__dict__["pending_duration"] = pending_duration
|
1079
1214
|
if query is None and not opts.urn:
|
1080
1215
|
raise TypeError("Missing required property 'query'")
|
@@ -1082,6 +1217,7 @@ class Alarm(pulumi.CustomResource):
|
|
1082
1217
|
__props__.__dict__["repeat_notification_duration"] = repeat_notification_duration
|
1083
1218
|
__props__.__dict__["resolution"] = resolution
|
1084
1219
|
__props__.__dict__["resource_group"] = resource_group
|
1220
|
+
__props__.__dict__["rule_name"] = rule_name
|
1085
1221
|
if severity is None and not opts.urn:
|
1086
1222
|
raise TypeError("Missing required property 'severity'")
|
1087
1223
|
__props__.__dict__["severity"] = severity
|
@@ -1111,11 +1247,14 @@ class Alarm(pulumi.CustomResource):
|
|
1111
1247
|
metric_compartment_id: Optional[pulumi.Input[str]] = None,
|
1112
1248
|
metric_compartment_id_in_subtree: Optional[pulumi.Input[bool]] = None,
|
1113
1249
|
namespace: Optional[pulumi.Input[str]] = None,
|
1250
|
+
notification_version: Optional[pulumi.Input[str]] = None,
|
1251
|
+
overrides: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AlarmOverrideArgs']]]]] = None,
|
1114
1252
|
pending_duration: Optional[pulumi.Input[str]] = None,
|
1115
1253
|
query: Optional[pulumi.Input[str]] = None,
|
1116
1254
|
repeat_notification_duration: Optional[pulumi.Input[str]] = None,
|
1117
1255
|
resolution: Optional[pulumi.Input[str]] = None,
|
1118
1256
|
resource_group: Optional[pulumi.Input[str]] = None,
|
1257
|
+
rule_name: Optional[pulumi.Input[str]] = None,
|
1119
1258
|
severity: Optional[pulumi.Input[str]] = None,
|
1120
1259
|
state: Optional[pulumi.Input[str]] = None,
|
1121
1260
|
suppression: Optional[pulumi.Input[pulumi.InputType['AlarmSuppressionArgs']]] = None,
|
@@ -1144,6 +1283,10 @@ class Alarm(pulumi.CustomResource):
|
|
1144
1283
|
:param pulumi.Input[str] metric_compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the metric being evaluated by the alarm.
|
1145
1284
|
:param pulumi.Input[bool] metric_compartment_id_in_subtree: (Updatable) 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`
|
1146
1285
|
:param pulumi.Input[str] namespace: (Updatable) The source service or application emitting the metric that is evaluated by the alarm. Example: `oci_computeagent`
|
1286
|
+
:param pulumi.Input[str] notification_version: (Updatable) 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.
|
1287
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AlarmOverrideArgs']]]] overrides: (Updatable) A set of overrides that control evaluations of the alarm.
|
1288
|
+
|
1289
|
+
Each override can specify values for query, severity, body, and pending duration. When an alarm contains overrides, the Monitoring service evaluates each override in order, beginning with the first override in the array (index position `0`), and then evaluates the alarm's base values (`ruleName` value of `BASE`).
|
1147
1290
|
:param pulumi.Input[str] pending_duration: (Updatable) The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". For example, a value of 5 minutes means that the alarm must persist in breaching the condition for five minutes before the alarm updates its state to "FIRING".
|
1148
1291
|
|
1149
1292
|
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.
|
@@ -1177,6 +1320,7 @@ class Alarm(pulumi.CustomResource):
|
|
1177
1320
|
Example: `PT2H`
|
1178
1321
|
:param pulumi.Input[str] resolution: (Updatable) The time between calculated aggregation windows for the alarm. Supported value: `1m`
|
1179
1322
|
:param pulumi.Input[str] resource_group: (Updatable) Resource group that you want to match. A null value returns only metric data that has no resource groups. The alarm retrieves metric data associated with the specified resource group only. 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 ($). Avoid entering confidential information. Example: `frontend-fleet`
|
1323
|
+
:param pulumi.Input[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).
|
1180
1324
|
:param pulumi.Input[str] severity: (Updatable) The perceived type of response required when the alarm is in the "FIRING" state. Example: `CRITICAL`
|
1181
1325
|
:param pulumi.Input[str] state: The current lifecycle state of the alarm. Example: `DELETED`
|
1182
1326
|
:param pulumi.Input[pulumi.InputType['AlarmSuppressionArgs']] suppression: (Updatable) The configuration details for suppressing an alarm.
|
@@ -1199,11 +1343,14 @@ class Alarm(pulumi.CustomResource):
|
|
1199
1343
|
__props__.__dict__["metric_compartment_id"] = metric_compartment_id
|
1200
1344
|
__props__.__dict__["metric_compartment_id_in_subtree"] = metric_compartment_id_in_subtree
|
1201
1345
|
__props__.__dict__["namespace"] = namespace
|
1346
|
+
__props__.__dict__["notification_version"] = notification_version
|
1347
|
+
__props__.__dict__["overrides"] = overrides
|
1202
1348
|
__props__.__dict__["pending_duration"] = pending_duration
|
1203
1349
|
__props__.__dict__["query"] = query
|
1204
1350
|
__props__.__dict__["repeat_notification_duration"] = repeat_notification_duration
|
1205
1351
|
__props__.__dict__["resolution"] = resolution
|
1206
1352
|
__props__.__dict__["resource_group"] = resource_group
|
1353
|
+
__props__.__dict__["rule_name"] = rule_name
|
1207
1354
|
__props__.__dict__["severity"] = severity
|
1208
1355
|
__props__.__dict__["state"] = state
|
1209
1356
|
__props__.__dict__["suppression"] = suppression
|
@@ -1311,6 +1458,24 @@ class Alarm(pulumi.CustomResource):
|
|
1311
1458
|
"""
|
1312
1459
|
return pulumi.get(self, "namespace")
|
1313
1460
|
|
1461
|
+
@property
|
1462
|
+
@pulumi.getter(name="notificationVersion")
|
1463
|
+
def notification_version(self) -> pulumi.Output[str]:
|
1464
|
+
"""
|
1465
|
+
(Updatable) 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.
|
1466
|
+
"""
|
1467
|
+
return pulumi.get(self, "notification_version")
|
1468
|
+
|
1469
|
+
@property
|
1470
|
+
@pulumi.getter
|
1471
|
+
def overrides(self) -> pulumi.Output[Sequence['outputs.AlarmOverride']]:
|
1472
|
+
"""
|
1473
|
+
(Updatable) A set of overrides that control evaluations of the alarm.
|
1474
|
+
|
1475
|
+
Each override can specify values for query, severity, body, and pending duration. When an alarm contains overrides, the Monitoring service evaluates each override in order, beginning with the first override in the array (index position `0`), and then evaluates the alarm's base values (`ruleName` value of `BASE`).
|
1476
|
+
"""
|
1477
|
+
return pulumi.get(self, "overrides")
|
1478
|
+
|
1314
1479
|
@property
|
1315
1480
|
@pulumi.getter(name="pendingDuration")
|
1316
1481
|
def pending_duration(self) -> pulumi.Output[str]:
|
@@ -1379,6 +1544,14 @@ class Alarm(pulumi.CustomResource):
|
|
1379
1544
|
"""
|
1380
1545
|
return pulumi.get(self, "resource_group")
|
1381
1546
|
|
1547
|
+
@property
|
1548
|
+
@pulumi.getter(name="ruleName")
|
1549
|
+
def rule_name(self) -> pulumi.Output[str]:
|
1550
|
+
"""
|
1551
|
+
(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).
|
1552
|
+
"""
|
1553
|
+
return pulumi.get(self, "rule_name")
|
1554
|
+
|
1382
1555
|
@property
|
1383
1556
|
@pulumi.getter
|
1384
1557
|
def severity(self) -> pulumi.Output[str]:
|
@@ -22,7 +22,7 @@ class GetAlarmResult:
|
|
22
22
|
"""
|
23
23
|
A collection of values returned by getAlarm.
|
24
24
|
"""
|
25
|
-
def __init__(__self__, alarm_id=None, body=None, compartment_id=None, defined_tags=None, destinations=None, display_name=None, freeform_tags=None, id=None, is_enabled=None, is_notifications_per_metric_dimension_enabled=None, message_format=None, metric_compartment_id=None, metric_compartment_id_in_subtree=None, namespace=None, pending_duration=None, query=None, repeat_notification_duration=None, resolution=None, resource_group=None, severity=None, state=None, suppressions=None, time_created=None, time_updated=None):
|
25
|
+
def __init__(__self__, alarm_id=None, body=None, compartment_id=None, defined_tags=None, destinations=None, display_name=None, freeform_tags=None, id=None, is_enabled=None, is_notifications_per_metric_dimension_enabled=None, message_format=None, metric_compartment_id=None, metric_compartment_id_in_subtree=None, namespace=None, notification_version=None, overrides=None, pending_duration=None, query=None, repeat_notification_duration=None, resolution=None, resource_group=None, rule_name=None, severity=None, state=None, suppressions=None, time_created=None, time_updated=None):
|
26
26
|
if alarm_id and not isinstance(alarm_id, str):
|
27
27
|
raise TypeError("Expected argument 'alarm_id' to be a str")
|
28
28
|
pulumi.set(__self__, "alarm_id", alarm_id)
|
@@ -65,6 +65,12 @@ class GetAlarmResult:
|
|
65
65
|
if namespace and not isinstance(namespace, str):
|
66
66
|
raise TypeError("Expected argument 'namespace' to be a str")
|
67
67
|
pulumi.set(__self__, "namespace", namespace)
|
68
|
+
if notification_version and not isinstance(notification_version, str):
|
69
|
+
raise TypeError("Expected argument 'notification_version' to be a str")
|
70
|
+
pulumi.set(__self__, "notification_version", notification_version)
|
71
|
+
if overrides and not isinstance(overrides, list):
|
72
|
+
raise TypeError("Expected argument 'overrides' to be a list")
|
73
|
+
pulumi.set(__self__, "overrides", overrides)
|
68
74
|
if pending_duration and not isinstance(pending_duration, str):
|
69
75
|
raise TypeError("Expected argument 'pending_duration' to be a str")
|
70
76
|
pulumi.set(__self__, "pending_duration", pending_duration)
|
@@ -80,6 +86,9 @@ class GetAlarmResult:
|
|
80
86
|
if resource_group and not isinstance(resource_group, str):
|
81
87
|
raise TypeError("Expected argument 'resource_group' to be a str")
|
82
88
|
pulumi.set(__self__, "resource_group", resource_group)
|
89
|
+
if rule_name and not isinstance(rule_name, str):
|
90
|
+
raise TypeError("Expected argument 'rule_name' to be a str")
|
91
|
+
pulumi.set(__self__, "rule_name", rule_name)
|
83
92
|
if severity and not isinstance(severity, str):
|
84
93
|
raise TypeError("Expected argument 'severity' to be a str")
|
85
94
|
pulumi.set(__self__, "severity", severity)
|
@@ -205,6 +214,22 @@ class GetAlarmResult:
|
|
205
214
|
"""
|
206
215
|
return pulumi.get(self, "namespace")
|
207
216
|
|
217
|
+
@property
|
218
|
+
@pulumi.getter(name="notificationVersion")
|
219
|
+
def notification_version(self) -> str:
|
220
|
+
"""
|
221
|
+
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.
|
222
|
+
"""
|
223
|
+
return pulumi.get(self, "notification_version")
|
224
|
+
|
225
|
+
@property
|
226
|
+
@pulumi.getter
|
227
|
+
def overrides(self) -> Sequence['outputs.GetAlarmOverrideResult']:
|
228
|
+
"""
|
229
|
+
A set of overrides that control evaluations of the alarm.
|
230
|
+
"""
|
231
|
+
return pulumi.get(self, "overrides")
|
232
|
+
|
208
233
|
@property
|
209
234
|
@pulumi.getter(name="pendingDuration")
|
210
235
|
def pending_duration(self) -> str:
|
@@ -245,6 +270,14 @@ class GetAlarmResult:
|
|
245
270
|
"""
|
246
271
|
return pulumi.get(self, "resource_group")
|
247
272
|
|
273
|
+
@property
|
274
|
+
@pulumi.getter(name="ruleName")
|
275
|
+
def rule_name(self) -> str:
|
276
|
+
"""
|
277
|
+
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).
|
278
|
+
"""
|
279
|
+
return pulumi.get(self, "rule_name")
|
280
|
+
|
248
281
|
@property
|
249
282
|
@pulumi.getter
|
250
283
|
def severity(self) -> str:
|
@@ -306,11 +339,14 @@ class AwaitableGetAlarmResult(GetAlarmResult):
|
|
306
339
|
metric_compartment_id=self.metric_compartment_id,
|
307
340
|
metric_compartment_id_in_subtree=self.metric_compartment_id_in_subtree,
|
308
341
|
namespace=self.namespace,
|
342
|
+
notification_version=self.notification_version,
|
343
|
+
overrides=self.overrides,
|
309
344
|
pending_duration=self.pending_duration,
|
310
345
|
query=self.query,
|
311
346
|
repeat_notification_duration=self.repeat_notification_duration,
|
312
347
|
resolution=self.resolution,
|
313
348
|
resource_group=self.resource_group,
|
349
|
+
rule_name=self.rule_name,
|
314
350
|
severity=self.severity,
|
315
351
|
state=self.state,
|
316
352
|
suppressions=self.suppressions,
|
@@ -367,11 +403,14 @@ def get_alarm(alarm_id: Optional[str] = None,
|
|
367
403
|
metric_compartment_id=pulumi.get(__ret__, 'metric_compartment_id'),
|
368
404
|
metric_compartment_id_in_subtree=pulumi.get(__ret__, 'metric_compartment_id_in_subtree'),
|
369
405
|
namespace=pulumi.get(__ret__, 'namespace'),
|
406
|
+
notification_version=pulumi.get(__ret__, 'notification_version'),
|
407
|
+
overrides=pulumi.get(__ret__, 'overrides'),
|
370
408
|
pending_duration=pulumi.get(__ret__, 'pending_duration'),
|
371
409
|
query=pulumi.get(__ret__, 'query'),
|
372
410
|
repeat_notification_duration=pulumi.get(__ret__, 'repeat_notification_duration'),
|
373
411
|
resolution=pulumi.get(__ret__, 'resolution'),
|
374
412
|
resource_group=pulumi.get(__ret__, 'resource_group'),
|
413
|
+
rule_name=pulumi.get(__ret__, 'rule_name'),
|
375
414
|
severity=pulumi.get(__ret__, 'severity'),
|
376
415
|
state=pulumi.get(__ret__, 'state'),
|
377
416
|
suppressions=pulumi.get(__ret__, 'suppressions'),
|
@@ -141,7 +141,7 @@ def get_alarm_history_collection(alarm_historytype: Optional[str] = None,
|
|
141
141
|
<!--End PulumiCodeChooser -->
|
142
142
|
|
143
143
|
|
144
|
-
:param str alarm_historytype: The type of history entries to retrieve. State history (STATE_HISTORY)
|
144
|
+
:param str alarm_historytype: The type of history entries to retrieve. State history (STATE_HISTORY), state transition history (STATE_TRANSITION_HISTORY), rule history (RULE_HISTORY) or rule transition history (RULE_TRANSITION_HISTORY). If not specified, entries of all types are retrieved. Example: `STATE_HISTORY`
|
145
145
|
:param str alarm_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of an alarm.
|
146
146
|
:param str timestamp_greater_than_or_equal_to: A filter to return only alarm history entries with timestamps occurring on or after the specified date and time. Format defined by RFC3339. Example: `2023-01-01T01:00:00.789Z`
|
147
147
|
:param str timestamp_less_than: A filter to return only alarm history entries with timestamps occurring before the specified date and time. Format defined by RFC3339. Example: `2023-01-02T01:00:00.789Z`
|
@@ -198,7 +198,7 @@ def get_alarm_history_collection_output(alarm_historytype: Optional[pulumi.Input
|
|
198
198
|
<!--End PulumiCodeChooser -->
|
199
199
|
|
200
200
|
|
201
|
-
:param str alarm_historytype: The type of history entries to retrieve. State history (STATE_HISTORY)
|
201
|
+
:param str alarm_historytype: The type of history entries to retrieve. State history (STATE_HISTORY), state transition history (STATE_TRANSITION_HISTORY), rule history (RULE_HISTORY) or rule transition history (RULE_TRANSITION_HISTORY). If not specified, entries of all types are retrieved. Example: `STATE_HISTORY`
|
202
202
|
:param str alarm_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of an alarm.
|
203
203
|
:param str timestamp_greater_than_or_equal_to: A filter to return only alarm history entries with timestamps occurring on or after the specified date and time. Format defined by RFC3339. Example: `2023-01-01T01:00:00.789Z`
|
204
204
|
:param str timestamp_less_than: A filter to return only alarm history entries with timestamps occurring before the specified date and time. Format defined by RFC3339. Example: `2023-01-02T01:00:00.789Z`
|