1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Core
  5. DrgRouteTableRouteRule
Oracle Cloud Infrastructure v1.29.0 published on Thursday, Mar 28, 2024 by Pulumi

oci.Core.DrgRouteTableRouteRule

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.29.0 published on Thursday, Mar 28, 2024 by Pulumi

    This resource provides the Drg Route Table Route Rule resource in Oracle Cloud Infrastructure Core service.

    Adds one static route rule to the specified DRG route table.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testDrgRouteTableRouteRule = new oci.core.DrgRouteTableRouteRule("testDrgRouteTableRouteRule", {
        drgRouteTableId: oci_core_drg_route_table.test_drg_route_table.id,
        destination: _var.drg_route_table_route_rule_route_rules_destination,
        destinationType: _var.drg_route_table_route_rule_route_rules_destination_type,
        nextHopDrgAttachmentId: oci_core_drg_attachment.test_drg_attachment.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_drg_route_table_route_rule = oci.core.DrgRouteTableRouteRule("testDrgRouteTableRouteRule",
        drg_route_table_id=oci_core_drg_route_table["test_drg_route_table"]["id"],
        destination=var["drg_route_table_route_rule_route_rules_destination"],
        destination_type=var["drg_route_table_route_rule_route_rules_destination_type"],
        next_hop_drg_attachment_id=oci_core_drg_attachment["test_drg_attachment"]["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/Core"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := Core.NewDrgRouteTableRouteRule(ctx, "testDrgRouteTableRouteRule", &Core.DrgRouteTableRouteRuleArgs{
    			DrgRouteTableId:        pulumi.Any(oci_core_drg_route_table.Test_drg_route_table.Id),
    			Destination:            pulumi.Any(_var.Drg_route_table_route_rule_route_rules_destination),
    			DestinationType:        pulumi.Any(_var.Drg_route_table_route_rule_route_rules_destination_type),
    			NextHopDrgAttachmentId: pulumi.Any(oci_core_drg_attachment.Test_drg_attachment.Id),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testDrgRouteTableRouteRule = new Oci.Core.DrgRouteTableRouteRule("testDrgRouteTableRouteRule", new()
        {
            DrgRouteTableId = oci_core_drg_route_table.Test_drg_route_table.Id,
            Destination = @var.Drg_route_table_route_rule_route_rules_destination,
            DestinationType = @var.Drg_route_table_route_rule_route_rules_destination_type,
            NextHopDrgAttachmentId = oci_core_drg_attachment.Test_drg_attachment.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Core.DrgRouteTableRouteRule;
    import com.pulumi.oci.Core.DrgRouteTableRouteRuleArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var testDrgRouteTableRouteRule = new DrgRouteTableRouteRule("testDrgRouteTableRouteRule", DrgRouteTableRouteRuleArgs.builder()        
                .drgRouteTableId(oci_core_drg_route_table.test_drg_route_table().id())
                .destination(var_.drg_route_table_route_rule_route_rules_destination())
                .destinationType(var_.drg_route_table_route_rule_route_rules_destination_type())
                .nextHopDrgAttachmentId(oci_core_drg_attachment.test_drg_attachment().id())
                .build());
    
        }
    }
    
    resources:
      testDrgRouteTableRouteRule:
        type: oci:Core:DrgRouteTableRouteRule
        properties:
          #Required
          drgRouteTableId: ${oci_core_drg_route_table.test_drg_route_table.id}
          destination: ${var.drg_route_table_route_rule_route_rules_destination}
          destinationType: ${var.drg_route_table_route_rule_route_rules_destination_type}
          nextHopDrgAttachmentId: ${oci_core_drg_attachment.test_drg_attachment.id}
    

    Create DrgRouteTableRouteRule Resource

    new DrgRouteTableRouteRule(name: string, args: DrgRouteTableRouteRuleArgs, opts?: CustomResourceOptions);
    @overload
    def DrgRouteTableRouteRule(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               destination: Optional[str] = None,
                               destination_type: Optional[str] = None,
                               drg_route_table_id: Optional[str] = None,
                               next_hop_drg_attachment_id: Optional[str] = None)
    @overload
    def DrgRouteTableRouteRule(resource_name: str,
                               args: DrgRouteTableRouteRuleArgs,
                               opts: Optional[ResourceOptions] = None)
    func NewDrgRouteTableRouteRule(ctx *Context, name string, args DrgRouteTableRouteRuleArgs, opts ...ResourceOption) (*DrgRouteTableRouteRule, error)
    public DrgRouteTableRouteRule(string name, DrgRouteTableRouteRuleArgs args, CustomResourceOptions? opts = null)
    public DrgRouteTableRouteRule(String name, DrgRouteTableRouteRuleArgs args)
    public DrgRouteTableRouteRule(String name, DrgRouteTableRouteRuleArgs args, CustomResourceOptions options)
    
    type: oci:Core:DrgRouteTableRouteRule
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args DrgRouteTableRouteRuleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args DrgRouteTableRouteRuleArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args DrgRouteTableRouteRuleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DrgRouteTableRouteRuleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DrgRouteTableRouteRuleArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    DrgRouteTableRouteRule Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The DrgRouteTableRouteRule resource accepts the following input properties:

    Destination string

    (Updatable) 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 or IPv6 CIDR. For example: 192.168.1.0/24 or 2001:0db8:0123:45::/56.
    DestinationType string
    Type of destination for the rule. Required if direction = EGRESS. Allowed values:
    DrgRouteTableId string

    The OCID of the DRG route table.

    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.
    NextHopDrgAttachmentId string

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

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Destination string

    (Updatable) 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 or IPv6 CIDR. For example: 192.168.1.0/24 or 2001:0db8:0123:45::/56.
    DestinationType string
    Type of destination for the rule. Required if direction = EGRESS. Allowed values:
    DrgRouteTableId string

    The OCID of the DRG route table.

    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.
    NextHopDrgAttachmentId string

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

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    destination String

    (Updatable) 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 or IPv6 CIDR. For example: 192.168.1.0/24 or 2001:0db8:0123:45::/56.
    destinationType String
    Type of destination for the rule. Required if direction = EGRESS. Allowed values:
    drgRouteTableId String

    The OCID of the DRG route table.

    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.
    nextHopDrgAttachmentId String

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

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    destination string

    (Updatable) 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 or IPv6 CIDR. For example: 192.168.1.0/24 or 2001:0db8:0123:45::/56.
    destinationType string
    Type of destination for the rule. Required if direction = EGRESS. Allowed values:
    drgRouteTableId string

    The OCID of the DRG route table.

    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.
    nextHopDrgAttachmentId string

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

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    destination str

    (Updatable) 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 or IPv6 CIDR. For example: 192.168.1.0/24 or 2001:0db8:0123:45::/56.
    destination_type str
    Type of destination for the rule. Required if direction = EGRESS. Allowed values:
    drg_route_table_id str

    The OCID of the DRG route table.

    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.
    next_hop_drg_attachment_id str

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

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    destination String

    (Updatable) 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 or IPv6 CIDR. For example: 192.168.1.0/24 or 2001:0db8:0123:45::/56.
    destinationType String
    Type of destination for the rule. Required if direction = EGRESS. Allowed values:
    drgRouteTableId String

    The OCID of the DRG route table.

    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.
    nextHopDrgAttachmentId String

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

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DrgRouteTableRouteRule resource produces the following output properties:

    Attributes Dictionary<string, object>
    Additional properties for the route, computed by the service.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsBlackhole bool
    Indicates that if the next hop attachment does not exist, so traffic for this route is discarded without notification.
    IsConflict bool
    Indicates that the route was not imported due to a conflict between route rules.
    RouteProvenance string
    The earliest origin of a route. If a route is advertised to a DRG through an IPsec tunnel attachment, and is propagated to peered DRGs via RPC attachments, the route's provenance in the peered DRGs remains IPSEC_TUNNEL, because that is the earliest origin.
    RouteType string
    You can specify static routes for the DRG route table using the API. The DRG learns dynamic routes from the DRG attachments using various routing protocols.
    Attributes map[string]interface{}
    Additional properties for the route, computed by the service.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsBlackhole bool
    Indicates that if the next hop attachment does not exist, so traffic for this route is discarded without notification.
    IsConflict bool
    Indicates that the route was not imported due to a conflict between route rules.
    RouteProvenance string
    The earliest origin of a route. If a route is advertised to a DRG through an IPsec tunnel attachment, and is propagated to peered DRGs via RPC attachments, the route's provenance in the peered DRGs remains IPSEC_TUNNEL, because that is the earliest origin.
    RouteType string
    You can specify static routes for the DRG route table using the API. The DRG learns dynamic routes from the DRG attachments using various routing protocols.
    attributes Map<String,Object>
    Additional properties for the route, computed by the service.
    id String
    The provider-assigned unique ID for this managed resource.
    isBlackhole Boolean
    Indicates that if the next hop attachment does not exist, so traffic for this route is discarded without notification.
    isConflict Boolean
    Indicates that the route was not imported due to a conflict between route rules.
    routeProvenance String
    The earliest origin of a route. If a route is advertised to a DRG through an IPsec tunnel attachment, and is propagated to peered DRGs via RPC attachments, the route's provenance in the peered DRGs remains IPSEC_TUNNEL, because that is the earliest origin.
    routeType String
    You can specify static routes for the DRG route table using the API. The DRG learns dynamic routes from the DRG attachments using various routing protocols.
    attributes {[key: string]: any}
    Additional properties for the route, computed by the service.
    id string
    The provider-assigned unique ID for this managed resource.
    isBlackhole boolean
    Indicates that if the next hop attachment does not exist, so traffic for this route is discarded without notification.
    isConflict boolean
    Indicates that the route was not imported due to a conflict between route rules.
    routeProvenance string
    The earliest origin of a route. If a route is advertised to a DRG through an IPsec tunnel attachment, and is propagated to peered DRGs via RPC attachments, the route's provenance in the peered DRGs remains IPSEC_TUNNEL, because that is the earliest origin.
    routeType string
    You can specify static routes for the DRG route table using the API. The DRG learns dynamic routes from the DRG attachments using various routing protocols.
    attributes Mapping[str, Any]
    Additional properties for the route, computed by the service.
    id str
    The provider-assigned unique ID for this managed resource.
    is_blackhole bool
    Indicates that if the next hop attachment does not exist, so traffic for this route is discarded without notification.
    is_conflict bool
    Indicates that the route was not imported due to a conflict between route rules.
    route_provenance str
    The earliest origin of a route. If a route is advertised to a DRG through an IPsec tunnel attachment, and is propagated to peered DRGs via RPC attachments, the route's provenance in the peered DRGs remains IPSEC_TUNNEL, because that is the earliest origin.
    route_type str
    You can specify static routes for the DRG route table using the API. The DRG learns dynamic routes from the DRG attachments using various routing protocols.
    attributes Map<Any>
    Additional properties for the route, computed by the service.
    id String
    The provider-assigned unique ID for this managed resource.
    isBlackhole Boolean
    Indicates that if the next hop attachment does not exist, so traffic for this route is discarded without notification.
    isConflict Boolean
    Indicates that the route was not imported due to a conflict between route rules.
    routeProvenance String
    The earliest origin of a route. If a route is advertised to a DRG through an IPsec tunnel attachment, and is propagated to peered DRGs via RPC attachments, the route's provenance in the peered DRGs remains IPSEC_TUNNEL, because that is the earliest origin.
    routeType String
    You can specify static routes for the DRG route table using the API. The DRG learns dynamic routes from the DRG attachments using various routing protocols.

    Look up Existing DrgRouteTableRouteRule Resource

    Get an existing DrgRouteTableRouteRule resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: DrgRouteTableRouteRuleState, opts?: CustomResourceOptions): DrgRouteTableRouteRule
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            attributes: Optional[Mapping[str, Any]] = None,
            destination: Optional[str] = None,
            destination_type: Optional[str] = None,
            drg_route_table_id: Optional[str] = None,
            is_blackhole: Optional[bool] = None,
            is_conflict: Optional[bool] = None,
            next_hop_drg_attachment_id: Optional[str] = None,
            route_provenance: Optional[str] = None,
            route_type: Optional[str] = None) -> DrgRouteTableRouteRule
    func GetDrgRouteTableRouteRule(ctx *Context, name string, id IDInput, state *DrgRouteTableRouteRuleState, opts ...ResourceOption) (*DrgRouteTableRouteRule, error)
    public static DrgRouteTableRouteRule Get(string name, Input<string> id, DrgRouteTableRouteRuleState? state, CustomResourceOptions? opts = null)
    public static DrgRouteTableRouteRule get(String name, Output<String> id, DrgRouteTableRouteRuleState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Attributes Dictionary<string, object>
    Additional properties for the route, computed by the service.
    Destination string

    (Updatable) 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 or IPv6 CIDR. For example: 192.168.1.0/24 or 2001:0db8:0123:45::/56.
    DestinationType string
    Type of destination for the rule. Required if direction = EGRESS. Allowed values:
    DrgRouteTableId string

    The OCID of the DRG route table.

    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.
    IsBlackhole bool
    Indicates that if the next hop attachment does not exist, so traffic for this route is discarded without notification.
    IsConflict bool
    Indicates that the route was not imported due to a conflict between route rules.
    NextHopDrgAttachmentId string

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

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    RouteProvenance string
    The earliest origin of a route. If a route is advertised to a DRG through an IPsec tunnel attachment, and is propagated to peered DRGs via RPC attachments, the route's provenance in the peered DRGs remains IPSEC_TUNNEL, because that is the earliest origin.
    RouteType string
    You can specify static routes for the DRG route table using the API. The DRG learns dynamic routes from the DRG attachments using various routing protocols.
    Attributes map[string]interface{}
    Additional properties for the route, computed by the service.
    Destination string

    (Updatable) 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 or IPv6 CIDR. For example: 192.168.1.0/24 or 2001:0db8:0123:45::/56.
    DestinationType string
    Type of destination for the rule. Required if direction = EGRESS. Allowed values:
    DrgRouteTableId string

    The OCID of the DRG route table.

    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.
    IsBlackhole bool
    Indicates that if the next hop attachment does not exist, so traffic for this route is discarded without notification.
    IsConflict bool
    Indicates that the route was not imported due to a conflict between route rules.
    NextHopDrgAttachmentId string

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

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    RouteProvenance string
    The earliest origin of a route. If a route is advertised to a DRG through an IPsec tunnel attachment, and is propagated to peered DRGs via RPC attachments, the route's provenance in the peered DRGs remains IPSEC_TUNNEL, because that is the earliest origin.
    RouteType string
    You can specify static routes for the DRG route table using the API. The DRG learns dynamic routes from the DRG attachments using various routing protocols.
    attributes Map<String,Object>
    Additional properties for the route, computed by the service.
    destination String

    (Updatable) 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 or IPv6 CIDR. For example: 192.168.1.0/24 or 2001:0db8:0123:45::/56.
    destinationType String
    Type of destination for the rule. Required if direction = EGRESS. Allowed values:
    drgRouteTableId String

    The OCID of the DRG route table.

    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.
    isBlackhole Boolean
    Indicates that if the next hop attachment does not exist, so traffic for this route is discarded without notification.
    isConflict Boolean
    Indicates that the route was not imported due to a conflict between route rules.
    nextHopDrgAttachmentId String

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

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    routeProvenance String
    The earliest origin of a route. If a route is advertised to a DRG through an IPsec tunnel attachment, and is propagated to peered DRGs via RPC attachments, the route's provenance in the peered DRGs remains IPSEC_TUNNEL, because that is the earliest origin.
    routeType String
    You can specify static routes for the DRG route table using the API. The DRG learns dynamic routes from the DRG attachments using various routing protocols.
    attributes {[key: string]: any}
    Additional properties for the route, computed by the service.
    destination string

    (Updatable) 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 or IPv6 CIDR. For example: 192.168.1.0/24 or 2001:0db8:0123:45::/56.
    destinationType string
    Type of destination for the rule. Required if direction = EGRESS. Allowed values:
    drgRouteTableId string

    The OCID of the DRG route table.

    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.
    isBlackhole boolean
    Indicates that if the next hop attachment does not exist, so traffic for this route is discarded without notification.
    isConflict boolean
    Indicates that the route was not imported due to a conflict between route rules.
    nextHopDrgAttachmentId string

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

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    routeProvenance string
    The earliest origin of a route. If a route is advertised to a DRG through an IPsec tunnel attachment, and is propagated to peered DRGs via RPC attachments, the route's provenance in the peered DRGs remains IPSEC_TUNNEL, because that is the earliest origin.
    routeType string
    You can specify static routes for the DRG route table using the API. The DRG learns dynamic routes from the DRG attachments using various routing protocols.
    attributes Mapping[str, Any]
    Additional properties for the route, computed by the service.
    destination str

    (Updatable) 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 or IPv6 CIDR. For example: 192.168.1.0/24 or 2001:0db8:0123:45::/56.
    destination_type str
    Type of destination for the rule. Required if direction = EGRESS. Allowed values:
    drg_route_table_id str

    The OCID of the DRG route table.

    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.
    is_blackhole bool
    Indicates that if the next hop attachment does not exist, so traffic for this route is discarded without notification.
    is_conflict bool
    Indicates that the route was not imported due to a conflict between route rules.
    next_hop_drg_attachment_id str

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

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    route_provenance str
    The earliest origin of a route. If a route is advertised to a DRG through an IPsec tunnel attachment, and is propagated to peered DRGs via RPC attachments, the route's provenance in the peered DRGs remains IPSEC_TUNNEL, because that is the earliest origin.
    route_type str
    You can specify static routes for the DRG route table using the API. The DRG learns dynamic routes from the DRG attachments using various routing protocols.
    attributes Map<Any>
    Additional properties for the route, computed by the service.
    destination String

    (Updatable) 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 or IPv6 CIDR. For example: 192.168.1.0/24 or 2001:0db8:0123:45::/56.
    destinationType String
    Type of destination for the rule. Required if direction = EGRESS. Allowed values:
    drgRouteTableId String

    The OCID of the DRG route table.

    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.
    isBlackhole Boolean
    Indicates that if the next hop attachment does not exist, so traffic for this route is discarded without notification.
    isConflict Boolean
    Indicates that the route was not imported due to a conflict between route rules.
    nextHopDrgAttachmentId String

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

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    routeProvenance String
    The earliest origin of a route. If a route is advertised to a DRG through an IPsec tunnel attachment, and is propagated to peered DRGs via RPC attachments, the route's provenance in the peered DRGs remains IPSEC_TUNNEL, because that is the earliest origin.
    routeType String
    You can specify static routes for the DRG route table using the API. The DRG learns dynamic routes from the DRG attachments using various routing protocols.

    Import

    DrgRouteTableRouteRule can be imported using the id, e.g.

    $ pulumi import oci:Core/drgRouteTableRouteRule:DrgRouteTableRouteRule test_drg_route_table_route_rule "drgRouteTables/{drgRouteTableId}/routeRules/{id}"
    

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.29.0 published on Thursday, Mar 28, 2024 by Pulumi