Show / Hide Table of Contents

Class TopologyRoutesToRelationshipDetails

Defines route rule details for a routesTo relationship.

Inheritance
object
TopologyRoutesToRelationshipDetails
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.CoreService.Models
Assembly: OCI.DotNetSDK.Core.dll
Syntax
public class TopologyRoutesToRelationshipDetails

Properties

Destination

Declaration
[Required(ErrorMessage = "Destination is required.")]
[JsonProperty(PropertyName = "destination")]
public string Destination { get; set; }
Property Value
Type Description
string

An IP address range in CIDR notation or the cidrBlock value for a {@link Service}.

Remarks

Required

DestinationType

Declaration
[Required(ErrorMessage = "DestinationType is required.")]
[JsonProperty(PropertyName = "destinationType")]
public string DestinationType { get; set; }
Property Value
Type Description
string

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 {@link Service}.
Remarks

Required

RouteTableId

Declaration
[Required(ErrorMessage = "RouteTableId is required.")]
[JsonProperty(PropertyName = "routeTableId")]
public string RouteTableId { get; set; }
Property Value
Type Description
string

The OCID of the routing table that contains the route rule.

Remarks

Required

RouteType

Declaration
[JsonProperty(PropertyName = "routeType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public TopologyRoutesToRelationshipDetails.RouteTypeEnum? RouteType { get; set; }
Property Value
Type Description
TopologyRoutesToRelationshipDetails.RouteTypeEnum?

A route rule can be STATIC if manually added to the route table or DYNAMIC if imported from another route table.

In this article
Back to top