FirewallPolicyEntryDetails¶
- class oci.data_safe.models.FirewallPolicyEntryDetails(**kwargs)¶
Bases:
EntryDetailsSQL Firewall policy details.
Attributes:
A constant which can be used with the entry_type property of a EntryDetails.
A constant which can be used with the entry_type property of a EntryDetails.
[Required] Gets the entry_type of this EntryDetails.
[Required] Gets the time_generated of this FirewallPolicyEntryDetails.
Gets 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'¶
A constant which can be used with the entry_type property of a EntryDetails. This constant has a value of “AUDIT_POLICY”
- ENTRY_TYPE_FIREWALL_POLICY = 'FIREWALL_POLICY'¶
A constant which can be used with the entry_type property of a EntryDetails. This constant has a value of “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.
- property 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.
- property 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
- property 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