DrgAttachmentIdDrgRouteDistributionMatchCriteria¶
- class oci.core.models.DrgAttachmentIdDrgRouteDistributionMatchCriteria(**kwargs)¶
Bases:
DrgRouteDistributionMatchCriteriaThe criteria by which a specific attachment will import routes to the DRG.
Attributes:
A constant which can be used with the match_type property of a DrgRouteDistributionMatchCriteria.
A constant which can be used with the match_type property of a DrgRouteDistributionMatchCriteria.
A constant which can be used with the match_type property of a DrgRouteDistributionMatchCriteria.
[Required] Gets the drg_attachment_id of this DrgAttachmentIdDrgRouteDistributionMatchCriteria.
[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'¶
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”
- MATCH_TYPE_MATCH_ALL = 'MATCH_ALL'¶
A constant which can be used with the match_type property of a DrgRouteDistributionMatchCriteria. This constant has a value of “MATCH_ALL”
- __init__(**kwargs)¶
Initializes a new DrgAttachmentIdDrgRouteDistributionMatchCriteria object with values from keyword arguments. The default value of the
match_typeattribute of this class isDRG_ATTACHMENT_IDand 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”, “MATCH_ALL”
drg_attachment_id (str) – The value to assign to the drg_attachment_id property of this DrgAttachmentIdDrgRouteDistributionMatchCriteria.
- property 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.
- property 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