pulumi-oci 1.29.0__py3-none-any.whl → 1.29.0a1711606977__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. pulumi_oci/__init__.py +0 -8
  2. pulumi_oci/database/autonomous_database.py +14 -155
  3. pulumi_oci/database/get_autonomous_database.py +2 -41
  4. pulumi_oci/database/get_autonomous_databases.py +1 -1
  5. pulumi_oci/database/outputs.py +2 -68
  6. pulumi_oci/databasemanagement/get_managed_my_sql_database.py +6 -111
  7. pulumi_oci/databasemanagement/get_managed_my_sql_database_sql_data.py +4 -32
  8. pulumi_oci/databasemanagement/outputs.py +75 -267
  9. pulumi_oci/dataintegration/__init__.py +0 -3
  10. pulumi_oci/dataintegration/_inputs.py +0 -4504
  11. pulumi_oci/dataintegration/outputs.py +4724 -16512
  12. pulumi_oci/devops/_inputs.py +2 -18
  13. pulumi_oci/devops/deploy_artifact.py +0 -2
  14. pulumi_oci/devops/deploy_stage.py +0 -141
  15. pulumi_oci/devops/get_deploy_stage.py +1 -40
  16. pulumi_oci/devops/outputs.py +6 -75
  17. pulumi_oci/logging/_inputs.py +187 -2751
  18. pulumi_oci/logging/outputs.py +772 -4985
  19. pulumi_oci/logging/unified_agent_configuration.py +208 -34
  20. pulumi_oci/monitoring/_inputs.py +0 -136
  21. pulumi_oci/monitoring/alarm.py +0 -173
  22. pulumi_oci/monitoring/get_alarm.py +1 -40
  23. pulumi_oci/monitoring/get_alarm_history_collection.py +2 -2
  24. pulumi_oci/monitoring/outputs.py +0 -305
  25. pulumi_oci/networkloadbalancer/_inputs.py +20 -20
  26. pulumi_oci/networkloadbalancer/backend.py +7 -7
  27. pulumi_oci/networkloadbalancer/backend_set.py +11 -11
  28. pulumi_oci/networkloadbalancer/get_backend_set.py +1 -1
  29. pulumi_oci/networkloadbalancer/get_listener.py +1 -1
  30. pulumi_oci/networkloadbalancer/get_network_load_balancer.py +1 -14
  31. pulumi_oci/networkloadbalancer/listener.py +7 -7
  32. pulumi_oci/networkloadbalancer/network_load_balancer.py +7 -56
  33. pulumi_oci/networkloadbalancer/network_load_balancers_backend_sets_unified.py +7 -7
  34. pulumi_oci/networkloadbalancer/outputs.py +34 -41
  35. {pulumi_oci-1.29.0.dist-info → pulumi_oci-1.29.0a1711606977.dist-info}/METADATA +1 -1
  36. {pulumi_oci-1.29.0.dist-info → pulumi_oci-1.29.0a1711606977.dist-info}/RECORD +38 -41
  37. pulumi_oci/dataintegration/get_workspace_task.py +0 -443
  38. pulumi_oci/dataintegration/get_workspace_tasks.py +0 -254
  39. pulumi_oci/dataintegration/workspace_task.py +0 -1364
  40. {pulumi_oci-1.29.0.dist-info → pulumi_oci-1.29.0a1711606977.dist-info}/WHEEL +0 -0
  41. {pulumi_oci-1.29.0.dist-info → pulumi_oci-1.29.0a1711606977.dist-info}/top_level.txt +0 -0
@@ -30,13 +30,10 @@ 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,
35
33
  pending_duration: Optional[pulumi.Input[str]] = None,
36
34
  repeat_notification_duration: Optional[pulumi.Input[str]] = None,
37
35
  resolution: Optional[pulumi.Input[str]] = None,
38
36
  resource_group: Optional[pulumi.Input[str]] = None,
