DrgAttachmentIdDrgRouteDistributionMatchCriteria

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

Bases: oci.core.models.drg_route_distribution_match_criteria.DrgRouteDistributionMatchCriteria

The criteria by which a specific attachment will import routes to the DRG.

Attributes

MATCH_TYPE_DRG_ATTACHMENT_ID str(object=’’) -> str
MATCH_TYPE_DRG_ATTACHMENT_TYPE str(object=’’) -> str
drg_attachment_id [Required] Gets the drg_attachment_id of this DrgAttachmentIdDrgRouteDistributionMatchCriteria.
match_type [Required] Gets the match_type of this DrgRouteDistributionMatchCriteria.

Methods

__init__(**kwargs) Initializes a new DrgAttachmentIdDrgRouteDistributionMatchCriteria 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'
MATCH_TYPE_DRG_ATTACHMENT_TYPE = 'DRG_ATTACHMENT_TYPE'
__init__(**kwargs)

Initializes a new DrgAttachmentIdDrgRouteDistributionMatchCriteria object with values from keyword arguments. The default value of the match_type attribute of this class is DRG_ATTACHMENT_ID 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 DrgAttachmentIdDrgRouteDistributionMatchCriteria. Allowed values for this property are: “DRG_ATTACHMENT_TYPE”, “DRG_ATTACHMENT_ID”
  • drg_attachment_id (str) – The value to assign to the drg_attachment_id property of this DrgAttachmentIdDrgRouteDistributionMatchCriteria.
drg_attachment_id

[Required] Gets the drg_attachment_id of this DrgAttachmentIdDrgRouteDistributionMatchCriteria. The OCID of the DRG attachment.

Returns:The drg_attachment_id of this DrgAttachmentIdDrgRouteDistributionMatchCriteria.
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”, ‘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