pulumi-oci 3.4.0a1755714728__py3-none-any.whl → 3.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 +248 -43
- pulumi_oci/aidocument/__init__.py +1 -0
- pulumi_oci/aidocument/_inputs.py +476 -6
- pulumi_oci/aidocument/get_model.py +63 -2
- pulumi_oci/aidocument/get_model_type.py +179 -0
- pulumi_oci/aidocument/get_models.py +1 -1
- pulumi_oci/aidocument/get_project.py +17 -2
- pulumi_oci/aidocument/get_projects.py +1 -1
- pulumi_oci/aidocument/model.py +188 -0
- pulumi_oci/aidocument/outputs.py +883 -8
- pulumi_oci/aidocument/processor_job.py +22 -4
- pulumi_oci/aidocument/project.py +50 -1
- pulumi_oci/apigateway/_inputs.py +608 -12
- pulumi_oci/apigateway/api.py +127 -38
- pulumi_oci/apigateway/certificate.py +122 -3
- pulumi_oci/apigateway/deployment.py +120 -3
- pulumi_oci/apigateway/gateway.py +124 -7
- pulumi_oci/apigateway/get_api.py +40 -1
- pulumi_oci/apigateway/get_certificate.py +41 -1
- pulumi_oci/apigateway/get_deployment.py +40 -1
- pulumi_oci/apigateway/get_gateway.py +40 -1
- pulumi_oci/apigateway/get_subscriber.py +40 -1
- pulumi_oci/apigateway/get_usage_plan.py +40 -1
- pulumi_oci/apigateway/outputs.py +1413 -39
- pulumi_oci/apigateway/subscriber.py +120 -3
- pulumi_oci/apigateway/usage_plan.py +127 -38
- pulumi_oci/apmconfig/_inputs.py +199 -15
- pulumi_oci/apmconfig/config.py +535 -17
- pulumi_oci/apmconfig/get_config.py +141 -1
- pulumi_oci/apmconfig/get_configs.py +2 -2
- pulumi_oci/apmconfig/outputs.py +509 -13
- pulumi_oci/apmtraces/__init__.py +5 -0
- pulumi_oci/apmtraces/_inputs.py +413 -0
- pulumi_oci/apmtraces/get_attribute_auto_activate_status.py +160 -0
- pulumi_oci/apmtraces/get_log.py +356 -0
- pulumi_oci/apmtraces/get_scheduled_queries.py +163 -0
- pulumi_oci/apmtraces/get_scheduled_query.py +368 -0
- pulumi_oci/apmtraces/get_trace.py +4 -4
- pulumi_oci/apmtraces/outputs.py +971 -0
- pulumi_oci/apmtraces/scheduled_query.py +925 -0
- pulumi_oci/autoscaling/_inputs.py +177 -13
- pulumi_oci/autoscaling/auto_scaling_configuration.py +12 -0
- pulumi_oci/autoscaling/outputs.py +269 -23
- pulumi_oci/core/_inputs.py +184 -0
- pulumi_oci/core/compute_gpu_memory_fabric.py +28 -0
- pulumi_oci/core/get_compute_gpu_memory_fabric.py +15 -1
- pulumi_oci/core/get_ipv6.py +15 -1
- pulumi_oci/core/ipv6.py +49 -0
- pulumi_oci/core/outputs.py +376 -0
- pulumi_oci/database/__init__.py +3 -0
- pulumi_oci/database/_inputs.py +396 -19
- pulumi_oci/database/autonomous_container_database.py +94 -0
- pulumi_oci/database/autonomous_container_database_add_standby.py +28 -0
- pulumi_oci/database/autonomous_database.py +578 -568
- pulumi_oci/database/autonomous_database_saas_admin_user.py +43 -60
- pulumi_oci/database/data_guard_association.py +98 -0
- pulumi_oci/database/database.py +28 -0
- pulumi_oci/database/db_node.py +56 -0
- pulumi_oci/database/db_system.py +108 -14
- pulumi_oci/database/exadb_vm_cluster.py +49 -0
- pulumi_oci/database/exascale_db_storage_vault.py +28 -0
- pulumi_oci/database/get_autonomous_container_database.py +29 -1
- pulumi_oci/database/get_autonomous_database.py +65 -1
- pulumi_oci/database/get_autonomous_databases.py +6 -1
- pulumi_oci/database/get_data_guard_association.py +23 -1
- pulumi_oci/database/get_database.py +15 -1
- pulumi_oci/database/get_db_node.py +29 -1
- pulumi_oci/database/get_db_system_shapes.py +25 -6
- pulumi_oci/database/get_db_system_storage_performances.py +20 -3
- pulumi_oci/database/get_db_versions.py +20 -1
- pulumi_oci/database/get_exadb_vm_cluster.py +15 -1
- pulumi_oci/database/get_exascale_db_storage_vault.py +15 -1
- pulumi_oci/database/get_exascale_db_storage_vaults.py +87 -8
- pulumi_oci/database/get_gi_versions.py +25 -6
- pulumi_oci/database/get_pluggable_database_snapshot.py +253 -0
- pulumi_oci/database/get_pluggable_database_snapshots.py +235 -0
- pulumi_oci/database/outputs.py +1045 -83
- pulumi_oci/database/pluggable_database.py +0 -14
- pulumi_oci/database/pluggable_database_snapshot.py +539 -0
- pulumi_oci/databasemanagement/__init__.py +37 -0
- pulumi_oci/databasemanagement/_inputs.py +9516 -3414
- pulumi_oci/databasemanagement/cloud_asm.py +791 -0
- pulumi_oci/databasemanagement/cloud_asm_instance.py +686 -0
- pulumi_oci/databasemanagement/cloud_cluster.py +847 -0
- pulumi_oci/databasemanagement/cloud_cluster_instance.py +789 -0
- pulumi_oci/databasemanagement/cloud_db_home.py +630 -0
- pulumi_oci/databasemanagement/cloud_db_node.py +761 -0
- pulumi_oci/databasemanagement/cloud_db_system.py +789 -0
- pulumi_oci/databasemanagement/cloud_db_system_cloud_database_managements_management.py +354 -0
- pulumi_oci/databasemanagement/cloud_db_system_cloud_stack_monitorings_management.py +354 -0
- pulumi_oci/databasemanagement/cloud_db_system_connector.py +761 -0
- pulumi_oci/databasemanagement/cloud_db_system_discovery.py +754 -0
- pulumi_oci/databasemanagement/cloud_listener.py +1043 -0
- pulumi_oci/databasemanagement/get_cloud_asm.py +380 -0
- pulumi_oci/databasemanagement/get_cloud_asm_configuration.py +147 -0
- pulumi_oci/databasemanagement/get_cloud_asm_disk_groups.py +163 -0
- pulumi_oci/databasemanagement/get_cloud_asm_instance.py +337 -0
- pulumi_oci/databasemanagement/get_cloud_asm_instances.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_asm_users.py +163 -0
- pulumi_oci/databasemanagement/get_cloud_asms.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_cluster.py +408 -0
- pulumi_oci/databasemanagement/get_cloud_cluster_instance.py +379 -0
- pulumi_oci/databasemanagement/get_cloud_cluster_instances.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_clusters.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_databases.py +188 -0
- pulumi_oci/databasemanagement/get_cloud_db_home.py +309 -0
- pulumi_oci/databasemanagement/get_cloud_db_homes.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_db_node.py +365 -0
- pulumi_oci/databasemanagement/get_cloud_db_nodes.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_db_system.py +352 -0
- pulumi_oci/databasemanagement/get_cloud_db_system_connector.py +338 -0
- pulumi_oci/databasemanagement/get_cloud_db_system_connectors.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_db_system_discoveries.py +169 -0
- pulumi_oci/databasemanagement/get_cloud_db_system_discovery.py +335 -0
- pulumi_oci/databasemanagement/get_cloud_db_systems.py +235 -0
- pulumi_oci/databasemanagement/get_cloud_listener.py +506 -0
- pulumi_oci/databasemanagement/get_cloud_listener_services.py +187 -0
- pulumi_oci/databasemanagement/get_cloud_listeners.py +191 -0
- pulumi_oci/databasemanagement/get_managed_database.py +2 -2
- pulumi_oci/databasemanagement/get_managed_database_group.py +2 -2
- pulumi_oci/databasemanagement/get_managed_my_sql_database_binary_log_information.py +6 -6
- pulumi_oci/databasemanagement/get_managed_my_sql_database_general_replication_information.py +5 -5
- pulumi_oci/databasemanagement/get_managed_my_sql_database_high_availability_members.py +2 -2
- pulumi_oci/databasemanagement/get_managed_my_sql_database_outbound_replications.py +2 -2
- pulumi_oci/databasemanagement/outputs.py +18049 -4222
- pulumi_oci/datasafe/__init__.py +24 -0
- pulumi_oci/datasafe/_inputs.py +3669 -1537
- pulumi_oci/datasafe/attribute_set.py +693 -0
- pulumi_oci/datasafe/audit_profile.py +356 -95
- pulumi_oci/datasafe/audit_profile_management.py +389 -129
- pulumi_oci/datasafe/audit_trail.py +47 -0
- pulumi_oci/datasafe/audit_trail_management.py +49 -0
- pulumi_oci/datasafe/get_alerts.py +2 -2
- pulumi_oci/datasafe/get_attribute_set.py +295 -0
- pulumi_oci/datasafe/get_attribute_set_associated_resources.py +188 -0
- pulumi_oci/datasafe/get_attribute_sets.py +340 -0
- pulumi_oci/datasafe/get_audit_archive_retrievals.py +20 -1
- pulumi_oci/datasafe/get_audit_events.py +2 -2
- pulumi_oci/datasafe/get_audit_policies.py +20 -1
- pulumi_oci/datasafe/get_audit_profile.py +78 -8
- pulumi_oci/datasafe/get_audit_profile_target_overrides.py +163 -0
- pulumi_oci/datasafe/get_audit_profiles.py +50 -9
- pulumi_oci/datasafe/get_audit_trail.py +15 -1
- pulumi_oci/datasafe/get_audit_trails.py +20 -1
- pulumi_oci/datasafe/get_database_security_configs.py +20 -1
- pulumi_oci/datasafe/get_discovery_analytics.py +39 -1
- pulumi_oci/datasafe/get_masking_analytics.py +42 -1
- pulumi_oci/datasafe/get_onprem_connectors.py +26 -23
- pulumi_oci/datasafe/get_report.py +43 -1
- pulumi_oci/datasafe/get_reports.py +23 -1
- pulumi_oci/datasafe/get_security_assessment.py +116 -2
- pulumi_oci/datasafe/get_security_assessment_checks.py +264 -0
- pulumi_oci/datasafe/get_security_assessment_finding.py +64 -4
- pulumi_oci/datasafe/get_security_assessment_finding_analytics.py +22 -1
- pulumi_oci/datasafe/get_security_assessment_findings.py +75 -8
- pulumi_oci/datasafe/get_security_assessment_template_analytics.py +362 -0
- pulumi_oci/datasafe/get_security_assessment_template_association_analytics.py +298 -0
- pulumi_oci/datasafe/get_security_assessment_template_baseline_comparison.py +347 -0
- pulumi_oci/datasafe/get_security_assessments.py +70 -4
- pulumi_oci/datasafe/get_security_policies.py +23 -1
- pulumi_oci/datasafe/get_security_policy.py +15 -1
- pulumi_oci/datasafe/get_security_policy_config.py +296 -0
- pulumi_oci/datasafe/get_security_policy_configs.py +342 -0
- pulumi_oci/datasafe/get_security_policy_deployment.py +52 -2
- pulumi_oci/datasafe/get_security_policy_deployment_security_policy_entry_state.py +49 -4
- pulumi_oci/datasafe/get_security_policy_deployment_security_policy_entry_states.py +47 -6
- pulumi_oci/datasafe/get_security_policy_deployments.py +29 -7
- pulumi_oci/datasafe/get_sensitive_column_analytics.py +20 -1
- pulumi_oci/datasafe/get_sql_collection_analytics.py +20 -1
- pulumi_oci/datasafe/get_sql_collections.py +20 -1
- pulumi_oci/datasafe/get_sql_firewall_allowed_sql_analytics.py +2 -2
- pulumi_oci/datasafe/get_sql_firewall_allowed_sqls.py +2 -2
- pulumi_oci/datasafe/get_sql_firewall_violation_analytics.py +2 -2
- pulumi_oci/datasafe/get_sql_firewall_violations.py +2 -2
- pulumi_oci/datasafe/get_target_alert_policy_associations.py +0 -34
- pulumi_oci/datasafe/get_target_database_group.py +296 -0
- pulumi_oci/datasafe/get_target_database_group_group_member.py +146 -0
- pulumi_oci/datasafe/get_target_database_groups.py +313 -0
- pulumi_oci/datasafe/get_unified_audit_policies.py +386 -0
- pulumi_oci/datasafe/get_unified_audit_policy.py +338 -0
- pulumi_oci/datasafe/get_unified_audit_policy_definition.py +309 -0
- pulumi_oci/datasafe/get_unified_audit_policy_definitions.py +334 -0
- pulumi_oci/datasafe/get_user_assessment.py +29 -1
- pulumi_oci/datasafe/get_user_assessments.py +45 -1
- pulumi_oci/datasafe/outputs.py +7975 -1013
- pulumi_oci/datasafe/report.py +84 -0
- pulumi_oci/datasafe/report_definition.py +4 -0
- pulumi_oci/datasafe/security_assessment.py +425 -82
- pulumi_oci/datasafe/security_assessment_check.py +456 -0
- pulumi_oci/datasafe/security_assessment_finding.py +818 -0
- pulumi_oci/datasafe/security_policy.py +94 -77
- pulumi_oci/datasafe/security_policy_config.py +698 -0
- pulumi_oci/datasafe/security_policy_deployment.py +272 -67
- pulumi_oci/datasafe/security_policy_deployment_management.py +266 -42
- pulumi_oci/datasafe/security_policy_management.py +87 -30
- pulumi_oci/datasafe/target_alert_policy_association.py +7 -77
- pulumi_oci/datasafe/target_database.py +4 -0
- pulumi_oci/datasafe/target_database_group.py +679 -0
- pulumi_oci/datasafe/target_database_peer_target_database.py +2 -0
- pulumi_oci/datasafe/unified_audit_policy.py +836 -0
- pulumi_oci/datasafe/unified_audit_policy_definition.py +687 -0
- pulumi_oci/datasafe/user_assessment.py +105 -28
- pulumi_oci/datascience/__init__.py +10 -0
- pulumi_oci/datascience/_inputs.py +6760 -2206
- pulumi_oci/datascience/get_job.py +15 -1
- pulumi_oci/datascience/get_job_run.py +44 -2
- pulumi_oci/datascience/get_model_deployment_model_states.py +251 -0
- pulumi_oci/datascience/get_model_group.py +405 -0
- pulumi_oci/datascience/get_model_group_artifact_content.py +132 -0
- pulumi_oci/datascience/get_model_group_models.py +240 -0
- pulumi_oci/datascience/get_model_group_version_histories.py +243 -0
- pulumi_oci/{aianomalydetection/get_detection_model.py → datascience/get_model_group_version_history.py} +73 -74
- pulumi_oci/datascience/get_model_groups.py +265 -0
- pulumi_oci/datascience/get_pipeline_run.py +15 -1
- pulumi_oci/datascience/job.py +81 -154
- pulumi_oci/datascience/job_run.py +250 -4
- pulumi_oci/datascience/model_group.py +1111 -0
- pulumi_oci/datascience/model_group_artifact.py +369 -0
- pulumi_oci/{aianomalydetection/model.py → datascience/model_group_version_history.py} +172 -187
- pulumi_oci/datascience/notebook_session.py +4 -0
- pulumi_oci/datascience/outputs.py +17168 -8021
- pulumi_oci/datascience/pipeline_run.py +87 -0
- pulumi_oci/disasterrecovery/_inputs.py +231 -3
- pulumi_oci/disasterrecovery/dr_protection_group.py +24 -0
- pulumi_oci/disasterrecovery/outputs.py +446 -12
- pulumi_oci/generativeai/_inputs.py +572 -63
- pulumi_oci/generativeai/agent_data_ingestion_job.py +48 -0
- pulumi_oci/generativeai/agent_data_source.py +7 -81
- pulumi_oci/generativeai/agent_knowledge_base.py +35 -25
- pulumi_oci/generativeai/agent_tool.py +172 -0
- pulumi_oci/generativeai/get_agent_data_ingestion_job.py +26 -1
- pulumi_oci/generativeai/get_agent_data_source.py +1 -5
- pulumi_oci/generativeai/get_agent_data_sources.py +0 -4
- pulumi_oci/generativeai/get_agent_knowledge_base.py +16 -6
- pulumi_oci/generativeai/get_agent_knowledge_bases.py +0 -4
- pulumi_oci/generativeai/outputs.py +1128 -106
- pulumi_oci/goldengate/_inputs.py +3 -3
- pulumi_oci/goldengate/connection.py +175 -56
- pulumi_oci/goldengate/deployment.py +94 -0
- pulumi_oci/goldengate/get_connection.py +20 -4
- pulumi_oci/goldengate/get_deployment.py +29 -1
- pulumi_oci/goldengate/get_deployments.py +23 -1
- pulumi_oci/goldengate/outputs.py +62 -10
- pulumi_oci/managementagent/__init__.py +4 -0
- pulumi_oci/managementagent/_inputs.py +129 -0
- pulumi_oci/managementagent/get_management_agent.py +26 -1
- pulumi_oci/managementagent/get_management_agent_install_key.py +43 -1
- pulumi_oci/managementagent/get_management_agent_named_credentials_metadata.py +147 -0
- pulumi_oci/managementagent/get_named_credential.py +268 -0
- pulumi_oci/managementagent/get_named_credentials.py +221 -0
- pulumi_oci/managementagent/management_agent.py +48 -0
- pulumi_oci/managementagent/management_agent_install_key.py +84 -0
- pulumi_oci/managementagent/named_credential.py +706 -0
- pulumi_oci/managementagent/outputs.py +515 -0
- pulumi_oci/managementdashboard/management_dashboards_import.py +178 -20
- pulumi_oci/oci/__init__.py +12 -0
- pulumi_oci/oci/_inputs.py +566 -0
- pulumi_oci/{aianomalydetection/project.py → oci/api_platform_api_platform_instance.py} +204 -118
- pulumi_oci/oci/get_api_platform_api_platform_instance.py +282 -0
- pulumi_oci/oci/get_api_platform_api_platform_instances.py +199 -0
- pulumi_oci/oci/get_managed_kafka_kafka_cluster.py +380 -0
- pulumi_oci/{aianomalydetection/get_ai_private_endpoint.py → oci/get_managed_kafka_kafka_cluster_config.py} +63 -90
- pulumi_oci/oci/get_managed_kafka_kafka_cluster_config_version.py +177 -0
- pulumi_oci/oci/get_managed_kafka_kafka_cluster_config_versions.py +144 -0
- pulumi_oci/oci/get_managed_kafka_kafka_cluster_configs.py +199 -0
- pulumi_oci/oci/get_managed_kafka_kafka_clusters.py +199 -0
- pulumi_oci/oci/managed_kafka_kafka_cluster.py +984 -0
- pulumi_oci/{aianomalydetection/ai_private_endpoint.py → oci/managed_kafka_kafka_cluster_config.py} +138 -232
- pulumi_oci/oci/managed_kafka_kafka_cluster_superusers_management.py +352 -0
- pulumi_oci/oci/outputs.py +1540 -164
- pulumi_oci/opsi/_inputs.py +1001 -149
- pulumi_oci/opsi/database_insight.py +22 -3
- pulumi_oci/opsi/exadata_insight.py +86 -6
- pulumi_oci/opsi/outputs.py +1438 -178
- pulumi_oci/psql/configuration.py +109 -19
- pulumi_oci/psql/db_system.py +7 -7
- pulumi_oci/psql/get_configuration.py +30 -2
- pulumi_oci/psql/get_configurations.py +49 -5
- pulumi_oci/psql/get_db_system.py +1 -1
- pulumi_oci/psql/get_default_configuration.py +30 -4
- pulumi_oci/psql/get_default_configurations.py +49 -5
- pulumi_oci/psql/outputs.py +47 -14
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/redis/__init__.py +6 -0
- pulumi_oci/redis/_inputs.py +217 -0
- pulumi_oci/{aianomalydetection/get_detection_data_asset.py → redis/get_oci_cache_config_set.py} +74 -74
- pulumi_oci/redis/get_oci_cache_config_sets.py +221 -0
- pulumi_oci/redis/get_oci_cache_default_config_set.py +217 -0
- pulumi_oci/redis/get_oci_cache_default_config_sets.py +218 -0
- pulumi_oci/redis/get_redis_cluster.py +15 -1
- pulumi_oci/{aianomalydetection/data_asset.py → redis/oci_cache_config_set.py} +190 -254
- pulumi_oci/redis/oci_cache_config_setlist_associated_oci_cache_cluster.py +240 -0
- pulumi_oci/redis/outputs.py +713 -0
- pulumi_oci/redis/redis_cluster.py +49 -0
- pulumi_oci/vault/_inputs.py +198 -0
- pulumi_oci/vault/get_secret.py +43 -1
- pulumi_oci/vault/outputs.py +434 -0
- pulumi_oci/vault/secret.py +103 -0
- {pulumi_oci-3.4.0a1755714728.dist-info → pulumi_oci-3.5.0.dist-info}/METADATA +1 -1
- {pulumi_oci-3.4.0a1755714728.dist-info → pulumi_oci-3.5.0.dist-info}/RECORD +302 -218
- pulumi_oci/aianomalydetection/__init__.py +0 -25
- pulumi_oci/aianomalydetection/_inputs.py +0 -1742
- pulumi_oci/aianomalydetection/detect_anomaly_job.py +0 -739
- pulumi_oci/aianomalydetection/get_ai_private_endpoints.py +0 -199
- pulumi_oci/aianomalydetection/get_detect_anomaly_job.py +0 -338
- pulumi_oci/aianomalydetection/get_detect_anomaly_jobs.py +0 -254
- pulumi_oci/aianomalydetection/get_detection_data_assets.py +0 -213
- pulumi_oci/aianomalydetection/get_detection_models.py +0 -213
- pulumi_oci/aianomalydetection/get_detection_project.py +0 -239
- pulumi_oci/aianomalydetection/get_detection_projects.py +0 -191
- pulumi_oci/aianomalydetection/outputs.py +0 -3699
- {pulumi_oci-3.4.0a1755714728.dist-info → pulumi_oci-3.5.0.dist-info}/WHEEL +0 -0
- {pulumi_oci-3.4.0a1755714728.dist-info → pulumi_oci-3.5.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,338 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import builtins as _builtins
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
from . import outputs
|
17
|
+
|
18
|
+
__all__ = [
|
19
|
+
'GetUnifiedAuditPolicyResult',
|
20
|
+
'AwaitableGetUnifiedAuditPolicyResult',
|
21
|
+
'get_unified_audit_policy',
|
22
|
+
'get_unified_audit_policy_output',
|
23
|
+
]
|
24
|
+
|
25
|
+
@pulumi.output_type
|
26
|
+
class GetUnifiedAuditPolicyResult:
|
27
|
+
"""
|
28
|
+
A collection of values returned by getUnifiedAuditPolicy.
|
29
|
+
"""
|
30
|
+
def __init__(__self__, compartment_id=None, conditions=None, defined_tags=None, description=None, display_name=None, enabled_entities=None, freeform_tags=None, id=None, is_seeded=None, lifecycle_details=None, security_policy_id=None, state=None, status=None, system_tags=None, time_created=None, time_updated=None, unified_audit_policy_definition_id=None, unified_audit_policy_id=None):
|
31
|
+
if compartment_id and not isinstance(compartment_id, str):
|
32
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
33
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
34
|
+
if conditions and not isinstance(conditions, list):
|
35
|
+
raise TypeError("Expected argument 'conditions' to be a list")
|
36
|
+
pulumi.set(__self__, "conditions", conditions)
|
37
|
+
if defined_tags and not isinstance(defined_tags, dict):
|
38
|
+
raise TypeError("Expected argument 'defined_tags' to be a dict")
|
39
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
40
|
+
if description and not isinstance(description, str):
|
41
|
+
raise TypeError("Expected argument 'description' to be a str")
|
42
|
+
pulumi.set(__self__, "description", description)
|
43
|
+
if display_name and not isinstance(display_name, str):
|
44
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
45
|
+
pulumi.set(__self__, "display_name", display_name)
|
46
|
+
if enabled_entities and not isinstance(enabled_entities, str):
|
47
|
+
raise TypeError("Expected argument 'enabled_entities' to be a str")
|
48
|
+
pulumi.set(__self__, "enabled_entities", enabled_entities)
|
49
|
+
if freeform_tags and not isinstance(freeform_tags, dict):
|
50
|
+
raise TypeError("Expected argument 'freeform_tags' to be a dict")
|
51
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
52
|
+
if id and not isinstance(id, str):
|
53
|
+
raise TypeError("Expected argument 'id' to be a str")
|
54
|
+
pulumi.set(__self__, "id", id)
|
55
|
+
if is_seeded and not isinstance(is_seeded, bool):
|
56
|
+
raise TypeError("Expected argument 'is_seeded' to be a bool")
|
57
|
+
pulumi.set(__self__, "is_seeded", is_seeded)
|
58
|
+
if lifecycle_details and not isinstance(lifecycle_details, str):
|
59
|
+
raise TypeError("Expected argument 'lifecycle_details' to be a str")
|
60
|
+
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
61
|
+
if security_policy_id and not isinstance(security_policy_id, str):
|
62
|
+
raise TypeError("Expected argument 'security_policy_id' to be a str")
|
63
|
+
pulumi.set(__self__, "security_policy_id", security_policy_id)
|
64
|
+
if state and not isinstance(state, str):
|
65
|
+
raise TypeError("Expected argument 'state' to be a str")
|
66
|
+
pulumi.set(__self__, "state", state)
|
67
|
+
if status and not isinstance(status, str):
|
68
|
+
raise TypeError("Expected argument 'status' to be a str")
|
69
|
+
pulumi.set(__self__, "status", status)
|
70
|
+
if system_tags and not isinstance(system_tags, dict):
|
71
|
+
raise TypeError("Expected argument 'system_tags' to be a dict")
|
72
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
73
|
+
if time_created and not isinstance(time_created, str):
|
74
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
75
|
+
pulumi.set(__self__, "time_created", time_created)
|
76
|
+
if time_updated and not isinstance(time_updated, str):
|
77
|
+
raise TypeError("Expected argument 'time_updated' to be a str")
|
78
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
79
|
+
if unified_audit_policy_definition_id and not isinstance(unified_audit_policy_definition_id, str):
|
80
|
+
raise TypeError("Expected argument 'unified_audit_policy_definition_id' to be a str")
|
81
|
+
pulumi.set(__self__, "unified_audit_policy_definition_id", unified_audit_policy_definition_id)
|
82
|
+
if unified_audit_policy_id and not isinstance(unified_audit_policy_id, str):
|
83
|
+
raise TypeError("Expected argument 'unified_audit_policy_id' to be a str")
|
84
|
+
pulumi.set(__self__, "unified_audit_policy_id", unified_audit_policy_id)
|
85
|
+
|
86
|
+
@_builtins.property
|
87
|
+
@pulumi.getter(name="compartmentId")
|
88
|
+
def compartment_id(self) -> _builtins.str:
|
89
|
+
"""
|
90
|
+
The OCID of the compartment containing the unified audit policy.
|
91
|
+
"""
|
92
|
+
return pulumi.get(self, "compartment_id")
|
93
|
+
|
94
|
+
@_builtins.property
|
95
|
+
@pulumi.getter
|
96
|
+
def conditions(self) -> Sequence['outputs.GetUnifiedAuditPolicyConditionResult']:
|
97
|
+
"""
|
98
|
+
Lists the audit policy provisioning conditions.
|
99
|
+
"""
|
100
|
+
return pulumi.get(self, "conditions")
|
101
|
+
|
102
|
+
@_builtins.property
|
103
|
+
@pulumi.getter(name="definedTags")
|
104
|
+
def defined_tags(self) -> Mapping[str, _builtins.str]:
|
105
|
+
"""
|
106
|
+
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"}`
|
107
|
+
"""
|
108
|
+
return pulumi.get(self, "defined_tags")
|
109
|
+
|
110
|
+
@_builtins.property
|
111
|
+
@pulumi.getter
|
112
|
+
def description(self) -> _builtins.str:
|
113
|
+
"""
|
114
|
+
The description of the unified audit policy.
|
115
|
+
"""
|
116
|
+
return pulumi.get(self, "description")
|
117
|
+
|
118
|
+
@_builtins.property
|
119
|
+
@pulumi.getter(name="displayName")
|
120
|
+
def display_name(self) -> _builtins.str:
|
121
|
+
"""
|
122
|
+
The display name of the unified audit policy.
|
123
|
+
"""
|
124
|
+
return pulumi.get(self, "display_name")
|
125
|
+
|
126
|
+
@_builtins.property
|
127
|
+
@pulumi.getter(name="enabledEntities")
|
128
|
+
def enabled_entities(self) -> _builtins.str:
|
129
|
+
"""
|
130
|
+
Indicates on whom the audit policy is enabled.
|
131
|
+
"""
|
132
|
+
return pulumi.get(self, "enabled_entities")
|
133
|
+
|
134
|
+
@_builtins.property
|
135
|
+
@pulumi.getter(name="freeformTags")
|
136
|
+
def freeform_tags(self) -> Mapping[str, _builtins.str]:
|
137
|
+
"""
|
138
|
+
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"}`
|
139
|
+
"""
|
140
|
+
return pulumi.get(self, "freeform_tags")
|
141
|
+
|
142
|
+
@_builtins.property
|
143
|
+
@pulumi.getter
|
144
|
+
def id(self) -> _builtins.str:
|
145
|
+
"""
|
146
|
+
The OCID of the unified audit policy.
|
147
|
+
"""
|
148
|
+
return pulumi.get(self, "id")
|
149
|
+
|
150
|
+
@_builtins.property
|
151
|
+
@pulumi.getter(name="isSeeded")
|
152
|
+
def is_seeded(self) -> _builtins.bool:
|
153
|
+
"""
|
154
|
+
Indicates whether the unified audit policy is seeded or not.
|
155
|
+
"""
|
156
|
+
return pulumi.get(self, "is_seeded")
|
157
|
+
|
158
|
+
@_builtins.property
|
159
|
+
@pulumi.getter(name="lifecycleDetails")
|
160
|
+
def lifecycle_details(self) -> _builtins.str:
|
161
|
+
"""
|
162
|
+
The details of the current state of the unified audit policy in Data Safe.
|
163
|
+
"""
|
164
|
+
return pulumi.get(self, "lifecycle_details")
|
165
|
+
|
166
|
+
@_builtins.property
|
167
|
+
@pulumi.getter(name="securityPolicyId")
|
168
|
+
def security_policy_id(self) -> _builtins.str:
|
169
|
+
"""
|
170
|
+
The OCID of the security policy corresponding to the unified audit policy.
|
171
|
+
"""
|
172
|
+
return pulumi.get(self, "security_policy_id")
|
173
|
+
|
174
|
+
@_builtins.property
|
175
|
+
@pulumi.getter
|
176
|
+
def state(self) -> _builtins.str:
|
177
|
+
"""
|
178
|
+
The current state of the unified audit policy.
|
179
|
+
"""
|
180
|
+
return pulumi.get(self, "state")
|
181
|
+
|
182
|
+
@_builtins.property
|
183
|
+
@pulumi.getter
|
184
|
+
def status(self) -> _builtins.str:
|
185
|
+
"""
|
186
|
+
Indicates whether the policy has been enabled or disabled.
|
187
|
+
"""
|
188
|
+
return pulumi.get(self, "status")
|
189
|
+
|
190
|
+
@_builtins.property
|
191
|
+
@pulumi.getter(name="systemTags")
|
192
|
+
def system_tags(self) -> Mapping[str, _builtins.str]:
|
193
|
+
"""
|
194
|
+
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"}`
|
195
|
+
"""
|
196
|
+
return pulumi.get(self, "system_tags")
|
197
|
+
|
198
|
+
@_builtins.property
|
199
|
+
@pulumi.getter(name="timeCreated")
|
200
|
+
def time_created(self) -> _builtins.str:
|
201
|
+
"""
|
202
|
+
The time the the unified audit policy was created, in the format defined by RFC3339.
|
203
|
+
"""
|
204
|
+
return pulumi.get(self, "time_created")
|
205
|
+
|
206
|
+
@_builtins.property
|
207
|
+
@pulumi.getter(name="timeUpdated")
|
208
|
+
def time_updated(self) -> _builtins.str:
|
209
|
+
"""
|
210
|
+
The last date and time the unified audit policy was updated, in the format defined by RFC3339.
|
211
|
+
"""
|
212
|
+
return pulumi.get(self, "time_updated")
|
213
|
+
|
214
|
+
@_builtins.property
|
215
|
+
@pulumi.getter(name="unifiedAuditPolicyDefinitionId")
|
216
|
+
def unified_audit_policy_definition_id(self) -> _builtins.str:
|
217
|
+
"""
|
218
|
+
The OCID of the associated unified audit policy definition.
|
219
|
+
"""
|
220
|
+
return pulumi.get(self, "unified_audit_policy_definition_id")
|
221
|
+
|
222
|
+
@_builtins.property
|
223
|
+
@pulumi.getter(name="unifiedAuditPolicyId")
|
224
|
+
def unified_audit_policy_id(self) -> _builtins.str:
|
225
|
+
return pulumi.get(self, "unified_audit_policy_id")
|
226
|
+
|
227
|
+
|
228
|
+
class AwaitableGetUnifiedAuditPolicyResult(GetUnifiedAuditPolicyResult):
|
229
|
+
# pylint: disable=using-constant-test
|
230
|
+
def __await__(self):
|
231
|
+
if False:
|
232
|
+
yield self
|
233
|
+
return GetUnifiedAuditPolicyResult(
|
234
|
+
compartment_id=self.compartment_id,
|
235
|
+
conditions=self.conditions,
|
236
|
+
defined_tags=self.defined_tags,
|
237
|
+
description=self.description,
|
238
|
+
display_name=self.display_name,
|
239
|
+
enabled_entities=self.enabled_entities,
|
240
|
+
freeform_tags=self.freeform_tags,
|
241
|
+
id=self.id,
|
242
|
+
is_seeded=self.is_seeded,
|
243
|
+
lifecycle_details=self.lifecycle_details,
|
244
|
+
security_policy_id=self.security_policy_id,
|
245
|
+
state=self.state,
|
246
|
+
status=self.status,
|
247
|
+
system_tags=self.system_tags,
|
248
|
+
time_created=self.time_created,
|
249
|
+
time_updated=self.time_updated,
|
250
|
+
unified_audit_policy_definition_id=self.unified_audit_policy_definition_id,
|
251
|
+
unified_audit_policy_id=self.unified_audit_policy_id)
|
252
|
+
|
253
|
+
|
254
|
+
def get_unified_audit_policy(unified_audit_policy_id: Optional[_builtins.str] = None,
|
255
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetUnifiedAuditPolicyResult:
|
256
|
+
"""
|
257
|
+
This data source provides details about a specific Unified Audit Policy resource in Oracle Cloud Infrastructure Data Safe service.
|
258
|
+
|
259
|
+
Gets a Unified Audit policy by identifier.
|
260
|
+
|
261
|
+
## Example Usage
|
262
|
+
|
263
|
+
```python
|
264
|
+
import pulumi
|
265
|
+
import pulumi_oci as oci
|
266
|
+
|
267
|
+
test_unified_audit_policy = oci.DataSafe.get_unified_audit_policy(unified_audit_policy_id=test_unified_audit_policy_oci_data_safe_unified_audit_policy["id"])
|
268
|
+
```
|
269
|
+
|
270
|
+
|
271
|
+
:param _builtins.str unified_audit_policy_id: The OCID of the Unified Audit policy resource.
|
272
|
+
"""
|
273
|
+
__args__ = dict()
|
274
|
+
__args__['unifiedAuditPolicyId'] = unified_audit_policy_id
|
275
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
276
|
+
__ret__ = pulumi.runtime.invoke('oci:DataSafe/getUnifiedAuditPolicy:getUnifiedAuditPolicy', __args__, opts=opts, typ=GetUnifiedAuditPolicyResult).value
|
277
|
+
|
278
|
+
return AwaitableGetUnifiedAuditPolicyResult(
|
279
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
280
|
+
conditions=pulumi.get(__ret__, 'conditions'),
|
281
|
+
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
282
|
+
description=pulumi.get(__ret__, 'description'),
|
283
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
284
|
+
enabled_entities=pulumi.get(__ret__, 'enabled_entities'),
|
285
|
+
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
286
|
+
id=pulumi.get(__ret__, 'id'),
|
287
|
+
is_seeded=pulumi.get(__ret__, 'is_seeded'),
|
288
|
+
lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
|
289
|
+
security_policy_id=pulumi.get(__ret__, 'security_policy_id'),
|
290
|
+
state=pulumi.get(__ret__, 'state'),
|
291
|
+
status=pulumi.get(__ret__, 'status'),
|
292
|
+
system_tags=pulumi.get(__ret__, 'system_tags'),
|
293
|
+
time_created=pulumi.get(__ret__, 'time_created'),
|
294
|
+
time_updated=pulumi.get(__ret__, 'time_updated'),
|
295
|
+
unified_audit_policy_definition_id=pulumi.get(__ret__, 'unified_audit_policy_definition_id'),
|
296
|
+
unified_audit_policy_id=pulumi.get(__ret__, 'unified_audit_policy_id'))
|
297
|
+
def get_unified_audit_policy_output(unified_audit_policy_id: Optional[pulumi.Input[_builtins.str]] = None,
|
298
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetUnifiedAuditPolicyResult]:
|
299
|
+
"""
|
300
|
+
This data source provides details about a specific Unified Audit Policy resource in Oracle Cloud Infrastructure Data Safe service.
|
301
|
+
|
302
|
+
Gets a Unified Audit policy by identifier.
|
303
|
+
|
304
|
+
## Example Usage
|
305
|
+
|
306
|
+
```python
|
307
|
+
import pulumi
|
308
|
+
import pulumi_oci as oci
|
309
|
+
|
310
|
+
test_unified_audit_policy = oci.DataSafe.get_unified_audit_policy(unified_audit_policy_id=test_unified_audit_policy_oci_data_safe_unified_audit_policy["id"])
|
311
|
+
```
|
312
|
+
|
313
|
+
|
314
|
+
:param _builtins.str unified_audit_policy_id: The OCID of the Unified Audit policy resource.
|
315
|
+
"""
|
316
|
+
__args__ = dict()
|
317
|
+
__args__['unifiedAuditPolicyId'] = unified_audit_policy_id
|
318
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
319
|
+
__ret__ = pulumi.runtime.invoke_output('oci:DataSafe/getUnifiedAuditPolicy:getUnifiedAuditPolicy', __args__, opts=opts, typ=GetUnifiedAuditPolicyResult)
|
320
|
+
return __ret__.apply(lambda __response__: GetUnifiedAuditPolicyResult(
|
321
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
322
|
+
conditions=pulumi.get(__response__, 'conditions'),
|
323
|
+
defined_tags=pulumi.get(__response__, 'defined_tags'),
|
324
|
+
description=pulumi.get(__response__, 'description'),
|
325
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
326
|
+
enabled_entities=pulumi.get(__response__, 'enabled_entities'),
|
327
|
+
freeform_tags=pulumi.get(__response__, 'freeform_tags'),
|
328
|
+
id=pulumi.get(__response__, 'id'),
|
329
|
+
is_seeded=pulumi.get(__response__, 'is_seeded'),
|
330
|
+
lifecycle_details=pulumi.get(__response__, 'lifecycle_details'),
|
331
|
+
security_policy_id=pulumi.get(__response__, 'security_policy_id'),
|
332
|
+
state=pulumi.get(__response__, 'state'),
|
333
|
+
status=pulumi.get(__response__, 'status'),
|
334
|
+
system_tags=pulumi.get(__response__, 'system_tags'),
|
335
|
+
time_created=pulumi.get(__response__, 'time_created'),
|
336
|
+
time_updated=pulumi.get(__response__, 'time_updated'),
|
337
|
+
unified_audit_policy_definition_id=pulumi.get(__response__, 'unified_audit_policy_definition_id'),
|
338
|
+
unified_audit_policy_id=pulumi.get(__response__, 'unified_audit_policy_id')))
|
@@ -0,0 +1,309 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import builtins as _builtins
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
|
17
|
+
__all__ = [
|
18
|
+
'GetUnifiedAuditPolicyDefinitionResult',
|
19
|
+
'AwaitableGetUnifiedAuditPolicyDefinitionResult',
|
20
|
+
'get_unified_audit_policy_definition',
|
21
|
+
'get_unified_audit_policy_definition_output',
|
22
|
+
]
|
23
|
+
|
24
|
+
@pulumi.output_type
|
25
|
+
class GetUnifiedAuditPolicyDefinitionResult:
|
26
|
+
"""
|
27
|
+
A collection of values returned by getUnifiedAuditPolicyDefinition.
|
28
|
+
"""
|
29
|
+
def __init__(__self__, audit_policy_category=None, compartment_id=None, defined_tags=None, description=None, display_name=None, freeform_tags=None, id=None, is_seeded=None, lifecycle_details=None, policy_definition_statement=None, policy_name=None, state=None, system_tags=None, time_created=None, time_updated=None, unified_audit_policy_definition_id=None):
|
30
|
+
if audit_policy_category and not isinstance(audit_policy_category, str):
|
31
|
+
raise TypeError("Expected argument 'audit_policy_category' to be a str")
|
32
|
+
pulumi.set(__self__, "audit_policy_category", audit_policy_category)
|
33
|
+
if compartment_id and not isinstance(compartment_id, str):
|
34
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
35
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
36
|
+
if defined_tags and not isinstance(defined_tags, dict):
|
37
|
+
raise TypeError("Expected argument 'defined_tags' to be a dict")
|
38
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
39
|
+
if description and not isinstance(description, str):
|
40
|
+
raise TypeError("Expected argument 'description' to be a str")
|
41
|
+
pulumi.set(__self__, "description", description)
|
42
|
+
if display_name and not isinstance(display_name, str):
|
43
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
44
|
+
pulumi.set(__self__, "display_name", display_name)
|
45
|
+
if freeform_tags and not isinstance(freeform_tags, dict):
|
46
|
+
raise TypeError("Expected argument 'freeform_tags' to be a dict")
|
47
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
48
|
+
if id and not isinstance(id, str):
|
49
|
+
raise TypeError("Expected argument 'id' to be a str")
|
50
|
+
pulumi.set(__self__, "id", id)
|
51
|
+
if is_seeded and not isinstance(is_seeded, bool):
|
52
|
+
raise TypeError("Expected argument 'is_seeded' to be a bool")
|
53
|
+
pulumi.set(__self__, "is_seeded", is_seeded)
|
54
|
+
if lifecycle_details and not isinstance(lifecycle_details, str):
|
55
|
+
raise TypeError("Expected argument 'lifecycle_details' to be a str")
|
56
|
+
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
57
|
+
if policy_definition_statement and not isinstance(policy_definition_statement, str):
|
58
|
+
raise TypeError("Expected argument 'policy_definition_statement' to be a str")
|
59
|
+
pulumi.set(__self__, "policy_definition_statement", policy_definition_statement)
|
60
|
+
if policy_name and not isinstance(policy_name, str):
|
61
|
+
raise TypeError("Expected argument 'policy_name' to be a str")
|
62
|
+
pulumi.set(__self__, "policy_name", policy_name)
|
63
|
+
if state and not isinstance(state, str):
|
64
|
+
raise TypeError("Expected argument 'state' to be a str")
|
65
|
+
pulumi.set(__self__, "state", state)
|
66
|
+
if system_tags and not isinstance(system_tags, dict):
|
67
|
+
raise TypeError("Expected argument 'system_tags' to be a dict")
|
68
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
69
|
+
if time_created and not isinstance(time_created, str):
|
70
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
71
|
+
pulumi.set(__self__, "time_created", time_created)
|
72
|
+
if time_updated and not isinstance(time_updated, str):
|
73
|
+
raise TypeError("Expected argument 'time_updated' to be a str")
|
74
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
75
|
+
if unified_audit_policy_definition_id and not isinstance(unified_audit_policy_definition_id, str):
|
76
|
+
raise TypeError("Expected argument 'unified_audit_policy_definition_id' to be a str")
|
77
|
+
pulumi.set(__self__, "unified_audit_policy_definition_id", unified_audit_policy_definition_id)
|
78
|
+
|
79
|
+
@_builtins.property
|
80
|
+
@pulumi.getter(name="auditPolicyCategory")
|
81
|
+
def audit_policy_category(self) -> _builtins.str:
|
82
|
+
"""
|
83
|
+
The category to which the unified audit policy belongs in the target database.
|
84
|
+
"""
|
85
|
+
return pulumi.get(self, "audit_policy_category")
|
86
|
+
|
87
|
+
@_builtins.property
|
88
|
+
@pulumi.getter(name="compartmentId")
|
89
|
+
def compartment_id(self) -> _builtins.str:
|
90
|
+
"""
|
91
|
+
The OCID of the compartment containing the unified audit policy definition.
|
92
|
+
"""
|
93
|
+
return pulumi.get(self, "compartment_id")
|
94
|
+
|
95
|
+
@_builtins.property
|
96
|
+
@pulumi.getter(name="definedTags")
|
97
|
+
def defined_tags(self) -> Mapping[str, _builtins.str]:
|
98
|
+
"""
|
99
|
+
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"}`
|
100
|
+
"""
|
101
|
+
return pulumi.get(self, "defined_tags")
|
102
|
+
|
103
|
+
@_builtins.property
|
104
|
+
@pulumi.getter
|
105
|
+
def description(self) -> _builtins.str:
|
106
|
+
"""
|
107
|
+
The description of the unified audit policy definition.
|
108
|
+
"""
|
109
|
+
return pulumi.get(self, "description")
|
110
|
+
|
111
|
+
@_builtins.property
|
112
|
+
@pulumi.getter(name="displayName")
|
113
|
+
def display_name(self) -> _builtins.str:
|
114
|
+
"""
|
115
|
+
The display name of the unified audit policy definition.
|
116
|
+
"""
|
117
|
+
return pulumi.get(self, "display_name")
|
118
|
+
|
119
|
+
@_builtins.property
|
120
|
+
@pulumi.getter(name="freeformTags")
|
121
|
+
def freeform_tags(self) -> Mapping[str, _builtins.str]:
|
122
|
+
"""
|
123
|
+
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"}`
|
124
|
+
"""
|
125
|
+
return pulumi.get(self, "freeform_tags")
|
126
|
+
|
127
|
+
@_builtins.property
|
128
|
+
@pulumi.getter
|
129
|
+
def id(self) -> _builtins.str:
|
130
|
+
"""
|
131
|
+
The OCID of the unified audit policy definition.
|
132
|
+
"""
|
133
|
+
return pulumi.get(self, "id")
|
134
|
+
|
135
|
+
@_builtins.property
|
136
|
+
@pulumi.getter(name="isSeeded")
|
137
|
+
def is_seeded(self) -> _builtins.bool:
|
138
|
+
"""
|
139
|
+
Signifies whether the unified audit policy definition is seeded or not.
|
140
|
+
"""
|
141
|
+
return pulumi.get(self, "is_seeded")
|
142
|
+
|
143
|
+
@_builtins.property
|
144
|
+
@pulumi.getter(name="lifecycleDetails")
|
145
|
+
def lifecycle_details(self) -> _builtins.str:
|
146
|
+
"""
|
147
|
+
Details about the current state of the unified audit policy definition.
|
148
|
+
"""
|
149
|
+
return pulumi.get(self, "lifecycle_details")
|
150
|
+
|
151
|
+
@_builtins.property
|
152
|
+
@pulumi.getter(name="policyDefinitionStatement")
|
153
|
+
def policy_definition_statement(self) -> _builtins.str:
|
154
|
+
"""
|
155
|
+
The definition of the unified audit policy to be provisioned in the target database.
|
156
|
+
"""
|
157
|
+
return pulumi.get(self, "policy_definition_statement")
|
158
|
+
|
159
|
+
@_builtins.property
|
160
|
+
@pulumi.getter(name="policyName")
|
161
|
+
def policy_name(self) -> _builtins.str:
|
162
|
+
"""
|
163
|
+
The unified audit policy name in the target database.
|
164
|
+
"""
|
165
|
+
return pulumi.get(self, "policy_name")
|
166
|
+
|
167
|
+
@_builtins.property
|
168
|
+
@pulumi.getter
|
169
|
+
def state(self) -> _builtins.str:
|
170
|
+
"""
|
171
|
+
The current state of the unified audit policy definition.
|
172
|
+
"""
|
173
|
+
return pulumi.get(self, "state")
|
174
|
+
|
175
|
+
@_builtins.property
|
176
|
+
@pulumi.getter(name="systemTags")
|
177
|
+
def system_tags(self) -> Mapping[str, _builtins.str]:
|
178
|
+
"""
|
179
|
+
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"}`
|
180
|
+
"""
|
181
|
+
return pulumi.get(self, "system_tags")
|
182
|
+
|
183
|
+
@_builtins.property
|
184
|
+
@pulumi.getter(name="timeCreated")
|
185
|
+
def time_created(self) -> _builtins.str:
|
186
|
+
"""
|
187
|
+
The time the unified audit policy was created, in the format defined by RFC3339.
|
188
|
+
"""
|
189
|
+
return pulumi.get(self, "time_created")
|
190
|
+
|
191
|
+
@_builtins.property
|
192
|
+
@pulumi.getter(name="timeUpdated")
|
193
|
+
def time_updated(self) -> _builtins.str:
|
194
|
+
"""
|
195
|
+
The last date and time the unified audit policy was updated, in the format defined by RFC3339.
|
196
|
+
"""
|
197
|
+
return pulumi.get(self, "time_updated")
|
198
|
+
|
199
|
+
@_builtins.property
|
200
|
+
@pulumi.getter(name="unifiedAuditPolicyDefinitionId")
|
201
|
+
def unified_audit_policy_definition_id(self) -> _builtins.str:
|
202
|
+
return pulumi.get(self, "unified_audit_policy_definition_id")
|
203
|
+
|
204
|
+
|
205
|
+
class AwaitableGetUnifiedAuditPolicyDefinitionResult(GetUnifiedAuditPolicyDefinitionResult):
|
206
|
+
# pylint: disable=using-constant-test
|
207
|
+
def __await__(self):
|
208
|
+
if False:
|
209
|
+
yield self
|
210
|
+
return GetUnifiedAuditPolicyDefinitionResult(
|
211
|
+
audit_policy_category=self.audit_policy_category,
|
212
|
+
compartment_id=self.compartment_id,
|
213
|
+
defined_tags=self.defined_tags,
|
214
|
+
description=self.description,
|
215
|
+
display_name=self.display_name,
|
216
|
+
freeform_tags=self.freeform_tags,
|
217
|
+
id=self.id,
|
218
|
+
is_seeded=self.is_seeded,
|
219
|
+
lifecycle_details=self.lifecycle_details,
|
220
|
+
policy_definition_statement=self.policy_definition_statement,
|
221
|
+
policy_name=self.policy_name,
|
222
|
+
state=self.state,
|
223
|
+
system_tags=self.system_tags,
|
224
|
+
time_created=self.time_created,
|
225
|
+
time_updated=self.time_updated,
|
226
|
+
unified_audit_policy_definition_id=self.unified_audit_policy_definition_id)
|
227
|
+
|
228
|
+
|
229
|
+
def get_unified_audit_policy_definition(unified_audit_policy_definition_id: Optional[_builtins.str] = None,
|
230
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetUnifiedAuditPolicyDefinitionResult:
|
231
|
+
"""
|
232
|
+
This data source provides details about a specific Unified Audit Policy Definition resource in Oracle Cloud Infrastructure Data Safe service.
|
233
|
+
|
234
|
+
Gets a unified audit policy definition by the specified OCID of the unified audit policy definition resource.
|
235
|
+
|
236
|
+
## Example Usage
|
237
|
+
|
238
|
+
```python
|
239
|
+
import pulumi
|
240
|
+
import pulumi_oci as oci
|
241
|
+
|
242
|
+
test_unified_audit_policy_definition = oci.DataSafe.get_unified_audit_policy_definition(unified_audit_policy_definition_id=test_unified_audit_policy_definition_oci_data_safe_unified_audit_policy_definition["id"])
|
243
|
+
```
|
244
|
+
|
245
|
+
|
246
|
+
:param _builtins.str unified_audit_policy_definition_id: The OCID of the unified audit policy definition resource.
|
247
|
+
"""
|
248
|
+
__args__ = dict()
|
249
|
+
__args__['unifiedAuditPolicyDefinitionId'] = unified_audit_policy_definition_id
|
250
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
251
|
+
__ret__ = pulumi.runtime.invoke('oci:DataSafe/getUnifiedAuditPolicyDefinition:getUnifiedAuditPolicyDefinition', __args__, opts=opts, typ=GetUnifiedAuditPolicyDefinitionResult).value
|
252
|
+
|
253
|
+
return AwaitableGetUnifiedAuditPolicyDefinitionResult(
|
254
|
+
audit_policy_category=pulumi.get(__ret__, 'audit_policy_category'),
|
255
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
256
|
+
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
257
|
+
description=pulumi.get(__ret__, 'description'),
|
258
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
259
|
+
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
260
|
+
id=pulumi.get(__ret__, 'id'),
|
261
|
+
is_seeded=pulumi.get(__ret__, 'is_seeded'),
|
262
|
+
lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
|
263
|
+
policy_definition_statement=pulumi.get(__ret__, 'policy_definition_statement'),
|
264
|
+
policy_name=pulumi.get(__ret__, 'policy_name'),
|
265
|
+
state=pulumi.get(__ret__, 'state'),
|
266
|
+
system_tags=pulumi.get(__ret__, 'system_tags'),
|
267
|
+
time_created=pulumi.get(__ret__, 'time_created'),
|
268
|
+
time_updated=pulumi.get(__ret__, 'time_updated'),
|
269
|
+
unified_audit_policy_definition_id=pulumi.get(__ret__, 'unified_audit_policy_definition_id'))
|
270
|
+
def get_unified_audit_policy_definition_output(unified_audit_policy_definition_id: Optional[pulumi.Input[_builtins.str]] = None,
|
271
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetUnifiedAuditPolicyDefinitionResult]:
|
272
|
+
"""
|
273
|
+
This data source provides details about a specific Unified Audit Policy Definition resource in Oracle Cloud Infrastructure Data Safe service.
|
274
|
+
|
275
|
+
Gets a unified audit policy definition by the specified OCID of the unified audit policy definition resource.
|
276
|
+
|
277
|
+
## Example Usage
|
278
|
+
|
279
|
+
```python
|
280
|
+
import pulumi
|
281
|
+
import pulumi_oci as oci
|
282
|
+
|
283
|
+
test_unified_audit_policy_definition = oci.DataSafe.get_unified_audit_policy_definition(unified_audit_policy_definition_id=test_unified_audit_policy_definition_oci_data_safe_unified_audit_policy_definition["id"])
|
284
|
+
```
|
285
|
+
|
286
|
+
|
287
|
+
:param _builtins.str unified_audit_policy_definition_id: The OCID of the unified audit policy definition resource.
|
288
|
+
"""
|
289
|
+
__args__ = dict()
|
290
|
+
__args__['unifiedAuditPolicyDefinitionId'] = unified_audit_policy_definition_id
|
291
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
292
|
+
__ret__ = pulumi.runtime.invoke_output('oci:DataSafe/getUnifiedAuditPolicyDefinition:getUnifiedAuditPolicyDefinition', __args__, opts=opts, typ=GetUnifiedAuditPolicyDefinitionResult)
|
293
|
+
return __ret__.apply(lambda __response__: GetUnifiedAuditPolicyDefinitionResult(
|
294
|
+
audit_policy_category=pulumi.get(__response__, 'audit_policy_category'),
|
295
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
296
|
+
defined_tags=pulumi.get(__response__, 'defined_tags'),
|
297
|
+
description=pulumi.get(__response__, 'description'),
|
298
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
299
|
+
freeform_tags=pulumi.get(__response__, 'freeform_tags'),
|
300
|
+
id=pulumi.get(__response__, 'id'),
|
301
|
+
is_seeded=pulumi.get(__response__, 'is_seeded'),
|
302
|
+
lifecycle_details=pulumi.get(__response__, 'lifecycle_details'),
|
303
|
+
policy_definition_statement=pulumi.get(__response__, 'policy_definition_statement'),
|
304
|
+
policy_name=pulumi.get(__response__, 'policy_name'),
|
305
|
+
state=pulumi.get(__response__, 'state'),
|
306
|
+
system_tags=pulumi.get(__response__, 'system_tags'),
|
307
|
+
time_created=pulumi.get(__response__, 'time_created'),
|
308
|
+
time_updated=pulumi.get(__response__, 'time_updated'),
|
309
|
+
unified_audit_policy_definition_id=pulumi.get(__response__, 'unified_audit_policy_definition_id')))
|