FirewallPolicyEntryDetails¶
-
class
oci.data_safe.models.FirewallPolicyEntryDetails(**kwargs)¶ Bases:
oci.data_safe.models.entry_details.EntryDetailsSQL Firewall policy details.
Attributes
ENTRY_TYPE_AUDIT_POLICYstr(object=’’) -> str ENTRY_TYPE_FIREWALL_POLICYstr(object=’’) -> str entry_type[Required] Gets the entry_type of this EntryDetails. time_generated[Required] Gets the time_generated of this FirewallPolicyEntryDetails. time_status_updatedGets the time_status_updated of this FirewallPolicyEntryDetails. Methods
__init__(**kwargs)Initializes a new FirewallPolicyEntryDetails object with values from keyword arguments. get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
ENTRY_TYPE_AUDIT_POLICY= 'AUDIT_POLICY'¶
-
ENTRY_TYPE_FIREWALL_POLICY= 'FIREWALL_POLICY'¶
-
__init__(**kwargs)¶ Initializes a new FirewallPolicyEntryDetails object with values from keyword arguments. The default value of the
entry_typeattribute of this class isFIREWALL_POLICYand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - entry_type (str) – The value to assign to the entry_type property of this FirewallPolicyEntryDetails. Allowed values for this property are: “FIREWALL_POLICY”, “AUDIT_POLICY”
- time_generated (datetime) – The value to assign to the time_generated property of this FirewallPolicyEntryDetails.
- time_status_updated (datetime) – The value to assign to the time_status_updated property of this FirewallPolicyEntryDetails.
-
entry_type¶ [Required] Gets the entry_type of this EntryDetails. The security policy entry type. Allowed values: - FIREWALL_POLICY - The SQL Firewall policy entry type. - AUDIT_POLICY - The audit policy entry type.
Allowed values for this property are: “FIREWALL_POLICY”, “AUDIT_POLICY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The entry_type of this EntryDetails. Return type: str
-
static
get_subtype(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
time_generated¶ [Required] Gets the time_generated of this FirewallPolicyEntryDetails. The time the the SQL Firewall policy was generated on the target database, in the format defined by RFC3339.
Returns: The time_generated of this FirewallPolicyEntryDetails. Return type: datetime
-
time_status_updated¶ Gets the time_status_updated of this FirewallPolicyEntryDetails. The last date and time the status of the SQL Firewall policy was updated on the target database, in the format defined by RFC3339.
Returns: The time_status_updated of this FirewallPolicyEntryDetails. Return type: datetime
-