TopologyRoutesToRelationshipDetails

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

Bases: object

Defines route rule details for a routesTo relationship.

Methods

__init__(**kwargs) Initializes a new TopologyRoutesToRelationshipDetails object with values from keyword arguments.

Attributes

destination [Required] Gets the destination of this TopologyRoutesToRelationshipDetails.
destination_type [Required] Gets the destination_type of this TopologyRoutesToRelationshipDetails.
route_table_id [Required] Gets the route_table_id of this TopologyRoutesToRelationshipDetails.
__init__(**kwargs)

Initializes a new TopologyRoutesToRelationshipDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • destination_type (str) – The value to assign to the destination_type property of this TopologyRoutesToRelationshipDetails.
  • destination (str) – The value to assign to the destination property of this TopologyRoutesToRelationshipDetails.
  • route_table_id (str) – The value to assign to the route_table_id property of this TopologyRoutesToRelationshipDetails.
destination

[Required] Gets the destination of this TopologyRoutesToRelationshipDetails. An IP address range in CIDR notation or the cidrBlock value for a Service.

Returns:The destination of this TopologyRoutesToRelationshipDetails.
Return type:str
destination_type

[Required] Gets the destination_type of this TopologyRoutesToRelationshipDetails. The destinationType can be set to one of two values:

  • Use CIDR_BLOCK if the rule’s destination is an IP address range in CIDR notation.
  • Use SERVICE_CIDR_BLOCK if the rule’s destination is the cidrBlock value for a Service.
Returns:The destination_type of this TopologyRoutesToRelationshipDetails.
Return type:str
route_table_id

[Required] Gets the route_table_id of this TopologyRoutesToRelationshipDetails. The OCID of the routing table that contains the route rule.

Returns:The route_table_id of this TopologyRoutesToRelationshipDetails.
Return type:str