ibm.PiNetworkPeerRouteFilter
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:
- Pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- Pi
Direction string - Direction of the filter. Allowable values are:
import
,export
. - Pi
Index double - Priority or order of the filter.
- Pi
Network stringPeer Id - Network peer ID.
- Pi
Prefix string - IP prefix representing an address and mask length of the prefix-set.
- Pi
Action string - Action of the filter. Allowable values are:
allow
,deny
. - Pi
Ge double - The minimum matching length of the prefix-set(1 ≤ value ≤ 32 & value ≤ LE).
- Pi
Le double - The maximum matching length of the prefix-set( 1 ≤ value ≤ 32 & value >= GE).
- Pi
Network stringPeer Route Filter Id - (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
Pi
Network Peer Route Filter Timeouts
- Pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- Pi
Direction string - Direction of the filter. Allowable values are:
import
,export
. - Pi
Index float64 - Priority or order of the filter.
- Pi
Network stringPeer Id - Network peer ID.
- Pi
Prefix string - IP prefix representing an address and mask length of the prefix-set.
- Pi
Action string - Action of the filter. Allowable values are:
allow
,deny
. - Pi
Ge float64 - The minimum matching length of the prefix-set(1 ≤ value ≤ 32 & value ≤ LE).
- Pi
Le float64 - The maximum matching length of the prefix-set( 1 ≤ value ≤ 32 & value >= GE).
- Pi
Network stringPeer Route Filter Id - (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
Pi
Network Peer Route Filter Timeouts Args
- pi
Cloud StringInstance Id - The GUID of the service instance associated with an account.
- pi
Direction String - Direction of the filter. Allowable values are:
import
,export
. - pi
Index Double - Priority or order of the filter.
- pi
Network StringPeer Id - Network peer ID.
- pi
Prefix String - IP prefix representing an address and mask length of the prefix-set.
- pi
Action String - Action of the filter. Allowable values are:
allow
,deny
. - pi
Ge Double - The minimum matching length of the prefix-set(1 ≤ value ≤ 32 & value ≤ LE).
- pi
Le Double - The maximum matching length of the prefix-set( 1 ≤ value ≤ 32 & value >= GE).
- pi
Network StringPeer Route Filter Id - (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
Pi
Network Peer Route Filter Timeouts
- pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- pi
Direction string - Direction of the filter. Allowable values are:
import
,export
. - pi
Index number - Priority or order of the filter.
- pi
Network stringPeer Id - Network peer ID.
- pi
Prefix string - IP prefix representing an address and mask length of the prefix-set.
- pi
Action string - Action of the filter. Allowable values are:
allow
,deny
. - pi
Ge number - The minimum matching length of the prefix-set(1 ≤ value ≤ 32 & value ≤ LE).
- pi
Le number - The maximum matching length of the prefix-set( 1 ≤ value ≤ 32 & value >= GE).
- pi
Network stringPeer Route Filter Id - (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
Pi
Network Peer Route Filter Timeouts
- pi_
cloud_ strinstance_ id - 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_ strpeer_ id - 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_ strpeer_ route_ filter_ id - (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
Pi
Network Peer Route Filter Timeouts Args
- pi
Cloud StringInstance Id - The GUID of the service instance associated with an account.
- pi
Direction String - Direction of the filter. Allowable values are:
import
,export
. - pi
Index Number - Priority or order of the filter.
- pi
Network StringPeer Id - Network peer ID.
- pi
Prefix String - IP prefix representing an address and mask length of the prefix-set.
- pi
Action String - Action of the filter. Allowable values are:
allow
,deny
. - pi
Ge Number - The minimum matching length of the prefix-set(1 ≤ value ≤ 32 & value ≤ LE).
- pi
Le Number - The maximum matching length of the prefix-set( 1 ≤ value ≤ 32 & value >= GE).
- pi
Network StringPeer Route Filter Id - (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:
- Creation
Date string - (String) Time stamp for create route filter.
- Error string
- (String) Error description.
- Id string
- The provider-assigned unique ID for this managed resource.
- Route
Filter stringId - (String) The unique identifier of the network peer route filter.
- State string
- (String) Status of the route filter.
- Creation
Date string - (String) Time stamp for create route filter.
- Error string
- (String) Error description.
- Id string
- The provider-assigned unique ID for this managed resource.
- Route
Filter stringId - (String) The unique identifier of the network peer route filter.
- State string
- (String) Status of the route filter.
- creation
Date String - (String) Time stamp for create route filter.
- error String
- (String) Error description.
- id String
- The provider-assigned unique ID for this managed resource.
- route
Filter StringId - (String) The unique identifier of the network peer route filter.
- state String
- (String) Status of the route filter.
- creation
Date string - (String) Time stamp for create route filter.
- error string
- (String) Error description.
- id string
- The provider-assigned unique ID for this managed resource.
- route
Filter stringId - (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_ strid - (String) The unique identifier of the network peer route filter.
- state str
- (String) Status of the route filter.
- creation
Date String - (String) Time stamp for create route filter.
- error String
- (String) Error description.
- id String
- The provider-assigned unique ID for this managed resource.
- route
Filter StringId - (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.
- Creation
Date string - (String) Time stamp for create route filter.
- Error string
- (String) Error description.
- Pi
Action string - Action of the filter. Allowable values are:
allow
,deny
. - Pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- Pi
Direction string - Direction of the filter. Allowable values are:
import
,export
. - Pi
Ge double - The minimum matching length of the prefix-set(1 ≤ value ≤ 32 & value ≤ LE).
- Pi
Index double - Priority or order of the filter.
- Pi
Le double - The maximum matching length of the prefix-set( 1 ≤ value ≤ 32 & value >= GE).
- Pi
Network stringPeer Id - Network peer ID.
- Pi
Network stringPeer Route Filter Id - (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 string - IP prefix representing an address and mask length of the prefix-set.
- Route
Filter stringId - (String) The unique identifier of the network peer route filter.
- State string
- (String) Status of the route filter.
- Timeouts
Pi
Network Peer Route Filter Timeouts
- Creation
Date string - (String) Time stamp for create route filter.
- Error string
- (String) Error description.
- Pi
Action string - Action of the filter. Allowable values are:
allow
,deny
. - Pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- Pi
Direction string - Direction of the filter. Allowable values are:
import
,export
. - Pi
Ge float64 - The minimum matching length of the prefix-set(1 ≤ value ≤ 32 & value ≤ LE).
- Pi
Index float64 - Priority or order of the filter.
- Pi
Le float64 - The maximum matching length of the prefix-set( 1 ≤ value ≤ 32 & value >= GE).
- Pi
Network stringPeer Id - Network peer ID.
- Pi
Network stringPeer Route Filter Id - (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 string - IP prefix representing an address and mask length of the prefix-set.
- Route
Filter stringId - (String) The unique identifier of the network peer route filter.
- State string
- (String) Status of the route filter.
- Timeouts
Pi
Network Peer Route Filter Timeouts Args
- creation
Date String - (String) Time stamp for create route filter.
- error String
- (String) Error description.
- pi
Action String - Action of the filter. Allowable values are:
allow
,deny
. - pi
Cloud StringInstance Id - The GUID of the service instance associated with an account.
- pi
Direction String - Direction of the filter. Allowable values are:
import
,export
. - pi
Ge Double - The minimum matching length of the prefix-set(1 ≤ value ≤ 32 & value ≤ LE).
- pi
Index Double - Priority or order of the filter.
- pi
Le Double - The maximum matching length of the prefix-set( 1 ≤ value ≤ 32 & value >= GE).
- pi
Network StringPeer Id - Network peer ID.
- pi
Network StringPeer Route Filter Id - (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 String - IP prefix representing an address and mask length of the prefix-set.
- route
Filter StringId - (String) The unique identifier of the network peer route filter.
- state String
- (String) Status of the route filter.
- timeouts
Pi
Network Peer Route Filter Timeouts
- creation
Date string - (String) Time stamp for create route filter.
- error string
- (String) Error description.
- pi
Action string - Action of the filter. Allowable values are:
allow
,deny
. - pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- pi
Direction string - Direction of the filter. Allowable values are:
import
,export
. - pi
Ge number - The minimum matching length of the prefix-set(1 ≤ value ≤ 32 & value ≤ LE).
- pi
Index number - Priority or order of the filter.
- pi
Le number - The maximum matching length of the prefix-set( 1 ≤ value ≤ 32 & value >= GE).
- pi
Network stringPeer Id - Network peer ID.
- pi
Network stringPeer Route Filter Id - (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 string - IP prefix representing an address and mask length of the prefix-set.
- route
Filter stringId - (String) The unique identifier of the network peer route filter.
- state string
- (String) Status of the route filter.
- timeouts
Pi
Network Peer Route Filter Timeouts
- 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_ strinstance_ id - 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_ strpeer_ id - Network peer ID.
- pi_
network_ strpeer_ route_ filter_ id - (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_ strid - (String) The unique identifier of the network peer route filter.
- state str
- (String) Status of the route filter.
- timeouts
Pi
Network Peer Route Filter Timeouts Args
- creation
Date String - (String) Time stamp for create route filter.
- error String
- (String) Error description.
- pi
Action String - Action of the filter. Allowable values are:
allow
,deny
. - pi
Cloud StringInstance Id - The GUID of the service instance associated with an account.
- pi
Direction String - Direction of the filter. Allowable values are:
import
,export
. - pi
Ge Number - The minimum matching length of the prefix-set(1 ≤ value ≤ 32 & value ≤ LE).
- pi
Index Number - Priority or order of the filter.
- pi
Le Number - The maximum matching length of the prefix-set( 1 ≤ value ≤ 32 & value >= GE).
- pi
Network StringPeer Id - Network peer ID.
- pi
Network StringPeer Route Filter Id - (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 String - IP prefix representing an address and mask length of the prefix-set.
- route
Filter StringId - (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
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.