SqlFirewallAllowedSqlDimensions

class oci.data_safe.models.SqlFirewallAllowedSqlDimensions(**kwargs)

Bases: object

The dimensions available for SQL Firewall allow SQL analytics.

Attributes

LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a SqlFirewallAllowedSqlDimensions.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a SqlFirewallAllowedSqlDimensions.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a SqlFirewallAllowedSqlDimensions.
SQL_LEVEL_ALL_SQL A constant which can be used with the sql_level property of a SqlFirewallAllowedSqlDimensions.
SQL_LEVEL_USER_ISSUED_SQL A constant which can be used with the sql_level property of a SqlFirewallAllowedSqlDimensions.
db_user_name Gets the db_user_name of this SqlFirewallAllowedSqlDimensions.
lifecycle_state Gets the lifecycle_state of this SqlFirewallAllowedSqlDimensions.
sql_firewall_policy_id Gets the sql_firewall_policy_id of this SqlFirewallAllowedSqlDimensions.
sql_level Gets the sql_level of this SqlFirewallAllowedSqlDimensions.

Methods

__init__(**kwargs) Initializes a new SqlFirewallAllowedSqlDimensions object with values from keyword arguments.
LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a SqlFirewallAllowedSqlDimensions. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a SqlFirewallAllowedSqlDimensions. This constant has a value of “DELETED”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a SqlFirewallAllowedSqlDimensions. This constant has a value of “FAILED”

SQL_LEVEL_ALL_SQL = 'ALL_SQL'

A constant which can be used with the sql_level property of a SqlFirewallAllowedSqlDimensions. This constant has a value of “ALL_SQL”

SQL_LEVEL_USER_ISSUED_SQL = 'USER_ISSUED_SQL'

A constant which can be used with the sql_level property of a SqlFirewallAllowedSqlDimensions. This constant has a value of “USER_ISSUED_SQL”

__init__(**kwargs)

Initializes a new SqlFirewallAllowedSqlDimensions object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • sql_firewall_policy_id (str) – The value to assign to the sql_firewall_policy_id property of this SqlFirewallAllowedSqlDimensions.
  • sql_level (str) – The value to assign to the sql_level property of this SqlFirewallAllowedSqlDimensions. Allowed values for this property are: “USER_ISSUED_SQL”, “ALL_SQL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • db_user_name (str) – The value to assign to the db_user_name property of this SqlFirewallAllowedSqlDimensions.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this SqlFirewallAllowedSqlDimensions. Allowed values for this property are: “ACTIVE”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
db_user_name

Gets the db_user_name of this SqlFirewallAllowedSqlDimensions. The database user name.

Returns:The db_user_name of this SqlFirewallAllowedSqlDimensions.
Return type:str
lifecycle_state

Gets the lifecycle_state of this SqlFirewallAllowedSqlDimensions. The current state of the SQL Firewall allowed SQL.

Allowed values for this property are: “ACTIVE”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this SqlFirewallAllowedSqlDimensions.
Return type:str
sql_firewall_policy_id

Gets the sql_firewall_policy_id of this SqlFirewallAllowedSqlDimensions. The OCID of the SQL Firewall policy corresponding to the SQL Firewall allowed SQL.

Returns:The sql_firewall_policy_id of this SqlFirewallAllowedSqlDimensions.
Return type:str
sql_level

Gets the sql_level of this SqlFirewallAllowedSqlDimensions. 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.

Allowed values for this property are: “USER_ISSUED_SQL”, “ALL_SQL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The sql_level of this SqlFirewallAllowedSqlDimensions.
Return type:str