AllowedSecurityAction¶
- class oci.vn_monitoring.models.AllowedSecurityAction(**kwargs)¶
Bases:
SecurityActionDefines the security action taken on allowed traffic.
Attributes:
A constant which can be used with the action property of a SecurityAction.
A constant which can be used with the action property of a SecurityAction.
A constant which can be used with the action_type property of a SecurityAction.
A constant which can be used with the action_type property of a SecurityAction.
A constant which can be used with the action property of a SecurityAction.
A constant which can be used with the action property of a SecurityAction.
A constant which can be used with the action property of a SecurityAction.
A constant which can be used with the action property of a SecurityAction.
A constant which can be used with the action property of a SecurityAction.
A constant which can be used with the action property of a SecurityAction.
A constant which can be used with the action property of a SecurityAction.
[Required] Gets the action of this SecurityAction.
[Required] Gets the action_type of this SecurityAction.
Gets 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'¶
A constant which can be used with the action property of a SecurityAction. This constant has a value of “ALLOWED”
- ACTION_DENIED = 'DENIED'¶
A constant which can be used with the action property of a SecurityAction. This constant has a value of “DENIED”
- ACTION_TYPE_EXPLICIT = 'EXPLICIT'¶
A constant which can be used with the action_type property of a SecurityAction. This constant has a value of “EXPLICIT”
- ACTION_TYPE_IMPLICIT = 'IMPLICIT'¶
A constant which can be used with the action_type property of a SecurityAction. This constant has a value of “IMPLICIT”
- ACTION_ZPR_ALLOWED = 'ZPR_ALLOWED'¶
A constant which can be used with the action property of a SecurityAction. This constant has a value of “ZPR_ALLOWED”
- ACTION_ZPR_CIDR_UNSUPPORTED = 'ZPR_CIDR_UNSUPPORTED'¶
A constant which can be used with the action property of a SecurityAction. This constant has a value of “ZPR_CIDR_UNSUPPORTED”
- ACTION_ZPR_DENIED = 'ZPR_DENIED'¶
A constant which can be used with the action property of a SecurityAction. This constant has a value of “ZPR_DENIED”
- ACTION_ZPR_MISSING_POLICY = 'ZPR_MISSING_POLICY'¶
A constant which can be used with the action property of a SecurityAction. This constant has a value of “ZPR_MISSING_POLICY”
- ACTION_ZPR_NSG_UNSUPPORTED = 'ZPR_NSG_UNSUPPORTED'¶
A constant which can be used with the action property of a SecurityAction. This constant has a value of “ZPR_NSG_UNSUPPORTED”
- ACTION_ZPR_POLICY_NOT_EVALUATED_MISSING_ROUTE = 'ZPR_POLICY_NOT_EVALUATED_MISSING_ROUTE'¶
A constant which can be used with the action property of a SecurityAction. This constant has a value of “ZPR_POLICY_NOT_EVALUATED_MISSING_ROUTE”
- ACTION_ZPR_POLICY_NOT_EVALUATED_SL_NSG_DENIED = 'ZPR_POLICY_NOT_EVALUATED_SL_NSG_DENIED'¶
A constant which can be used with the action property of a SecurityAction. This constant has a value of “ZPR_POLICY_NOT_EVALUATED_SL_NSG_DENIED”
- __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”, “ZPR_DENIED”, “ZPR_ALLOWED”, “ZPR_CIDR_UNSUPPORTED”, “ZPR_NSG_UNSUPPORTED”, “ZPR_POLICY_NOT_EVALUATED_MISSING_ROUTE”, “ZPR_POLICY_NOT_EVALUATED_SL_NSG_DENIED”, “ZPR_MISSING_POLICY”
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.
- property action¶
[Required] Gets the action of this SecurityAction. Action taken on the traffic.
Allowed values for this property are: “ALLOWED”, “DENIED”, “ZPR_DENIED”, “ZPR_ALLOWED”, “ZPR_CIDR_UNSUPPORTED”, “ZPR_NSG_UNSUPPORTED”, “ZPR_POLICY_NOT_EVALUATED_MISSING_ROUTE”, “ZPR_POLICY_NOT_EVALUATED_SL_NSG_DENIED”, “ZPR_MISSING_POLICY”, ‘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
- property 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
- property allowed_security_action_details¶
Gets the allowed_security_action_details of this AllowedSecurityAction.
- Returns
The allowed_security_action_details of this AllowedSecurityAction.
- Return type
- 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.