Class RouteRule
A mapping between a destination IP address range and a virtual device to route matching packets to (a target).
Inherited Members
Namespace: Oci.VnmonitoringService.Models
Assembly: OCI.DotNetSDK.Vnmonitoring.dll
Syntax
public class RouteRule
Properties
CidrBlock
Declaration
[JsonProperty(PropertyName = "cidrBlock")]
public string CidrBlock { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Deprecated. Instead use |
Destination
Declaration
[JsonProperty(PropertyName = "destination")]
public string Destination { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Conceptually, this is the range of IP addresses used for matching when routing
traffic. Required if you provide a
|
DestinationType
Declaration
[JsonProperty(PropertyName = "destinationType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public RouteRule.DestinationTypeEnum? DestinationType { get; set; }
Property Value
| Type | Description |
|---|---|
| RouteRule.DestinationTypeEnum? | Type of destination for the rule. Required if you provide a
|
NetworkEntityId
Declaration
[Required(ErrorMessage = "NetworkEntityId is required.")]
[JsonProperty(PropertyName = "networkEntityId")]
public string NetworkEntityId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The OCID for the route rule's target. For information about the type of targets you can specify, see Route Tables. |
Remarks
Required