DrgRouteDistributionMatchCriteria

class oci.core.models.DrgRouteDistributionMatchCriteria(**kwargs)

Bases: object

The match criteria in a route distribution statement. The match criteria outlines which routes should be imported or exported. Leaving the match criteria empty implies match ALL.

Attributes

MATCH_TYPE_DRG_ATTACHMENT_ID A constant which can be used with the match_type property of a DrgRouteDistributionMatchCriteria.
MATCH_TYPE_DRG_ATTACHMENT_TYPE A constant which can be used with the match_type property of a DrgRouteDistributionMatchCriteria.
match_type [Required] Gets the match_type of this DrgRouteDistributionMatchCriteria.

Methods

__init__(**kwargs) Initializes a new DrgRouteDistributionMatchCriteria 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.
MATCH_TYPE_DRG_ATTACHMENT_ID = 'DRG_ATTACHMENT_ID'

A constant which can be used with the match_type property of a DrgRouteDistributionMatchCriteria. This constant has a value of “DRG_ATTACHMENT_ID”

MATCH_TYPE_DRG_ATTACHMENT_TYPE = 'DRG_ATTACHMENT_TYPE'

A constant which can be used with the match_type property of a DrgRouteDistributionMatchCriteria. This constant has a value of “DRG_ATTACHMENT_TYPE”

__init__(**kwargs)

Initializes a new DrgRouteDistributionMatchCriteria 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:match_type (str) – The value to assign to the match_type property of this DrgRouteDistributionMatchCriteria. Allowed values for this property are: “DRG_ATTACHMENT_TYPE”, “DRG_ATTACHMENT_ID”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
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.

match_type

[Required] Gets the match_type of this DrgRouteDistributionMatchCriteria. The type of the match criteria for a route distribution statement.

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

Returns:The match_type of this DrgRouteDistributionMatchCriteria.
Return type:str