39
- rule_name: Optional[pulumi.Input[str]] = None,
40
37
  suppression: Optional[pulumi.Input['AlarmSuppressionArgs']] = None):
41
38
  """
42
39
  The set of arguments for constructing a Alarm resource.
@@ -74,10 +71,6 @@ class AlarmArgs:
74
71
  :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`
75
72
  :param pulumi.Input[str] message_format: (Updatable) The format to use for alarm notifications. The formats are:
76
73
  :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`).
81
74
  :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".
82
75
 
83
76
  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.
@@ -94,7 +87,6 @@ class AlarmArgs:
94
87
  Example: `PT2H`
95
88
  :param pulumi.Input[str] resolution: (Updatable) The time between calculated aggregation windows for the alarm. Supported value: `1m`
96
89
  :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).
98
90
  :param pulumi.Input['AlarmSuppressionArgs'] suppression: (Updatable) The configuration details for suppressing an alarm.
99
91
  """
100
92
  pulumi.set(__self__, "compartment_id", compartment_id)
@@ -117,10 +109,6 @@ class AlarmArgs:
117
109
  pulumi.set(__self__, "message_format", message_format)
118
110
  if metric_compartment_id_in_subtree is not None:
119
111
  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)
124
112
  if pending_duration is not None:
125
113
  pulumi.set(__self__, "pending_duration", pending_duration)
126
114
  if repeat_notification_duration is not None:
@@ -129,8 +117,6 @@ class AlarmArgs:
129
117
  pulumi.set(__self__, "resolution", resolution)
130
118
  if resource_group is not None:
131
119
  pulumi.set(__self__, "resource_group", resource_group)
132
- if rule_name is not None:
133
- pulumi.set(__self__, "rule_name", rule_name)
134
120
  if suppression is not None:
135
121
  pulumi.set(__self__, "suppression", suppression)
136
122
 
@@ -322,32 +308,6 @@ class AlarmArgs:
322
308
  def metric_compartment_id_in_subtree(self, value: Optional[pulumi.Input[bool]]):
323
309
  pulumi.set(self, "metric_compartment_id_in_subtree", value)
324
310
 
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
-
351
311
  @property
352
312
  @pulumi.getter(name="pendingDuration")
353
313
  def pending_duration(self) -> Optional[pulumi.Input[str]]:
@@ -408,18 +368,6 @@ class AlarmArgs:
408
368
  def resource_group(self, value: Optional[pulumi.Input[str]]):
409
369
  pulumi.set(self, "resource_group", value)
410
370
 
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
-
423
371
  @property
424
372
  @pulumi.getter
425
373
  def suppression(self) -> Optional[pulumi.Input['AlarmSuppressionArgs']]:
@@ -448,14 +396,11 @@ class _AlarmState:
448
396
  metric_compartment_id: Optional[pulumi.Input[str]] = None,
449
397
  metric_compartment_id_in_subtree: Optional[pulumi.Input[bool]] = None,
450
398
  namespace: Optional[pulumi.Input[str]] = None,
451
- notification_version: Optional[pulumi.Input[str]] = None,
452
- overrides: Optional[pulumi.Input[Sequence[pulumi.Input['AlarmOverrideArgs']]]] = None,
453
399
  pending_duration: Optional[pulumi.Input[str]] = None,
454
400
  query: Optional[pulumi.Input[str]] = None,
455
401
  repeat_notification_duration: Optional[pulumi.Input[str]] = None,
456
402
  resolution: Optional[pulumi.Input[str]] = None,
457
403
  resource_group: Optional[pulumi.Input[str]] = None,
458
- rule_name: Optional[pulumi.Input[str]] = None,
459
404
  severity: Optional[pulumi.Input[str]] = None,
460
405
  state: Optional[pulumi.Input[str]] = None,
461
406
  suppression: Optional[pulumi.Input['AlarmSuppressionArgs']] = None,
