SecurityAction

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

Bases: object

Defines the security action details taken on the 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.

Methods:

__init__(**kwargs)

Initializes a new SecurityAction 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 SecurityAction object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

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

  • action_type (str) – The value to assign to the action_type property of this 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’.

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

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.