Class AddDrgRouteRuleDetails
Details needed when adding a DRG route rule.
Inherited Members
Namespace: Oci.VnmonitoringService.Models
Assembly: OCI.DotNetSDK.Vnmonitoring.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.
|
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:
|
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