1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Core
  5. DrgRouteTableRouteRule
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

oci.Core.DrgRouteTableRouteRule

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 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("test_drg_route_table_route_rule", {
        drgRouteTableId: testDrgRouteTable.id,
        destination: drgRouteTableRouteRuleRouteRulesDestination,
        destinationType: drgRouteTableRouteRuleRouteRulesDestinationType,
        nextHopDrgAttachmentId: testDrgAttachment.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_drg_route_table_route_rule = oci.core.DrgRouteTableRouteRule("test_drg_route_table_route_rule",
        drg_route_table_id=test_drg_route_table["id"],
        destination=drg_route_table_route_rule_route_rules_destination,
        destination_type=drg_route_table_route_rule_route_rules_destination_type,
        next_hop_drg_attachment_id=test_drg_attachment["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Core"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := Core.NewDrgRouteTableRouteRule(ctx, "test_drg_route_table_route_rule", &Core.DrgRouteTableRouteRuleArgs{
    			DrgRouteTableId:        pulumi.Any(testDrgRouteTable.Id),
    			Destination:            pulumi.Any(drgRouteTableRouteRuleRouteRulesDestination),
    			DestinationType:        pulumi.Any(drgRouteTableRouteRuleRouteRulesDestinationType),
    			NextHopDrgAttachmentId: pulumi.Any(testDrgAttachment.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("test_drg_route_table_route_rule", new()
        {
            DrgRouteTableId = testDrgRouteTable.Id,
            Destination = drgRouteTableRouteRuleRouteRulesDestination,
            DestinationType = drgRouteTableRouteRuleRouteRulesDestinationType,
            NextHopDrgAttachmentId = testDrgAttachment.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(testDrgRouteTable.id())
                .destination(drgRouteTableRouteRuleRouteRulesDestination)
                .destinationType(drgRouteTableRouteRuleRouteRulesDestinationType)
                .nextHopDrgAttachmentId(testDrgAttachment.id())
                .build());
    
        }
    }
    
    resources:
      testDrgRouteTableRouteRule:
        type: oci:Core:DrgRouteTableRouteRule
        name: test_drg_route_table_route_rule
        properties:
          drgRouteTableId: ${testDrgRouteTable.id}
          destination: ${drgRouteTableRouteRuleRouteRulesDestination}
          destinationType: ${drgRouteTableRouteRuleRouteRulesDestinationType}
          nextHopDrgAttachmentId: ${testDrgAttachment.id}
    

    Create DrgRouteTableRouteRule Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DrgRouteTableRouteRule(name: string, args: DrgRouteTableRouteRuleArgs, opts?: CustomResourceOptions);
    @overload
    def DrgRouteTableRouteRule(resource_name: str,
                               args: DrgRouteTableRouteRuleArgs,
                               opts: Optional[ResourceOptions] = None)
    
    @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)
    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.
    
    

    Parameters

    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.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var drgRouteTableRouteRuleResource = new Oci.Core.DrgRouteTableRouteRule("drgRouteTableRouteRuleResource", new()
    {
        Destination = "string",
        DestinationType = "string",
        DrgRouteTableId = "string",
        NextHopDrgAttachmentId = "string",
    });
    
    example, err := Core.NewDrgRouteTableRouteRule(ctx, "drgRouteTableRouteRuleResource", &Core.DrgRouteTableRouteRuleArgs{
    	Destination:            pulumi.String("string"),
    	DestinationType:        pulumi.String("string"),
    	DrgRouteTableId:        pulumi.String("string"),
    	NextHopDrgAttachmentId: pulumi.String("string"),
    })
    
    var drgRouteTableRouteRuleResource = new DrgRouteTableRouteRule("drgRouteTableRouteRuleResource", DrgRouteTableRouteRuleArgs.builder()
        .destination("string")
        .destinationType("string")
        .drgRouteTableId("string")
        .nextHopDrgAttachmentId("string")
        .build());
    
    drg_route_table_route_rule_resource = oci.core.DrgRouteTableRouteRule("drgRouteTableRouteRuleResource",
        destination="string",
        destination_type="string",
        drg_route_table_id="string",
        next_hop_drg_attachment_id="string")
    
    const drgRouteTableRouteRuleResource = new oci.core.DrgRouteTableRouteRule("drgRouteTableRouteRuleResource", {
        destination: "string",
        destinationType: "string",
        drgRouteTableId: "string",
        nextHopDrgAttachmentId: "string",
    });
    
    type: oci:Core:DrgRouteTableRouteRule
    properties:
        destination: string
        destinationType: string
        drgRouteTableId: string
        nextHopDrgAttachmentId: string
    

    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:

    • CIDR_BLOCK: If the rule's destination is an IP address range in CIDR notation.
    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:

    • CIDR_BLOCK: If the rule's destination is an IP address range in CIDR notation.
    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:

    • CIDR_BLOCK: If the rule's destination is an IP address range in CIDR notation.
    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:

    • CIDR_BLOCK: If the rule's destination is an IP address range in CIDR notation.
    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:

    • CIDR_BLOCK: If the rule's destination is an IP address range in CIDR notation.
    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:

    • CIDR_BLOCK: If the rule's destination is an IP address range in CIDR notation.
    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, string>
    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]string
    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,String>
    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]: string}
    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, str]
    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<String>
    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, str]] = 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, string>
    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:

    • CIDR_BLOCK: If the rule's destination is an IP address range in CIDR notation.
    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]string
    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:

    • CIDR_BLOCK: If the rule's destination is an IP address range in CIDR notation.
    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,String>
    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:

    • CIDR_BLOCK: If the rule's destination is an IP address range in CIDR notation.
    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]: string}
    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:

    • CIDR_BLOCK: If the rule's destination is an IP address range in CIDR notation.
    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, str]
    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:

    • CIDR_BLOCK: If the rule's destination is an IP address range in CIDR notation.
    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<String>
    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:

    • CIDR_BLOCK: If the rule's destination is an IP address range in CIDR notation.
    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}"
    

    To learn more about importing existing cloud resources, see Importing resources.

    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 v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi