DrgAttachmentTypeDrgRouteDistributionMatchCriteria

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

Bases: oci.core.models.drg_route_distribution_match_criteria.DrgRouteDistributionMatchCriteria

The attachment type from which the DRG will import routes. Routes will be imported from all attachments of this type.

Attributes

ATTACHMENT_TYPE_IPSEC_TUNNEL A constant which can be used with the attachment_type property of a DrgAttachmentTypeDrgRouteDistributionMatchCriteria.
ATTACHMENT_TYPE_REMOTE_PEERING_CONNECTION A constant which can be used with the attachment_type property of a DrgAttachmentTypeDrgRouteDistributionMatchCriteria.
ATTACHMENT_TYPE_VCN A constant which can be used with the attachment_type property of a DrgAttachmentTypeDrgRouteDistributionMatchCriteria.
ATTACHMENT_TYPE_VIRTUAL_CIRCUIT A constant which can be used with the attachment_type property of a DrgAttachmentTypeDrgRouteDistributionMatchCriteria.
MATCH_TYPE_DRG_ATTACHMENT_ID str(object=’’) -> str
MATCH_TYPE_DRG_ATTACHMENT_TYPE str(object=’’) -> str
MATCH_TYPE_MATCH_ALL str(object=’’) -> str
attachment_type [Required] Gets the attachment_type of this DrgAttachmentTypeDrgRouteDistributionMatchCriteria.
match_type [Required] Gets the match_type of this DrgRouteDistributionMatchCriteria.

Methods

__init__(**kwargs) Initializes a new DrgAttachmentTypeDrgRouteDistributionMatchCriteria 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.
ATTACHMENT_TYPE_IPSEC_TUNNEL = 'IPSEC_TUNNEL'

A constant which can be used with the attachment_type property of a DrgAttachmentTypeDrgRouteDistributionMatchCriteria. This constant has a value of “IPSEC_TUNNEL”

ATTACHMENT_TYPE_REMOTE_PEERING_CONNECTION = 'REMOTE_PEERING_CONNECTION'

A constant which can be used with the attachment_type property of a DrgAttachmentTypeDrgRouteDistributionMatchCriteria. This constant has a value of “REMOTE_PEERING_CONNECTION”

ATTACHMENT_TYPE_VCN = 'VCN'

A constant which can be used with the attachment_type property of a DrgAttachmentTypeDrgRouteDistributionMatchCriteria. This constant has a value of “VCN”

ATTACHMENT_TYPE_VIRTUAL_CIRCUIT = 'VIRTUAL_CIRCUIT'

A constant which can be used with the attachment_type property of a DrgAttachmentTypeDrgRouteDistributionMatchCriteria. This constant has a value of “VIRTUAL_CIRCUIT”

MATCH_TYPE_DRG_ATTACHMENT_ID = 'DRG_ATTACHMENT_ID'
MATCH_TYPE_DRG_ATTACHMENT_TYPE = 'DRG_ATTACHMENT_TYPE'
MATCH_TYPE_MATCH_ALL = 'MATCH_ALL'
__init__(**kwargs)

Initializes a new DrgAttachmentTypeDrgRouteDistributionMatchCriteria object with values from keyword arguments. The default value of the match_type attribute of this class is DRG_ATTACHMENT_TYPE and it should not be changed. 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 DrgAttachmentTypeDrgRouteDistributionMatchCriteria. Allowed values for this property are: “DRG_ATTACHMENT_TYPE”, “DRG_ATTACHMENT_ID”, “MATCH_ALL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • attachment_type (str) – The value to assign to the attachment_type property of this DrgAttachmentTypeDrgRouteDistributionMatchCriteria. Allowed values for this property are: “VCN”, “VIRTUAL_CIRCUIT”, “REMOTE_PEERING_CONNECTION”, “IPSEC_TUNNEL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
attachment_type

[Required] Gets the attachment_type of this DrgAttachmentTypeDrgRouteDistributionMatchCriteria. The type of the network resource to be included in this match. A match for a network type implies that all DRG attachments of that type insert routes into the table.

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

Returns:The attachment_type of this DrgAttachmentTypeDrgRouteDistributionMatchCriteria.
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.

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”, “MATCH_ALL”, ‘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