@@ -479,10 +424,6 @@ class _AlarmState:
479
424
  :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.
480
425
  :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`
481
426
  :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`).
486
427
  :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".
487
428
 
488
429
  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.
@@ -516,7 +457,6 @@ class _AlarmState:
516
457
  Example: `PT2H`
517
458
  :param pulumi.Input[str] resolution: (Updatable) The time between calculated aggregation windows for the alarm. Supported value: `1m`
518
459
  :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).
520
460
  :param pulumi.Input[str] severity: (Updatable) The perceived type of response required when the alarm is in the "FIRING" state. Example: `CRITICAL`
521
461
  :param pulumi.Input[str] state: The current lifecycle state of the alarm. Example: `DELETED`
522
462
  :param pulumi.Input['AlarmSuppressionArgs'] suppression: (Updatable) The configuration details for suppressing an alarm.
@@ -547,10 +487,6 @@ class _AlarmState:
547
487
  pulumi.set(__self__, "metric_compartment_id_in_subtree", metric_compartment_id_in_subtree)
548
488
  if namespace is not None:
549
489
  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)
554
490
  if pending_duration is not None:
555
491
  pulumi.set(__self__, "pending_duration", pending_duration)
556
492
  if query is not None:
@@ -561,8 +497,6 @@ class _AlarmState:
561
497
  pulumi.set(__self__, "resolution", resolution)
562
498
  if resource_group is not None:
563
499
  pulumi.set(__self__, "resource_group", resource_group)
564
- if rule_name is not None:
565
- pulumi.set(__self__, "rule_name", rule_name)
566
500
  if severity is not None:
567
501
  pulumi.set(__self__, "severity", severity)
568
502
  if state is not None:
@@ -722,32 +656,6 @@ class _AlarmState:
722
656
  def namespace(self, value: Optional[pulumi.Input[str]]):
723
657
  pulumi.set(self, "namespace", value)
724
658
 
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
-
751
659
  @property
752
660
  @pulumi.getter(name="pendingDuration")
753
661
  def pending_duration(self) -> Optional[pulumi.Input[str]]:
@@ -836,18 +744,6 @@ class _AlarmState:
836
744
  def resource_group(self, value: Optional[pulumi.Input[str]]):
837
745
  pulumi.set(self, "resource_group", value)
838
746
 
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
-
851
747
  @property
852
748
  @pulumi.getter
853
749
  def severity(self) -> Optional[pulumi.Input[str]]:
@@ -926,14 +822,11 @@ class Alarm(pulumi.CustomResource):
926
822
  metric_compartment_id: Optional[pulumi.Input[str]] = None,
927
823
  metric_compartment_id_in_subtree: Optional[pulumi.Input[bool]] = None,
928
824
  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,
931
825
  pending_duration: Optional[pulumi.Input[str]] = None,
932
826
  query: Optional[pulumi.Input[str]] = None,
933
827
  repeat_notification_duration: Optional[pulumi.Input[str]] = None,
934
828
  resolution: Optional[pulumi.Input[str]] = None,
935
829
  resource_group: Optional[pulumi.Input[str]] = None,
936
- rule_name: Optional[pulumi.Input[str]] = None,
937
830
  severity: Optional[pulumi.Input[str]] = None,
938
831
  suppression: Optional[pulumi.Input[pulumi.InputType['AlarmSuppressionArgs']]] = None,
939
832
  __props__=None):
@@ -976,19 +869,10 @@ class Alarm(pulumi.CustomResource):
976
869
  is_notifications_per_metric_dimension_enabled=var["alarm_is_notifications_per_metric_dimension_enabled"],
977
870
  message_format=var["alarm_message_format"],
978
871
  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
- )],
987
872
  pending_duration=var["alarm_pending_duration"],
988
873
  repeat_notification_duration=var["alarm_repeat_notification_duration"],
989
874
  resolution=var["alarm_resolution"],
