pulumi-oci 1.19.0a1705693078__py3-none-any.whl → 1.20.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_oci/__init__.py +59 -0
- pulumi_oci/adm/_inputs.py +99 -18
- pulumi_oci/adm/get_remediation_run_application_dependency_recommendations.py +23 -3
- pulumi_oci/adm/get_vulnerability_audit.py +31 -5
- pulumi_oci/adm/get_vulnerability_audit_application_dependency_vulnerabilities.py +43 -6
- pulumi_oci/adm/get_vulnerability_audit_application_dependency_vulnerability.py +27 -1
- pulumi_oci/adm/get_vulnerability_audits.py +54 -3
- pulumi_oci/adm/outputs.py +296 -31
- pulumi_oci/adm/remediation_recipe.py +2 -0
- pulumi_oci/adm/vulnerability_audit.py +96 -37
- pulumi_oci/database/__init__.py +1 -0
- pulumi_oci/database/_inputs.py +40 -0
- pulumi_oci/database/cloud_vm_cluster.py +22 -1
- pulumi_oci/database/get_system_versions.py +173 -0
- pulumi_oci/database/outputs.py +88 -0
- pulumi_oci/database/vm_cluster.py +22 -1
- pulumi_oci/datasafe/__init__.py +22 -0
- pulumi_oci/datasafe/_inputs.py +1826 -161
- pulumi_oci/datasafe/audit_trail.py +140 -0
- pulumi_oci/datasafe/discovery_mod.py +7 -7
- pulumi_oci/datasafe/get_audit_trail.py +66 -1
- pulumi_oci/datasafe/get_discovery_job.py +1 -1
- pulumi_oci/datasafe/get_discovery_jobs_result.py +1 -1
- pulumi_oci/datasafe/get_discovery_jobs_results.py +1 -1
- pulumi_oci/datasafe/get_masking_policies_masking_column.py +1 -1
- pulumi_oci/datasafe/get_masking_policies_masking_columns.py +1 -1
- pulumi_oci/datasafe/get_masking_policy.py +1 -1
- pulumi_oci/datasafe/get_report.py +1 -1
- pulumi_oci/datasafe/get_security_assessment.py +3 -3
- pulumi_oci/datasafe/get_security_assessment_comparison.py +5 -5
- pulumi_oci/datasafe/get_security_assessment_finding.py +29 -3
- pulumi_oci/datasafe/get_security_assessment_finding_analytics.py +276 -0
- pulumi_oci/datasafe/get_security_assessment_findings.py +43 -7
- pulumi_oci/datasafe/get_security_assessment_findings_change_audit_logs.py +309 -0
- pulumi_oci/datasafe/get_security_assessment_security_feature_analytics.py +198 -0
- pulumi_oci/datasafe/get_security_assessment_security_features.py +377 -0
- pulumi_oci/datasafe/get_security_assessments.py +2 -2
- pulumi_oci/datasafe/get_security_policies.py +253 -0
- pulumi_oci/datasafe/get_security_policy.py +235 -0
- pulumi_oci/datasafe/get_security_policy_deployment.py +261 -0
- pulumi_oci/datasafe/get_security_policy_deployment_security_policy_entry_state.py +165 -0
- pulumi_oci/datasafe/get_security_policy_deployment_security_policy_entry_states.py +180 -0
- pulumi_oci/datasafe/get_security_policy_deployments.py +293 -0
- pulumi_oci/datasafe/get_security_policy_report.py +248 -0
- pulumi_oci/datasafe/get_security_policy_report_database_table_access_entries.py +158 -0
- pulumi_oci/datasafe/get_security_policy_report_database_table_access_entry.py +408 -0
- pulumi_oci/datasafe/get_security_policy_report_database_view_access_entries.py +178 -0
- pulumi_oci/datasafe/get_security_policy_report_database_view_access_entry.py +382 -0
- pulumi_oci/datasafe/get_security_policy_report_role_grant_paths.py +177 -0
- pulumi_oci/datasafe/get_security_policy_reports.py +273 -0
- pulumi_oci/datasafe/get_sensitive_data_model.py +1 -1
- pulumi_oci/datasafe/get_target_database.py +27 -4
- pulumi_oci/datasafe/get_target_database_peer_target_database.py +263 -0
- pulumi_oci/datasafe/get_target_database_peer_target_databases.py +133 -0
- pulumi_oci/datasafe/get_target_databases.py +1 -1
- pulumi_oci/datasafe/get_user_assessment.py +5 -5
- pulumi_oci/datasafe/get_user_assessment_comparison.py +2 -2
- pulumi_oci/datasafe/get_user_assessment_user_access_analytics.py +133 -0
- pulumi_oci/datasafe/get_user_assessment_user_analytics.py +2 -2
- pulumi_oci/datasafe/get_user_assessment_users.py +42 -2
- pulumi_oci/datasafe/get_user_assessments.py +2 -2
- pulumi_oci/datasafe/masking_policies_masking_column.py +7 -7
- pulumi_oci/datasafe/masking_policy.py +9 -9
- pulumi_oci/datasafe/outputs.py +16686 -9777
- pulumi_oci/datasafe/report.py +559 -0
- pulumi_oci/datasafe/security_assessment.py +12 -12
- pulumi_oci/datasafe/sensitive_data_model.py +7 -7
- pulumi_oci/datasafe/set_security_assessment_baseline.py +7 -7
- pulumi_oci/datasafe/set_user_assessment_baseline.py +7 -7
- pulumi_oci/datasafe/target_database.py +146 -25
- pulumi_oci/datasafe/target_database_peer_target_database.py +634 -0
- pulumi_oci/datasafe/user_assessment.py +20 -20
- pulumi_oci/generativeai/__init__.py +18 -0
- pulumi_oci/generativeai/_inputs.py +534 -0
- pulumi_oci/generativeai/dedicated_ai_cluster.py +808 -0
- pulumi_oci/generativeai/endpoint.py +717 -0
- pulumi_oci/generativeai/get_dedicated_ai_cluster.py +288 -0
- pulumi_oci/generativeai/get_dedicated_ai_clusters.py +183 -0
- pulumi_oci/generativeai/get_endpoint.py +275 -0
- pulumi_oci/generativeai/get_endpoints.py +183 -0
- pulumi_oci/generativeai/get_model.py +353 -0
- pulumi_oci/generativeai/get_models.py +220 -0
- pulumi_oci/generativeai/model.py +858 -0
- pulumi_oci/generativeai/outputs.py +1721 -0
- pulumi_oci/marketplace/get_publication.py +14 -1
- pulumi_oci/marketplace/outputs.py +11 -0
- pulumi_oci/marketplace/publication.py +28 -0
- pulumi_oci/monitoring/__init__.py +3 -0
- pulumi_oci/monitoring/_inputs.py +82 -4
- pulumi_oci/monitoring/alarm.py +15 -15
- pulumi_oci/monitoring/alarm_suppression.py +745 -0
- pulumi_oci/monitoring/get_alarm.py +5 -5
- pulumi_oci/monitoring/get_alarm_history_collection.py +4 -4
- pulumi_oci/monitoring/get_alarm_statuses.py +3 -1
- pulumi_oci/monitoring/get_alarm_suppression.py +276 -0
- pulumi_oci/monitoring/get_alarm_suppressions.py +192 -0
- pulumi_oci/monitoring/get_metric_data.py +12 -8
- pulumi_oci/monitoring/get_metrics.py +2 -2
- pulumi_oci/monitoring/outputs.py +355 -50
- pulumi_oci/networkfirewall/_inputs.py +25 -20
- pulumi_oci/networkfirewall/outputs.py +40 -30
- pulumi_oci/stackmonitoring/__init__.py +3 -0
- pulumi_oci/stackmonitoring/_inputs.py +143 -0
- pulumi_oci/stackmonitoring/get_process_set.py +236 -0
- pulumi_oci/stackmonitoring/get_process_sets.py +156 -0
- pulumi_oci/stackmonitoring/outputs.py +422 -0
- pulumi_oci/stackmonitoring/process_set.py +548 -0
- {pulumi_oci-1.19.0a1705693078.dist-info → pulumi_oci-1.20.0.dist-info}/METADATA +1 -1
- {pulumi_oci-1.19.0a1705693078.dist-info → pulumi_oci-1.20.0.dist-info}/RECORD +111 -70
- {pulumi_oci-1.19.0a1705693078.dist-info → pulumi_oci-1.20.0.dist-info}/WHEEL +0 -0
- {pulumi_oci-1.19.0a1705693078.dist-info → pulumi_oci-1.20.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,745 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import pulumi
|
8
|
+
import pulumi.runtime
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
+
from .. import _utilities
|
11
|
+
from . import outputs
|
12
|
+
from ._inputs import *
|
13
|
+
|
14
|
+
__all__ = ['AlarmSuppressionInitArgs', 'AlarmSuppression']
|
15
|
+
|
16
|
+
@pulumi.input_type
|
17
|
+
class AlarmSuppressionInitArgs:
|
18
|
+
def __init__(__self__, *,
|
19
|
+
alarm_suppression_target: pulumi.Input['AlarmSuppressionAlarmSuppressionTargetArgs'],
|
20
|
+
dimensions: pulumi.Input[Mapping[str, Any]],
|
21
|
+
display_name: pulumi.Input[str],
|
22
|
+
time_suppress_from: pulumi.Input[str],
|
23
|
+
time_suppress_until: pulumi.Input[str],
|
24
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
25
|
+
description: Optional[pulumi.Input[str]] = None,
|
26
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None):
|
27
|
+
"""
|
28
|
+
The set of arguments for constructing a AlarmSuppression resource.
|
29
|
+
:param pulumi.Input['AlarmSuppressionAlarmSuppressionTargetArgs'] alarm_suppression_target: The target of the alarm suppression.
|
30
|
+
:param pulumi.Input[Mapping[str, Any]] dimensions: A filter to suppress only alarm state entries that include the set of specified dimension key-value pairs. If you specify {"availabilityDomain": "phx-ad-1"} and the alarm state entry corresponds to the set {"availabilityDomain": "phx-ad-1" and "resourceId": "instance.region1.phx.exampleuniqueID"}, then this alarm will be included for suppression.
|
31
|
+
|
32
|
+
The value cannot be an empty object. Only a single value is allowed per key. No grouping of multiple values is allowed under the same key. Maximum characters (after serialization): 4000. This maximum satisfies typical use cases. The response for an exceeded maximum is `HTTP 400` with an "dimensions values are too long" message.
|
33
|
+
:param pulumi.Input[str] display_name: A user-friendly name for the alarm suppression. It does not have to be unique, and it's changeable. Avoid entering confidential information.
|
34
|
+
:param pulumi.Input[str] time_suppress_from: The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z`
|
35
|
+
:param pulumi.Input[str] time_suppress_until: The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T02:02:29.600Z`
|
36
|
+
|
37
|
+
|
38
|
+
** IMPORTANT **
|
39
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
40
|
+
:param pulumi.Input[Mapping[str, Any]] defined_tags: Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"Operations.CostCenter": "42"}`
|
41
|
+
:param pulumi.Input[str] description: Human-readable reason for this alarm suppression. It does not have to be unique, and it's changeable. Avoid entering confidential information.
|
42
|
+
|
43
|
+
Oracle recommends including tracking information for the event or associated work, such as a ticket number.
|
44
|
+
|
45
|
+
Example: `Planned outage due to change IT-1234.`
|
46
|
+
:param pulumi.Input[Mapping[str, Any]] freeform_tags: Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"Department": "Finance"}`
|
47
|
+
"""
|
48
|
+
pulumi.set(__self__, "alarm_suppression_target", alarm_suppression_target)
|
49
|
+
pulumi.set(__self__, "dimensions", dimensions)
|
50
|
+
pulumi.set(__self__, "display_name", display_name)
|
51
|
+
pulumi.set(__self__, "time_suppress_from", time_suppress_from)
|
52
|
+
pulumi.set(__self__, "time_suppress_until", time_suppress_until)
|
53
|
+
if defined_tags is not None:
|
54
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
55
|
+
if description is not None:
|
56
|
+
pulumi.set(__self__, "description", description)
|
57
|
+
if freeform_tags is not None:
|
58
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
59
|
+
|
60
|
+
@property
|
61
|
+
@pulumi.getter(name="alarmSuppressionTarget")
|
62
|
+
def alarm_suppression_target(self) -> pulumi.Input['AlarmSuppressionAlarmSuppressionTargetArgs']:
|
63
|
+
"""
|
64
|
+
The target of the alarm suppression.
|
65
|
+
"""
|
66
|
+
return pulumi.get(self, "alarm_suppression_target")
|
67
|
+
|
68
|
+
@alarm_suppression_target.setter
|
69
|
+
def alarm_suppression_target(self, value: pulumi.Input['AlarmSuppressionAlarmSuppressionTargetArgs']):
|
70
|
+
pulumi.set(self, "alarm_suppression_target", value)
|
71
|
+
|
72
|
+
@property
|
73
|
+
@pulumi.getter
|
74
|
+
def dimensions(self) -> pulumi.Input[Mapping[str, Any]]:
|
75
|
+
"""
|
76
|
+
A filter to suppress only alarm state entries that include the set of specified dimension key-value pairs. If you specify {"availabilityDomain": "phx-ad-1"} and the alarm state entry corresponds to the set {"availabilityDomain": "phx-ad-1" and "resourceId": "instance.region1.phx.exampleuniqueID"}, then this alarm will be included for suppression.
|
77
|
+
|
78
|
+
The value cannot be an empty object. Only a single value is allowed per key. No grouping of multiple values is allowed under the same key. Maximum characters (after serialization): 4000. This maximum satisfies typical use cases. The response for an exceeded maximum is `HTTP 400` with an "dimensions values are too long" message.
|
79
|
+
"""
|
80
|
+
return pulumi.get(self, "dimensions")
|
81
|
+
|
82
|
+
@dimensions.setter
|
83
|
+
def dimensions(self, value: pulumi.Input[Mapping[str, Any]]):
|
84
|
+
pulumi.set(self, "dimensions", value)
|
85
|
+
|
86
|
+
@property
|
87
|
+
@pulumi.getter(name="displayName")
|
88
|
+
def display_name(self) -> pulumi.Input[str]:
|
89
|
+
"""
|
90
|
+
A user-friendly name for the alarm suppression. It does not have to be unique, and it's changeable. Avoid entering confidential information.
|
91
|
+
"""
|
92
|
+
return pulumi.get(self, "display_name")
|
93
|
+
|
94
|
+
@display_name.setter
|
95
|
+
def display_name(self, value: pulumi.Input[str]):
|
96
|
+
pulumi.set(self, "display_name", value)
|
97
|
+
|
98
|
+
@property
|
99
|
+
@pulumi.getter(name="timeSuppressFrom")
|
100
|
+
def time_suppress_from(self) -> pulumi.Input[str]:
|
101
|
+
"""
|
102
|
+
The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z`
|
103
|
+
"""
|
104
|
+
return pulumi.get(self, "time_suppress_from")
|
105
|
+
|
106
|
+
@time_suppress_from.setter
|
107
|
+
def time_suppress_from(self, value: pulumi.Input[str]):
|
108
|
+
pulumi.set(self, "time_suppress_from", value)
|
109
|
+
|
110
|
+
@property
|
111
|
+
@pulumi.getter(name="timeSuppressUntil")
|
112
|
+
def time_suppress_until(self) -> pulumi.Input[str]:
|
113
|
+
"""
|
114
|
+
The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T02:02:29.600Z`
|
115
|
+
|
116
|
+
|
117
|
+
** IMPORTANT **
|
118
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
119
|
+
"""
|
120
|
+
return pulumi.get(self, "time_suppress_until")
|
121
|
+
|
122
|
+
@time_suppress_until.setter
|
123
|
+
def time_suppress_until(self, value: pulumi.Input[str]):
|
124
|
+
pulumi.set(self, "time_suppress_until", value)
|
125
|
+
|
126
|
+
@property
|
127
|
+
@pulumi.getter(name="definedTags")
|
128
|
+
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
129
|
+
"""
|
130
|
+
Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"Operations.CostCenter": "42"}`
|
131
|
+
"""
|
132
|
+
return pulumi.get(self, "defined_tags")
|
133
|
+
|
134
|
+
@defined_tags.setter
|
135
|
+
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
136
|
+
pulumi.set(self, "defined_tags", value)
|
137
|
+
|
138
|
+
@property
|
139
|
+
@pulumi.getter
|
140
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
141
|
+
"""
|
142
|
+
Human-readable reason for this alarm suppression. It does not have to be unique, and it's changeable. Avoid entering confidential information.
|
143
|
+
|
144
|
+
Oracle recommends including tracking information for the event or associated work, such as a ticket number.
|
145
|
+
|
146
|
+
Example: `Planned outage due to change IT-1234.`
|
147
|
+
"""
|
148
|
+
return pulumi.get(self, "description")
|
149
|
+
|
150
|
+
@description.setter
|
151
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
152
|
+
pulumi.set(self, "description", value)
|
153
|
+
|
154
|
+
@property
|
155
|
+
@pulumi.getter(name="freeformTags")
|
156
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
157
|
+
"""
|
158
|
+
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"Department": "Finance"}`
|
159
|
+
"""
|
160
|
+
return pulumi.get(self, "freeform_tags")
|
161
|
+
|
162
|
+
@freeform_tags.setter
|
163
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
164
|
+
pulumi.set(self, "freeform_tags", value)
|
165
|
+
|
166
|
+
|
167
|
+
@pulumi.input_type
|
168
|
+
class _AlarmSuppressionState:
|
169
|
+
def __init__(__self__, *,
|
170
|
+
alarm_suppression_target: Optional[pulumi.Input['AlarmSuppressionAlarmSuppressionTargetArgs']] = None,
|
171
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
172
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
173
|
+
description: Optional[pulumi.Input[str]] = None,
|
174
|
+
dimensions: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
175
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
176
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
177
|
+
state: Optional[pulumi.Input[str]] = None,
|
178
|
+
time_created: Optional[pulumi.Input[str]] = None,
|
179
|
+
time_suppress_from: Optional[pulumi.Input[str]] = None,
|
180
|
+
time_suppress_until: Optional[pulumi.Input[str]] = None,
|
181
|
+
time_updated: Optional[pulumi.Input[str]] = None):
|
182
|
+
"""
|
183
|
+
Input properties used for looking up and filtering AlarmSuppression resources.
|
184
|
+
:param pulumi.Input['AlarmSuppressionAlarmSuppressionTargetArgs'] alarm_suppression_target: The target of the alarm suppression.
|
185
|
+
:param pulumi.Input[str] compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the alarm suppression.
|
186
|
+
:param pulumi.Input[Mapping[str, Any]] defined_tags: Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"Operations.CostCenter": "42"}`
|
187
|
+
:param pulumi.Input[str] description: Human-readable reason for this alarm suppression. It does not have to be unique, and it's changeable. Avoid entering confidential information.
|
188
|
+
|
189
|
+
Oracle recommends including tracking information for the event or associated work, such as a ticket number.
|
190
|
+
|
191
|
+
Example: `Planned outage due to change IT-1234.`
|
192
|
+
:param pulumi.Input[Mapping[str, Any]] dimensions: A filter to suppress only alarm state entries that include the set of specified dimension key-value pairs. If you specify {"availabilityDomain": "phx-ad-1"} and the alarm state entry corresponds to the set {"availabilityDomain": "phx-ad-1" and "resourceId": "instance.region1.phx.exampleuniqueID"}, then this alarm will be included for suppression.
|
193
|
+
|
194
|
+
The value cannot be an empty object. Only a single value is allowed per key. No grouping of multiple values is allowed under the same key. Maximum characters (after serialization): 4000. This maximum satisfies typical use cases. The response for an exceeded maximum is `HTTP 400` with an "dimensions values are too long" message.
|
195
|
+
:param pulumi.Input[str] display_name: A user-friendly name for the alarm suppression. It does not have to be unique, and it's changeable. Avoid entering confidential information.
|
196
|
+
:param pulumi.Input[Mapping[str, Any]] freeform_tags: Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"Department": "Finance"}`
|
197
|
+
:param pulumi.Input[str] state: The current lifecycle state of the alarm suppression. Example: `DELETED`
|
198
|
+
:param pulumi.Input[str] time_created: The date and time the alarm suppression was created. Format defined by RFC3339. Example: `2018-02-01T01:02:29.600Z`
|
199
|
+
:param pulumi.Input[str] time_suppress_from: The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z`
|
200
|
+
:param pulumi.Input[str] time_suppress_until: The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T02:02:29.600Z`
|
201
|
+
|
202
|
+
|
203
|
+
** IMPORTANT **
|
204
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
205
|
+
:param pulumi.Input[str] time_updated: The date and time the alarm suppression was last updated (deleted). Format defined by RFC3339. Example: `2018-02-03T01:02:29.600Z`
|
206
|
+
"""
|
207
|
+
if alarm_suppression_target is not None:
|
208
|
+
pulumi.set(__self__, "alarm_suppression_target", alarm_suppression_target)
|
209
|
+
if compartment_id is not None:
|
210
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
211
|
+
if defined_tags is not None:
|
212
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
213
|
+
if description is not None:
|
214
|
+
pulumi.set(__self__, "description", description)
|
215
|
+
if dimensions is not None:
|
216
|
+
pulumi.set(__self__, "dimensions", dimensions)
|
217
|
+
if display_name is not None:
|
218
|
+
pulumi.set(__self__, "display_name", display_name)
|
219
|
+
if freeform_tags is not None:
|
220
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
221
|
+
if state is not None:
|
222
|
+
pulumi.set(__self__, "state", state)
|
223
|
+
if time_created is not None:
|
224
|
+
pulumi.set(__self__, "time_created", time_created)
|
225
|
+
if time_suppress_from is not None:
|
226
|
+
pulumi.set(__self__, "time_suppress_from", time_suppress_from)
|
227
|
+
if time_suppress_until is not None:
|
228
|
+
pulumi.set(__self__, "time_suppress_until", time_suppress_until)
|
229
|
+
if time_updated is not None:
|
230
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
231
|
+
|
232
|
+
@property
|
233
|
+
@pulumi.getter(name="alarmSuppressionTarget")
|
234
|
+
def alarm_suppression_target(self) -> Optional[pulumi.Input['AlarmSuppressionAlarmSuppressionTargetArgs']]:
|
235
|
+
"""
|
236
|
+
The target of the alarm suppression.
|
237
|
+
"""
|
238
|
+
return pulumi.get(self, "alarm_suppression_target")
|
239
|
+
|
240
|
+
@alarm_suppression_target.setter
|
241
|
+
def alarm_suppression_target(self, value: Optional[pulumi.Input['AlarmSuppressionAlarmSuppressionTargetArgs']]):
|
242
|
+
pulumi.set(self, "alarm_suppression_target", value)
|
243
|
+
|
244
|
+
@property
|
245
|
+
@pulumi.getter(name="compartmentId")
|
246
|
+
def compartment_id(self) -> Optional[pulumi.Input[str]]:
|
247
|
+
"""
|
248
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the alarm suppression.
|
249
|
+
"""
|
250
|
+
return pulumi.get(self, "compartment_id")
|
251
|
+
|
252
|
+
@compartment_id.setter
|
253
|
+
def compartment_id(self, value: Optional[pulumi.Input[str]]):
|
254
|
+
pulumi.set(self, "compartment_id", value)
|
255
|
+
|
256
|
+
@property
|
257
|
+
@pulumi.getter(name="definedTags")
|
258
|
+
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
259
|
+
"""
|
260
|
+
Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"Operations.CostCenter": "42"}`
|
261
|
+
"""
|
262
|
+
return pulumi.get(self, "defined_tags")
|
263
|
+
|
264
|
+
@defined_tags.setter
|
265
|
+
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
266
|
+
pulumi.set(self, "defined_tags", value)
|
267
|
+
|
268
|
+
@property
|
269
|
+
@pulumi.getter
|
270
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
271
|
+
"""
|
272
|
+
Human-readable reason for this alarm suppression. It does not have to be unique, and it's changeable. Avoid entering confidential information.
|
273
|
+
|
274
|
+
Oracle recommends including tracking information for the event or associated work, such as a ticket number.
|
275
|
+
|
276
|
+
Example: `Planned outage due to change IT-1234.`
|
277
|
+
"""
|
278
|
+
return pulumi.get(self, "description")
|
279
|
+
|
280
|
+
@description.setter
|
281
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
282
|
+
pulumi.set(self, "description", value)
|
283
|
+
|
284
|
+
@property
|
285
|
+
@pulumi.getter
|
286
|
+
def dimensions(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
287
|
+
"""
|
288
|
+
A filter to suppress only alarm state entries that include the set of specified dimension key-value pairs. If you specify {"availabilityDomain": "phx-ad-1"} and the alarm state entry corresponds to the set {"availabilityDomain": "phx-ad-1" and "resourceId": "instance.region1.phx.exampleuniqueID"}, then this alarm will be included for suppression.
|
289
|
+
|
290
|
+
The value cannot be an empty object. Only a single value is allowed per key. No grouping of multiple values is allowed under the same key. Maximum characters (after serialization): 4000. This maximum satisfies typical use cases. The response for an exceeded maximum is `HTTP 400` with an "dimensions values are too long" message.
|
291
|
+
"""
|
292
|
+
return pulumi.get(self, "dimensions")
|
293
|
+
|
294
|
+
@dimensions.setter
|
295
|
+
def dimensions(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
296
|
+
pulumi.set(self, "dimensions", value)
|
297
|
+
|
298
|
+
@property
|
299
|
+
@pulumi.getter(name="displayName")
|
300
|
+
def display_name(self) -> Optional[pulumi.Input[str]]:
|
301
|
+
"""
|
302
|
+
A user-friendly name for the alarm suppression. It does not have to be unique, and it's changeable. Avoid entering confidential information.
|
303
|
+
"""
|
304
|
+
return pulumi.get(self, "display_name")
|
305
|
+
|
306
|
+
@display_name.setter
|
307
|
+
def display_name(self, value: Optional[pulumi.Input[str]]):
|
308
|
+
pulumi.set(self, "display_name", value)
|
309
|
+
|
310
|
+
@property
|
311
|
+
@pulumi.getter(name="freeformTags")
|
312
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
313
|
+
"""
|
314
|
+
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"Department": "Finance"}`
|
315
|
+
"""
|
316
|
+
return pulumi.get(self, "freeform_tags")
|
317
|
+
|
318
|
+
@freeform_tags.setter
|
319
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
320
|
+
pulumi.set(self, "freeform_tags", value)
|
321
|
+
|
322
|
+
@property
|
323
|
+
@pulumi.getter
|
324
|
+
def state(self) -> Optional[pulumi.Input[str]]:
|
325
|
+
"""
|
326
|
+
The current lifecycle state of the alarm suppression. Example: `DELETED`
|
327
|
+
"""
|
328
|
+
return pulumi.get(self, "state")
|
329
|
+
|
330
|
+
@state.setter
|
331
|
+
def state(self, value: Optional[pulumi.Input[str]]):
|
332
|
+
pulumi.set(self, "state", value)
|
333
|
+
|
334
|
+
@property
|
335
|
+
@pulumi.getter(name="timeCreated")
|
336
|
+
def time_created(self) -> Optional[pulumi.Input[str]]:
|
337
|
+
"""
|
338
|
+
The date and time the alarm suppression was created. Format defined by RFC3339. Example: `2018-02-01T01:02:29.600Z`
|
339
|
+
"""
|
340
|
+
return pulumi.get(self, "time_created")
|
341
|
+
|
342
|
+
@time_created.setter
|
343
|
+
def time_created(self, value: Optional[pulumi.Input[str]]):
|
344
|
+
pulumi.set(self, "time_created", value)
|
345
|
+
|
346
|
+
@property
|
347
|
+
@pulumi.getter(name="timeSuppressFrom")
|
348
|
+
def time_suppress_from(self) -> Optional[pulumi.Input[str]]:
|
349
|
+
"""
|
350
|
+
The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z`
|
351
|
+
"""
|
352
|
+
return pulumi.get(self, "time_suppress_from")
|
353
|
+
|
354
|
+
@time_suppress_from.setter
|
355
|
+
def time_suppress_from(self, value: Optional[pulumi.Input[str]]):
|
356
|
+
pulumi.set(self, "time_suppress_from", value)
|
357
|
+
|
358
|
+
@property
|
359
|
+
@pulumi.getter(name="timeSuppressUntil")
|
360
|
+
def time_suppress_until(self) -> Optional[pulumi.Input[str]]:
|
361
|
+
"""
|
362
|
+
The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T02:02:29.600Z`
|
363
|
+
|
364
|
+
|
365
|
+
** IMPORTANT **
|
366
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
367
|
+
"""
|
368
|
+
return pulumi.get(self, "time_suppress_until")
|
369
|
+
|
370
|
+
@time_suppress_until.setter
|
371
|
+
def time_suppress_until(self, value: Optional[pulumi.Input[str]]):
|
372
|
+
pulumi.set(self, "time_suppress_until", value)
|
373
|
+
|
374
|
+
@property
|
375
|
+
@pulumi.getter(name="timeUpdated")
|
376
|
+
def time_updated(self) -> Optional[pulumi.Input[str]]:
|
377
|
+
"""
|
378
|
+
The date and time the alarm suppression was last updated (deleted). Format defined by RFC3339. Example: `2018-02-03T01:02:29.600Z`
|
379
|
+
"""
|
380
|
+
return pulumi.get(self, "time_updated")
|
381
|
+
|
382
|
+
@time_updated.setter
|
383
|
+
def time_updated(self, value: Optional[pulumi.Input[str]]):
|
384
|
+
pulumi.set(self, "time_updated", value)
|
385
|
+
|
386
|
+
|
387
|
+
class AlarmSuppression(pulumi.CustomResource):
|
388
|
+
@overload
|
389
|
+
def __init__(__self__,
|
390
|
+
resource_name: str,
|
391
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
392
|
+
alarm_suppression_target: Optional[pulumi.Input[pulumi.InputType['AlarmSuppressionAlarmSuppressionTargetArgs']]] = None,
|
393
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
394
|
+
description: Optional[pulumi.Input[str]] = None,
|
395
|
+
dimensions: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
396
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
397
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
398
|
+
time_suppress_from: Optional[pulumi.Input[str]] = None,
|
399
|
+
time_suppress_until: Optional[pulumi.Input[str]] = None,
|
400
|
+
__props__=None):
|
401
|
+
"""
|
402
|
+
This resource provides the Alarm Suppression resource in Oracle Cloud Infrastructure Monitoring service.
|
403
|
+
|
404
|
+
Creates a dimension-specific suppression for an alarm.
|
405
|
+
|
406
|
+
For important limits information, see
|
407
|
+
[Limits on Monitoring](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits).
|
408
|
+
|
409
|
+
This call is subject to a Monitoring limit that applies to the total number of requests across all alarm operations.
|
410
|
+
Monitoring might throttle this call to reject an otherwise valid request when the total rate of alarm operations exceeds 10 requests,
|
411
|
+
or transactions, per second (TPS) for a given tenancy.
|
412
|
+
|
413
|
+
## Example Usage
|
414
|
+
|
415
|
+
```python
|
416
|
+
import pulumi
|
417
|
+
import pulumi_oci as oci
|
418
|
+
|
419
|
+
test_alarm_suppression = oci.monitoring.AlarmSuppression("testAlarmSuppression",
|
420
|
+
alarm_suppression_target=oci.monitoring.AlarmSuppressionAlarmSuppressionTargetArgs(
|
421
|
+
alarm_id=oci_monitoring_alarm["test_alarm"]["id"],
|
422
|
+
target_type=var["alarm_suppression_alarm_suppression_target_target_type"],
|
423
|
+
),
|
424
|
+
dimensions=var["alarm_suppression_dimensions"],
|
425
|
+
display_name=var["alarm_suppression_display_name"],
|
426
|
+
time_suppress_from=var["alarm_suppression_time_suppress_from"],
|
427
|
+
time_suppress_until=var["alarm_suppression_time_suppress_until"],
|
428
|
+
defined_tags={
|
429
|
+
"Operations.CostCenter": "42",
|
430
|
+
},
|
431
|
+
description=var["alarm_suppression_description"],
|
432
|
+
freeform_tags={
|
433
|
+
"Department": "Finance",
|
434
|
+
})
|
435
|
+
```
|
436
|
+
|
437
|
+
## Import
|
438
|
+
|
439
|
+
AlarmSuppressions can be imported using the `id`, e.g.
|
440
|
+
|
441
|
+
```sh
|
442
|
+
$ pulumi import oci:Monitoring/alarmSuppression:AlarmSuppression test_alarm_suppression "id"
|
443
|
+
```
|
444
|
+
|
445
|
+
:param str resource_name: The name of the resource.
|
446
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
447
|
+
:param pulumi.Input[pulumi.InputType['AlarmSuppressionAlarmSuppressionTargetArgs']] alarm_suppression_target: The target of the alarm suppression.
|
448
|
+
:param pulumi.Input[Mapping[str, Any]] defined_tags: Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"Operations.CostCenter": "42"}`
|
449
|
+
:param pulumi.Input[str] description: Human-readable reason for this alarm suppression. It does not have to be unique, and it's changeable. Avoid entering confidential information.
|
450
|
+
|
451
|
+
Oracle recommends including tracking information for the event or associated work, such as a ticket number.
|
452
|
+
|
453
|
+
Example: `Planned outage due to change IT-1234.`
|
454
|
+
:param pulumi.Input[Mapping[str, Any]] dimensions: A filter to suppress only alarm state entries that include the set of specified dimension key-value pairs. If you specify {"availabilityDomain": "phx-ad-1"} and the alarm state entry corresponds to the set {"availabilityDomain": "phx-ad-1" and "resourceId": "instance.region1.phx.exampleuniqueID"}, then this alarm will be included for suppression.
|
455
|
+
|
456
|
+
The value cannot be an empty object. Only a single value is allowed per key. No grouping of multiple values is allowed under the same key. Maximum characters (after serialization): 4000. This maximum satisfies typical use cases. The response for an exceeded maximum is `HTTP 400` with an "dimensions values are too long" message.
|
457
|
+
:param pulumi.Input[str] display_name: A user-friendly name for the alarm suppression. It does not have to be unique, and it's changeable. Avoid entering confidential information.
|
458
|
+
:param pulumi.Input[Mapping[str, Any]] freeform_tags: Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"Department": "Finance"}`
|
459
|
+
:param pulumi.Input[str] time_suppress_from: The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z`
|
460
|
+
:param pulumi.Input[str] time_suppress_until: The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T02:02:29.600Z`
|
461
|
+
|
462
|
+
|
463
|
+
** IMPORTANT **
|
464
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
465
|
+
"""
|
466
|
+
...
|
467
|
+
@overload
|
468
|
+
def __init__(__self__,
|
469
|
+
resource_name: str,
|
470
|
+
args: AlarmSuppressionInitArgs,
|
471
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
472
|
+
"""
|
473
|
+
This resource provides the Alarm Suppression resource in Oracle Cloud Infrastructure Monitoring service.
|
474
|
+
|
475
|
+
Creates a dimension-specific suppression for an alarm.
|
476
|
+
|
477
|
+
For important limits information, see
|
478
|
+
[Limits on Monitoring](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits).
|
479
|
+
|
480
|
+
This call is subject to a Monitoring limit that applies to the total number of requests across all alarm operations.
|
481
|
+
Monitoring might throttle this call to reject an otherwise valid request when the total rate of alarm operations exceeds 10 requests,
|
482
|
+
or transactions, per second (TPS) for a given tenancy.
|
483
|
+
|
484
|
+
## Example Usage
|
485
|
+
|
486
|
+
```python
|
487
|
+
import pulumi
|
488
|
+
import pulumi_oci as oci
|
489
|
+
|
490
|
+
test_alarm_suppression = oci.monitoring.AlarmSuppression("testAlarmSuppression",
|
491
|
+
alarm_suppression_target=oci.monitoring.AlarmSuppressionAlarmSuppressionTargetArgs(
|
492
|
+
alarm_id=oci_monitoring_alarm["test_alarm"]["id"],
|
493
|
+
target_type=var["alarm_suppression_alarm_suppression_target_target_type"],
|
494
|
+
),
|
495
|
+
dimensions=var["alarm_suppression_dimensions"],
|
496
|
+
display_name=var["alarm_suppression_display_name"],
|
497
|
+
time_suppress_from=var["alarm_suppression_time_suppress_from"],
|
498
|
+
time_suppress_until=var["alarm_suppression_time_suppress_until"],
|
499
|
+
defined_tags={
|
500
|
+
"Operations.CostCenter": "42",
|
501
|
+
},
|
502
|
+
description=var["alarm_suppression_description"],
|
503
|
+
freeform_tags={
|
504
|
+
"Department": "Finance",
|
505
|
+
})
|
506
|
+
```
|
507
|
+
|
508
|
+
## Import
|
509
|
+
|
510
|
+
AlarmSuppressions can be imported using the `id`, e.g.
|
511
|
+
|
512
|
+
```sh
|
513
|
+
$ pulumi import oci:Monitoring/alarmSuppression:AlarmSuppression test_alarm_suppression "id"
|
514
|
+
```
|
515
|
+
|
516
|
+
:param str resource_name: The name of the resource.
|
517
|
+
:param AlarmSuppressionInitArgs args: The arguments to use to populate this resource's properties.
|
518
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
519
|
+
"""
|
520
|
+
...
|
521
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
522
|
+
resource_args, opts = _utilities.get_resource_args_opts(AlarmSuppressionInitArgs, pulumi.ResourceOptions, *args, **kwargs)
|
523
|
+
if resource_args is not None:
|
524
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
525
|
+
else:
|
526
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
527
|
+
|
528
|
+
def _internal_init(__self__,
|
529
|
+
resource_name: str,
|
530
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
531
|
+
alarm_suppression_target: Optional[pulumi.Input[pulumi.InputType['AlarmSuppressionAlarmSuppressionTargetArgs']]] = None,
|
532
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
533
|
+
description: Optional[pulumi.Input[str]] = None,
|
534
|
+
dimensions: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
535
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
536
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
537
|
+
time_suppress_from: Optional[pulumi.Input[str]] = None,
|
538
|
+
time_suppress_until: Optional[pulumi.Input[str]] = None,
|
539
|
+
__props__=None):
|
540
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
541
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
542
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
543
|
+
if opts.id is None:
|
544
|
+
if __props__ is not None:
|
545
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
546
|
+
__props__ = AlarmSuppressionInitArgs.__new__(AlarmSuppressionInitArgs)
|
547
|
+
|
548
|
+
if alarm_suppression_target is None and not opts.urn:
|
549
|
+
raise TypeError("Missing required property 'alarm_suppression_target'")
|
550
|
+
__props__.__dict__["alarm_suppression_target"] = alarm_suppression_target
|
551
|
+
__props__.__dict__["defined_tags"] = defined_tags
|
552
|
+
__props__.__dict__["description"] = description
|
553
|
+
if dimensions is None and not opts.urn:
|
554
|
+
raise TypeError("Missing required property 'dimensions'")
|
555
|
+
__props__.__dict__["dimensions"] = dimensions
|
556
|
+
if display_name is None and not opts.urn:
|
557
|
+
raise TypeError("Missing required property 'display_name'")
|
558
|
+
__props__.__dict__["display_name"] = display_name
|
559
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
560
|
+
if time_suppress_from is None and not opts.urn:
|
561
|
+
raise TypeError("Missing required property 'time_suppress_from'")
|
562
|
+
__props__.__dict__["time_suppress_from"] = time_suppress_from
|
563
|
+
if time_suppress_until is None and not opts.urn:
|
564
|
+
raise TypeError("Missing required property 'time_suppress_until'")
|
565
|
+
__props__.__dict__["time_suppress_until"] = time_suppress_until
|
566
|
+
__props__.__dict__["compartment_id"] = None
|
567
|
+
__props__.__dict__["state"] = None
|
568
|
+
__props__.__dict__["time_created"] = None
|
569
|
+
__props__.__dict__["time_updated"] = None
|
570
|
+
super(AlarmSuppression, __self__).__init__(
|
571
|
+
'oci:Monitoring/alarmSuppression:AlarmSuppression',
|
572
|
+
resource_name,
|
573
|
+
__props__,
|
574
|
+
opts)
|
575
|
+
|
576
|
+
@staticmethod
|
577
|
+
def get(resource_name: str,
|
578
|
+
id: pulumi.Input[str],
|
579
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
580
|
+
alarm_suppression_target: Optional[pulumi.Input[pulumi.InputType['AlarmSuppressionAlarmSuppressionTargetArgs']]] = None,
|
581
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
582
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
583
|
+
description: Optional[pulumi.Input[str]] = None,
|
584
|
+
dimensions: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
585
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
586
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
587
|
+
state: Optional[pulumi.Input[str]] = None,
|
588
|
+
time_created: Optional[pulumi.Input[str]] = None,
|
589
|
+
time_suppress_from: Optional[pulumi.Input[str]] = None,
|
590
|
+
time_suppress_until: Optional[pulumi.Input[str]] = None,
|
591
|
+
time_updated: Optional[pulumi.Input[str]] = None) -> 'AlarmSuppression':
|
592
|
+
"""
|
593
|
+
Get an existing AlarmSuppression resource's state with the given name, id, and optional extra
|
594
|
+
properties used to qualify the lookup.
|
595
|
+
|
596
|
+
:param str resource_name: The unique name of the resulting resource.
|
597
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
598
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
599
|
+
:param pulumi.Input[pulumi.InputType['AlarmSuppressionAlarmSuppressionTargetArgs']] alarm_suppression_target: The target of the alarm suppression.
|
600
|
+
:param pulumi.Input[str] compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the alarm suppression.
|
601
|
+
:param pulumi.Input[Mapping[str, Any]] defined_tags: Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"Operations.CostCenter": "42"}`
|
602
|
+
:param pulumi.Input[str] description: Human-readable reason for this alarm suppression. It does not have to be unique, and it's changeable. Avoid entering confidential information.
|
603
|
+
|
604
|
+
Oracle recommends including tracking information for the event or associated work, such as a ticket number.
|
605
|
+
|
606
|
+
Example: `Planned outage due to change IT-1234.`
|
607
|
+
:param pulumi.Input[Mapping[str, Any]] dimensions: A filter to suppress only alarm state entries that include the set of specified dimension key-value pairs. If you specify {"availabilityDomain": "phx-ad-1"} and the alarm state entry corresponds to the set {"availabilityDomain": "phx-ad-1" and "resourceId": "instance.region1.phx.exampleuniqueID"}, then this alarm will be included for suppression.
|
608
|
+
|
609
|
+
The value cannot be an empty object. Only a single value is allowed per key. No grouping of multiple values is allowed under the same key. Maximum characters (after serialization): 4000. This maximum satisfies typical use cases. The response for an exceeded maximum is `HTTP 400` with an "dimensions values are too long" message.
|
610
|
+
:param pulumi.Input[str] display_name: A user-friendly name for the alarm suppression. It does not have to be unique, and it's changeable. Avoid entering confidential information.
|
611
|
+
:param pulumi.Input[Mapping[str, Any]] freeform_tags: Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"Department": "Finance"}`
|
612
|
+
:param pulumi.Input[str] state: The current lifecycle state of the alarm suppression. Example: `DELETED`
|
613
|
+
:param pulumi.Input[str] time_created: The date and time the alarm suppression was created. Format defined by RFC3339. Example: `2018-02-01T01:02:29.600Z`
|
614
|
+
:param pulumi.Input[str] time_suppress_from: The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z`
|
615
|
+
:param pulumi.Input[str] time_suppress_until: The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T02:02:29.600Z`
|
616
|
+
|
617
|
+
|
618
|
+
** IMPORTANT **
|
619
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
620
|
+
:param pulumi.Input[str] time_updated: The date and time the alarm suppression was last updated (deleted). Format defined by RFC3339. Example: `2018-02-03T01:02:29.600Z`
|
621
|
+
"""
|
622
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
623
|
+
|
624
|
+
__props__ = _AlarmSuppressionState.__new__(_AlarmSuppressionState)
|
625
|
+
|
626
|
+
__props__.__dict__["alarm_suppression_target"] = alarm_suppression_target
|
627
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
628
|
+
__props__.__dict__["defined_tags"] = defined_tags
|
629
|
+
__props__.__dict__["description"] = description
|
630
|
+
__props__.__dict__["dimensions"] = dimensions
|
631
|
+
__props__.__dict__["display_name"] = display_name
|
632
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
633
|
+
__props__.__dict__["state"] = state
|
634
|
+
__props__.__dict__["time_created"] = time_created
|
635
|
+
__props__.__dict__["time_suppress_from"] = time_suppress_from
|
636
|
+
__props__.__dict__["time_suppress_until"] = time_suppress_until
|
637
|
+
__props__.__dict__["time_updated"] = time_updated
|
638
|
+
return AlarmSuppression(resource_name, opts=opts, __props__=__props__)
|
639
|
+
|
640
|
+
@property
|
641
|
+
@pulumi.getter(name="alarmSuppressionTarget")
|
642
|
+
def alarm_suppression_target(self) -> pulumi.Output['outputs.AlarmSuppressionAlarmSuppressionTarget']:
|
643
|
+
"""
|
644
|
+
The target of the alarm suppression.
|
645
|
+
"""
|
646
|
+
return pulumi.get(self, "alarm_suppression_target")
|
647
|
+
|
648
|
+
@property
|
649
|
+
@pulumi.getter(name="compartmentId")
|
650
|
+
def compartment_id(self) -> pulumi.Output[str]:
|
651
|
+
"""
|
652
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the alarm suppression.
|
653
|
+
"""
|
654
|
+
return pulumi.get(self, "compartment_id")
|
655
|
+
|
656
|
+
@property
|
657
|
+
@pulumi.getter(name="definedTags")
|
658
|
+
def defined_tags(self) -> pulumi.Output[Mapping[str, Any]]:
|
659
|
+
"""
|
660
|
+
Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"Operations.CostCenter": "42"}`
|
661
|
+
"""
|
662
|
+
return pulumi.get(self, "defined_tags")
|
663
|
+
|
664
|
+
@property
|
665
|
+
@pulumi.getter
|
666
|
+
def description(self) -> pulumi.Output[str]:
|
667
|
+
"""
|
668
|
+
Human-readable reason for this alarm suppression. It does not have to be unique, and it's changeable. Avoid entering confidential information.
|
669
|
+
|
670
|
+
Oracle recommends including tracking information for the event or associated work, such as a ticket number.
|
671
|
+
|
672
|
+
Example: `Planned outage due to change IT-1234.`
|
673
|
+
"""
|
674
|
+
return pulumi.get(self, "description")
|
675
|
+
|
676
|
+
@property
|
677
|
+
@pulumi.getter
|
678
|
+
def dimensions(self) -> pulumi.Output[Mapping[str, Any]]:
|
679
|
+
"""
|
680
|
+
A filter to suppress only alarm state entries that include the set of specified dimension key-value pairs. If you specify {"availabilityDomain": "phx-ad-1"} and the alarm state entry corresponds to the set {"availabilityDomain": "phx-ad-1" and "resourceId": "instance.region1.phx.exampleuniqueID"}, then this alarm will be included for suppression.
|
681
|
+
|
682
|
+
The value cannot be an empty object. Only a single value is allowed per key. No grouping of multiple values is allowed under the same key. Maximum characters (after serialization): 4000. This maximum satisfies typical use cases. The response for an exceeded maximum is `HTTP 400` with an "dimensions values are too long" message.
|
683
|
+
"""
|
684
|
+
return pulumi.get(self, "dimensions")
|
685
|
+
|
686
|
+
@property
|
687
|
+
@pulumi.getter(name="displayName")
|
688
|
+
def display_name(self) -> pulumi.Output[str]:
|
689
|
+
"""
|
690
|
+
A user-friendly name for the alarm suppression. It does not have to be unique, and it's changeable. Avoid entering confidential information.
|
691
|
+
"""
|
692
|
+
return pulumi.get(self, "display_name")
|
693
|
+
|
694
|
+
@property
|
695
|
+
@pulumi.getter(name="freeformTags")
|
696
|
+
def freeform_tags(self) -> pulumi.Output[Mapping[str, Any]]:
|
697
|
+
"""
|
698
|
+
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"Department": "Finance"}`
|
699
|
+
"""
|
700
|
+
return pulumi.get(self, "freeform_tags")
|
701
|
+
|
702
|
+
@property
|
703
|
+
@pulumi.getter
|
704
|
+
def state(self) -> pulumi.Output[str]:
|
705
|
+
"""
|
706
|
+
The current lifecycle state of the alarm suppression. Example: `DELETED`
|
707
|
+
"""
|
708
|
+
return pulumi.get(self, "state")
|
709
|
+
|
710
|
+
@property
|
711
|
+
@pulumi.getter(name="timeCreated")
|
712
|
+
def time_created(self) -> pulumi.Output[str]:
|
713
|
+
"""
|
714
|
+
The date and time the alarm suppression was created. Format defined by RFC3339. Example: `2018-02-01T01:02:29.600Z`
|
715
|
+
"""
|
716
|
+
return pulumi.get(self, "time_created")
|
717
|
+
|
718
|
+
@property
|
719
|
+
@pulumi.getter(name="timeSuppressFrom")
|
720
|
+
def time_suppress_from(self) -> pulumi.Output[str]:
|
721
|
+
"""
|
722
|
+
The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z`
|
723
|
+
"""
|
724
|
+
return pulumi.get(self, "time_suppress_from")
|
725
|
+
|
726
|
+
@property
|
727
|
+
@pulumi.getter(name="timeSuppressUntil")
|
728
|
+
def time_suppress_until(self) -> pulumi.Output[str]:
|
729
|
+
"""
|
730
|
+
The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T02:02:29.600Z`
|
731
|
+
|
732
|
+
|
733
|
+
** IMPORTANT **
|
734
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
735
|
+
"""
|
736
|
+
return pulumi.get(self, "time_suppress_until")
|
737
|
+
|
738
|
+
@property
|
739
|
+
@pulumi.getter(name="timeUpdated")
|
740
|
+
def time_updated(self) -> pulumi.Output[str]:
|
741
|
+
"""
|
742
|
+
The date and time the alarm suppression was last updated (deleted). Format defined by RFC3339. Example: `2018-02-03T01:02:29.600Z`
|
743
|
+
"""
|
744
|
+
return pulumi.get(self, "time_updated")
|
745
|
+
|