oci_data_safe_sql_firewall_policy_management

This resource provides the Sql Firewall Policy Management resource in Oracle Cloud Infrastructure Data Safe service.

Updates the SQL firewall policy.

Example Usage

resource "oci_data_safe_sql_firewall_policy_management" "test_sql_firewall_policy_management" {
	#Required
	compartment_id = var.compartment_id
	target_id = oci_data_safe_target_database.test_target_database.id
	db_user_name = oci_identity_user.test_user.name
	
	#Optional
	allowed_client_ips = var.sql_firewall_policy_management_allowed_client_ips
	allowed_client_os_usernames = var.sql_firewall_policy_management_allowed_client_os_usernames
	allowed_client_programs = var.sql_firewall_policy_management_allowed_client_programs
	defined_tags = {"Operations.CostCenter"= "42"}
	description = var.sql_firewall_policy_management_description
	display_name = var.sql_firewall_policy_management_display_name
	enforcement_scope = var.sql_firewall_policy_management_enforcement_scope
	freeform_tags = {"Department"= "Finance"}
	status = var.sql_firewall_policy_management_status
	violation_action = var.sql_firewall_policy_management_violation_action
	violation_audit = var.sql_firewall_policy_management_violation_audit
}

Argument Reference

The following arguments are supported:

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

Attributes Reference

The following attributes are exported:

Timeouts

The timeouts block allows you to specify timeouts for certain operations: * create - (Defaults to 20 minutes), when creating the Sql Firewall Policy Management * update - (Defaults to 20 minutes), when updating the Sql Firewall Policy Management * delete - (Defaults to 20 minutes), when destroying the Sql Firewall Policy Management

Import

Import is not supported for this resource.