990
875
  resource_group=var["alarm_resource_group"],
991
- rule_name=oci_events_rule["test_rule"]["name"],
992
876
  suppression=oci.monitoring.AlarmSuppressionArgs(
993
877
  time_suppress_from=var["alarm_suppression_time_suppress_from"],
994
878
  time_suppress_until=var["alarm_suppression_time_suppress_until"],
@@ -1023,10 +907,6 @@ class Alarm(pulumi.CustomResource):
1023
907
  :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.
1024
908
  :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`
1025
909
  :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`).
1030
910
  :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".
1031
911
 
1032
912
  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.
@@ -1060,7 +940,6 @@ class Alarm(pulumi.CustomResource):
1060
940
  Example: `PT2H`
1061
941
  :param pulumi.Input[str] resolution: (Updatable) The time between calculated aggregation windows for the alarm. Supported value: `1m`
1062
942
  :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).
1064
943
  :param pulumi.Input[str] severity: (Updatable) The perceived type of response required when the alarm is in the "FIRING" state. Example: `CRITICAL`
1065
944
  :param pulumi.Input[pulumi.InputType['AlarmSuppressionArgs']] suppression: (Updatable) The configuration details for suppressing an alarm.
1066
945
  """
@@ -1109,19 +988,10 @@ class Alarm(pulumi.CustomResource):
1109
988
  is_notifications_per_metric_dimension_enabled=var["alarm_is_notifications_per_metric_dimension_enabled"],
1110
989
  message_format=var["alarm_message_format"],
1111
990
  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
- )],
1120
991
  pending_duration=var["alarm_pending_duration"],
1121
992
  repeat_notification_duration=var["alarm_repeat_notification_duration"],
1122
993
  resolution=var["alarm_resolution"],
1123
994
  resource_group=var["alarm_resource_group"],
1124
- rule_name=oci_events_rule["test_rule"]["name"],
1125
995
  suppression=oci.monitoring.AlarmSuppressionArgs(
1126
996
  time_suppress_from=var["alarm_suppression_time_suppress_from"],
1127
997
  time_suppress_until=var["alarm_suppression_time_suppress_until"],
@@ -1165,14 +1035,11 @@ class Alarm(pulumi.CustomResource):
1165
1035
  metric_compartment_id: Optional[pulumi.Input[str]] = None,
1166
1036
  metric_compartment_id_in_subtree: Optional[pulumi.Input[bool]] = None,
1167
1037
  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,
1170
1038
  pending_duration: Optional[pulumi.Input[str]] = None,
1171
1039
  query: Optional[pulumi.Input[str]] = None,
1172
1040
  repeat_notification_duration: Optional[pulumi.Input[str]] = None,
1173
1041
  resolution: Optional[pulumi.Input[str]] = None,
1174
1042
  resource_group: Optional[pulumi.Input[str]] = None,
1175
- rule_name: Optional[pulumi.Input[str]] = None,
1176
1043
  severity: Optional[pulumi.Input[str]] = None,
1177
1044
  suppression: Optional[pulumi.Input[pulumi.InputType['AlarmSuppressionArgs']]] = None,
1178
1045
  __props__=None):
@@ -1208,8 +1075,6 @@ class Alarm(pulumi.CustomResource):
1208
1075
  if namespace is None and not opts.urn:
1209
1076
  raise TypeError("Missing required property 'namespace'")
1210
1077
  __props__.__dict__["namespace"] = namespace
1211
- __props__.__dict__["notification_version"] = notification_version
1212
- __props__.__dict__["overrides"] = overrides
1213
1078
  __props__.__dict__["pending_duration"] = pending_duration
1214
1079
  if query is None and not opts.urn:
1215
1080
  raise TypeError("Missing required property 'query'")
@@ -1217,7 +1082,6 @@ class Alarm(pulumi.CustomResource):
1217
1082
  __props__.__dict__["repeat_notification_duration"] = repeat_notification_duration
1218
1083
  __props__.__dict__["resolution"] = resolution
1219
1084
  __props__.__dict__["resource_group"] = resource_group
1220
- __props__.__dict__["rule_name"] = rule_name
1221
1085
  if severity is None and not opts.urn:
1222
1086
  raise TypeError("Missing required property 'severity'")
1223
1087
  __props__.__dict__["severity"] = severity
@@ -1247,14 +1111,11 @@ class Alarm(pulumi.CustomResource):
1247
1111
  metric_compartment_id: Optional[pulumi.Input[str]] = None,
1248
1112
  metric_compartment_id_in_subtree: Optional[pulumi.Input[bool]] = None,
1249
1113
  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,
1252
1114
  pending_duration: Optional[pulumi.Input[str]] = None,
1253
1115
  query: Optional[pulumi.Input[str]] = None,
1254
1116
  repeat_notification_duration: Optional[pulumi.Input[str]] = None,
1255
1117
  resolution: Optional[pulumi.Input[str]] = None,
1256
1118
  resource_group: Optional[pulumi.Input[str]] = None,
1257
- rule_name: Optional[pulumi.Input[str]] = None,
1258
1119
  severity: Optional[pulumi.Input[str]] = None,
1259
1120
  state: Optional[pulumi.Input[str]] = None,
1260
1121
  suppression: Optional[pulumi.Input[pulumi.InputType['AlarmSuppressionArgs']]] = None,
@@ -1283,10 +1144,6 @@ class Alarm(pulumi.CustomResource):
1283
1144
  :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.
1284
1145
  :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`
1285
1146
  :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`).
1290
1147
  :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".
1291
1148
 
1292
1149
  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.
@@ -1320,7 +1177,6 @@ class Alarm(pulumi.CustomResource):
1320
1177
  Example: `PT2H`
1321
1178
  :param pulumi.Input[str] resolution: (Updatable) The time between calculated aggregation windows for the alarm. Supported value: `1m`
1322
1179
  :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).
1324
1180
  :param pulumi.Input[str] severity: (Updatable) The perceived type of response required when the alarm is in the "FIRING" state. Example: `CRITICAL`
1325
1181
  :param pulumi.Input[str] state: The current lifecycle state of the alarm. Example: `DELETED`
1326
1182
  :param pulumi.Input[pulumi.InputType['AlarmSuppressionArgs']] suppression: (Updatable) The configuration details for suppressing an alarm.
@@ -1343,14 +1199,11 @@ class Alarm(pulumi.CustomResource):
1343
1199
  __props__.__dict__["metric_compartment_id"] = metric_compartment_id
1344
1200
  __props__.__dict__["metric_compartment_id_in_subtree"] = metric_compartment_id_in_subtree
1345
1201
  __props__.__dict__["namespace"] = namespace
1346
- __props__.__dict__["notification_version"] = notification_version
1347
- __props__.__dict__["overrides"] = overrides
1348
1202
  __props__.__dict__["pending_duration"] = pending_duration
1349
1203
  __props__.__dict__["query"] = query
1350
1204
  __props__.__dict__["repeat_notification_duration"] = repeat_notification_duration
1351
1205
  __props__.__dict__["resolution"] = resolution
1352
1206
  __props__.__dict__["resource_group"] = resource_group
1353
- __props__.__dict__["rule_name"] = rule_name
1354
1207
  __props__.__dict__["severity"] = severity
1355
1208
  __props__.__dict__["state"] = state
1356
1209
  __props__.__dict__["suppression"] = suppression
@@ -1458,24 +1311,6 @@ class Alarm(pulumi.CustomResource):
1458
1311
  """
