AllowedSecurityAction¶
-
class
oci.vn_monitoring.models.AllowedSecurityAction(**kwargs)¶ Bases:
oci.vn_monitoring.models.security_action.SecurityActionDefines the security action taken on allowed traffic.
Attributes
ACTION_ALLOWEDstr(object=’’) -> str ACTION_DENIEDstr(object=’’) -> str ACTION_TYPE_EXPLICITstr(object=’’) -> str ACTION_TYPE_IMPLICITstr(object=’’) -> str action[Required] Gets the action of this SecurityAction. action_type[Required] Gets the action_type of this SecurityAction. allowed_security_action_detailsGets the allowed_security_action_details of this AllowedSecurityAction. Methods
__init__(**kwargs)Initializes a new AllowedSecurityAction 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 AllowedSecurityAction object with values from keyword arguments. The default value of the
actionattribute of this class isALLOWEDand 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 AllowedSecurityAction. Allowed values for this property are: “ALLOWED”, “DENIED”
- action_type (str) – The value to assign to the action_type property of this AllowedSecurityAction. Allowed values for this property are: “EXPLICIT”, “IMPLICIT”
- allowed_security_action_details (oci.vn_monitoring.models.AllowedSecurityActionDetails) – The value to assign to the allowed_security_action_details property of this AllowedSecurityAction.
-
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
-
allowed_security_action_details¶ Gets the allowed_security_action_details of this AllowedSecurityAction.
Returns: The allowed_security_action_details of this AllowedSecurityAction. Return type: oci.vn_monitoring.models.AllowedSecurityActionDetails
-
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.
-