TopologyRoutesToEntityRelationship¶
- 
class oci.core.models.TopologyRoutesToEntityRelationship(**kwargs)¶
- Bases: - oci.core.models.topology_entity_relationship.TopologyEntityRelationship- Defines the routesTo relationship between virtual network topology entities. A RoutesTo relationship is defined when a routing table and a routing rule are used to govern how to route traffic from one entity to another. For example, a DRG might have a routing rule to send certain traffic to an LPG. - Attributes - TYPE_ASSOCIATED_WITH- str(object=’’) -> str - TYPE_CONTAINS- str(object=’’) -> str - TYPE_ROUTES_TO- str(object=’’) -> str - id1- [Required] Gets the id1 of this TopologyEntityRelationship. - id2- [Required] Gets the id2 of this TopologyEntityRelationship. - route_rule_details- [Required] Gets the route_rule_details of this TopologyRoutesToEntityRelationship. - type- [Required] Gets the type of this TopologyEntityRelationship. - Methods - __init__(**kwargs)- Initializes a new TopologyRoutesToEntityRelationship 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. - 
TYPE_ASSOCIATED_WITH= 'ASSOCIATED_WITH'¶
 - 
TYPE_CONTAINS= 'CONTAINS'¶
 - 
TYPE_ROUTES_TO= 'ROUTES_TO'¶
 - 
__init__(**kwargs)¶
- Initializes a new TopologyRoutesToEntityRelationship object with values from keyword arguments. The default value of the - typeattribute of this class is- ROUTES_TOand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters: - id1 (str) – The value to assign to the id1 property of this TopologyRoutesToEntityRelationship.
- id2 (str) – The value to assign to the id2 property of this TopologyRoutesToEntityRelationship.
- type (str) – The value to assign to the type property of this TopologyRoutesToEntityRelationship. Allowed values for this property are: “CONTAINS”, “ASSOCIATED_WITH”, “ROUTES_TO”
- route_rule_details (oci.core.models.TopologyRoutesToRelationshipDetails) – The value to assign to the route_rule_details property of this TopologyRoutesToEntityRelationship.
 
 - 
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. 
 - 
id1¶
- [Required] Gets the id1 of this TopologyEntityRelationship. The OCID of the first entity in the relationship. - Returns: - The id1 of this TopologyEntityRelationship. - Return type: - str 
 - 
id2¶
- [Required] Gets the id2 of this TopologyEntityRelationship. The OCID of the second entity in the relationship. - Returns: - The id2 of this TopologyEntityRelationship. - Return type: - str 
 - 
route_rule_details¶
- [Required] Gets the route_rule_details of this TopologyRoutesToEntityRelationship. - Returns: - The route_rule_details of this TopologyRoutesToEntityRelationship. - Return type: - oci.core.models.TopologyRoutesToRelationshipDetails 
 - 
type¶
- [Required] Gets the type of this TopologyEntityRelationship. The type of relationship between the entities. - Allowed values for this property are: “CONTAINS”, “ASSOCIATED_WITH”, “ROUTES_TO”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’. - Returns: - The type of this TopologyEntityRelationship. - Return type: - str 
 
-