1459
1312
  return pulumi.get(self, "namespace")
1460
1313
 
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
-
1479
1314
  @property
1480
1315
  @pulumi.getter(name="pendingDuration")
1481
1316
  def pending_duration(self) -> pulumi.Output[str]:
@@ -1544,14 +1379,6 @@ class Alarm(pulumi.CustomResource):
1544
1379
  """
1545
1380
  return pulumi.get(self, "resource_group")
1546
1381
 
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
-
1555
1382
  @property
1556
1383
  @pulumi.getter
1557
1384
  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, 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):
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):
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,12 +65,6 @@ 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)
74
68
  if pending_duration and not isinstance(pending_duration, str):
75
69
  raise TypeError("Expected argument 'pending_duration' to be a str")
76
70
  pulumi.set(__self__, "pending_duration", pending_duration)
@@ -86,9 +80,6 @@ class GetAlarmResult:
86
80
  if resource_group and not isinstance(resource_group, str):
87
81
  raise TypeError("Expected argument 'resource_group' to be a str")
88
82
  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)
92
83
  if severity and not isinstance(severity, str):
93
84
  raise TypeError("Expected argument 'severity' to be a str")
94
85
  pulumi.set(__self__, "severity", severity)
@@ -214,22 +205,6 @@ class GetAlarmResult:
214
205
  """
