pulumi-oci 2.4.0a1721933648__py3-none-any.whl → 2.5.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 -32
- pulumi_oci/_utilities.py +2 -0
- pulumi_oci/bigdataservice/bds_instance.py +47 -0
- pulumi_oci/bigdataservice/get_bds_instance.py +11 -1
- pulumi_oci/bigdataservice/outputs.py +7 -0
- pulumi_oci/core/__init__.py +3 -0
- pulumi_oci/core/_inputs.py +40 -0
- pulumi_oci/core/get_instance_maintenance_event.py +414 -0
- pulumi_oci/core/get_instance_maintenance_events.py +250 -0
- pulumi_oci/core/instance_maintenance_event.py +1022 -0
- pulumi_oci/core/outputs.py +314 -0
- pulumi_oci/database/autonomous_database.py +28 -0
- pulumi_oci/database/get_autonomous_database.py +14 -1
- pulumi_oci/database/outputs.py +22 -0
- pulumi_oci/databasemigration/_inputs.py +184 -0
- pulumi_oci/databasemigration/job.py +99 -24
- pulumi_oci/databasemigration/outputs.py +171 -0
- pulumi_oci/datasafe/__init__.py +2 -4
- pulumi_oci/datasafe/_inputs.py +55 -0
- pulumi_oci/datasafe/alert.py +56 -0
- pulumi_oci/datasafe/alert_policy.py +745 -0
- pulumi_oci/datasafe/alert_policy_rule.py +446 -0
- pulumi_oci/datasafe/get_alert.py +27 -1
- pulumi_oci/datasafe/get_alert_policy.py +26 -2
- pulumi_oci/datasafe/get_alert_policy_rule.py +94 -18
- pulumi_oci/datasafe/get_report.py +14 -1
- pulumi_oci/datasafe/get_report_definition.py +14 -1
- pulumi_oci/datasafe/get_target_alert_policy_association.py +15 -2
- pulumi_oci/datasafe/outputs.py +231 -27
- pulumi_oci/datasafe/report.py +28 -0
- pulumi_oci/datasafe/report_definition.py +28 -0
- pulumi_oci/datasafe/target_alert_policy_association.py +28 -0
- pulumi_oci/fleetsoftwareupdate/__init__.py +15 -0
- pulumi_oci/fleetsoftwareupdate/_inputs.py +553 -0
- pulumi_oci/fleetsoftwareupdate/fsu_collection.py +514 -0
- pulumi_oci/fleetsoftwareupdate/fsu_cycle.py +812 -0
- pulumi_oci/fleetsoftwareupdate/get_fsu_collection.py +225 -0
- pulumi_oci/fleetsoftwareupdate/get_fsu_collections.py +141 -0
- pulumi_oci/fleetsoftwareupdate/get_fsu_cycle.py +325 -0
- pulumi_oci/fleetsoftwareupdate/get_fsu_cycles.py +167 -0
- pulumi_oci/fleetsoftwareupdate/outputs.py +1481 -0
- pulumi_oci/generativeai/get_dedicated_ai_cluster.py +3 -0
- pulumi_oci/generativeai/get_dedicated_ai_clusters.py +3 -0
- pulumi_oci/generativeai/get_endpoint.py +6 -9
- pulumi_oci/generativeai/get_endpoints.py +3 -3
- pulumi_oci/generativeai/get_model.py +36 -6
- pulumi_oci/generativeai/get_models.py +6 -0
- pulumi_oci/generativeai/outputs.py +228 -16
- pulumi_oci/identity/__init__.py +3 -0
- pulumi_oci/identity/_inputs.py +1029 -0
- pulumi_oci/identity/domains_social_identity_provider.py +4628 -0
- pulumi_oci/identity/get_domains_social_identity_provider.py +664 -0
- pulumi_oci/identity/get_domains_social_identity_providers.py +276 -0
- pulumi_oci/identity/outputs.py +19544 -17378
- pulumi_oci/networkfirewall/__init__.py +3 -0
- pulumi_oci/networkfirewall/_inputs.py +150 -0
- pulumi_oci/networkfirewall/get_network_firewall_policy_tunnel_inspection_rule.py +227 -0
- pulumi_oci/networkfirewall/get_network_firewall_policy_tunnel_inspection_rules.py +167 -0
- pulumi_oci/networkfirewall/network_firewall_policy_tunnel_inspection_rule.py +605 -0
- pulumi_oci/networkfirewall/outputs.py +457 -0
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/redis/get_redis_cluster.py +1 -1
- pulumi_oci/redis/outputs.py +2 -2
- pulumi_oci/redis/redis_cluster.py +7 -7
- pulumi_oci/stackmonitoring/_inputs.py +2 -2
- pulumi_oci/stackmonitoring/baselineable_metric.py +76 -28
- pulumi_oci/stackmonitoring/get_baselineable_metric.py +14 -1
- pulumi_oci/stackmonitoring/get_baselineable_metrics.py +45 -5
- pulumi_oci/stackmonitoring/outputs.py +19 -8
- {pulumi_oci-2.4.0a1721933648.dist-info → pulumi_oci-2.5.0.dist-info}/METADATA +1 -1
- {pulumi_oci-2.4.0a1721933648.dist-info → pulumi_oci-2.5.0.dist-info}/RECORD +73 -57
- {pulumi_oci-2.4.0a1721933648.dist-info → pulumi_oci-2.5.0.dist-info}/WHEEL +1 -1
- pulumi_oci/datasafe/masking_policy_health_report_management.py +0 -453
- pulumi_oci/datasafe/masking_report_management.py +0 -693
- pulumi_oci/datasafe/set_security_assessment_baseline_management.py +0 -304
- pulumi_oci/datasafe/set_user_assessment_baseline_management.py +0 -304
- {pulumi_oci-2.4.0a1721933648.dist-info → pulumi_oci-2.5.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__ = ['AlertPolicyArgs', 'AlertPolicy']
|
15
|
+
|
16
|
+
@pulumi.input_type
|
17
|
+
class AlertPolicyArgs:
|
18
|
+
def __init__(__self__, *,
|
19
|
+
alert_policy_type: pulumi.Input[str],
|
20
|
+
compartment_id: pulumi.Input[str],
|
21
|
+
severity: pulumi.Input[str],
|
22
|
+
alert_policy_rule_details: Optional[pulumi.Input[Sequence[pulumi.Input['AlertPolicyAlertPolicyRuleDetailArgs']]]] = None,
|
23
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
24
|
+
description: Optional[pulumi.Input[str]] = None,
|
25
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
26
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None):
|
27
|
+
"""
|
28
|
+
The set of arguments for constructing a AlertPolicy resource.
|
29
|
+
:param pulumi.Input[str] alert_policy_type: Indicates the Data Safe feature the alert policy belongs to
|
30
|
+
:param pulumi.Input[str] compartment_id: (Updatable) The OCID of the compartment where you want to create the alert policy.
|
31
|
+
:param pulumi.Input[str] severity: (Updatable) Severity level of the alert raised by this policy.
|
32
|
+
|
33
|
+
|
34
|
+
** IMPORTANT **
|
35
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
36
|
+
:param pulumi.Input[Sequence[pulumi.Input['AlertPolicyAlertPolicyRuleDetailArgs']]] alert_policy_rule_details: The details of the alert policy rule.
|
37
|
+
:param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Operations.CostCenter": "42"}`
|
38
|
+
:param pulumi.Input[str] description: (Updatable) The description of the alert policy.
|
39
|
+
:param pulumi.Input[str] display_name: (Updatable) The display name of the alert policy. The name does not have to be unique, and it's changeable.
|
40
|
+
:param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Department": "Finance"}`
|
41
|
+
"""
|
42
|
+
pulumi.set(__self__, "alert_policy_type", alert_policy_type)
|
43
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
44
|
+
pulumi.set(__self__, "severity", severity)
|
45
|
+
if alert_policy_rule_details is not None:
|
46
|
+
pulumi.set(__self__, "alert_policy_rule_details", alert_policy_rule_details)
|
47
|
+
if defined_tags is not None:
|
48
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
49
|
+
if description is not None:
|
50
|
+
pulumi.set(__self__, "description", description)
|
51
|
+
if display_name is not None:
|
52
|
+
pulumi.set(__self__, "display_name", display_name)
|
53
|
+
if freeform_tags is not None:
|
54
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
55
|
+
|
56
|
+
@property
|
57
|
+
@pulumi.getter(name="alertPolicyType")
|
58
|
+
def alert_policy_type(self) -> pulumi.Input[str]:
|
59
|
+
"""
|
60
|
+
Indicates the Data Safe feature the alert policy belongs to
|
61
|
+
"""
|
62
|
+
return pulumi.get(self, "alert_policy_type")
|
63
|
+
|
64
|
+
@alert_policy_type.setter
|
65
|
+
def alert_policy_type(self, value: pulumi.Input[str]):
|
66
|
+
pulumi.set(self, "alert_policy_type", value)
|
67
|
+
|
68
|
+
@property
|
69
|
+
@pulumi.getter(name="compartmentId")
|
70
|
+
def compartment_id(self) -> pulumi.Input[str]:
|
71
|
+
"""
|
72
|
+
(Updatable) The OCID of the compartment where you want to create the alert policy.
|
73
|
+
"""
|
74
|
+
return pulumi.get(self, "compartment_id")
|
75
|
+
|
76
|
+
@compartment_id.setter
|
77
|
+
def compartment_id(self, value: pulumi.Input[str]):
|
78
|
+
pulumi.set(self, "compartment_id", value)
|
79
|
+
|
80
|
+
@property
|
81
|
+
@pulumi.getter
|
82
|
+
def severity(self) -> pulumi.Input[str]:
|
83
|
+
"""
|
84
|
+
(Updatable) Severity level of the alert raised by this policy.
|
85
|
+
|
86
|
+
|
87
|
+
** IMPORTANT **
|
88
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
89
|
+
"""
|
90
|
+
return pulumi.get(self, "severity")
|
91
|
+
|
92
|
+
@severity.setter
|
93
|
+
def severity(self, value: pulumi.Input[str]):
|
94
|
+
pulumi.set(self, "severity", value)
|
95
|
+
|
96
|
+
@property
|
97
|
+
@pulumi.getter(name="alertPolicyRuleDetails")
|
98
|
+
def alert_policy_rule_details(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AlertPolicyAlertPolicyRuleDetailArgs']]]]:
|
99
|
+
"""
|
100
|
+
The details of the alert policy rule.
|
101
|
+
"""
|
102
|
+
return pulumi.get(self, "alert_policy_rule_details")
|
103
|
+
|
104
|
+
@alert_policy_rule_details.setter
|
105
|
+
def alert_policy_rule_details(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AlertPolicyAlertPolicyRuleDetailArgs']]]]):
|
106
|
+
pulumi.set(self, "alert_policy_rule_details", value)
|
107
|
+
|
108
|
+
@property
|
109
|
+
@pulumi.getter(name="definedTags")
|
110
|
+
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
111
|
+
"""
|
112
|
+
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Operations.CostCenter": "42"}`
|
113
|
+
"""
|
114
|
+
return pulumi.get(self, "defined_tags")
|
115
|
+
|
116
|
+
@defined_tags.setter
|
117
|
+
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
118
|
+
pulumi.set(self, "defined_tags", value)
|
119
|
+
|
120
|
+
@property
|
121
|
+
@pulumi.getter
|
122
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
123
|
+
"""
|
124
|
+
(Updatable) The description of the alert policy.
|
125
|
+
"""
|
126
|
+
return pulumi.get(self, "description")
|
127
|
+
|
128
|
+
@description.setter
|
129
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
130
|
+
pulumi.set(self, "description", value)
|
131
|
+
|
132
|
+
@property
|
133
|
+
@pulumi.getter(name="displayName")
|
134
|
+
def display_name(self) -> Optional[pulumi.Input[str]]:
|
135
|
+
"""
|
136
|
+
(Updatable) The display name of the alert policy. The name does not have to be unique, and it's changeable.
|
137
|
+
"""
|
138
|
+
return pulumi.get(self, "display_name")
|
139
|
+
|
140
|
+
@display_name.setter
|
141
|
+
def display_name(self, value: Optional[pulumi.Input[str]]):
|
142
|
+
pulumi.set(self, "display_name", value)
|
143
|
+
|
144
|
+
@property
|
145
|
+
@pulumi.getter(name="freeformTags")
|
146
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
147
|
+
"""
|
148
|
+
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Department": "Finance"}`
|
149
|
+
"""
|
150
|
+
return pulumi.get(self, "freeform_tags")
|
151
|
+
|
152
|
+
@freeform_tags.setter
|
153
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
154
|
+
pulumi.set(self, "freeform_tags", value)
|
155
|
+
|
156
|
+
|
157
|
+
@pulumi.input_type
|
158
|
+
class _AlertPolicyState:
|
159
|
+
def __init__(__self__, *,
|
160
|
+
alert_policy_rule_details: Optional[pulumi.Input[Sequence[pulumi.Input['AlertPolicyAlertPolicyRuleDetailArgs']]]] = None,
|
161
|
+
alert_policy_type: Optional[pulumi.Input[str]] = None,
|
162
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
163
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
164
|
+
description: Optional[pulumi.Input[str]] = None,
|
165
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
166
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
167
|
+
is_user_defined: Optional[pulumi.Input[bool]] = None,
|
168
|
+
lifecycle_details: Optional[pulumi.Input[str]] = None,
|
169
|
+
severity: Optional[pulumi.Input[str]] = None,
|
170
|
+
state: Optional[pulumi.Input[str]] = None,
|
171
|
+
system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
172
|
+
time_created: Optional[pulumi.Input[str]] = None,
|
173
|
+
time_updated: Optional[pulumi.Input[str]] = None):
|
174
|
+
"""
|
175
|
+
Input properties used for looking up and filtering AlertPolicy resources.
|
176
|
+
:param pulumi.Input[Sequence[pulumi.Input['AlertPolicyAlertPolicyRuleDetailArgs']]] alert_policy_rule_details: The details of the alert policy rule.
|
177
|
+
:param pulumi.Input[str] alert_policy_type: Indicates the Data Safe feature the alert policy belongs to
|
178
|
+
:param pulumi.Input[str] compartment_id: (Updatable) The OCID of the compartment where you want to create the alert policy.
|
179
|
+
:param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Operations.CostCenter": "42"}`
|
180
|
+
:param pulumi.Input[str] description: (Updatable) The description of the alert policy.
|
181
|
+
:param pulumi.Input[str] display_name: (Updatable) The display name of the alert policy. The name does not have to be unique, and it's changeable.
|
182
|
+
:param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Department": "Finance"}`
|
183
|
+
:param pulumi.Input[bool] is_user_defined: Indicates if the alert policy is user-defined (true) or pre-defined (false).
|
184
|
+
:param pulumi.Input[str] lifecycle_details: Details about the current state of the alert policy.
|
185
|
+
:param pulumi.Input[str] severity: (Updatable) Severity level of the alert raised by this policy.
|
186
|
+
|
187
|
+
|
188
|
+
** IMPORTANT **
|
189
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
190
|
+
:param pulumi.Input[str] state: The current state of the alert.
|
191
|
+
:param pulumi.Input[Mapping[str, Any]] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
192
|
+
:param pulumi.Input[str] time_created: Creation date and time of the alert policy, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
|
193
|
+
:param pulumi.Input[str] time_updated: Last date and time the alert policy was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
|
194
|
+
"""
|
195
|
+
if alert_policy_rule_details is not None:
|
196
|
+
pulumi.set(__self__, "alert_policy_rule_details", alert_policy_rule_details)
|
197
|
+
if alert_policy_type is not None:
|
198
|
+
pulumi.set(__self__, "alert_policy_type", alert_policy_type)
|
199
|
+
if compartment_id is not None:
|
200
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
201
|
+
if defined_tags is not None:
|
202
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
203
|
+
if description is not None:
|
204
|
+
pulumi.set(__self__, "description", description)
|
205
|
+
if display_name is not None:
|
206
|
+
pulumi.set(__self__, "display_name", display_name)
|
207
|
+
if freeform_tags is not None:
|
208
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
209
|
+
if is_user_defined is not None:
|
210
|
+
pulumi.set(__self__, "is_user_defined", is_user_defined)
|
211
|
+
if lifecycle_details is not None:
|
212
|
+
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
213
|
+
if severity is not None:
|
214
|
+
pulumi.set(__self__, "severity", severity)
|
215
|
+
if state is not None:
|
216
|
+
pulumi.set(__self__, "state", state)
|
217
|
+
if system_tags is not None:
|
218
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
219
|
+
if time_created is not None:
|
220
|
+
pulumi.set(__self__, "time_created", time_created)
|
221
|
+
if time_updated is not None:
|
222
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
223
|
+
|
224
|
+
@property
|
225
|
+
@pulumi.getter(name="alertPolicyRuleDetails")
|
226
|
+
def alert_policy_rule_details(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AlertPolicyAlertPolicyRuleDetailArgs']]]]:
|
227
|
+
"""
|
228
|
+
The details of the alert policy rule.
|
229
|
+
"""
|
230
|
+
return pulumi.get(self, "alert_policy_rule_details")
|
231
|
+
|
232
|
+
@alert_policy_rule_details.setter
|
233
|
+
def alert_policy_rule_details(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AlertPolicyAlertPolicyRuleDetailArgs']]]]):
|
234
|
+
pulumi.set(self, "alert_policy_rule_details", value)
|
235
|
+
|
236
|
+
@property
|
237
|
+
@pulumi.getter(name="alertPolicyType")
|
238
|
+
def alert_policy_type(self) -> Optional[pulumi.Input[str]]:
|
239
|
+
"""
|
240
|
+
Indicates the Data Safe feature the alert policy belongs to
|
241
|
+
"""
|
242
|
+
return pulumi.get(self, "alert_policy_type")
|
243
|
+
|
244
|
+
@alert_policy_type.setter
|
245
|
+
def alert_policy_type(self, value: Optional[pulumi.Input[str]]):
|
246
|
+
pulumi.set(self, "alert_policy_type", value)
|
247
|
+
|
248
|
+
@property
|
249
|
+
@pulumi.getter(name="compartmentId")
|
250
|
+
def compartment_id(self) -> Optional[pulumi.Input[str]]:
|
251
|
+
"""
|
252
|
+
(Updatable) The OCID of the compartment where you want to create the alert policy.
|
253
|
+
"""
|
254
|
+
return pulumi.get(self, "compartment_id")
|
255
|
+
|
256
|
+
@compartment_id.setter
|
257
|
+
def compartment_id(self, value: Optional[pulumi.Input[str]]):
|
258
|
+
pulumi.set(self, "compartment_id", value)
|
259
|
+
|
260
|
+
@property
|
261
|
+
@pulumi.getter(name="definedTags")
|
262
|
+
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
263
|
+
"""
|
264
|
+
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Operations.CostCenter": "42"}`
|
265
|
+
"""
|
266
|
+
return pulumi.get(self, "defined_tags")
|
267
|
+
|
268
|
+
@defined_tags.setter
|
269
|
+
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
270
|
+
pulumi.set(self, "defined_tags", value)
|
271
|
+
|
272
|
+
@property
|
273
|
+
@pulumi.getter
|
274
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
275
|
+
"""
|
276
|
+
(Updatable) The description of the alert policy.
|
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(name="displayName")
|
286
|
+
def display_name(self) -> Optional[pulumi.Input[str]]:
|
287
|
+
"""
|
288
|
+
(Updatable) The display name of the alert policy. The name does not have to be unique, and it's changeable.
|
289
|
+
"""
|
290
|
+
return pulumi.get(self, "display_name")
|
291
|
+
|
292
|
+
@display_name.setter
|
293
|
+
def display_name(self, value: Optional[pulumi.Input[str]]):
|
294
|
+
pulumi.set(self, "display_name", value)
|
295
|
+
|
296
|
+
@property
|
297
|
+
@pulumi.getter(name="freeformTags")
|
298
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
299
|
+
"""
|
300
|
+
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Department": "Finance"}`
|
301
|
+
"""
|
302
|
+
return pulumi.get(self, "freeform_tags")
|
303
|
+
|
304
|
+
@freeform_tags.setter
|
305
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
306
|
+
pulumi.set(self, "freeform_tags", value)
|
307
|
+
|
308
|
+
@property
|
309
|
+
@pulumi.getter(name="isUserDefined")
|
310
|
+
def is_user_defined(self) -> Optional[pulumi.Input[bool]]:
|
311
|
+
"""
|
312
|
+
Indicates if the alert policy is user-defined (true) or pre-defined (false).
|
313
|
+
"""
|
314
|
+
return pulumi.get(self, "is_user_defined")
|
315
|
+
|
316
|
+
@is_user_defined.setter
|
317
|
+
def is_user_defined(self, value: Optional[pulumi.Input[bool]]):
|
318
|
+
pulumi.set(self, "is_user_defined", value)
|
319
|
+
|
320
|
+
@property
|
321
|
+
@pulumi.getter(name="lifecycleDetails")
|
322
|
+
def lifecycle_details(self) -> Optional[pulumi.Input[str]]:
|
323
|
+
"""
|
324
|
+
Details about the current state of the alert policy.
|
325
|
+
"""
|
326
|
+
return pulumi.get(self, "lifecycle_details")
|
327
|
+
|
328
|
+
@lifecycle_details.setter
|
329
|
+
def lifecycle_details(self, value: Optional[pulumi.Input[str]]):
|
330
|
+
pulumi.set(self, "lifecycle_details", value)
|
331
|
+
|
332
|
+
@property
|
333
|
+
@pulumi.getter
|
334
|
+
def severity(self) -> Optional[pulumi.Input[str]]:
|
335
|
+
"""
|
336
|
+
(Updatable) Severity level of the alert raised by this policy.
|
337
|
+
|
338
|
+
|
339
|
+
** IMPORTANT **
|
340
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
341
|
+
"""
|
342
|
+
return pulumi.get(self, "severity")
|
343
|
+
|
344
|
+
@severity.setter
|
345
|
+
def severity(self, value: Optional[pulumi.Input[str]]):
|
346
|
+
pulumi.set(self, "severity", value)
|
347
|
+
|
348
|
+
@property
|
349
|
+
@pulumi.getter
|
350
|
+
def state(self) -> Optional[pulumi.Input[str]]:
|
351
|
+
"""
|
352
|
+
The current state of the alert.
|
353
|
+
"""
|
354
|
+
return pulumi.get(self, "state")
|
355
|
+
|
356
|
+
@state.setter
|
357
|
+
def state(self, value: Optional[pulumi.Input[str]]):
|
358
|
+
pulumi.set(self, "state", value)
|
359
|
+
|
360
|
+
@property
|
361
|
+
@pulumi.getter(name="systemTags")
|
362
|
+
def system_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
363
|
+
"""
|
364
|
+
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
365
|
+
"""
|
366
|
+
return pulumi.get(self, "system_tags")
|
367
|
+
|
368
|
+
@system_tags.setter
|
369
|
+
def system_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
370
|
+
pulumi.set(self, "system_tags", value)
|
371
|
+
|
372
|
+
@property
|
373
|
+
@pulumi.getter(name="timeCreated")
|
374
|
+
def time_created(self) -> Optional[pulumi.Input[str]]:
|
375
|
+
"""
|
376
|
+
Creation date and time of the alert policy, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
|
377
|
+
"""
|
378
|
+
return pulumi.get(self, "time_created")
|
379
|
+
|
380
|
+
@time_created.setter
|
381
|
+
def time_created(self, value: Optional[pulumi.Input[str]]):
|
382
|
+
pulumi.set(self, "time_created", value)
|
383
|
+
|
384
|
+
@property
|
385
|
+
@pulumi.getter(name="timeUpdated")
|
386
|
+
def time_updated(self) -> Optional[pulumi.Input[str]]:
|
387
|
+
"""
|
388
|
+
Last date and time the alert policy was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
|
389
|
+
"""
|
390
|
+
return pulumi.get(self, "time_updated")
|
391
|
+
|
392
|
+
@time_updated.setter
|
393
|
+
def time_updated(self, value: Optional[pulumi.Input[str]]):
|
394
|
+
pulumi.set(self, "time_updated", value)
|
395
|
+
|
396
|
+
|
397
|
+
class AlertPolicy(pulumi.CustomResource):
|
398
|
+
@overload
|
399
|
+
def __init__(__self__,
|
400
|
+
resource_name: str,
|
401
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
402
|
+
alert_policy_rule_details: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AlertPolicyAlertPolicyRuleDetailArgs']]]]] = None,
|
403
|
+
alert_policy_type: Optional[pulumi.Input[str]] = None,
|
404
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
405
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
406
|
+
description: Optional[pulumi.Input[str]] = None,
|
407
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
408
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
409
|
+
severity: Optional[pulumi.Input[str]] = None,
|
410
|
+
__props__=None):
|
411
|
+
"""
|
412
|
+
This resource provides the Alert Policy resource in Oracle Cloud Infrastructure Data Safe service.
|
413
|
+
|
414
|
+
Creates a new user-defined alert policy.
|
415
|
+
|
416
|
+
## Example Usage
|
417
|
+
|
418
|
+
```python
|
419
|
+
import pulumi
|
420
|
+
import pulumi_oci as oci
|
421
|
+
|
422
|
+
test_alert_policy = oci.data_safe.AlertPolicy("test_alert_policy",
|
423
|
+
alert_policy_type=alert_policy_alert_policy_type,
|
424
|
+
compartment_id=compartment_id,
|
425
|
+
severity=alert_policy_severity,
|
426
|
+
alert_policy_rule_details=[oci.data_safe.AlertPolicyAlertPolicyRuleDetailArgs(
|
427
|
+
expression=alert_policy_alert_policy_rule_details_expression,
|
428
|
+
description=alert_policy_alert_policy_rule_details_description,
|
429
|
+
display_name=alert_policy_alert_policy_rule_details_display_name,
|
430
|
+
)],
|
431
|
+
defined_tags={
|
432
|
+
"Operations.CostCenter": "42",
|
433
|
+
},
|
434
|
+
description=alert_policy_description,
|
435
|
+
display_name=alert_policy_display_name,
|
436
|
+
freeform_tags={
|
437
|
+
"Department": "Finance",
|
438
|
+
})
|
439
|
+
```
|
440
|
+
|
441
|
+
## Import
|
442
|
+
|
443
|
+
AlertPolicies can be imported using the `id`, e.g.
|
444
|
+
|
445
|
+
```sh
|
446
|
+
$ pulumi import oci:DataSafe/alertPolicy:AlertPolicy test_alert_policy "id"
|
447
|
+
```
|
448
|
+
|
449
|
+
:param str resource_name: The name of the resource.
|
450
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
451
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AlertPolicyAlertPolicyRuleDetailArgs']]]] alert_policy_rule_details: The details of the alert policy rule.
|
452
|
+
:param pulumi.Input[str] alert_policy_type: Indicates the Data Safe feature the alert policy belongs to
|
453
|
+
:param pulumi.Input[str] compartment_id: (Updatable) The OCID of the compartment where you want to create the alert policy.
|
454
|
+
:param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Operations.CostCenter": "42"}`
|
455
|
+
:param pulumi.Input[str] description: (Updatable) The description of the alert policy.
|
456
|
+
:param pulumi.Input[str] display_name: (Updatable) The display name of the alert policy. The name does not have to be unique, and it's changeable.
|
457
|
+
:param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Department": "Finance"}`
|
458
|
+
:param pulumi.Input[str] severity: (Updatable) Severity level of the alert raised by this policy.
|
459
|
+
|
460
|
+
|
461
|
+
** IMPORTANT **
|
462
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
463
|
+
"""
|
464
|
+
...
|
465
|
+
@overload
|
466
|
+
def __init__(__self__,
|
467
|
+
resource_name: str,
|
468
|
+
args: AlertPolicyArgs,
|
469
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
470
|
+
"""
|
471
|
+
This resource provides the Alert Policy resource in Oracle Cloud Infrastructure Data Safe service.
|
472
|
+
|
473
|
+
Creates a new user-defined alert policy.
|
474
|
+
|
475
|
+
## Example Usage
|
476
|
+
|
477
|
+
```python
|
478
|
+
import pulumi
|
479
|
+
import pulumi_oci as oci
|
480
|
+
|
481
|
+
test_alert_policy = oci.data_safe.AlertPolicy("test_alert_policy",
|
482
|
+
alert_policy_type=alert_policy_alert_policy_type,
|
483
|
+
compartment_id=compartment_id,
|
484
|
+
severity=alert_policy_severity,
|
485
|
+
alert_policy_rule_details=[oci.data_safe.AlertPolicyAlertPolicyRuleDetailArgs(
|
486
|
+
expression=alert_policy_alert_policy_rule_details_expression,
|
487
|
+
description=alert_policy_alert_policy_rule_details_description,
|
488
|
+
display_name=alert_policy_alert_policy_rule_details_display_name,
|
489
|
+
)],
|
490
|
+
defined_tags={
|
491
|
+
"Operations.CostCenter": "42",
|
492
|
+
},
|
493
|
+
description=alert_policy_description,
|
494
|
+
display_name=alert_policy_display_name,
|
495
|
+
freeform_tags={
|
496
|
+
"Department": "Finance",
|
497
|
+
})
|
498
|
+
```
|
499
|
+
|
500
|
+
## Import
|
501
|
+
|
502
|
+
AlertPolicies can be imported using the `id`, e.g.
|
503
|
+
|
504
|
+
```sh
|
505
|
+
$ pulumi import oci:DataSafe/alertPolicy:AlertPolicy test_alert_policy "id"
|
506
|
+
```
|
507
|
+
|
508
|
+
:param str resource_name: The name of the resource.
|
509
|
+
:param AlertPolicyArgs args: The arguments to use to populate this resource's properties.
|
510
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
511
|
+
"""
|
512
|
+
...
|
513
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
514
|
+
resource_args, opts = _utilities.get_resource_args_opts(AlertPolicyArgs, pulumi.ResourceOptions, *args, **kwargs)
|
515
|
+
if resource_args is not None:
|
516
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
517
|
+
else:
|
518
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
519
|
+
|
520
|
+
def _internal_init(__self__,
|
521
|
+
resource_name: str,
|
522
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
523
|
+
alert_policy_rule_details: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AlertPolicyAlertPolicyRuleDetailArgs']]]]] = None,
|
524
|
+
alert_policy_type: Optional[pulumi.Input[str]] = None,
|
525
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
526
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
527
|
+
description: Optional[pulumi.Input[str]] = None,
|
528
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
529
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
530
|
+
severity: Optional[pulumi.Input[str]] = None,
|
531
|
+
__props__=None):
|
532
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
533
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
534
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
535
|
+
if opts.id is None:
|
536
|
+
if __props__ is not None:
|
537
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
538
|
+
__props__ = AlertPolicyArgs.__new__(AlertPolicyArgs)
|
539
|
+
|
540
|
+
__props__.__dict__["alert_policy_rule_details"] = alert_policy_rule_details
|
541
|
+
if alert_policy_type is None and not opts.urn:
|
542
|
+
raise TypeError("Missing required property 'alert_policy_type'")
|
543
|
+
__props__.__dict__["alert_policy_type"] = alert_policy_type
|
544
|
+
if compartment_id is None and not opts.urn:
|
545
|
+
raise TypeError("Missing required property 'compartment_id'")
|
546
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
547
|
+
__props__.__dict__["defined_tags"] = defined_tags
|
548
|
+
__props__.__dict__["description"] = description
|
549
|
+
__props__.__dict__["display_name"] = display_name
|
550
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
551
|
+
if severity is None and not opts.urn:
|
552
|
+
raise TypeError("Missing required property 'severity'")
|
553
|
+
__props__.__dict__["severity"] = severity
|
554
|
+
__props__.__dict__["is_user_defined"] = None
|
555
|
+
__props__.__dict__["lifecycle_details"] = None
|
556
|
+
__props__.__dict__["state"] = None
|
557
|
+
__props__.__dict__["system_tags"] = None
|
558
|
+
__props__.__dict__["time_created"] = None
|
559
|
+
__props__.__dict__["time_updated"] = None
|
560
|
+
super(AlertPolicy, __self__).__init__(
|
561
|
+
'oci:DataSafe/alertPolicy:AlertPolicy',
|
562
|
+
resource_name,
|
563
|
+
__props__,
|
564
|
+
opts)
|
565
|
+
|
566
|
+
@staticmethod
|
567
|
+
def get(resource_name: str,
|
568
|
+
id: pulumi.Input[str],
|
569
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
570
|
+
alert_policy_rule_details: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AlertPolicyAlertPolicyRuleDetailArgs']]]]] = None,
|
571
|
+
alert_policy_type: Optional[pulumi.Input[str]] = None,
|
572
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
573
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
574
|
+
description: Optional[pulumi.Input[str]] = None,
|
575
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
576
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
577
|
+
is_user_defined: Optional[pulumi.Input[bool]] = None,
|
578
|
+
lifecycle_details: Optional[pulumi.Input[str]] = None,
|
579
|
+
severity: Optional[pulumi.Input[str]] = None,
|
580
|
+
state: Optional[pulumi.Input[str]] = None,
|
581
|
+
system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
582
|
+
time_created: Optional[pulumi.Input[str]] = None,
|
583
|
+
time_updated: Optional[pulumi.Input[str]] = None) -> 'AlertPolicy':
|
584
|
+
"""
|
585
|
+
Get an existing AlertPolicy resource's state with the given name, id, and optional extra
|
586
|
+
properties used to qualify the lookup.
|
587
|
+
|
588
|
+
:param str resource_name: The unique name of the resulting resource.
|
589
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
590
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
591
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AlertPolicyAlertPolicyRuleDetailArgs']]]] alert_policy_rule_details: The details of the alert policy rule.
|
592
|
+
:param pulumi.Input[str] alert_policy_type: Indicates the Data Safe feature the alert policy belongs to
|
593
|
+
:param pulumi.Input[str] compartment_id: (Updatable) The OCID of the compartment where you want to create the alert policy.
|
594
|
+
:param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Operations.CostCenter": "42"}`
|
595
|
+
:param pulumi.Input[str] description: (Updatable) The description of the alert policy.
|
596
|
+
:param pulumi.Input[str] display_name: (Updatable) The display name of the alert policy. The name does not have to be unique, and it's changeable.
|
597
|
+
:param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Department": "Finance"}`
|
598
|
+
:param pulumi.Input[bool] is_user_defined: Indicates if the alert policy is user-defined (true) or pre-defined (false).
|
599
|
+
:param pulumi.Input[str] lifecycle_details: Details about the current state of the alert policy.
|
600
|
+
:param pulumi.Input[str] severity: (Updatable) Severity level of the alert raised by this policy.
|
601
|
+
|
602
|
+
|
603
|
+
** IMPORTANT **
|
604
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
605
|
+
:param pulumi.Input[str] state: The current state of the alert.
|
606
|
+
:param pulumi.Input[Mapping[str, Any]] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
607
|
+
:param pulumi.Input[str] time_created: Creation date and time of the alert policy, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
|
608
|
+
:param pulumi.Input[str] time_updated: Last date and time the alert policy was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
|
609
|
+
"""
|
610
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
611
|
+
|
612
|
+
__props__ = _AlertPolicyState.__new__(_AlertPolicyState)
|
613
|
+
|
614
|
+
__props__.__dict__["alert_policy_rule_details"] = alert_policy_rule_details
|
615
|
+
__props__.__dict__["alert_policy_type"] = alert_policy_type
|
616
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
617
|
+
__props__.__dict__["defined_tags"] = defined_tags
|
618
|
+
__props__.__dict__["description"] = description
|
619
|
+
__props__.__dict__["display_name"] = display_name
|
620
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
621
|
+
__props__.__dict__["is_user_defined"] = is_user_defined
|
622
|
+
__props__.__dict__["lifecycle_details"] = lifecycle_details
|
623
|
+
__props__.__dict__["severity"] = severity
|
624
|
+
__props__.__dict__["state"] = state
|
625
|
+
__props__.__dict__["system_tags"] = system_tags
|
626
|
+
__props__.__dict__["time_created"] = time_created
|
627
|
+
__props__.__dict__["time_updated"] = time_updated
|
628
|
+
return AlertPolicy(resource_name, opts=opts, __props__=__props__)
|
629
|
+
|
630
|
+
@property
|
631
|
+
@pulumi.getter(name="alertPolicyRuleDetails")
|
632
|
+
def alert_policy_rule_details(self) -> pulumi.Output[Sequence['outputs.AlertPolicyAlertPolicyRuleDetail']]:
|
633
|
+
"""
|
634
|
+
The details of the alert policy rule.
|
635
|
+
"""
|
636
|
+
return pulumi.get(self, "alert_policy_rule_details")
|
637
|
+
|
638
|
+
@property
|
639
|
+
@pulumi.getter(name="alertPolicyType")
|
640
|
+
def alert_policy_type(self) -> pulumi.Output[str]:
|
641
|
+
"""
|
642
|
+
Indicates the Data Safe feature the alert policy belongs to
|
643
|
+
"""
|
644
|
+
return pulumi.get(self, "alert_policy_type")
|
645
|
+
|
646
|
+
@property
|
647
|
+
@pulumi.getter(name="compartmentId")
|
648
|
+
def compartment_id(self) -> pulumi.Output[str]:
|
649
|
+
"""
|
650
|
+
(Updatable) The OCID of the compartment where you want to create the alert policy.
|
651
|
+
"""
|
652
|
+
return pulumi.get(self, "compartment_id")
|
653
|
+
|
654
|
+
@property
|
655
|
+
@pulumi.getter(name="definedTags")
|
656
|
+
def defined_tags(self) -> pulumi.Output[Mapping[str, Any]]:
|
657
|
+
"""
|
658
|
+
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Operations.CostCenter": "42"}`
|
659
|
+
"""
|
660
|
+
return pulumi.get(self, "defined_tags")
|
661
|
+
|
662
|
+
@property
|
663
|
+
@pulumi.getter
|
664
|
+
def description(self) -> pulumi.Output[str]:
|
665
|
+
"""
|
666
|
+
(Updatable) The description of the alert policy.
|
667
|
+
"""
|
668
|
+
return pulumi.get(self, "description")
|
669
|
+
|
670
|
+
@property
|
671
|
+
@pulumi.getter(name="displayName")
|
672
|
+
def display_name(self) -> pulumi.Output[str]:
|
673
|
+
"""
|
674
|
+
(Updatable) The display name of the alert policy. The name does not have to be unique, and it's changeable.
|
675
|
+
"""
|
676
|
+
return pulumi.get(self, "display_name")
|
677
|
+
|
678
|
+
@property
|
679
|
+
@pulumi.getter(name="freeformTags")
|
680
|
+
def freeform_tags(self) -> pulumi.Output[Mapping[str, Any]]:
|
681
|
+
"""
|
682
|
+
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Department": "Finance"}`
|
683
|
+
"""
|
684
|
+
return pulumi.get(self, "freeform_tags")
|
685
|
+
|
686
|
+
@property
|
687
|
+
@pulumi.getter(name="isUserDefined")
|
688
|
+
def is_user_defined(self) -> pulumi.Output[bool]:
|
689
|
+
"""
|
690
|
+
Indicates if the alert policy is user-defined (true) or pre-defined (false).
|
691
|
+
"""
|
692
|
+
return pulumi.get(self, "is_user_defined")
|
693
|
+
|
694
|
+
@property
|
695
|
+
@pulumi.getter(name="lifecycleDetails")
|
696
|
+
def lifecycle_details(self) -> pulumi.Output[str]:
|
697
|
+
"""
|
698
|
+
Details about the current state of the alert policy.
|
699
|
+
"""
|
700
|
+
return pulumi.get(self, "lifecycle_details")
|
701
|
+
|
702
|
+
@property
|
703
|
+
@pulumi.getter
|
704
|
+
def severity(self) -> pulumi.Output[str]:
|
705
|
+
"""
|
706
|
+
(Updatable) Severity level of the alert raised by this policy.
|
707
|
+
|
708
|
+
|
709
|
+
** IMPORTANT **
|
710
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
711
|
+
"""
|
712
|
+
return pulumi.get(self, "severity")
|
713
|
+
|
714
|
+
@property
|
715
|
+
@pulumi.getter
|
716
|
+
def state(self) -> pulumi.Output[str]:
|
717
|
+
"""
|
718
|
+
The current state of the alert.
|
719
|
+
"""
|
720
|
+
return pulumi.get(self, "state")
|
721
|
+
|
722
|
+
@property
|
723
|
+
@pulumi.getter(name="systemTags")
|
724
|
+
def system_tags(self) -> pulumi.Output[Mapping[str, Any]]:
|
725
|
+
"""
|
726
|
+
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
727
|
+
"""
|
728
|
+
return pulumi.get(self, "system_tags")
|
729
|
+
|
730
|
+
@property
|
731
|
+
@pulumi.getter(name="timeCreated")
|
732
|
+
def time_created(self) -> pulumi.Output[str]:
|
733
|
+
"""
|
734
|
+
Creation date and time of the alert policy, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
|
735
|
+
"""
|
736
|
+
return pulumi.get(self, "time_created")
|
737
|
+
|
738
|
+
@property
|
739
|
+
@pulumi.getter(name="timeUpdated")
|
740
|
+
def time_updated(self) -> pulumi.Output[str]:
|
741
|
+
"""
|
742
|
+
Last date and time the alert policy was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
|
743
|
+
"""
|
744
|
+
return pulumi.get(self, "time_updated")
|
745
|
+
|