pulumi-oci 2.12.0a1728593306__py3-none-any.whl → 2.13.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 +169 -19
- pulumi_oci/analytics/analytics_instance.py +54 -5
- pulumi_oci/analytics/get_analytics_instance.py +18 -4
- pulumi_oci/analytics/outputs.py +12 -1
- pulumi_oci/containerengine/_inputs.py +341 -0
- pulumi_oci/containerengine/cluster.py +64 -0
- pulumi_oci/containerengine/get_cluster.py +12 -1
- pulumi_oci/containerengine/outputs.py +582 -0
- pulumi_oci/core/_inputs.py +947 -196
- pulumi_oci/core/boot_volume.py +90 -5
- pulumi_oci/core/cluster_network.py +7 -7
- pulumi_oci/core/get_block_volume_replica.py +15 -1
- pulumi_oci/core/get_boot_volume.py +15 -4
- pulumi_oci/core/get_boot_volume_replica.py +15 -1
- pulumi_oci/core/get_instance.py +29 -1
- pulumi_oci/core/get_vcn.py +15 -1
- pulumi_oci/core/get_vnic.py +15 -1
- pulumi_oci/core/get_volume.py +18 -4
- pulumi_oci/core/instance.py +87 -0
- pulumi_oci/core/instance_configuration.py +16 -0
- pulumi_oci/core/ipsec.py +183 -23
- pulumi_oci/core/network_security_group_security_rule.py +2 -2
- pulumi_oci/core/outputs.py +1282 -153
- pulumi_oci/core/service_gateway.py +13 -7
- pulumi_oci/core/vcn.py +65 -23
- pulumi_oci/core/virtual_network.py +35 -1
- pulumi_oci/core/vnic_attachment.py +2 -0
- pulumi_oci/core/volume.py +110 -12
- pulumi_oci/core/volume_backup_policy_assignment.py +68 -19
- pulumi_oci/core/volume_group.py +56 -5
- pulumi_oci/database/_inputs.py +905 -27
- pulumi_oci/database/autonomous_database.py +48 -28
- pulumi_oci/database/autonomous_database_backup.py +12 -12
- pulumi_oci/database/autonomous_exadata_infrastructure.py +2 -0
- pulumi_oci/database/autonomous_vm_cluster.py +2 -0
- pulumi_oci/database/backup.py +12 -12
- pulumi_oci/database/cloud_autonomous_vm_cluster.py +2 -0
- pulumi_oci/database/cloud_exadata_infrastructure.py +2 -0
- pulumi_oci/database/cloud_vm_cluster.py +71 -0
- pulumi_oci/database/database.py +15 -15
- pulumi_oci/database/database_upgrade.py +12 -12
- pulumi_oci/database/db_system.py +9 -9
- pulumi_oci/database/exadata_infrastructure.py +2 -0
- pulumi_oci/database/get_autonomous_container_database.py +1 -1
- pulumi_oci/database/get_autonomous_database.py +18 -4
- pulumi_oci/database/get_autonomous_database_backup.py +3 -3
- pulumi_oci/database/get_autonomous_databases.py +88 -5
- pulumi_oci/database/get_cloud_vm_cluster.py +15 -1
- pulumi_oci/database/get_database.py +3 -3
- pulumi_oci/database/get_pluggable_database.py +12 -1
- pulumi_oci/database/get_vm_cluster.py +15 -1
- pulumi_oci/database/outputs.py +1431 -74
- pulumi_oci/database/pluggable_database.py +34 -0
- pulumi_oci/database/vm_cluster.py +71 -0
- pulumi_oci/database/vm_cluster_add_virtual_network.py +28 -0
- pulumi_oci/database/vm_cluster_remove_virtual_machine.py +28 -0
- pulumi_oci/datasafe/__init__.py +13 -0
- pulumi_oci/datasafe/_inputs.py +441 -0
- pulumi_oci/datasafe/generate_on_prem_connector_configuration.py +271 -0
- pulumi_oci/datasafe/get_reports.py +23 -1
- pulumi_oci/datasafe/get_sql_collection.py +392 -0
- pulumi_oci/datasafe/get_sql_collection_analytics.py +309 -0
- pulumi_oci/datasafe/get_sql_collection_log_insights.py +207 -0
- pulumi_oci/datasafe/get_sql_collections.py +364 -0
- pulumi_oci/datasafe/get_sql_firewall_allowed_sql.py +337 -0
- pulumi_oci/datasafe/get_sql_firewall_allowed_sql_analytics.py +250 -0
- pulumi_oci/datasafe/get_sql_firewall_allowed_sqls.py +234 -0
- pulumi_oci/datasafe/get_sql_firewall_policies.py +386 -0
- pulumi_oci/datasafe/get_sql_firewall_policy.py +393 -0
- pulumi_oci/datasafe/get_sql_firewall_policy_analytics.py +305 -0
- pulumi_oci/datasafe/get_sql_firewall_violation_analytics.py +306 -0
- pulumi_oci/datasafe/get_sql_firewall_violations.py +208 -0
- pulumi_oci/datasafe/outputs.py +1808 -2
- pulumi_oci/desktops/_inputs.py +395 -17
- pulumi_oci/desktops/desktop_pool.py +253 -21
- pulumi_oci/desktops/get_desktop_pool.py +62 -5
- pulumi_oci/desktops/outputs.py +807 -25
- pulumi_oci/dns/__init__.py +2 -0
- pulumi_oci/dns/_inputs.py +1157 -12
- pulumi_oci/dns/action_create_zone_from_zone_file.py +42 -2
- pulumi_oci/dns/get_records.py +45 -13
- pulumi_oci/dns/get_resolver.py +8 -6
- pulumi_oci/dns/get_resolver_endpoint.py +8 -6
- pulumi_oci/dns/get_resolver_endpoints.py +2 -2
- pulumi_oci/dns/get_resolvers.py +12 -12
- pulumi_oci/dns/get_rrset.py +16 -16
- pulumi_oci/dns/get_rrsets.py +12 -10
- pulumi_oci/dns/get_view.py +8 -4
- pulumi_oci/dns/get_views.py +12 -12
- pulumi_oci/dns/get_zones.py +33 -13
- pulumi_oci/dns/outputs.py +1388 -79
- pulumi_oci/dns/record.py +12 -12
- pulumi_oci/dns/resolver.py +7 -7
- pulumi_oci/dns/resolver_endpoint.py +2 -2
- pulumi_oci/dns/rrset.py +50 -41
- pulumi_oci/dns/zone.py +176 -17
- pulumi_oci/dns/zone_promote_dnssec_key_version.py +328 -0
- pulumi_oci/dns/zone_stage_dnssec_key_version.py +318 -0
- pulumi_oci/fleetappsmanagement/__init__.py +43 -0
- pulumi_oci/fleetappsmanagement/_inputs.py +2057 -0
- pulumi_oci/fleetappsmanagement/fleet.py +955 -0
- pulumi_oci/fleetappsmanagement/fleet_credential.py +615 -0
- pulumi_oci/fleetappsmanagement/fleet_property.py +585 -0
- pulumi_oci/fleetappsmanagement/fleet_resource.py +851 -0
- pulumi_oci/fleetappsmanagement/get_announcements.py +166 -0
- pulumi_oci/fleetappsmanagement/get_fleet.py +394 -0
- pulumi_oci/fleetappsmanagement/get_fleet_compliance_report.py +164 -0
- pulumi_oci/fleetappsmanagement/get_fleet_credential.py +273 -0
- pulumi_oci/fleetappsmanagement/get_fleet_credentials.py +240 -0
- pulumi_oci/fleetappsmanagement/get_fleet_products.py +232 -0
- pulumi_oci/fleetappsmanagement/get_fleet_properties.py +218 -0
- pulumi_oci/fleetappsmanagement/get_fleet_property.py +286 -0
- pulumi_oci/fleetappsmanagement/get_fleet_resource.py +398 -0
- pulumi_oci/fleetappsmanagement/get_fleet_resources.py +237 -0
- pulumi_oci/fleetappsmanagement/get_fleet_targets.py +232 -0
- pulumi_oci/fleetappsmanagement/get_fleets.py +284 -0
- pulumi_oci/fleetappsmanagement/get_inventory_resources.py +311 -0
- pulumi_oci/fleetappsmanagement/get_maintenance_window.py +365 -0
- pulumi_oci/fleetappsmanagement/get_maintenance_windows.py +199 -0
- pulumi_oci/fleetappsmanagement/get_onboarding_policies.py +123 -0
- pulumi_oci/fleetappsmanagement/get_onboardings.py +177 -0
- pulumi_oci/fleetappsmanagement/get_properties.py +221 -0
- pulumi_oci/fleetappsmanagement/get_property.py +323 -0
- pulumi_oci/fleetappsmanagement/get_runbook.py +377 -0
- pulumi_oci/fleetappsmanagement/get_runbooks.py +284 -0
- pulumi_oci/fleetappsmanagement/get_scheduler_definition.py +436 -0
- pulumi_oci/fleetappsmanagement/get_scheduler_definition_scheduled_fleets.py +185 -0
- pulumi_oci/fleetappsmanagement/get_scheduler_definitions.py +262 -0
- pulumi_oci/fleetappsmanagement/get_task_record.py +307 -0
- pulumi_oci/fleetappsmanagement/get_task_records.py +240 -0
- pulumi_oci/fleetappsmanagement/maintenance_window.py +935 -0
- pulumi_oci/fleetappsmanagement/onboarding.py +477 -0
- pulumi_oci/fleetappsmanagement/outputs.py +8128 -0
- pulumi_oci/fleetappsmanagement/property.py +697 -0
- pulumi_oci/fleetappsmanagement/scheduler_definition.py +1035 -0
- pulumi_oci/functions/get_fusion_environment_refresh_activity.py +15 -1
- pulumi_oci/functions/outputs.py +11 -0
- pulumi_oci/fusionapps/_inputs.py +21 -20
- pulumi_oci/fusionapps/fusion_environment.py +2 -2
- pulumi_oci/fusionapps/fusion_environment_admin_user.py +21 -22
- pulumi_oci/fusionapps/fusion_environment_refresh_activity.py +48 -51
- pulumi_oci/fusionapps/outputs.py +11 -10
- pulumi_oci/goldengate/__init__.py +1 -0
- pulumi_oci/goldengate/_inputs.py +165 -0
- pulumi_oci/goldengate/connection.py +49 -35
- pulumi_oci/goldengate/database_registration.py +7 -7
- pulumi_oci/goldengate/deployment.py +79 -4
- pulumi_oci/goldengate/get_deployment.py +30 -2
- pulumi_oci/goldengate/get_deployment_environments.py +144 -0
- pulumi_oci/goldengate/outputs.py +409 -2
- pulumi_oci/integration/__init__.py +1 -0
- pulumi_oci/integration/_inputs.py +289 -2
- pulumi_oci/integration/get_integration_instance.py +65 -1
- pulumi_oci/integration/integration_instance.py +172 -0
- pulumi_oci/integration/oracle_managed_custom_endpoint.py +307 -0
- pulumi_oci/integration/outputs.py +587 -19
- pulumi_oci/loadbalancer/_inputs.py +20 -0
- pulumi_oci/loadbalancer/listener.py +4 -2
- pulumi_oci/loadbalancer/outputs.py +16 -2
- pulumi_oci/monitoring/_inputs.py +137 -16
- pulumi_oci/monitoring/alarm_suppression.py +164 -35
- pulumi_oci/monitoring/get_alarm_statuses.py +5 -3
- pulumi_oci/monitoring/get_alarm_suppression.py +33 -3
- pulumi_oci/monitoring/get_alarm_suppressions.py +137 -14
- pulumi_oci/monitoring/outputs.py +291 -18
- pulumi_oci/mysql/mysql_db_system.py +7 -7
- pulumi_oci/objectstorage/__init__.py +3 -0
- pulumi_oci/objectstorage/_inputs.py +97 -0
- pulumi_oci/objectstorage/get_object_versions.py +6 -6
- pulumi_oci/objectstorage/get_objects.py +6 -6
- pulumi_oci/objectstorage/get_private_endpoint.py +263 -0
- pulumi_oci/objectstorage/get_private_endpoint_summaries.py +128 -0
- pulumi_oci/objectstorage/outputs.py +258 -0
- pulumi_oci/objectstorage/private_endpoint.py +630 -0
- pulumi_oci/objectstorage/storage_object.py +7 -7
- pulumi_oci/opsi/_inputs.py +268 -114
- pulumi_oci/opsi/database_insight.py +162 -21
- pulumi_oci/opsi/exadata_insight.py +44 -0
- pulumi_oci/opsi/get_database_insight.py +40 -1
- pulumi_oci/opsi/get_host_insights.py +2 -2
- pulumi_oci/opsi/host_insight.py +0 -48
- pulumi_oci/opsi/outputs.py +405 -109
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/securityattribute/__init__.py +15 -0
- pulumi_oci/securityattribute/_inputs.py +209 -0
- pulumi_oci/securityattribute/get_security_attribute.py +262 -0
- pulumi_oci/securityattribute/get_security_attribute_namespace.py +253 -0
- pulumi_oci/securityattribute/get_security_attribute_namespaces.py +210 -0
- pulumi_oci/securityattribute/get_security_attributes.py +169 -0
- pulumi_oci/securityattribute/outputs.py +466 -0
- pulumi_oci/securityattribute/security_attribute.py +588 -0
- pulumi_oci/securityattribute/security_attribute_namespace.py +609 -0
- pulumi_oci/stackmonitoring/__init__.py +5 -0
- pulumi_oci/stackmonitoring/_inputs.py +330 -0
- pulumi_oci/stackmonitoring/get_maintenance_window.py +254 -0
- pulumi_oci/stackmonitoring/get_maintenance_windows.py +210 -0
- pulumi_oci/stackmonitoring/maintenance_window.py +551 -0
- pulumi_oci/stackmonitoring/maintenance_windows_retry_failed_operation.py +217 -0
- pulumi_oci/stackmonitoring/maintenance_windows_stop.py +217 -0
- pulumi_oci/stackmonitoring/outputs.py +603 -0
- pulumi_oci/{globallydistributeddatabase → zpr}/__init__.py +5 -6
- pulumi_oci/zpr/_inputs.py +79 -0
- pulumi_oci/zpr/configuration.py +516 -0
- pulumi_oci/zpr/get_configuration.py +230 -0
- pulumi_oci/zpr/get_zpr_policies.py +191 -0
- pulumi_oci/zpr/get_zpr_policy.py +264 -0
- pulumi_oci/zpr/outputs.py +203 -0
- pulumi_oci/zpr/zpr_policy.py +614 -0
- {pulumi_oci-2.12.0a1728593306.dist-info → pulumi_oci-2.13.0.dist-info}/METADATA +1 -1
- {pulumi_oci-2.12.0a1728593306.dist-info → pulumi_oci-2.13.0.dist-info}/RECORD +212 -142
- {pulumi_oci-2.12.0a1728593306.dist-info → pulumi_oci-2.13.0.dist-info}/WHEEL +1 -1
- pulumi_oci/globallydistributeddatabase/_inputs.py +0 -1289
- pulumi_oci/globallydistributeddatabase/get_private_endpoint.py +0 -323
- pulumi_oci/globallydistributeddatabase/get_private_endpoints.py +0 -191
- pulumi_oci/globallydistributeddatabase/get_sharded_database.py +0 -660
- pulumi_oci/globallydistributeddatabase/get_sharded_databases.py +0 -191
- pulumi_oci/globallydistributeddatabase/outputs.py +0 -2063
- pulumi_oci/globallydistributeddatabase/private_endpoint.py +0 -747
- pulumi_oci/globallydistributeddatabase/sharded_database.py +0 -1821
- {pulumi_oci-2.12.0a1728593306.dist-info → pulumi_oci-2.13.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,393 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import 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
|
+
'GetSqlFirewallPolicyResult',
|
19
|
+
'AwaitableGetSqlFirewallPolicyResult',
|
20
|
+
'get_sql_firewall_policy',
|
21
|
+
'get_sql_firewall_policy_output',
|
22
|
+
]
|
23
|
+
|
24
|
+
@pulumi.output_type
|
25
|
+
class GetSqlFirewallPolicyResult:
|
26
|
+
"""
|
27
|
+
A collection of values returned by getSqlFirewallPolicy.
|
28
|
+
"""
|
29
|
+
def __init__(__self__, allowed_client_ips=None, allowed_client_os_usernames=None, allowed_client_programs=None, compartment_id=None, db_user_name=None, defined_tags=None, description=None, display_name=None, enforcement_scope=None, freeform_tags=None, id=None, lifecycle_details=None, security_policy_id=None, sql_firewall_policy_id=None, sql_level=None, state=None, status=None, system_tags=None, time_created=None, time_updated=None, violation_action=None, violation_audit=None):
|
30
|
+
if allowed_client_ips and not isinstance(allowed_client_ips, list):
|
31
|
+
raise TypeError("Expected argument 'allowed_client_ips' to be a list")
|
32
|
+
pulumi.set(__self__, "allowed_client_ips", allowed_client_ips)
|
33
|
+
if allowed_client_os_usernames and not isinstance(allowed_client_os_usernames, list):
|
34
|
+
raise TypeError("Expected argument 'allowed_client_os_usernames' to be a list")
|
35
|
+
pulumi.set(__self__, "allowed_client_os_usernames", allowed_client_os_usernames)
|
36
|
+
if allowed_client_programs and not isinstance(allowed_client_programs, list):
|
37
|
+
raise TypeError("Expected argument 'allowed_client_programs' to be a list")
|
38
|
+
pulumi.set(__self__, "allowed_client_programs", allowed_client_programs)
|
39
|
+
if compartment_id and not isinstance(compartment_id, str):
|
40
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
41
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
42
|
+
if db_user_name and not isinstance(db_user_name, str):
|
43
|
+
raise TypeError("Expected argument 'db_user_name' to be a str")
|
44
|
+
pulumi.set(__self__, "db_user_name", db_user_name)
|
45
|
+
if defined_tags and not isinstance(defined_tags, dict):
|
46
|
+
raise TypeError("Expected argument 'defined_tags' to be a dict")
|
47
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
48
|
+
if description and not isinstance(description, str):
|
49
|
+
raise TypeError("Expected argument 'description' to be a str")
|
50
|
+
pulumi.set(__self__, "description", description)
|
51
|
+
if display_name and not isinstance(display_name, str):
|
52
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
53
|
+
pulumi.set(__self__, "display_name", display_name)
|
54
|
+
if enforcement_scope and not isinstance(enforcement_scope, str):
|
55
|
+
raise TypeError("Expected argument 'enforcement_scope' to be a str")
|
56
|
+
pulumi.set(__self__, "enforcement_scope", enforcement_scope)
|
57
|
+
if freeform_tags and not isinstance(freeform_tags, dict):
|
58
|
+
raise TypeError("Expected argument 'freeform_tags' to be a dict")
|
59
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
60
|
+
if id and not isinstance(id, str):
|
61
|
+
raise TypeError("Expected argument 'id' to be a str")
|
62
|
+
pulumi.set(__self__, "id", id)
|
63
|
+
if lifecycle_details and not isinstance(lifecycle_details, str):
|
64
|
+
raise TypeError("Expected argument 'lifecycle_details' to be a str")
|
65
|
+
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
66
|
+
if security_policy_id and not isinstance(security_policy_id, str):
|
67
|
+
raise TypeError("Expected argument 'security_policy_id' to be a str")
|
68
|
+
pulumi.set(__self__, "security_policy_id", security_policy_id)
|
69
|
+
if sql_firewall_policy_id and not isinstance(sql_firewall_policy_id, str):
|
70
|
+
raise TypeError("Expected argument 'sql_firewall_policy_id' to be a str")
|
71
|
+
pulumi.set(__self__, "sql_firewall_policy_id", sql_firewall_policy_id)
|
72
|
+
if sql_level and not isinstance(sql_level, str):
|
73
|
+
raise TypeError("Expected argument 'sql_level' to be a str")
|
74
|
+
pulumi.set(__self__, "sql_level", sql_level)
|
75
|
+
if state and not isinstance(state, str):
|
76
|
+
raise TypeError("Expected argument 'state' to be a str")
|
77
|
+
pulumi.set(__self__, "state", state)
|
78
|
+
if status and not isinstance(status, str):
|
79
|
+
raise TypeError("Expected argument 'status' to be a str")
|
80
|
+
pulumi.set(__self__, "status", status)
|
81
|
+
if system_tags and not isinstance(system_tags, dict):
|
82
|
+
raise TypeError("Expected argument 'system_tags' to be a dict")
|
83
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
84
|
+
if time_created and not isinstance(time_created, str):
|
85
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
86
|
+
pulumi.set(__self__, "time_created", time_created)
|
87
|
+
if time_updated and not isinstance(time_updated, str):
|
88
|
+
raise TypeError("Expected argument 'time_updated' to be a str")
|
89
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
90
|
+
if violation_action and not isinstance(violation_action, str):
|
91
|
+
raise TypeError("Expected argument 'violation_action' to be a str")
|
92
|
+
pulumi.set(__self__, "violation_action", violation_action)
|
93
|
+
if violation_audit and not isinstance(violation_audit, str):
|
94
|
+
raise TypeError("Expected argument 'violation_audit' to be a str")
|
95
|
+
pulumi.set(__self__, "violation_audit", violation_audit)
|
96
|
+
|
97
|
+
@property
|
98
|
+
@pulumi.getter(name="allowedClientIps")
|
99
|
+
def allowed_client_ips(self) -> Sequence[str]:
|
100
|
+
"""
|
101
|
+
The list of allowed ip addresses for the SQL Firewall policy.
|
102
|
+
"""
|
103
|
+
return pulumi.get(self, "allowed_client_ips")
|
104
|
+
|
105
|
+
@property
|
106
|
+
@pulumi.getter(name="allowedClientOsUsernames")
|
107
|
+
def allowed_client_os_usernames(self) -> Sequence[str]:
|
108
|
+
"""
|
109
|
+
The list of allowed operating system user names for the SQL Firewall policy.
|
110
|
+
"""
|
111
|
+
return pulumi.get(self, "allowed_client_os_usernames")
|
112
|
+
|
113
|
+
@property
|
114
|
+
@pulumi.getter(name="allowedClientPrograms")
|
115
|
+
def allowed_client_programs(self) -> Sequence[str]:
|
116
|
+
"""
|
117
|
+
The list of allowed client programs for the SQL Firewall policy.
|
118
|
+
"""
|
119
|
+
return pulumi.get(self, "allowed_client_programs")
|
120
|
+
|
121
|
+
@property
|
122
|
+
@pulumi.getter(name="compartmentId")
|
123
|
+
def compartment_id(self) -> str:
|
124
|
+
"""
|
125
|
+
The OCID of the compartment containing the SQL Firewall policy.
|
126
|
+
"""
|
127
|
+
return pulumi.get(self, "compartment_id")
|
128
|
+
|
129
|
+
@property
|
130
|
+
@pulumi.getter(name="dbUserName")
|
131
|
+
def db_user_name(self) -> str:
|
132
|
+
"""
|
133
|
+
The database user name.
|
134
|
+
"""
|
135
|
+
return pulumi.get(self, "db_user_name")
|
136
|
+
|
137
|
+
@property
|
138
|
+
@pulumi.getter(name="definedTags")
|
139
|
+
def defined_tags(self) -> Mapping[str, str]:
|
140
|
+
"""
|
141
|
+
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"}`
|
142
|
+
"""
|
143
|
+
return pulumi.get(self, "defined_tags")
|
144
|
+
|
145
|
+
@property
|
146
|
+
@pulumi.getter
|
147
|
+
def description(self) -> str:
|
148
|
+
"""
|
149
|
+
The description of the SQL Firewall policy.
|
150
|
+
"""
|
151
|
+
return pulumi.get(self, "description")
|
152
|
+
|
153
|
+
@property
|
154
|
+
@pulumi.getter(name="displayName")
|
155
|
+
def display_name(self) -> str:
|
156
|
+
"""
|
157
|
+
The display name of the SQL Firewall policy.
|
158
|
+
"""
|
159
|
+
return pulumi.get(self, "display_name")
|
160
|
+
|
161
|
+
@property
|
162
|
+
@pulumi.getter(name="enforcementScope")
|
163
|
+
def enforcement_scope(self) -> str:
|
164
|
+
"""
|
165
|
+
Specifies the SQL Firewall policy enforcement option.
|
166
|
+
"""
|
167
|
+
return pulumi.get(self, "enforcement_scope")
|
168
|
+
|
169
|
+
@property
|
170
|
+
@pulumi.getter(name="freeformTags")
|
171
|
+
def freeform_tags(self) -> Mapping[str, str]:
|
172
|
+
"""
|
173
|
+
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"}`
|
174
|
+
"""
|
175
|
+
return pulumi.get(self, "freeform_tags")
|
176
|
+
|
177
|
+
@property
|
178
|
+
@pulumi.getter
|
179
|
+
def id(self) -> str:
|
180
|
+
"""
|
181
|
+
The OCID of the SQL Firewall policy.
|
182
|
+
"""
|
183
|
+
return pulumi.get(self, "id")
|
184
|
+
|
185
|
+
@property
|
186
|
+
@pulumi.getter(name="lifecycleDetails")
|
187
|
+
def lifecycle_details(self) -> str:
|
188
|
+
"""
|
189
|
+
Details about the current state of the SQL Firewall policy in Data Safe.
|
190
|
+
"""
|
191
|
+
return pulumi.get(self, "lifecycle_details")
|
192
|
+
|
193
|
+
@property
|
194
|
+
@pulumi.getter(name="securityPolicyId")
|
195
|
+
def security_policy_id(self) -> str:
|
196
|
+
"""
|
197
|
+
The OCID of the security policy corresponding to the SQL Firewall policy.
|
198
|
+
"""
|
199
|
+
return pulumi.get(self, "security_policy_id")
|
200
|
+
|
201
|
+
@property
|
202
|
+
@pulumi.getter(name="sqlFirewallPolicyId")
|
203
|
+
def sql_firewall_policy_id(self) -> str:
|
204
|
+
return pulumi.get(self, "sql_firewall_policy_id")
|
205
|
+
|
206
|
+
@property
|
207
|
+
@pulumi.getter(name="sqlLevel")
|
208
|
+
def sql_level(self) -> str:
|
209
|
+
"""
|
210
|
+
Specifies the level of SQL included for this SQL Firewall policy. USER_ISSUED_SQL - User issued SQL statements only. ALL_SQL - Includes all SQL statements including SQL statement issued inside PL/SQL units.
|
211
|
+
"""
|
212
|
+
return pulumi.get(self, "sql_level")
|
213
|
+
|
214
|
+
@property
|
215
|
+
@pulumi.getter
|
216
|
+
def state(self) -> str:
|
217
|
+
"""
|
218
|
+
The current state of the SQL Firewall policy.
|
219
|
+
"""
|
220
|
+
return pulumi.get(self, "state")
|
221
|
+
|
222
|
+
@property
|
223
|
+
@pulumi.getter
|
224
|
+
def status(self) -> str:
|
225
|
+
"""
|
226
|
+
Specifies whether the SQL Firewall policy is enabled or disabled.
|
227
|
+
"""
|
228
|
+
return pulumi.get(self, "status")
|
229
|
+
|
230
|
+
@property
|
231
|
+
@pulumi.getter(name="systemTags")
|
232
|
+
def system_tags(self) -> Mapping[str, str]:
|
233
|
+
"""
|
234
|
+
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"}`
|
235
|
+
"""
|
236
|
+
return pulumi.get(self, "system_tags")
|
237
|
+
|
238
|
+
@property
|
239
|
+
@pulumi.getter(name="timeCreated")
|
240
|
+
def time_created(self) -> str:
|
241
|
+
"""
|
242
|
+
The time that the SQL Firewall policy was created, in the format defined by RFC3339.
|
243
|
+
"""
|
244
|
+
return pulumi.get(self, "time_created")
|
245
|
+
|
246
|
+
@property
|
247
|
+
@pulumi.getter(name="timeUpdated")
|
248
|
+
def time_updated(self) -> str:
|
249
|
+
"""
|
250
|
+
The date and time the SQL Firewall policy was last updated, in the format defined by RFC3339.
|
251
|
+
"""
|
252
|
+
return pulumi.get(self, "time_updated")
|
253
|
+
|
254
|
+
@property
|
255
|
+
@pulumi.getter(name="violationAction")
|
256
|
+
def violation_action(self) -> str:
|
257
|
+
"""
|
258
|
+
Specifies the mode in which the SQL Firewall policy is enabled.
|
259
|
+
"""
|
260
|
+
return pulumi.get(self, "violation_action")
|
261
|
+
|
262
|
+
@property
|
263
|
+
@pulumi.getter(name="violationAudit")
|
264
|
+
def violation_audit(self) -> str:
|
265
|
+
"""
|
266
|
+
Specifies whether a unified audit policy should be enabled for auditing the SQL Firewall policy violations.
|
267
|
+
"""
|
268
|
+
return pulumi.get(self, "violation_audit")
|
269
|
+
|
270
|
+
|
271
|
+
class AwaitableGetSqlFirewallPolicyResult(GetSqlFirewallPolicyResult):
|
272
|
+
# pylint: disable=using-constant-test
|
273
|
+
def __await__(self):
|
274
|
+
if False:
|
275
|
+
yield self
|
276
|
+
return GetSqlFirewallPolicyResult(
|
277
|
+
allowed_client_ips=self.allowed_client_ips,
|
278
|
+
allowed_client_os_usernames=self.allowed_client_os_usernames,
|
279
|
+
allowed_client_programs=self.allowed_client_programs,
|
280
|
+
compartment_id=self.compartment_id,
|
281
|
+
db_user_name=self.db_user_name,
|
282
|
+
defined_tags=self.defined_tags,
|
283
|
+
description=self.description,
|
284
|
+
display_name=self.display_name,
|
285
|
+
enforcement_scope=self.enforcement_scope,
|
286
|
+
freeform_tags=self.freeform_tags,
|
287
|
+
id=self.id,
|
288
|
+
lifecycle_details=self.lifecycle_details,
|
289
|
+
security_policy_id=self.security_policy_id,
|
290
|
+
sql_firewall_policy_id=self.sql_firewall_policy_id,
|
291
|
+
sql_level=self.sql_level,
|
292
|
+
state=self.state,
|
293
|
+
status=self.status,
|
294
|
+
system_tags=self.system_tags,
|
295
|
+
time_created=self.time_created,
|
296
|
+
time_updated=self.time_updated,
|
297
|
+
violation_action=self.violation_action,
|
298
|
+
violation_audit=self.violation_audit)
|
299
|
+
|
300
|
+
|
301
|
+
def get_sql_firewall_policy(sql_firewall_policy_id: Optional[str] = None,
|
302
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSqlFirewallPolicyResult:
|
303
|
+
"""
|
304
|
+
This data source provides details about a specific Sql Firewall Policy resource in Oracle Cloud Infrastructure Data Safe service.
|
305
|
+
|
306
|
+
Gets a SQL Firewall policy by identifier.
|
307
|
+
|
308
|
+
## Example Usage
|
309
|
+
|
310
|
+
```python
|
311
|
+
import pulumi
|
312
|
+
import pulumi_oci as oci
|
313
|
+
|
314
|
+
test_sql_firewall_policy = oci.DataSafe.get_sql_firewall_policy(sql_firewall_policy_id=test_sql_firewall_policy_oci_data_safe_sql_firewall_policy["id"])
|
315
|
+
```
|
316
|
+
|
317
|
+
|
318
|
+
:param str sql_firewall_policy_id: The OCID of the SQL Firewall policy resource.
|
319
|
+
"""
|
320
|
+
__args__ = dict()
|
321
|
+
__args__['sqlFirewallPolicyId'] = sql_firewall_policy_id
|
322
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
323
|
+
__ret__ = pulumi.runtime.invoke('oci:DataSafe/getSqlFirewallPolicy:getSqlFirewallPolicy', __args__, opts=opts, typ=GetSqlFirewallPolicyResult).value
|
324
|
+
|
325
|
+
return AwaitableGetSqlFirewallPolicyResult(
|
326
|
+
allowed_client_ips=pulumi.get(__ret__, 'allowed_client_ips'),
|
327
|
+
allowed_client_os_usernames=pulumi.get(__ret__, 'allowed_client_os_usernames'),
|
328
|
+
allowed_client_programs=pulumi.get(__ret__, 'allowed_client_programs'),
|
329
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
330
|
+
db_user_name=pulumi.get(__ret__, 'db_user_name'),
|
331
|
+
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
332
|
+
description=pulumi.get(__ret__, 'description'),
|
333
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
334
|
+
enforcement_scope=pulumi.get(__ret__, 'enforcement_scope'),
|
335
|
+
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
336
|
+
id=pulumi.get(__ret__, 'id'),
|
337
|
+
lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
|
338
|
+
security_policy_id=pulumi.get(__ret__, 'security_policy_id'),
|
339
|
+
sql_firewall_policy_id=pulumi.get(__ret__, 'sql_firewall_policy_id'),
|
340
|
+
sql_level=pulumi.get(__ret__, 'sql_level'),
|
341
|
+
state=pulumi.get(__ret__, 'state'),
|
342
|
+
status=pulumi.get(__ret__, 'status'),
|
343
|
+
system_tags=pulumi.get(__ret__, 'system_tags'),
|
344
|
+
time_created=pulumi.get(__ret__, 'time_created'),
|
345
|
+
time_updated=pulumi.get(__ret__, 'time_updated'),
|
346
|
+
violation_action=pulumi.get(__ret__, 'violation_action'),
|
347
|
+
violation_audit=pulumi.get(__ret__, 'violation_audit'))
|
348
|
+
def get_sql_firewall_policy_output(sql_firewall_policy_id: Optional[pulumi.Input[str]] = None,
|
349
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSqlFirewallPolicyResult]:
|
350
|
+
"""
|
351
|
+
This data source provides details about a specific Sql Firewall Policy resource in Oracle Cloud Infrastructure Data Safe service.
|
352
|
+
|
353
|
+
Gets a SQL Firewall policy by identifier.
|
354
|
+
|
355
|
+
## Example Usage
|
356
|
+
|
357
|
+
```python
|
358
|
+
import pulumi
|
359
|
+
import pulumi_oci as oci
|
360
|
+
|
361
|
+
test_sql_firewall_policy = oci.DataSafe.get_sql_firewall_policy(sql_firewall_policy_id=test_sql_firewall_policy_oci_data_safe_sql_firewall_policy["id"])
|
362
|
+
```
|
363
|
+
|
364
|
+
|
365
|
+
:param str sql_firewall_policy_id: The OCID of the SQL Firewall policy resource.
|
366
|
+
"""
|
367
|
+
__args__ = dict()
|
368
|
+
__args__['sqlFirewallPolicyId'] = sql_firewall_policy_id
|
369
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
370
|
+
__ret__ = pulumi.runtime.invoke_output('oci:DataSafe/getSqlFirewallPolicy:getSqlFirewallPolicy', __args__, opts=opts, typ=GetSqlFirewallPolicyResult)
|
371
|
+
return __ret__.apply(lambda __response__: GetSqlFirewallPolicyResult(
|
372
|
+
allowed_client_ips=pulumi.get(__response__, 'allowed_client_ips'),
|
373
|
+
allowed_client_os_usernames=pulumi.get(__response__, 'allowed_client_os_usernames'),
|
374
|
+
allowed_client_programs=pulumi.get(__response__, 'allowed_client_programs'),
|
375
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
376
|
+
db_user_name=pulumi.get(__response__, 'db_user_name'),
|
377
|
+
defined_tags=pulumi.get(__response__, 'defined_tags'),
|
378
|
+
description=pulumi.get(__response__, 'description'),
|
379
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
380
|
+
enforcement_scope=pulumi.get(__response__, 'enforcement_scope'),
|
381
|
+
freeform_tags=pulumi.get(__response__, 'freeform_tags'),
|
382
|
+
id=pulumi.get(__response__, 'id'),
|
383
|
+
lifecycle_details=pulumi.get(__response__, 'lifecycle_details'),
|
384
|
+
security_policy_id=pulumi.get(__response__, 'security_policy_id'),
|
385
|
+
sql_firewall_policy_id=pulumi.get(__response__, 'sql_firewall_policy_id'),
|
386
|
+
sql_level=pulumi.get(__response__, 'sql_level'),
|
387
|
+
state=pulumi.get(__response__, 'state'),
|
388
|
+
status=pulumi.get(__response__, 'status'),
|
389
|
+
system_tags=pulumi.get(__response__, 'system_tags'),
|
390
|
+
time_created=pulumi.get(__response__, 'time_created'),
|
391
|
+
time_updated=pulumi.get(__response__, 'time_updated'),
|
392
|
+
violation_action=pulumi.get(__response__, 'violation_action'),
|
393
|
+
violation_audit=pulumi.get(__response__, 'violation_audit')))
|