pulumi-oci 2.4.0a1721890421__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 +78 -32
- pulumi_oci/_utilities.py +2 -0
- pulumi_oci/apmsynthetics/_inputs.py +457 -1
- pulumi_oci/apmsynthetics/config.py +172 -7
- pulumi_oci/apmsynthetics/get_monitor.py +42 -3
- pulumi_oci/apmsynthetics/get_monitors.py +2 -2
- pulumi_oci/apmsynthetics/outputs.py +1129 -9
- 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 +48 -8
- 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 +338 -8
- pulumi_oci/database/_inputs.py +16 -0
- pulumi_oci/database/autonomous_database.py +111 -9
- pulumi_oci/database/cloud_autonomous_vm_cluster.py +7 -25
- pulumi_oci/database/cloud_exadata_infrastructure.py +66 -17
- pulumi_oci/database/cloud_vm_cluster.py +49 -0
- pulumi_oci/database/database.py +0 -96
- pulumi_oci/database/get_autonomous_database.py +38 -1
- pulumi_oci/database/get_cloud_exadata_infrastructure.py +14 -1
- pulumi_oci/database/get_cloud_vm_cluster.py +14 -1
- pulumi_oci/database/get_key_store.py +11 -1
- pulumi_oci/database/key_store.py +34 -0
- pulumi_oci/database/outputs.py +115 -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 +3 -4
- pulumi_oci/datasafe/_inputs.py +185 -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/discovery_mod.py +67 -38
- 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_audit_events.py +2 -2
- pulumi_oci/datasafe/get_discovery_job.py +15 -1
- pulumi_oci/datasafe/get_report.py +15 -2
- pulumi_oci/datasafe/get_report_definition.py +15 -2
- pulumi_oci/datasafe/get_reports.py +43 -1
- pulumi_oci/datasafe/get_security_assessment.py +14 -1
- pulumi_oci/datasafe/get_security_assessment_finding.py +16 -3
- pulumi_oci/datasafe/get_security_assessment_findings.py +21 -3
- pulumi_oci/datasafe/get_sensitive_data_model.py +15 -1
- pulumi_oci/datasafe/get_sensitive_data_model_sensitive_types.py +153 -0
- pulumi_oci/datasafe/get_target_alert_policy_association.py +15 -2
- pulumi_oci/datasafe/get_user_assessment.py +14 -1
- pulumi_oci/datasafe/outputs.py +761 -33
- pulumi_oci/datasafe/report.py +32 -4
- pulumi_oci/datasafe/report_definition.py +32 -4
- pulumi_oci/datasafe/security_assessment.py +49 -0
- pulumi_oci/datasafe/sensitive_data_model.py +60 -3
- pulumi_oci/datasafe/target_alert_policy_association.py +28 -0
- pulumi_oci/datasafe/unset_security_assessment_baseline.py +69 -16
- pulumi_oci/datasafe/unset_user_assessment_baseline.py +58 -5
- pulumi_oci/datasafe/user_assessment.py +49 -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/globallydistributeddatabase/__init__.py +15 -0
- pulumi_oci/globallydistributeddatabase/_inputs.py +1003 -0
- pulumi_oci/globallydistributeddatabase/get_private_endpoint.py +300 -0
- pulumi_oci/globallydistributeddatabase/get_private_endpoints.py +176 -0
- pulumi_oci/globallydistributeddatabase/get_sharded_database.py +610 -0
- pulumi_oci/globallydistributeddatabase/get_sharded_databases.py +176 -0
- pulumi_oci/globallydistributeddatabase/outputs.py +2058 -0
- pulumi_oci/globallydistributeddatabase/private_endpoint.py +742 -0
- pulumi_oci/globallydistributeddatabase/sharded_database.py +1816 -0
- 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/integration/_inputs.py +0 -2
- pulumi_oci/integration/get_integration_instance.py +0 -1
- pulumi_oci/integration/integration_instance.py +0 -27
- pulumi_oci/integration/outputs.py +4 -12
- 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/opsi/_inputs.py +8 -8
- pulumi_oci/opsi/database_insight.py +71 -15
- pulumi_oci/opsi/get_database_insight.py +29 -3
- pulumi_oci/opsi/get_database_insights.py +1 -1
- pulumi_oci/opsi/get_enterprise_manager_bridges.py +2 -2
- pulumi_oci/opsi/get_host_insight.py +1 -4
- pulumi_oci/opsi/get_host_insights.py +3 -3
- pulumi_oci/opsi/get_news_report.py +1 -1
- pulumi_oci/opsi/get_news_reports.py +3 -3
- pulumi_oci/opsi/get_operations_insights_private_endpoint.py +1 -1
- pulumi_oci/opsi/get_operations_insights_private_endpoints.py +1 -1
- pulumi_oci/opsi/get_operations_insights_warehouse.py +7 -7
- pulumi_oci/opsi/get_operations_insights_warehouse_user.py +2 -2
- pulumi_oci/opsi/get_operations_insights_warehouses.py +5 -5
- pulumi_oci/opsi/host_insight.py +6 -14
- pulumi_oci/opsi/news_report.py +2 -2
- pulumi_oci/opsi/operations_insights_private_endpoint.py +9 -9
- pulumi_oci/opsi/operations_insights_warehouse.py +17 -17
- pulumi_oci/opsi/operations_insights_warehouse_download_warehouse_wallet.py +14 -14
- pulumi_oci/opsi/operations_insights_warehouse_rotate_warehouse_wallet.py +7 -7
- pulumi_oci/opsi/operations_insights_warehouse_user.py +14 -14
- pulumi_oci/opsi/outputs.py +46 -24
- 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.0a1721890421.dist-info → pulumi_oci-2.5.0.dist-info}/METADATA +1 -1
- {pulumi_oci-2.4.0a1721890421.dist-info → pulumi_oci-2.5.0.dist-info}/RECORD +137 -111
- {pulumi_oci-2.4.0a1721890421.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.0a1721890421.dist-info → pulumi_oci-2.5.0.dist-info}/top_level.txt +0 -0
@@ -8,6 +8,8 @@ import pulumi
|
|
8
8
|
import pulumi.runtime
|
9
9
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
10
|
from .. import _utilities
|
11
|
+
from . import outputs
|
12
|
+
from ._inputs import *
|
11
13
|
|
12
14
|
__all__ = ['DiscoveryModArgs', 'DiscoveryMod']
|
13
15
|
|
@@ -25,7 +27,8 @@ class DiscoveryModArgs:
|
|
25
27
|
is_include_all_sensitive_types: Optional[pulumi.Input[bool]] = None,
|
26
28
|
is_sample_data_collection_enabled: Optional[pulumi.Input[bool]] = None,
|
27
29
|
schemas_for_discoveries: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
28
|
-
sensitive_type_ids_for_discoveries: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None
|
30
|
+
sensitive_type_ids_for_discoveries: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
31
|
+
tables_for_discoveries: Optional[pulumi.Input[Sequence[pulumi.Input['DiscoveryModTablesForDiscoveryArgs']]]] = None):
|
29
32
|
"""
|
30
33
|
The set of arguments for constructing a DiscoveryMod resource.
|
31
34
|
:param pulumi.Input[str] compartment_id: (Updatable) The OCID of the compartment where the discovery job resource should be created.
|
@@ -39,11 +42,8 @@ class DiscoveryModArgs:
|
|
39
42
|
:param pulumi.Input[bool] is_include_all_sensitive_types: Indicates if all the existing sensitive types should be used by the discovery job. If it's set to true, the sensitiveTypeIdsForDiscovery attribute is ignored and all sensitive types are used for data discovery. If both attributes are not provided, the configuration from the sensitive data model is used.
|
40
43
|
:param pulumi.Input[bool] is_sample_data_collection_enabled: Indicates if the discovery job should collect and store sample data values for the discovered columns. Sample data helps review the discovered columns and ensure that they actually contain sensitive data. As it collects original data from the target database, it's disabled by default and should be used only if it's acceptable to store sample data in Data Safe's repository in Oracle Cloud. Note that sample data values are not collected for columns with the following data types: LONG, LOB, RAW, XMLTYPE and BFILE.
|
41
44
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] schemas_for_discoveries: The schemas to be scanned by the discovery job. If not provided, the schemasForDiscovery attribute of the sensitive data model is used to get the list of schemas.
|
42
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] sensitive_type_ids_for_discoveries: The OCIDs of the sensitive types to be used by the discovery job. If not provided, the sensitiveTypeIdsForDiscovery attribute of the sensitive data model is used to get the list of sensitive types.
|
43
|
-
|
44
|
-
|
45
|
-
** IMPORTANT **
|
46
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
45
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] sensitive_type_ids_for_discoveries: The OCIDs of the sensitive types to be used by the discovery job. If not provided, the sensitiveTypeIdsForDiscovery attribute of the sensitive data model is used to get the list of sensitive types.
|
46
|
+
:param pulumi.Input[Sequence[pulumi.Input['DiscoveryModTablesForDiscoveryArgs']]] tables_for_discoveries: The data discovery jobs will scan the tables specified here, including both schemas and tables. In the absence of explicit input, the list of tables is obtained from the tablesForDiscovery attribute of the sensitive data model.
|
47
47
|
"""
|
48
48
|
pulumi.set(__self__, "compartment_id", compartment_id)
|
49
49
|
pulumi.set(__self__, "sensitive_data_model_id", sensitive_data_model_id)
|
@@ -67,6 +67,8 @@ class DiscoveryModArgs:
|
|
67
67
|
pulumi.set(__self__, "schemas_for_discoveries", schemas_for_discoveries)
|
68
68
|
if sensitive_type_ids_for_discoveries is not None:
|
69
69
|
pulumi.set(__self__, "sensitive_type_ids_for_discoveries", sensitive_type_ids_for_discoveries)
|
70
|
+
if tables_for_discoveries is not None:
|
71
|
+
pulumi.set(__self__, "tables_for_discoveries", tables_for_discoveries)
|
70
72
|
|
71
73
|
@property
|
72
74
|
@pulumi.getter(name="compartmentId")
|
@@ -204,11 +206,7 @@ class DiscoveryModArgs:
|
|
204
206
|
@pulumi.getter(name="sensitiveTypeIdsForDiscoveries")
|
205
207
|
def sensitive_type_ids_for_discoveries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
206
208
|
"""
|
207
|
-
The OCIDs of the sensitive types to be used by the discovery job. If not provided, the sensitiveTypeIdsForDiscovery attribute of the sensitive data model is used to get the list of sensitive types.
|
208
|
-
|
209
|
-
|
210
|
-
** IMPORTANT **
|
211
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
209
|
+
The OCIDs of the sensitive types to be used by the discovery job. If not provided, the sensitiveTypeIdsForDiscovery attribute of the sensitive data model is used to get the list of sensitive types.
|
212
210
|
"""
|
213
211
|
return pulumi.get(self, "sensitive_type_ids_for_discoveries")
|
214
212
|
|
@@ -216,6 +214,18 @@ class DiscoveryModArgs:
|
|
216
214
|
def sensitive_type_ids_for_discoveries(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
217
215
|
pulumi.set(self, "sensitive_type_ids_for_discoveries", value)
|
218
216
|
|
217
|
+
@property
|
218
|
+
@pulumi.getter(name="tablesForDiscoveries")
|
219
|
+
def tables_for_discoveries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DiscoveryModTablesForDiscoveryArgs']]]]:
|
220
|
+
"""
|
221
|
+
The data discovery jobs will scan the tables specified here, including both schemas and tables. In the absence of explicit input, the list of tables is obtained from the tablesForDiscovery attribute of the sensitive data model.
|
222
|
+
"""
|
223
|
+
return pulumi.get(self, "tables_for_discoveries")
|
224
|
+
|
225
|
+
@tables_for_discoveries.setter
|
226
|
+
def tables_for_discoveries(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DiscoveryModTablesForDiscoveryArgs']]]]):
|
227
|
+
pulumi.set(self, "tables_for_discoveries", value)
|
228
|
+
|
219
229
|
|
220
230
|
@pulumi.input_type
|
221
231
|
class _DiscoveryModState:
|
@@ -234,6 +244,7 @@ class _DiscoveryModState:
|
|
234
244
|
sensitive_type_ids_for_discoveries: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
235
245
|
state: Optional[pulumi.Input[str]] = None,
|
236
246
|
system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
247
|
+
tables_for_discoveries: Optional[pulumi.Input[Sequence[pulumi.Input['DiscoveryModTablesForDiscoveryArgs']]]] = None,
|
237
248
|
target_id: Optional[pulumi.Input[str]] = None,
|
238
249
|
time_finished: Optional[pulumi.Input[str]] = None,
|
239
250
|
time_started: Optional[pulumi.Input[str]] = None,
|
@@ -256,13 +267,10 @@ class _DiscoveryModState:
|
|
256
267
|
:param pulumi.Input[bool] is_sample_data_collection_enabled: Indicates if the discovery job should collect and store sample data values for the discovered columns. Sample data helps review the discovered columns and ensure that they actually contain sensitive data. As it collects original data from the target database, it's disabled by default and should be used only if it's acceptable to store sample data in Data Safe's repository in Oracle Cloud. Note that sample data values are not collected for columns with the following data types: LONG, LOB, RAW, XMLTYPE and BFILE.
|
257
268
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] schemas_for_discoveries: The schemas to be scanned by the discovery job. If not provided, the schemasForDiscovery attribute of the sensitive data model is used to get the list of schemas.
|
258
269
|
:param pulumi.Input[str] sensitive_data_model_id: The OCID of the sensitive data model.
|
259
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] sensitive_type_ids_for_discoveries: The OCIDs of the sensitive types to be used by the discovery job. If not provided, the sensitiveTypeIdsForDiscovery attribute of the sensitive data model is used to get the list of sensitive types.
|
260
|
-
|
261
|
-
|
262
|
-
** IMPORTANT **
|
263
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
270
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] sensitive_type_ids_for_discoveries: The OCIDs of the sensitive types to be used by the discovery job. If not provided, the sensitiveTypeIdsForDiscovery attribute of the sensitive data model is used to get the list of sensitive types.
|
264
271
|
:param pulumi.Input[str] state: The current state of the discovery job.
|
265
272
|
: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"}`
|
273
|
+
:param pulumi.Input[Sequence[pulumi.Input['DiscoveryModTablesForDiscoveryArgs']]] tables_for_discoveries: The data discovery jobs will scan the tables specified here, including both schemas and tables. In the absence of explicit input, the list of tables is obtained from the tablesForDiscovery attribute of the sensitive data model.
|
266
274
|
:param pulumi.Input[str] target_id: The OCID of the target database associated with the discovery job.
|
267
275
|
:param pulumi.Input[str] time_finished: The date and time the discovery job finished, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339)..
|
268
276
|
:param pulumi.Input[str] time_started: The date and time the discovery job started, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
|
@@ -301,6 +309,8 @@ class _DiscoveryModState:
|
|
301
309
|
pulumi.set(__self__, "state", state)
|
302
310
|
if system_tags is not None:
|
303
311
|
pulumi.set(__self__, "system_tags", system_tags)
|
312
|
+
if tables_for_discoveries is not None:
|
313
|
+
pulumi.set(__self__, "tables_for_discoveries", tables_for_discoveries)
|
304
314
|
if target_id is not None:
|
305
315
|
pulumi.set(__self__, "target_id", target_id)
|
306
316
|
if time_finished is not None:
|
@@ -456,11 +466,7 @@ class _DiscoveryModState:
|
|
456
466
|
@pulumi.getter(name="sensitiveTypeIdsForDiscoveries")
|
457
467
|
def sensitive_type_ids_for_discoveries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
458
468
|
"""
|
459
|
-
The OCIDs of the sensitive types to be used by the discovery job. If not provided, the sensitiveTypeIdsForDiscovery attribute of the sensitive data model is used to get the list of sensitive types.
|
460
|
-
|
461
|
-
|
462
|
-
** IMPORTANT **
|
463
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
469
|
+
The OCIDs of the sensitive types to be used by the discovery job. If not provided, the sensitiveTypeIdsForDiscovery attribute of the sensitive data model is used to get the list of sensitive types.
|
464
470
|
"""
|
465
471
|
return pulumi.get(self, "sensitive_type_ids_for_discoveries")
|
466
472
|
|
@@ -492,6 +498,18 @@ class _DiscoveryModState:
|
|
492
498
|
def system_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
493
499
|
pulumi.set(self, "system_tags", value)
|
494
500
|
|
501
|
+
@property
|
502
|
+
@pulumi.getter(name="tablesForDiscoveries")
|
503
|
+
def tables_for_discoveries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DiscoveryModTablesForDiscoveryArgs']]]]:
|
504
|
+
"""
|
505
|
+
The data discovery jobs will scan the tables specified here, including both schemas and tables. In the absence of explicit input, the list of tables is obtained from the tablesForDiscovery attribute of the sensitive data model.
|
506
|
+
"""
|
507
|
+
return pulumi.get(self, "tables_for_discoveries")
|
508
|
+
|
509
|
+
@tables_for_discoveries.setter
|
510
|
+
def tables_for_discoveries(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DiscoveryModTablesForDiscoveryArgs']]]]):
|
511
|
+
pulumi.set(self, "tables_for_discoveries", value)
|
512
|
+
|
495
513
|
@property
|
496
514
|
@pulumi.getter(name="targetId")
|
497
515
|
def target_id(self) -> Optional[pulumi.Input[str]]:
|
@@ -618,6 +636,7 @@ class DiscoveryMod(pulumi.CustomResource):
|
|
618
636
|
schemas_for_discoveries: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
619
637
|
sensitive_data_model_id: Optional[pulumi.Input[str]] = None,
|
620
638
|
sensitive_type_ids_for_discoveries: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
639
|
+
tables_for_discoveries: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DiscoveryModTablesForDiscoveryArgs']]]]] = None,
|
621
640
|
__props__=None):
|
622
641
|
"""
|
623
642
|
This resource provides the Discovery Job resource in Oracle Cloud Infrastructure Data Safe service.
|
@@ -650,7 +669,11 @@ class DiscoveryMod(pulumi.CustomResource):
|
|
650
669
|
is_include_all_sensitive_types=discovery_job_is_include_all_sensitive_types,
|
651
670
|
is_sample_data_collection_enabled=discovery_job_is_sample_data_collection_enabled,
|
652
671
|
schemas_for_discoveries=discovery_job_schemas_for_discovery,
|
653
|
-
sensitive_type_ids_for_discoveries=discovery_job_sensitive_type_ids_for_discovery
|
672
|
+
sensitive_type_ids_for_discoveries=discovery_job_sensitive_type_ids_for_discovery,
|
673
|
+
tables_for_discoveries=[oci.data_safe.DiscoveryModTablesForDiscoveryArgs(
|
674
|
+
schema_name=discovery_job_tables_for_discovery_schema_name,
|
675
|
+
table_names=discovery_job_tables_for_discovery_table_names,
|
676
|
+
)])
|
654
677
|
```
|
655
678
|
|
656
679
|
## Import
|
@@ -674,11 +697,8 @@ class DiscoveryMod(pulumi.CustomResource):
|
|
674
697
|
:param pulumi.Input[bool] is_sample_data_collection_enabled: Indicates if the discovery job should collect and store sample data values for the discovered columns. Sample data helps review the discovered columns and ensure that they actually contain sensitive data. As it collects original data from the target database, it's disabled by default and should be used only if it's acceptable to store sample data in Data Safe's repository in Oracle Cloud. Note that sample data values are not collected for columns with the following data types: LONG, LOB, RAW, XMLTYPE and BFILE.
|
675
698
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] schemas_for_discoveries: The schemas to be scanned by the discovery job. If not provided, the schemasForDiscovery attribute of the sensitive data model is used to get the list of schemas.
|
676
699
|
:param pulumi.Input[str] sensitive_data_model_id: The OCID of the sensitive data model.
|
677
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] sensitive_type_ids_for_discoveries: The OCIDs of the sensitive types to be used by the discovery job. If not provided, the sensitiveTypeIdsForDiscovery attribute of the sensitive data model is used to get the list of sensitive types.
|
678
|
-
|
679
|
-
|
680
|
-
** IMPORTANT **
|
681
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
700
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] sensitive_type_ids_for_discoveries: The OCIDs of the sensitive types to be used by the discovery job. If not provided, the sensitiveTypeIdsForDiscovery attribute of the sensitive data model is used to get the list of sensitive types.
|
701
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DiscoveryModTablesForDiscoveryArgs']]]] tables_for_discoveries: The data discovery jobs will scan the tables specified here, including both schemas and tables. In the absence of explicit input, the list of tables is obtained from the tablesForDiscovery attribute of the sensitive data model.
|
682
702
|
"""
|
683
703
|
...
|
684
704
|
@overload
|
@@ -717,7 +737,11 @@ class DiscoveryMod(pulumi.CustomResource):
|
|
717
737
|
is_include_all_sensitive_types=discovery_job_is_include_all_sensitive_types,
|
718
738
|
is_sample_data_collection_enabled=discovery_job_is_sample_data_collection_enabled,
|
719
739
|
schemas_for_discoveries=discovery_job_schemas_for_discovery,
|
720
|
-
sensitive_type_ids_for_discoveries=discovery_job_sensitive_type_ids_for_discovery
|
740
|
+
sensitive_type_ids_for_discoveries=discovery_job_sensitive_type_ids_for_discovery,
|
741
|
+
tables_for_discoveries=[oci.data_safe.DiscoveryModTablesForDiscoveryArgs(
|
742
|
+
schema_name=discovery_job_tables_for_discovery_schema_name,
|
743
|
+
table_names=discovery_job_tables_for_discovery_table_names,
|
744
|
+
)])
|
721
745
|
```
|
722
746
|
|
723
747
|
## Import
|
@@ -755,6 +779,7 @@ class DiscoveryMod(pulumi.CustomResource):
|
|
755
779
|
schemas_for_discoveries: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
756
780
|
sensitive_data_model_id: Optional[pulumi.Input[str]] = None,
|
757
781
|
sensitive_type_ids_for_discoveries: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
782
|
+
tables_for_discoveries: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DiscoveryModTablesForDiscoveryArgs']]]]] = None,
|
758
783
|
__props__=None):
|
759
784
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
760
785
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -780,6 +805,7 @@ class DiscoveryMod(pulumi.CustomResource):
|
|
780
805
|
raise TypeError("Missing required property 'sensitive_data_model_id'")
|
781
806
|
__props__.__dict__["sensitive_data_model_id"] = sensitive_data_model_id
|
782
807
|
__props__.__dict__["sensitive_type_ids_for_discoveries"] = sensitive_type_ids_for_discoveries
|
808
|
+
__props__.__dict__["tables_for_discoveries"] = tables_for_discoveries
|
783
809
|
__props__.__dict__["state"] = None
|
784
810
|
__props__.__dict__["system_tags"] = None
|
785
811
|
__props__.__dict__["target_id"] = None
|
@@ -815,6 +841,7 @@ class DiscoveryMod(pulumi.CustomResource):
|
|
815
841
|
sensitive_type_ids_for_discoveries: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
816
842
|
state: Optional[pulumi.Input[str]] = None,
|
817
843
|
system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
844
|
+
tables_for_discoveries: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DiscoveryModTablesForDiscoveryArgs']]]]] = None,
|
818
845
|
target_id: Optional[pulumi.Input[str]] = None,
|
819
846
|
time_finished: Optional[pulumi.Input[str]] = None,
|
820
847
|
time_started: Optional[pulumi.Input[str]] = None,
|
@@ -842,13 +869,10 @@ class DiscoveryMod(pulumi.CustomResource):
|
|
842
869
|
:param pulumi.Input[bool] is_sample_data_collection_enabled: Indicates if the discovery job should collect and store sample data values for the discovered columns. Sample data helps review the discovered columns and ensure that they actually contain sensitive data. As it collects original data from the target database, it's disabled by default and should be used only if it's acceptable to store sample data in Data Safe's repository in Oracle Cloud. Note that sample data values are not collected for columns with the following data types: LONG, LOB, RAW, XMLTYPE and BFILE.
|
843
870
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] schemas_for_discoveries: The schemas to be scanned by the discovery job. If not provided, the schemasForDiscovery attribute of the sensitive data model is used to get the list of schemas.
|
844
871
|
:param pulumi.Input[str] sensitive_data_model_id: The OCID of the sensitive data model.
|
845
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] sensitive_type_ids_for_discoveries: The OCIDs of the sensitive types to be used by the discovery job. If not provided, the sensitiveTypeIdsForDiscovery attribute of the sensitive data model is used to get the list of sensitive types.
|
846
|
-
|
847
|
-
|
848
|
-
** IMPORTANT **
|
849
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
872
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] sensitive_type_ids_for_discoveries: The OCIDs of the sensitive types to be used by the discovery job. If not provided, the sensitiveTypeIdsForDiscovery attribute of the sensitive data model is used to get the list of sensitive types.
|
850
873
|
:param pulumi.Input[str] state: The current state of the discovery job.
|
851
874
|
: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"}`
|
875
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DiscoveryModTablesForDiscoveryArgs']]]] tables_for_discoveries: The data discovery jobs will scan the tables specified here, including both schemas and tables. In the absence of explicit input, the list of tables is obtained from the tablesForDiscovery attribute of the sensitive data model.
|
852
876
|
:param pulumi.Input[str] target_id: The OCID of the target database associated with the discovery job.
|
853
877
|
:param pulumi.Input[str] time_finished: The date and time the discovery job finished, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339)..
|
854
878
|
:param pulumi.Input[str] time_started: The date and time the discovery job started, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
|
@@ -877,6 +901,7 @@ class DiscoveryMod(pulumi.CustomResource):
|
|
877
901
|
__props__.__dict__["sensitive_type_ids_for_discoveries"] = sensitive_type_ids_for_discoveries
|
878
902
|
__props__.__dict__["state"] = state
|
879
903
|
__props__.__dict__["system_tags"] = system_tags
|
904
|
+
__props__.__dict__["tables_for_discoveries"] = tables_for_discoveries
|
880
905
|
__props__.__dict__["target_id"] = target_id
|
881
906
|
__props__.__dict__["time_finished"] = time_finished
|
882
907
|
__props__.__dict__["time_started"] = time_started
|
@@ -980,11 +1005,7 @@ class DiscoveryMod(pulumi.CustomResource):
|
|
980
1005
|
@pulumi.getter(name="sensitiveTypeIdsForDiscoveries")
|
981
1006
|
def sensitive_type_ids_for_discoveries(self) -> pulumi.Output[Sequence[str]]:
|
982
1007
|
"""
|
983
|
-
The OCIDs of the sensitive types to be used by the discovery job. If not provided, the sensitiveTypeIdsForDiscovery attribute of the sensitive data model is used to get the list of sensitive types.
|
984
|
-
|
985
|
-
|
986
|
-
** IMPORTANT **
|
987
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
1008
|
+
The OCIDs of the sensitive types to be used by the discovery job. If not provided, the sensitiveTypeIdsForDiscovery attribute of the sensitive data model is used to get the list of sensitive types.
|
988
1009
|
"""
|
989
1010
|
return pulumi.get(self, "sensitive_type_ids_for_discoveries")
|
990
1011
|
|
@@ -1004,6 +1025,14 @@ class DiscoveryMod(pulumi.CustomResource):
|
|
1004
1025
|
"""
|
1005
1026
|
return pulumi.get(self, "system_tags")
|
1006
1027
|
|
1028
|
+
@property
|
1029
|
+
@pulumi.getter(name="tablesForDiscoveries")
|
1030
|
+
def tables_for_discoveries(self) -> pulumi.Output[Sequence['outputs.DiscoveryModTablesForDiscovery']]:
|
1031
|
+
"""
|
1032
|
+
The data discovery jobs will scan the tables specified here, including both schemas and tables. In the absence of explicit input, the list of tables is obtained from the tablesForDiscovery attribute of the sensitive data model.
|
1033
|
+
"""
|
1034
|
+
return pulumi.get(self, "tables_for_discoveries")
|
1035
|
+
|
1007
1036
|
@property
|
1008
1037
|
@pulumi.getter(name="targetId")
|
1009
1038
|
def target_id(self) -> pulumi.Output[str]:
|
pulumi_oci/datasafe/get_alert.py
CHANGED
@@ -21,10 +21,16 @@ class GetAlertResult:
|
|
21
21
|
"""
|
22
22
|
A collection of values returned by getAlert.
|
23
23
|
"""
|
24
|
-
def __init__(__self__, alert_id=None, alert_type=None, comment=None, compartment_id=None, defined_tags=None, description=None, display_name=None, feature_details=None, freeform_tags=None, id=None, operation=None, operation_status=None, operation_time=None, policy_id=None, resource_name=None, severity=None, state=None, status=None, system_tags=None, target_ids=None, target_names=None, time_created=None, time_updated=None):
|
24
|
+
def __init__(__self__, alert_id=None, alert_policy_rule_key=None, alert_policy_rule_name=None, alert_type=None, comment=None, compartment_id=None, defined_tags=None, description=None, display_name=None, feature_details=None, freeform_tags=None, id=None, operation=None, operation_status=None, operation_time=None, policy_id=None, resource_name=None, severity=None, state=None, status=None, system_tags=None, target_ids=None, target_names=None, time_created=None, time_updated=None):
|
25
25
|
if alert_id and not isinstance(alert_id, str):
|
26
26
|
raise TypeError("Expected argument 'alert_id' to be a str")
|
27
27
|
pulumi.set(__self__, "alert_id", alert_id)
|
28
|
+
if alert_policy_rule_key and not isinstance(alert_policy_rule_key, str):
|
29
|
+
raise TypeError("Expected argument 'alert_policy_rule_key' to be a str")
|
30
|
+
pulumi.set(__self__, "alert_policy_rule_key", alert_policy_rule_key)
|
31
|
+
if alert_policy_rule_name and not isinstance(alert_policy_rule_name, str):
|
32
|
+
raise TypeError("Expected argument 'alert_policy_rule_name' to be a str")
|
33
|
+
pulumi.set(__self__, "alert_policy_rule_name", alert_policy_rule_name)
|
28
34
|
if alert_type and not isinstance(alert_type, str):
|
29
35
|
raise TypeError("Expected argument 'alert_type' to be a str")
|
30
36
|
pulumi.set(__self__, "alert_type", alert_type)
|
@@ -97,6 +103,22 @@ class GetAlertResult:
|
|
97
103
|
def alert_id(self) -> str:
|
98
104
|
return pulumi.get(self, "alert_id")
|
99
105
|
|
106
|
+
@property
|
107
|
+
@pulumi.getter(name="alertPolicyRuleKey")
|
108
|
+
def alert_policy_rule_key(self) -> str:
|
109
|
+
"""
|
110
|
+
The key of the rule of alert policy that triggered alert.
|
111
|
+
"""
|
112
|
+
return pulumi.get(self, "alert_policy_rule_key")
|
113
|
+
|
114
|
+
@property
|
115
|
+
@pulumi.getter(name="alertPolicyRuleName")
|
116
|
+
def alert_policy_rule_name(self) -> str:
|
117
|
+
"""
|
118
|
+
The display name of the rule of alert policy that triggered alert.
|
119
|
+
"""
|
120
|
+
return pulumi.get(self, "alert_policy_rule_name")
|
121
|
+
|
100
122
|
@property
|
101
123
|
@pulumi.getter(name="alertType")
|
102
124
|
def alert_type(self) -> str:
|
@@ -281,6 +303,8 @@ class AwaitableGetAlertResult(GetAlertResult):
|
|
281
303
|
yield self
|
282
304
|
return GetAlertResult(
|
283
305
|
alert_id=self.alert_id,
|
306
|
+
alert_policy_rule_key=self.alert_policy_rule_key,
|
307
|
+
alert_policy_rule_name=self.alert_policy_rule_name,
|
284
308
|
alert_type=self.alert_type,
|
285
309
|
comment=self.comment,
|
286
310
|
compartment_id=self.compartment_id,
|
@@ -331,6 +355,8 @@ def get_alert(alert_id: Optional[str] = None,
|
|
331
355
|
|
332
356
|
return AwaitableGetAlertResult(
|
333
357
|
alert_id=pulumi.get(__ret__, 'alert_id'),
|
358
|
+
alert_policy_rule_key=pulumi.get(__ret__, 'alert_policy_rule_key'),
|
359
|
+
alert_policy_rule_name=pulumi.get(__ret__, 'alert_policy_rule_name'),
|
334
360
|
alert_type=pulumi.get(__ret__, 'alert_type'),
|
335
361
|
comment=pulumi.get(__ret__, 'comment'),
|
336
362
|
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
@@ -8,6 +8,7 @@ import pulumi
|
|
8
8
|
import pulumi.runtime
|
9
9
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
10
|
from .. import _utilities
|
11
|
+
from . import outputs
|
11
12
|
|
12
13
|
__all__ = [
|
13
14
|
'GetAlertPolicyResult',
|
@@ -21,10 +22,13 @@ class GetAlertPolicyResult:
|
|
21
22
|
"""
|
22
23
|
A collection of values returned by getAlertPolicy.
|
23
24
|
"""
|
24
|
-
def __init__(__self__, alert_policy_id=None, alert_policy_type=None, compartment_id=None, defined_tags=None, description=None, display_name=None, freeform_tags=None, id=None, is_user_defined=None, severity=None, state=None, system_tags=None, time_created=None, time_updated=None):
|
25
|
+
def __init__(__self__, alert_policy_id=None, alert_policy_rule_details=None, alert_policy_type=None, compartment_id=None, defined_tags=None, description=None, display_name=None, freeform_tags=None, id=None, is_user_defined=None, lifecycle_details=None, severity=None, state=None, system_tags=None, time_created=None, time_updated=None):
|
25
26
|
if alert_policy_id and not isinstance(alert_policy_id, str):
|
26
27
|
raise TypeError("Expected argument 'alert_policy_id' to be a str")
|
27
28
|
pulumi.set(__self__, "alert_policy_id", alert_policy_id)
|
29
|
+
if alert_policy_rule_details and not isinstance(alert_policy_rule_details, list):
|
30
|
+
raise TypeError("Expected argument 'alert_policy_rule_details' to be a list")
|
31
|
+
pulumi.set(__self__, "alert_policy_rule_details", alert_policy_rule_details)
|
28
32
|
if alert_policy_type and not isinstance(alert_policy_type, str):
|
29
33
|
raise TypeError("Expected argument 'alert_policy_type' to be a str")
|
30
34
|
pulumi.set(__self__, "alert_policy_type", alert_policy_type)
|
@@ -49,6 +53,9 @@ class GetAlertPolicyResult:
|
|
49
53
|
if is_user_defined and not isinstance(is_user_defined, bool):
|
50
54
|
raise TypeError("Expected argument 'is_user_defined' to be a bool")
|
51
55
|
pulumi.set(__self__, "is_user_defined", is_user_defined)
|
56
|
+
if lifecycle_details and not isinstance(lifecycle_details, str):
|
57
|
+
raise TypeError("Expected argument 'lifecycle_details' to be a str")
|
58
|
+
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
52
59
|
if severity and not isinstance(severity, str):
|
53
60
|
raise TypeError("Expected argument 'severity' to be a str")
|
54
61
|
pulumi.set(__self__, "severity", severity)
|
@@ -70,6 +77,11 @@ class GetAlertPolicyResult:
|
|
70
77
|
def alert_policy_id(self) -> str:
|
71
78
|
return pulumi.get(self, "alert_policy_id")
|
72
79
|
|
80
|
+
@property
|
81
|
+
@pulumi.getter(name="alertPolicyRuleDetails")
|
82
|
+
def alert_policy_rule_details(self) -> Sequence['outputs.GetAlertPolicyAlertPolicyRuleDetailResult']:
|
83
|
+
return pulumi.get(self, "alert_policy_rule_details")
|
84
|
+
|
73
85
|
@property
|
74
86
|
@pulumi.getter(name="alertPolicyType")
|
75
87
|
def alert_policy_type(self) -> str:
|
@@ -122,7 +134,7 @@ class GetAlertPolicyResult:
|
|
122
134
|
@pulumi.getter
|
123
135
|
def id(self) -> str:
|
124
136
|
"""
|
125
|
-
The
|
137
|
+
The OCID of the alert policy.
|
126
138
|
"""
|
127
139
|
return pulumi.get(self, "id")
|
128
140
|
|
@@ -134,6 +146,14 @@ class GetAlertPolicyResult:
|
|
134
146
|
"""
|
135
147
|
return pulumi.get(self, "is_user_defined")
|
136
148
|
|
149
|
+
@property
|
150
|
+
@pulumi.getter(name="lifecycleDetails")
|
151
|
+
def lifecycle_details(self) -> str:
|
152
|
+
"""
|
153
|
+
Details about the current state of the alert policy.
|
154
|
+
"""
|
155
|
+
return pulumi.get(self, "lifecycle_details")
|
156
|
+
|
137
157
|
@property
|
138
158
|
@pulumi.getter
|
139
159
|
def severity(self) -> str:
|
@@ -182,6 +202,7 @@ class AwaitableGetAlertPolicyResult(GetAlertPolicyResult):
|
|
182
202
|
yield self
|
183
203
|
return GetAlertPolicyResult(
|
184
204
|
alert_policy_id=self.alert_policy_id,
|
205
|
+
alert_policy_rule_details=self.alert_policy_rule_details,
|
185
206
|
alert_policy_type=self.alert_policy_type,
|
186
207
|
compartment_id=self.compartment_id,
|
187
208
|
defined_tags=self.defined_tags,
|
@@ -190,6 +211,7 @@ class AwaitableGetAlertPolicyResult(GetAlertPolicyResult):
|
|
190
211
|
freeform_tags=self.freeform_tags,
|
191
212
|
id=self.id,
|
192
213
|
is_user_defined=self.is_user_defined,
|
214
|
+
lifecycle_details=self.lifecycle_details,
|
193
215
|
severity=self.severity,
|
194
216
|
state=self.state,
|
195
217
|
system_tags=self.system_tags,
|
@@ -223,6 +245,7 @@ def get_alert_policy(alert_policy_id: Optional[str] = None,
|
|
223
245
|
|
224
246
|
return AwaitableGetAlertPolicyResult(
|
225
247
|
alert_policy_id=pulumi.get(__ret__, 'alert_policy_id'),
|
248
|
+
alert_policy_rule_details=pulumi.get(__ret__, 'alert_policy_rule_details'),
|
226
249
|
alert_policy_type=pulumi.get(__ret__, 'alert_policy_type'),
|
227
250
|
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
228
251
|
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
@@ -231,6 +254,7 @@ def get_alert_policy(alert_policy_id: Optional[str] = None,
|
|
231
254
|
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
232
255
|
id=pulumi.get(__ret__, 'id'),
|
233
256
|
is_user_defined=pulumi.get(__ret__, 'is_user_defined'),
|
257
|
+
lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
|
234
258
|
severity=pulumi.get(__ret__, 'severity'),
|
235
259
|
state=pulumi.get(__ret__, 'state'),
|
236
260
|
system_tags=pulumi.get(__ret__, 'system_tags'),
|
@@ -8,7 +8,6 @@ import pulumi
|
|
8
8
|
import pulumi.runtime
|
9
9
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
10
|
from .. import _utilities
|
11
|
-
from . import outputs
|
12
11
|
|
13
12
|
__all__ = [
|
14
13
|
'GetAlertPolicyRuleResult',
|
@@ -22,16 +21,34 @@ class GetAlertPolicyRuleResult:
|
|
22
21
|
"""
|
23
22
|
A collection of values returned by getAlertPolicyRule.
|
24
23
|
"""
|
25
|
-
def __init__(__self__, alert_policy_id=None, id=None,
|
24
|
+
def __init__(__self__, alert_policy_id=None, description=None, display_name=None, expression=None, id=None, key=None, rule_key=None, state=None, time_created=None):
|
26
25
|
if alert_policy_id and not isinstance(alert_policy_id, str):
|
27
26
|
raise TypeError("Expected argument 'alert_policy_id' to be a str")
|
28
27
|
pulumi.set(__self__, "alert_policy_id", alert_policy_id)
|
28
|
+
if description and not isinstance(description, str):
|
29
|
+
raise TypeError("Expected argument 'description' to be a str")
|
30
|
+
pulumi.set(__self__, "description", description)
|
31
|
+
if display_name and not isinstance(display_name, str):
|
32
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
33
|
+
pulumi.set(__self__, "display_name", display_name)
|
34
|
+
if expression and not isinstance(expression, str):
|
35
|
+
raise TypeError("Expected argument 'expression' to be a str")
|
36
|
+
pulumi.set(__self__, "expression", expression)
|
29
37
|
if id and not isinstance(id, str):
|
30
38
|
raise TypeError("Expected argument 'id' to be a str")
|
31
39
|
pulumi.set(__self__, "id", id)
|
32
|
-
if
|
33
|
-
raise TypeError("Expected argument '
|
34
|
-
pulumi.set(__self__, "
|
40
|
+
if key and not isinstance(key, str):
|
41
|
+
raise TypeError("Expected argument 'key' to be a str")
|
42
|
+
pulumi.set(__self__, "key", key)
|
43
|
+
if rule_key and not isinstance(rule_key, str):
|
44
|
+
raise TypeError("Expected argument 'rule_key' to be a str")
|
45
|
+
pulumi.set(__self__, "rule_key", rule_key)
|
46
|
+
if state and not isinstance(state, str):
|
47
|
+
raise TypeError("Expected argument 'state' to be a str")
|
48
|
+
pulumi.set(__self__, "state", state)
|
49
|
+
if time_created and not isinstance(time_created, str):
|
50
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
51
|
+
pulumi.set(__self__, "time_created", time_created)
|
35
52
|
|
36
53
|
@property
|
37
54
|
@pulumi.getter(name="alertPolicyId")
|
@@ -40,19 +57,61 @@ class GetAlertPolicyRuleResult:
|
|
40
57
|
|
41
58
|
@property
|
42
59
|
@pulumi.getter
|
43
|
-
def
|
60
|
+
def description(self) -> str:
|
61
|
+
"""
|
62
|
+
Describes the alert policy rule.
|
44
63
|
"""
|
45
|
-
|
64
|
+
return pulumi.get(self, "description")
|
65
|
+
|
66
|
+
@property
|
67
|
+
@pulumi.getter(name="displayName")
|
68
|
+
def display_name(self) -> str:
|
46
69
|
"""
|
70
|
+
The display name of the alert policy rule.
|
71
|
+
"""
|
72
|
+
return pulumi.get(self, "display_name")
|
73
|
+
|
74
|
+
@property
|
75
|
+
@pulumi.getter
|
76
|
+
def expression(self) -> str:
|
77
|
+
"""
|
78
|
+
The conditional expression of the alert policy rule which evaluates to boolean value.
|
79
|
+
"""
|
80
|
+
return pulumi.get(self, "expression")
|
81
|
+
|
82
|
+
@property
|
83
|
+
@pulumi.getter
|
84
|
+
def id(self) -> str:
|
47
85
|
return pulumi.get(self, "id")
|
48
86
|
|
49
87
|
@property
|
50
88
|
@pulumi.getter
|
51
|
-
def
|
89
|
+
def key(self) -> str:
|
90
|
+
"""
|
91
|
+
The unique key of the alert policy rule.
|
92
|
+
"""
|
93
|
+
return pulumi.get(self, "key")
|
94
|
+
|
95
|
+
@property
|
96
|
+
@pulumi.getter(name="ruleKey")
|
97
|
+
def rule_key(self) -> str:
|
98
|
+
return pulumi.get(self, "rule_key")
|
99
|
+
|
100
|
+
@property
|
101
|
+
@pulumi.getter
|
102
|
+
def state(self) -> str:
|
103
|
+
"""
|
104
|
+
The current state of the alert policy rule.
|
105
|
+
"""
|
106
|
+
return pulumi.get(self, "state")
|
107
|
+
|
108
|
+
@property
|
109
|
+
@pulumi.getter(name="timeCreated")
|
110
|
+
def time_created(self) -> str:
|
52
111
|
"""
|
53
|
-
|
112
|
+
Creation date and time of the alert policy rule, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
|
54
113
|
"""
|
55
|
-
return pulumi.get(self, "
|
114
|
+
return pulumi.get(self, "time_created")
|
56
115
|
|
57
116
|
|
58
117
|
class AwaitableGetAlertPolicyRuleResult(GetAlertPolicyRuleResult):
|
@@ -62,17 +121,23 @@ class AwaitableGetAlertPolicyRuleResult(GetAlertPolicyRuleResult):
|
|
62
121
|
yield self
|
63
122
|
return GetAlertPolicyRuleResult(
|
64
123
|
alert_policy_id=self.alert_policy_id,
|
124
|
+
description=self.description,
|
125
|
+
display_name=self.display_name,
|
126
|
+
expression=self.expression,
|
65
127
|
id=self.id,
|
66
|
-
|
128
|
+
key=self.key,
|
129
|
+
rule_key=self.rule_key,
|
130
|
+
state=self.state,
|
131
|
+
time_created=self.time_created)
|
67
132
|
|
68
133
|
|
69
134
|
def get_alert_policy_rule(alert_policy_id: Optional[str] = None,
|
135
|
+
rule_key: Optional[str] = None,
|
70
136
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAlertPolicyRuleResult:
|
71
137
|
"""
|
72
138
|
This data source provides details about a specific Alert Policy Rule resource in Oracle Cloud Infrastructure Data Safe service.
|
73
139
|
|
74
|
-
|
75
|
-
If there are three rules: rule1,rule2 and rule3, the policy is satisfied if rule1 AND rule2 AND rule3 is True.
|
140
|
+
Gets the details of a policy rule by its key.
|
76
141
|
|
77
142
|
## Example Usage
|
78
143
|
|
@@ -80,31 +145,40 @@ def get_alert_policy_rule(alert_policy_id: Optional[str] = None,
|
|
80
145
|
import pulumi
|
81
146
|
import pulumi_oci as oci
|
82
147
|
|
83
|
-
test_alert_policy_rule = oci.DataSafe.get_alert_policy_rule(alert_policy_id=test_alert_policy["id"]
|
148
|
+
test_alert_policy_rule = oci.DataSafe.get_alert_policy_rule(alert_policy_id=test_alert_policy["id"],
|
149
|
+
rule_key=alert_policy_rule_rule_key)
|
84
150
|
```
|
85
151
|
|
86
152
|
|
87
153
|
:param str alert_policy_id: The OCID of the alert policy.
|
154
|
+
:param str rule_key: The key of the alert policy rule.
|
88
155
|
"""
|
89
156
|
__args__ = dict()
|
90
157
|
__args__['alertPolicyId'] = alert_policy_id
|
158
|
+
__args__['ruleKey'] = rule_key
|
91
159
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
92
160
|
__ret__ = pulumi.runtime.invoke('oci:DataSafe/getAlertPolicyRule:getAlertPolicyRule', __args__, opts=opts, typ=GetAlertPolicyRuleResult).value
|
93
161
|
|
94
162
|
return AwaitableGetAlertPolicyRuleResult(
|
95
163
|
alert_policy_id=pulumi.get(__ret__, 'alert_policy_id'),
|
164
|
+
description=pulumi.get(__ret__, 'description'),
|
165
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
166
|
+
expression=pulumi.get(__ret__, 'expression'),
|
96
167
|
id=pulumi.get(__ret__, 'id'),
|
97
|
-
|
168
|
+
key=pulumi.get(__ret__, 'key'),
|
169
|
+
rule_key=pulumi.get(__ret__, 'rule_key'),
|
170
|
+
state=pulumi.get(__ret__, 'state'),
|
171
|
+
time_created=pulumi.get(__ret__, 'time_created'))
|
98
172
|
|
99
173
|
|
100
174
|
@_utilities.lift_output_func(get_alert_policy_rule)
|
101
175
|
def get_alert_policy_rule_output(alert_policy_id: Optional[pulumi.Input[str]] = None,
|
176
|
+
rule_key: Optional[pulumi.Input[str]] = None,
|
102
177
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAlertPolicyRuleResult]:
|
103
178
|
"""
|
104
179
|
This data source provides details about a specific Alert Policy Rule resource in Oracle Cloud Infrastructure Data Safe service.
|
105
180
|
|
106
|
-
|
107
|
-
If there are three rules: rule1,rule2 and rule3, the policy is satisfied if rule1 AND rule2 AND rule3 is True.
|
181
|
+
Gets the details of a policy rule by its key.
|
108
182
|
|
109
183
|
## Example Usage
|
110
184
|
|
@@ -112,10 +186,12 @@ def get_alert_policy_rule_output(alert_policy_id: Optional[pulumi.Input[str]] =
|
|
112
186
|
import pulumi
|
113
187
|
import pulumi_oci as oci
|
114
188
|
|
115
|
-
test_alert_policy_rule = oci.DataSafe.get_alert_policy_rule(alert_policy_id=test_alert_policy["id"]
|
189
|
+
test_alert_policy_rule = oci.DataSafe.get_alert_policy_rule(alert_policy_id=test_alert_policy["id"],
|
190
|
+
rule_key=alert_policy_rule_rule_key)
|
116
191
|
```
|
117
192
|
|
118
193
|
|
119
194
|
:param str alert_policy_id: The OCID of the alert policy.
|
195
|
+
:param str rule_key: The key of the alert policy rule.
|
120
196
|
"""
|
121
197
|
...
|
@@ -147,7 +147,7 @@ def get_audit_events(access_level: Optional[str] = None,
|
|
147
147
|
:param bool compartment_id_in_subtree: Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
|
148
148
|
:param str scim_query: The scimQuery query parameter accepts filter expressions that use the syntax described in Section 3.2.2.2 of the System for Cross-Domain Identity Management (SCIM) specification, which is available at [RFC3339](https://tools.ietf.org/html/draft-ietf-scim-api-12). In SCIM filtering expressions, text, date, and time values must be enclosed in quotation marks, with date and time values using ISO-8601 format. (Numeric and boolean values should not be quoted.)
|
149
149
|
|
150
|
-
**Example:**
|
150
|
+
**Example:** (operationTime ge "2021-06-04T12:00:00.000Z") and (eventName eq "LOGON")
|
151
151
|
"""
|
152
152
|
__args__ = dict()
|
153
153
|
__args__['accessLevel'] = access_level
|
@@ -210,6 +210,6 @@ def get_audit_events_output(access_level: Optional[pulumi.Input[Optional[str]]]
|
|
210
210
|
:param bool compartment_id_in_subtree: Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
|
211
211
|
:param str scim_query: The scimQuery query parameter accepts filter expressions that use the syntax described in Section 3.2.2.2 of the System for Cross-Domain Identity Management (SCIM) specification, which is available at [RFC3339](https://tools.ietf.org/html/draft-ietf-scim-api-12). In SCIM filtering expressions, text, date, and time values must be enclosed in quotation marks, with date and time values using ISO-8601 format. (Numeric and boolean values should not be quoted.)
|
212
212
|
|
213
|
-
**Example:**
|
213
|
+
**Example:** (operationTime ge "2021-06-04T12:00:00.000Z") and (eventName eq "LOGON")
|
214
214
|
"""
|
215
215
|
...
|