215
206
  return pulumi.get(self, "namespace")
216
207
 
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
-
233
208
  @property
234
209
  @pulumi.getter(name="pendingDuration")
235
210
  def pending_duration(self) -> str:
@@ -270,14 +245,6 @@ class GetAlarmResult:
270
245
  """
271
246
  return pulumi.get(self, "resource_group")
272
247
 
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
-
281
248
  @property
282
249
  @pulumi.getter
283
250
  def severity(self) -> str:
@@ -339,14 +306,11 @@ class AwaitableGetAlarmResult(GetAlarmResult):
339
306
  metric_compartment_id=self.metric_compartment_id,
340
307
  metric_compartment_id_in_subtree=self.metric_compartment_id_in_subtree,
341
308
  namespace=self.namespace,
342
- notification_version=self.notification_version,
343
- overrides=self.overrides,
344
309
  pending_duration=self.pending_duration,
345
310
  query=self.query,
346
311
  repeat_notification_duration=self.repeat_notification_duration,
347
312
  resolution=self.resolution,
348
313
  resource_group=self.resource_group,
349
- rule_name=self.rule_name,
350
314
  severity=self.severity,
351
315
  state=self.state,
352
316
  suppressions=self.suppressions,
@@ -403,14 +367,11 @@ def get_alarm(alarm_id: Optional[str] = None,
403
367
  metric_compartment_id=pulumi.get(__ret__, 'metric_compartment_id'),
404
368
  metric_compartment_id_in_subtree=pulumi.get(__ret__, 'metric_compartment_id_in_subtree'),
405
369
  namespace=pulumi.get(__ret__, 'namespace'),
406
- notification_version=pulumi.get(__ret__, 'notification_version'),
407
- overrides=pulumi.get(__ret__, 'overrides'),
408
370
  pending_duration=pulumi.get(__ret__, 'pending_duration'),
409
371
  query=pulumi.get(__ret__, 'query'),
410
372
  repeat_notification_duration=pulumi.get(__ret__, 'repeat_notification_duration'),
411
373
  resolution=pulumi.get(__ret__, 'resolution'),
412
374
  resource_group=pulumi.get(__ret__, 'resource_group'),
413
- rule_name=pulumi.get(__ret__, 'rule_name'),
414
375
  severity=pulumi.get(__ret__, 'severity'),
415
376
  state=pulumi.get(__ret__, 'state'),
416
377
  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), 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`
144
+ :param str alarm_historytype: The type of history entries to retrieve. State history (STATE_HISTORY) or state transition history (STATE_TRANSITION_HISTORY). If not specified, entries of both 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), 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`
201
+ :param str alarm_historytype: The type of history entries to retrieve. State history (STATE_HISTORY) or state transition history (STATE_TRANSITION_HISTORY). If not specified, entries of both 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`