TopologyRoutesToRelationshipDetails

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

Bases: object

Defines route rule details for a routesTo relationship.

Attributes

ROUTE_TYPE_DYNAMIC A constant which can be used with the route_type property of a TopologyRoutesToRelationshipDetails.
ROUTE_TYPE_STATIC A constant which can be used with the route_type property of a TopologyRoutesToRelationshipDetails.
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.
route_type Gets the route_type of this TopologyRoutesToRelationshipDetails.

Methods

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

A constant which can be used with the route_type property of a TopologyRoutesToRelationshipDetails. This constant has a value of “DYNAMIC”

ROUTE_TYPE_STATIC = 'STATIC'

A constant which can be used with the route_type property of a TopologyRoutesToRelationshipDetails. This constant has a value of “STATIC”

__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.
  • route_type (str) – The value to assign to the route_type property of this TopologyRoutesToRelationshipDetails. Allowed values for this property are: “STATIC”, “DYNAMIC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
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
route_type

Gets the route_type of this TopologyRoutesToRelationshipDetails. A route rule can be STATIC if manually added to the route table or DYNAMIC if imported from another route table.

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

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