1. Packages
  2. Ibm Provider
  3. API Docs
  4. PiNetworkPeerRouteFilter
ibm 1.84.0 published on Monday, Oct 13, 2025 by ibm-cloud

ibm.PiNetworkPeerRouteFilter

Deploy with Pulumi
ibm logo
ibm 1.84.0 published on Monday, Oct 13, 2025 by ibm-cloud

    Create and delete a network peer route filter with this resource for on-prem locations.

    Example Usage

    The following example creates a network peer route filter for your Power Systems Virtual Server.

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const piNetworkPeerRouteFilterInstance = new ibm.PiNetworkPeerRouteFilter("piNetworkPeerRouteFilterInstance", {
        piCloudInstanceId: "6f8e2a9d-3b4c-4e4f-8e8d-f7e7e1e23456",
        piDirection: "import",
        piGe: 25,
        piIndex: 10,
        piLe: 30,
        piNetworkPeerId: "7e1c3b2a-9f0d-4e5f-a1bc-def012345678",
        piPrefix: "192.168.91.0/24",
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    pi_network_peer_route_filter_instance = ibm.PiNetworkPeerRouteFilter("piNetworkPeerRouteFilterInstance",
        pi_cloud_instance_id="6f8e2a9d-3b4c-4e4f-8e8d-f7e7e1e23456",
        pi_direction="import",
        pi_ge=25,
        pi_index=10,
        pi_le=30,
        pi_network_peer_id="7e1c3b2a-9f0d-4e5f-a1bc-def012345678",
        pi_prefix="192.168.91.0/24")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ibm.NewPiNetworkPeerRouteFilter(ctx, "piNetworkPeerRouteFilterInstance", &ibm.PiNetworkPeerRouteFilterArgs{
    			PiCloudInstanceId: pulumi.String("6f8e2a9d-3b4c-4e4f-8e8d-f7e7e1e23456"),
    			PiDirection:       pulumi.String("import"),
    			PiGe:              pulumi.Float64(25),
    			PiIndex:           pulumi.Float64(10),
    			PiLe:              pulumi.Float64(30),
    			PiNetworkPeerId:   pulumi.String("7e1c3b2a-9f0d-4e5f-a1bc-def012345678"),
    			PiPrefix:          pulumi.String("192.168.91.0/24"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ibm = Pulumi.Ibm;
    
    return await Deployment.RunAsync(() => 
    {
        var piNetworkPeerRouteFilterInstance = new Ibm.PiNetworkPeerRouteFilter("piNetworkPeerRouteFilterInstance", new()
        {
            PiCloudInstanceId = "6f8e2a9d-3b4c-4e4f-8e8d-f7e7e1e23456",
            PiDirection = "import",
            PiGe = 25,
            PiIndex = 10,
            PiLe = 30,
            PiNetworkPeerId = "7e1c3b2a-9f0d-4e5f-a1bc-def012345678",
            PiPrefix = "192.168.91.0/24",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.PiNetworkPeerRouteFilter;
    import com.pulumi.ibm.PiNetworkPeerRouteFilterArgs;
    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 piNetworkPeerRouteFilterInstance = new PiNetworkPeerRouteFilter("piNetworkPeerRouteFilterInstance", PiNetworkPeerRouteFilterArgs.builder()
                .piCloudInstanceId("6f8e2a9d-3b4c-4e4f-8e8d-f7e7e1e23456")
                .piDirection("import")
                .piGe(25)
                .piIndex(10)
                .piLe(30)
                .piNetworkPeerId("7e1c3b2a-9f0d-4e5f-a1bc-def012345678")
                .piPrefix("192.168.91.0/24")
                .build());
    
        }
    }
    
    resources:
      piNetworkPeerRouteFilterInstance:
        type: ibm:PiNetworkPeerRouteFilter
        properties:
          piCloudInstanceId: 6f8e2a9d-3b4c-4e4f-8e8d-f7e7e1e23456
          piDirection: import
          piGe: 25
          piIndex: 10
          piLe: 30
          piNetworkPeerId: 7e1c3b2a-9f0d-4e5f-a1bc-def012345678
          piPrefix: 192.168.91.0/24
    

    Notes

    • Please find supported Regions for endpoints.
    • If a Power cloud instance is provisioned at lon04, The provider level attributes should be as follows:
      • region - lon
      • zone - lon04

    Example usage:

    import * as pulumi from "@pulumi/pulumi";
    
    import pulumi
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    
    return await Deployment.RunAsync(() => 
    {
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    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) {
        }
    }
    
    {}
    

    Create PiNetworkPeerRouteFilter Resource

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

    Constructor syntax

    new PiNetworkPeerRouteFilter(name: string, args: PiNetworkPeerRouteFilterArgs, opts?: CustomResourceOptions);
    @overload
    def PiNetworkPeerRouteFilter(resource_name: str,
                                 args: PiNetworkPeerRouteFilterArgs,
                                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def PiNetworkPeerRouteFilter(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 pi_cloud_instance_id: Optional[str] = None,
                                 pi_direction: Optional[str] = None,
                                 pi_index: Optional[float] = None,
                                 pi_network_peer_id: Optional[str] = None,
                                 pi_prefix: Optional[str] = None,
                                 pi_action: Optional[str] = None,
                                 pi_ge: Optional[float] = None,
                                 pi_le: Optional[float] = None,
                                 pi_network_peer_route_filter_id: Optional[str] = None,
                                 timeouts: Optional[PiNetworkPeerRouteFilterTimeoutsArgs] = None)
    func NewPiNetworkPeerRouteFilter(ctx *Context, name string, args PiNetworkPeerRouteFilterArgs, opts ...ResourceOption) (*PiNetworkPeerRouteFilter, error)
    public PiNetworkPeerRouteFilter(string name, PiNetworkPeerRouteFilterArgs args, CustomResourceOptions? opts = null)
    public PiNetworkPeerRouteFilter(String name, PiNetworkPeerRouteFilterArgs args)
    public PiNetworkPeerRouteFilter(String name, PiNetworkPeerRouteFilterArgs args, CustomResourceOptions options)
    
    type: ibm:PiNetworkPeerRouteFilter
    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 PiNetworkPeerRouteFilterArgs
    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 PiNetworkPeerRouteFilterArgs
    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 PiNetworkPeerRouteFilterArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PiNetworkPeerRouteFilterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PiNetworkPeerRouteFilterArgs
    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 piNetworkPeerRouteFilterResource = new Ibm.PiNetworkPeerRouteFilter("piNetworkPeerRouteFilterResource", new()
    {
        PiCloudInstanceId = "string",
        PiDirection = "string",
        PiIndex = 0,
        PiNetworkPeerId = "string",
        PiPrefix = "string",
        PiAction = "string",
        PiGe = 0,
        PiLe = 0,
        PiNetworkPeerRouteFilterId = "string",
        Timeouts = new Ibm.Inputs.PiNetworkPeerRouteFilterTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
        },
    });
    
    example, err := ibm.NewPiNetworkPeerRouteFilter(ctx, "piNetworkPeerRouteFilterResource", &ibm.PiNetworkPeerRouteFilterArgs{
    	PiCloudInstanceId:          pulumi.String("string"),
    	PiDirection:                pulumi.String("string"),
    	PiIndex:                    pulumi.Float64(0),
    	PiNetworkPeerId:            pulumi.String("string"),
    	PiPrefix:                   pulumi.String("string"),
    	PiAction:                   pulumi.String("string"),
    	PiGe:                       pulumi.Float64(0),
    	PiLe:                       pulumi.Float64(0),
    	PiNetworkPeerRouteFilterId: pulumi.String("string"),
    	Timeouts: &ibm.PiNetworkPeerRouteFilterTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    	},
    })
    
    var piNetworkPeerRouteFilterResource = new PiNetworkPeerRouteFilter("piNetworkPeerRouteFilterResource", PiNetworkPeerRouteFilterArgs.builder()
        .piCloudInstanceId("string")
        .piDirection("string")
        .piIndex(0.0)
        .piNetworkPeerId("string")
        .piPrefix("string")
        .piAction("string")
        .piGe(0.0)
        .piLe(0.0)
        .piNetworkPeerRouteFilterId("string")
        .timeouts(PiNetworkPeerRouteFilterTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .build())
        .build());
    
    pi_network_peer_route_filter_resource = ibm.PiNetworkPeerRouteFilter("piNetworkPeerRouteFilterResource",
        pi_cloud_instance_id="string",
        pi_direction="string",
        pi_index=0,
        pi_network_peer_id="string",
        pi_prefix="string",
        pi_action="string",
        pi_ge=0,
        pi_le=0,
        pi_network_peer_route_filter_id="string",
        timeouts={
            "create": "string",
            "delete": "string",
        })
    
    const piNetworkPeerRouteFilterResource = new ibm.PiNetworkPeerRouteFilter("piNetworkPeerRouteFilterResource", {
        piCloudInstanceId: "string",
        piDirection: "string",
        piIndex: 0,
        piNetworkPeerId: "string",
        piPrefix: "string",
        piAction: "string",
        piGe: 0,
        piLe: 0,
        piNetworkPeerRouteFilterId: "string",
        timeouts: {
            create: "string",
            "delete": "string",
        },
    });
    
    type: ibm:PiNetworkPeerRouteFilter
    properties:
        piAction: string
        piCloudInstanceId: string
        piDirection: string
        piGe: 0
        piIndex: 0
        piLe: 0
        piNetworkPeerId: string
        piNetworkPeerRouteFilterId: string
        piPrefix: string
        timeouts:
            create: string
            delete: string
    

    PiNetworkPeerRouteFilter Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The PiNetworkPeerRouteFilter resource accepts the following input properties:

    PiCloudInstanceId string
    The GUID of the service instance associated with an account.
    PiDirection string
    Direction of the filter. Allowable values are: import, export.
    PiIndex double
    Priority or order of the filter.
    PiNetworkPeerId string
    Network peer ID.
    PiPrefix string
    IP prefix representing an address and mask length of the prefix-set.
    PiAction string
    Action of the filter. Allowable values are: allow, deny.
    PiGe double
    The minimum matching length of the prefix-set(1 ≤ value ≤ 32 & value ≤ LE).
    PiLe double
    The maximum matching length of the prefix-set( 1 ≤ value ≤ 32 & value >= GE).
    PiNetworkPeerRouteFilterId string
    (String) The unique identifier of the network peer route filter resource. Composed of <pi_cloud_instance_id>/<pi_network_peer_id>/<route_filter_id>
    Timeouts PiNetworkPeerRouteFilterTimeouts
    PiCloudInstanceId string
    The GUID of the service instance associated with an account.
    PiDirection string
    Direction of the filter. Allowable values are: import, export.
    PiIndex float64
    Priority or order of the filter.
    PiNetworkPeerId string
    Network peer ID.
    PiPrefix string
    IP prefix representing an address and mask length of the prefix-set.
    PiAction string
    Action of the filter. Allowable values are: allow, deny.
    PiGe float64
    The minimum matching length of the prefix-set(1 ≤ value ≤ 32 & value ≤ LE).
    PiLe float64
    The maximum matching length of the prefix-set( 1 ≤ value ≤ 32 & value >= GE).
    PiNetworkPeerRouteFilterId string
    (String) The unique identifier of the network peer route filter resource. Composed of <pi_cloud_instance_id>/<pi_network_peer_id>/<route_filter_id>
    Timeouts PiNetworkPeerRouteFilterTimeoutsArgs
    piCloudInstanceId String
    The GUID of the service instance associated with an account.
    piDirection String
    Direction of the filter. Allowable values are: import, export.
    piIndex Double
    Priority or order of the filter.
    piNetworkPeerId String
    Network peer ID.
    piPrefix String
    IP prefix representing an address and mask length of the prefix-set.
    piAction String
    Action of the filter. Allowable values are: allow, deny.
    piGe Double
    The minimum matching length of the prefix-set(1 ≤ value ≤ 32 & value ≤ LE).
    piLe Double
    The maximum matching length of the prefix-set( 1 ≤ value ≤ 32 & value >= GE).
    piNetworkPeerRouteFilterId String
    (String) The unique identifier of the network peer route filter resource. Composed of <pi_cloud_instance_id>/<pi_network_peer_id>/<route_filter_id>
    timeouts PiNetworkPeerRouteFilterTimeouts
    piCloudInstanceId string
    The GUID of the service instance associated with an account.
    piDirection string
    Direction of the filter. Allowable values are: import, export.
    piIndex number
    Priority or order of the filter.
    piNetworkPeerId string
    Network peer ID.
    piPrefix string
    IP prefix representing an address and mask length of the prefix-set.
    piAction string
    Action of the filter. Allowable values are: allow, deny.
    piGe number
    The minimum matching length of the prefix-set(1 ≤ value ≤ 32 & value ≤ LE).
    piLe number
    The maximum matching length of the prefix-set( 1 ≤ value ≤ 32 & value >= GE).
    piNetworkPeerRouteFilterId string
    (String) The unique identifier of the network peer route filter resource. Composed of <pi_cloud_instance_id>/<pi_network_peer_id>/<route_filter_id>
    timeouts PiNetworkPeerRouteFilterTimeouts
    pi_cloud_instance_id str
    The GUID of the service instance associated with an account.
    pi_direction str
    Direction of the filter. Allowable values are: import, export.
    pi_index float
    Priority or order of the filter.
    pi_network_peer_id str
    Network peer ID.
    pi_prefix str
    IP prefix representing an address and mask length of the prefix-set.
    pi_action str
    Action of the filter. Allowable values are: allow, deny.
    pi_ge float
    The minimum matching length of the prefix-set(1 ≤ value ≤ 32 & value ≤ LE).
    pi_le float
    The maximum matching length of the prefix-set( 1 ≤ value ≤ 32 & value >= GE).
    pi_network_peer_route_filter_id str
    (String) The unique identifier of the network peer route filter resource. Composed of <pi_cloud_instance_id>/<pi_network_peer_id>/<route_filter_id>
    timeouts PiNetworkPeerRouteFilterTimeoutsArgs
    piCloudInstanceId String
    The GUID of the service instance associated with an account.
    piDirection String
    Direction of the filter. Allowable values are: import, export.
    piIndex Number
    Priority or order of the filter.
    piNetworkPeerId String
    Network peer ID.
    piPrefix String
    IP prefix representing an address and mask length of the prefix-set.
    piAction String
    Action of the filter. Allowable values are: allow, deny.
    piGe Number
    The minimum matching length of the prefix-set(1 ≤ value ≤ 32 & value ≤ LE).
    piLe Number
    The maximum matching length of the prefix-set( 1 ≤ value ≤ 32 & value >= GE).
    piNetworkPeerRouteFilterId String
    (String) The unique identifier of the network peer route filter resource. Composed of <pi_cloud_instance_id>/<pi_network_peer_id>/<route_filter_id>
    timeouts Property Map

    Outputs

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

    CreationDate string
    (String) Time stamp for create route filter.
    Error string
    (String) Error description.
    Id string
    The provider-assigned unique ID for this managed resource.
    RouteFilterId string
    (String) The unique identifier of the network peer route filter.
    State string
    (String) Status of the route filter.
    CreationDate string
    (String) Time stamp for create route filter.
    Error string
    (String) Error description.
    Id string
    The provider-assigned unique ID for this managed resource.
    RouteFilterId string
    (String) The unique identifier of the network peer route filter.
    State string
    (String) Status of the route filter.
    creationDate String
    (String) Time stamp for create route filter.
    error String
    (String) Error description.
    id String
    The provider-assigned unique ID for this managed resource.
    routeFilterId String
    (String) The unique identifier of the network peer route filter.
    state String
    (String) Status of the route filter.
    creationDate string
    (String) Time stamp for create route filter.
    error string
    (String) Error description.
    id string
    The provider-assigned unique ID for this managed resource.
    routeFilterId string
    (String) The unique identifier of the network peer route filter.
    state string
    (String) Status of the route filter.
    creation_date str
    (String) Time stamp for create route filter.
    error str
    (String) Error description.
    id str
    The provider-assigned unique ID for this managed resource.
    route_filter_id str
    (String) The unique identifier of the network peer route filter.
    state str
    (String) Status of the route filter.
    creationDate String
    (String) Time stamp for create route filter.
    error String
    (String) Error description.
    id String
    The provider-assigned unique ID for this managed resource.
    routeFilterId String
    (String) The unique identifier of the network peer route filter.
    state String
    (String) Status of the route filter.

    Look up Existing PiNetworkPeerRouteFilter Resource

    Get an existing PiNetworkPeerRouteFilter 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?: PiNetworkPeerRouteFilterState, opts?: CustomResourceOptions): PiNetworkPeerRouteFilter
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            creation_date: Optional[str] = None,
            error: Optional[str] = None,
            pi_action: Optional[str] = None,
            pi_cloud_instance_id: Optional[str] = None,
            pi_direction: Optional[str] = None,
            pi_ge: Optional[float] = None,
            pi_index: Optional[float] = None,
            pi_le: Optional[float] = None,
            pi_network_peer_id: Optional[str] = None,
            pi_network_peer_route_filter_id: Optional[str] = None,
            pi_prefix: Optional[str] = None,
            route_filter_id: Optional[str] = None,
            state: Optional[str] = None,
            timeouts: Optional[PiNetworkPeerRouteFilterTimeoutsArgs] = None) -> PiNetworkPeerRouteFilter
    func GetPiNetworkPeerRouteFilter(ctx *Context, name string, id IDInput, state *PiNetworkPeerRouteFilterState, opts ...ResourceOption) (*PiNetworkPeerRouteFilter, error)
    public static PiNetworkPeerRouteFilter Get(string name, Input<string> id, PiNetworkPeerRouteFilterState? state, CustomResourceOptions? opts = null)
    public static PiNetworkPeerRouteFilter get(String name, Output<String> id, PiNetworkPeerRouteFilterState state, CustomResourceOptions options)
    resources:  _:    type: ibm:PiNetworkPeerRouteFilter    get:      id: ${id}
    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:
    CreationDate string
    (String) Time stamp for create route filter.
    Error string
    (String) Error description.
    PiAction string
    Action of the filter. Allowable values are: allow, deny.
    PiCloudInstanceId string
    The GUID of the service instance associated with an account.
    PiDirection string
    Direction of the filter. Allowable values are: import, export.
    PiGe double
    The minimum matching length of the prefix-set(1 ≤ value ≤ 32 & value ≤ LE).
    PiIndex double
    Priority or order of the filter.
    PiLe double
    The maximum matching length of the prefix-set( 1 ≤ value ≤ 32 & value >= GE).
    PiNetworkPeerId string
    Network peer ID.
    PiNetworkPeerRouteFilterId string
    (String) The unique identifier of the network peer route filter resource. Composed of <pi_cloud_instance_id>/<pi_network_peer_id>/<route_filter_id>
    PiPrefix string
    IP prefix representing an address and mask length of the prefix-set.
    RouteFilterId string
    (String) The unique identifier of the network peer route filter.
    State string
    (String) Status of the route filter.
    Timeouts PiNetworkPeerRouteFilterTimeouts
    CreationDate string
    (String) Time stamp for create route filter.
    Error string
    (String) Error description.
    PiAction string
    Action of the filter. Allowable values are: allow, deny.
    PiCloudInstanceId string
    The GUID of the service instance associated with an account.
    PiDirection string
    Direction of the filter. Allowable values are: import, export.
    PiGe float64
    The minimum matching length of the prefix-set(1 ≤ value ≤ 32 & value ≤ LE).
    PiIndex float64
    Priority or order of the filter.
    PiLe float64
    The maximum matching length of the prefix-set( 1 ≤ value ≤ 32 & value >= GE).
    PiNetworkPeerId string
    Network peer ID.
    PiNetworkPeerRouteFilterId string
    (String) The unique identifier of the network peer route filter resource. Composed of <pi_cloud_instance_id>/<pi_network_peer_id>/<route_filter_id>
    PiPrefix string
    IP prefix representing an address and mask length of the prefix-set.
    RouteFilterId string
    (String) The unique identifier of the network peer route filter.
    State string
    (String) Status of the route filter.
    Timeouts PiNetworkPeerRouteFilterTimeoutsArgs
    creationDate String
    (String) Time stamp for create route filter.
    error String
    (String) Error description.
    piAction String
    Action of the filter. Allowable values are: allow, deny.
    piCloudInstanceId String
    The GUID of the service instance associated with an account.
    piDirection String
    Direction of the filter. Allowable values are: import, export.
    piGe Double
    The minimum matching length of the prefix-set(1 ≤ value ≤ 32 & value ≤ LE).
    piIndex Double
    Priority or order of the filter.
    piLe Double
    The maximum matching length of the prefix-set( 1 ≤ value ≤ 32 & value >= GE).
    piNetworkPeerId String
    Network peer ID.
    piNetworkPeerRouteFilterId String
    (String) The unique identifier of the network peer route filter resource. Composed of <pi_cloud_instance_id>/<pi_network_peer_id>/<route_filter_id>
    piPrefix String
    IP prefix representing an address and mask length of the prefix-set.
    routeFilterId String
    (String) The unique identifier of the network peer route filter.
    state String
    (String) Status of the route filter.
    timeouts PiNetworkPeerRouteFilterTimeouts
    creationDate string
    (String) Time stamp for create route filter.
    error string
    (String) Error description.
    piAction string
    Action of the filter. Allowable values are: allow, deny.
    piCloudInstanceId string
    The GUID of the service instance associated with an account.
    piDirection string
    Direction of the filter. Allowable values are: import, export.
    piGe number
    The minimum matching length of the prefix-set(1 ≤ value ≤ 32 & value ≤ LE).
    piIndex number
    Priority or order of the filter.
    piLe number
    The maximum matching length of the prefix-set( 1 ≤ value ≤ 32 & value >= GE).
    piNetworkPeerId string
    Network peer ID.
    piNetworkPeerRouteFilterId string
    (String) The unique identifier of the network peer route filter resource. Composed of <pi_cloud_instance_id>/<pi_network_peer_id>/<route_filter_id>
    piPrefix string
    IP prefix representing an address and mask length of the prefix-set.
    routeFilterId string
    (String) The unique identifier of the network peer route filter.
    state string
    (String) Status of the route filter.
    timeouts PiNetworkPeerRouteFilterTimeouts
    creation_date str
    (String) Time stamp for create route filter.
    error str
    (String) Error description.
    pi_action str
    Action of the filter. Allowable values are: allow, deny.
    pi_cloud_instance_id str
    The GUID of the service instance associated with an account.
    pi_direction str
    Direction of the filter. Allowable values are: import, export.
    pi_ge float
    The minimum matching length of the prefix-set(1 ≤ value ≤ 32 & value ≤ LE).
    pi_index float
    Priority or order of the filter.
    pi_le float
    The maximum matching length of the prefix-set( 1 ≤ value ≤ 32 & value >= GE).
    pi_network_peer_id str
    Network peer ID.
    pi_network_peer_route_filter_id str
    (String) The unique identifier of the network peer route filter resource. Composed of <pi_cloud_instance_id>/<pi_network_peer_id>/<route_filter_id>
    pi_prefix str
    IP prefix representing an address and mask length of the prefix-set.
    route_filter_id str
    (String) The unique identifier of the network peer route filter.
    state str
    (String) Status of the route filter.
    timeouts PiNetworkPeerRouteFilterTimeoutsArgs
    creationDate String
    (String) Time stamp for create route filter.
    error String
    (String) Error description.
    piAction String
    Action of the filter. Allowable values are: allow, deny.
    piCloudInstanceId String
    The GUID of the service instance associated with an account.
    piDirection String
    Direction of the filter. Allowable values are: import, export.
    piGe Number
    The minimum matching length of the prefix-set(1 ≤ value ≤ 32 & value ≤ LE).
    piIndex Number
    Priority or order of the filter.
    piLe Number
    The maximum matching length of the prefix-set( 1 ≤ value ≤ 32 & value >= GE).
    piNetworkPeerId String
    Network peer ID.
    piNetworkPeerRouteFilterId String
    (String) The unique identifier of the network peer route filter resource. Composed of <pi_cloud_instance_id>/<pi_network_peer_id>/<route_filter_id>
    piPrefix String
    IP prefix representing an address and mask length of the prefix-set.
    routeFilterId String
    (String) The unique identifier of the network peer route filter.
    state String
    (String) Status of the route filter.
    timeouts Property Map

    Supporting Types

    PiNetworkPeerRouteFilterTimeouts, PiNetworkPeerRouteFilterTimeoutsArgs

    Create string
    Delete string
    Create string
    Delete string
    create String
    delete String
    create string
    delete string
    create str
    delete str
    create String
    delete String

    Import

    Example

    bash

    $ pulumi import ibm:index/piNetworkPeerRouteFilter:PiNetworkPeerRouteFilter pi_network_peer_route_filter 6f8e2a9d-3b4c-4e4f-8e8d-f7e7e1e23456/7e1c3b2a-9f0d-4e5f-a1bc-def012345678/8a9b1c2d-3e4f-5g6h-7i8j-9k0l1m2n3o4p
    

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

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.84.0 published on Monday, Oct 13, 2025 by ibm-cloud
      Meet Neo: Your AI Platform Teammate