DeniedSecurityAction

class oci.vn_monitoring.models.DeniedSecurityAction(**kwargs)

Bases: oci.vn_monitoring.models.security_action.SecurityAction

Defines the security action taken on denied traffic.

Attributes

ACTION_ALLOWED str(object=’’) -> str
ACTION_DENIED str(object=’’) -> str
ACTION_TYPE_EXPLICIT str(object=’’) -> str
ACTION_TYPE_IMPLICIT str(object=’’) -> str
action [Required] Gets the action of this SecurityAction.
action_type [Required] Gets the action_type of this SecurityAction.
denied_security_action_details Gets the denied_security_action_details of this DeniedSecurityAction.

Methods

__init__(**kwargs) Initializes a new DeniedSecurityAction 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.
ACTION_ALLOWED = 'ALLOWED'
ACTION_DENIED = 'DENIED'
ACTION_TYPE_EXPLICIT = 'EXPLICIT'
ACTION_TYPE_IMPLICIT = 'IMPLICIT'
__init__(**kwargs)

Initializes a new DeniedSecurityAction object with values from keyword arguments. The default value of the action attribute of this class is DENIED and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • action (str) – The value to assign to the action property of this DeniedSecurityAction. Allowed values for this property are: “ALLOWED”, “DENIED”
  • action_type (str) – The value to assign to the action_type property of this DeniedSecurityAction. Allowed values for this property are: “EXPLICIT”, “IMPLICIT”
  • denied_security_action_details (oci.vn_monitoring.models.DeniedSecurityActionDetails) – The value to assign to the denied_security_action_details property of this DeniedSecurityAction.
action

[Required] Gets the action of this SecurityAction. Action taken on the traffic.

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

Returns:The action of this SecurityAction.
Return type:str
action_type

[Required] Gets the action_type of this SecurityAction. Type of the SecurityAction.

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

Returns:The action_type of this SecurityAction.
Return type:str
denied_security_action_details

Gets the denied_security_action_details of this DeniedSecurityAction.

Returns:The denied_security_action_details of this DeniedSecurityAction.
Return type:oci.vn_monitoring.models.DeniedSecurityActionDetails
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.