RoutingAction

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

Bases: object

Defines the details for routing actions taken on the traffic flow.

Attributes

ACTION_FORWARDED A constant which can be used with the action property of a RoutingAction.
ACTION_INDETERMINATE A constant which can be used with the action property of a RoutingAction.
ACTION_NO_ROUTE A constant which can be used with the action property of a RoutingAction.
ACTION_TYPE_EXPLICIT A constant which can be used with the action_type property of a RoutingAction.
ACTION_TYPE_IMPLICIT A constant which can be used with the action_type property of a RoutingAction.
ACTION_TYPE_NOT_SUPPORTED A constant which can be used with the action_type property of a RoutingAction.
action [Required] Gets the action of this RoutingAction.
action_type [Required] Gets the action_type of this RoutingAction.

Methods

__init__(**kwargs) Initializes a new RoutingAction 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_FORWARDED = 'FORWARDED'

A constant which can be used with the action property of a RoutingAction. This constant has a value of “FORWARDED”

ACTION_INDETERMINATE = 'INDETERMINATE'

A constant which can be used with the action property of a RoutingAction. This constant has a value of “INDETERMINATE”

ACTION_NO_ROUTE = 'NO_ROUTE'

A constant which can be used with the action property of a RoutingAction. This constant has a value of “NO_ROUTE”

ACTION_TYPE_EXPLICIT = 'EXPLICIT'

A constant which can be used with the action_type property of a RoutingAction. This constant has a value of “EXPLICIT”

ACTION_TYPE_IMPLICIT = 'IMPLICIT'

A constant which can be used with the action_type property of a RoutingAction. This constant has a value of “IMPLICIT”

ACTION_TYPE_NOT_SUPPORTED = 'NOT_SUPPORTED'

A constant which can be used with the action_type property of a RoutingAction. This constant has a value of “NOT_SUPPORTED”

__init__(**kwargs)

Initializes a new RoutingAction 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 RoutingAction. Allowed values for this property are: “FORWARDED”, “NO_ROUTE”, “INDETERMINATE”, ‘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 RoutingAction. Allowed values for this property are: “EXPLICIT”, “IMPLICIT”, “NOT_SUPPORTED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
action

[Required] Gets the action of this RoutingAction. The routing action taken on the traffic flow.

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

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

[Required] Gets the action_type of this RoutingAction. The type of the routing support for the traffic flow.

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

Returns:The action_type of this RoutingAction.
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.