DeniedSecurityAction

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

Bases: SecurityAction

Defines the security action taken on denied traffic.

Attributes:

ACTION_ALLOWED

A constant which can be used with the action property of a SecurityAction.

ACTION_DENIED

A constant which can be used with the action property of a SecurityAction.

ACTION_TYPE_EXPLICIT

A constant which can be used with the action_type property of a SecurityAction.

ACTION_TYPE_IMPLICIT

A constant which can be used with the action_type property of a SecurityAction.

ACTION_ZPR_ALLOWED

A constant which can be used with the action property of a SecurityAction.

ACTION_ZPR_CIDR_UNSUPPORTED

A constant which can be used with the action property of a SecurityAction.

ACTION_ZPR_DENIED

A constant which can be used with the action property of a SecurityAction.

ACTION_ZPR_MISSING_POLICY

A constant which can be used with the action property of a SecurityAction.

ACTION_ZPR_NSG_UNSUPPORTED

A constant which can be used with the action property of a SecurityAction.

ACTION_ZPR_POLICY_NOT_EVALUATED_MISSING_ROUTE

A constant which can be used with the action property of a SecurityAction.

ACTION_ZPR_POLICY_NOT_EVALUATED_SL_NSG_DENIED

A constant which can be used with the action property of a SecurityAction.

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'

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 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”, “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 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.

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 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.