Show / Hide Table of Contents

Class AddDrgRouteRuleDetails

Details needed when adding a DRG route rule.

Inheritance
object
AddDrgRouteRuleDetails
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 AddDrgRouteRuleDetails

Properties

Destination

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

This is the range of IP addresses used for matching when routing traffic. Only CIDR_BLOCK values are allowed.
Potential values:

  • IP address range in CIDR notation. This can be an IPv4 CIDR block or IPv6 prefix. For Example: 192.168.1.0/24 or 2001:0db8:0123:45::/56.
Remarks

Required

DestinationType

Declaration
[Required(ErrorMessage = "DestinationType is required.")]
[JsonProperty(PropertyName = "destinationType")]
[JsonConverter(typeof(StringEnumConverter))]
public AddDrgRouteRuleDetails.DestinationTypeEnum? DestinationType { get; set; }
Property Value
Type Description
AddDrgRouteRuleDetails.DestinationTypeEnum?

Type of destination for the rule. Allowed values:

  • CIDR_BLOCK: If the rule's destination is an IP address range in CIDR notation.
Remarks

Required

NextHopDrgAttachmentId

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

The OCID of the next hop DRG attachment. The next hop DRG attachment is responsible for reaching the network destination.

Remarks

Required

In this article
Back to top