ibm 1.81.1 published on Wednesday, Aug 6, 2025 by ibm-cloud
ibm.getPiRoute
Explore with Pulumi AI
Retrieve information about a route. For more information, see getting started with IBM Power Systems Virtual Servers.
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) {
}
}
{}
Using getPiRoute
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getPiRoute(args: GetPiRouteArgs, opts?: InvokeOptions): Promise<GetPiRouteResult>
function getPiRouteOutput(args: GetPiRouteOutputArgs, opts?: InvokeOptions): Output<GetPiRouteResult>
def get_pi_route(id: Optional[str] = None,
pi_cloud_instance_id: Optional[str] = None,
pi_route_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPiRouteResult
def get_pi_route_output(id: Optional[pulumi.Input[str]] = None,
pi_cloud_instance_id: Optional[pulumi.Input[str]] = None,
pi_route_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPiRouteResult]
func LookupPiRoute(ctx *Context, args *LookupPiRouteArgs, opts ...InvokeOption) (*LookupPiRouteResult, error)
func LookupPiRouteOutput(ctx *Context, args *LookupPiRouteOutputArgs, opts ...InvokeOption) LookupPiRouteResultOutput
> Note: This function is named LookupPiRoute
in the Go SDK.
public static class GetPiRoute
{
public static Task<GetPiRouteResult> InvokeAsync(GetPiRouteArgs args, InvokeOptions? opts = null)
public static Output<GetPiRouteResult> Invoke(GetPiRouteInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPiRouteResult> getPiRoute(GetPiRouteArgs args, InvokeOptions options)
public static Output<GetPiRouteResult> getPiRoute(GetPiRouteArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getPiRoute:getPiRoute
arguments:
# arguments dictionary
The following arguments are supported:
- Pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- Pi
Route stringId - ID of route.
- Id string
- Pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- Pi
Route stringId - ID of route.
- Id string
- pi
Cloud StringInstance Id - The GUID of the service instance associated with an account.
- pi
Route StringId - ID of route.
- id String
- pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- pi
Route stringId - ID of route.
- id string
- pi_
cloud_ strinstance_ id - The GUID of the service instance associated with an account.
- pi_
route_ strid - ID of route.
- id str
- pi
Cloud StringInstance Id - The GUID of the service instance associated with an account.
- pi
Route StringId - ID of route.
- id String
getPiRoute Result
The following output properties are available:
- Action string
- (String) The route action.
- Advertise string
- (String) Indicates if the route is advertised.
- Crn string
- (String) The CRN of this resource.
- Destination string
- (String) The route destination.
- Destination
Type string - (String) The destination type.
- Enabled bool
- (Boolean) Indicates if the route should be enabled in the fabric.
- Id string
- Name string
- (String) Name of the route.
- Next
Hop string - (String) The next hop in the route.
- Next
Hop stringType - (String) The next hop type.
- Pi
Cloud stringInstance Id - Pi
Route stringId - State string
- (String) The state of the route.
- List<string>
- (Set of String) List of user tags attached to the resource.
- Action string
- (String) The route action.
- Advertise string
- (String) Indicates if the route is advertised.
- Crn string
- (String) The CRN of this resource.
- Destination string
- (String) The route destination.
- Destination
Type string - (String) The destination type.
- Enabled bool
- (Boolean) Indicates if the route should be enabled in the fabric.
- Id string
- Name string
- (String) Name of the route.
- Next
Hop string - (String) The next hop in the route.
- Next
Hop stringType - (String) The next hop type.
- Pi
Cloud stringInstance Id - Pi
Route stringId - State string
- (String) The state of the route.
- []string
- (Set of String) List of user tags attached to the resource.
- action String
- (String) The route action.
- advertise String
- (String) Indicates if the route is advertised.
- crn String
- (String) The CRN of this resource.
- destination String
- (String) The route destination.
- destination
Type String - (String) The destination type.
- enabled Boolean
- (Boolean) Indicates if the route should be enabled in the fabric.
- id String
- name String
- (String) Name of the route.
- next
Hop String - (String) The next hop in the route.
- next
Hop StringType - (String) The next hop type.
- pi
Cloud StringInstance Id - pi
Route StringId - state String
- (String) The state of the route.
- List<String>
- (Set of String) List of user tags attached to the resource.
- action string
- (String) The route action.
- advertise string
- (String) Indicates if the route is advertised.
- crn string
- (String) The CRN of this resource.
- destination string
- (String) The route destination.
- destination
Type string - (String) The destination type.
- enabled boolean
- (Boolean) Indicates if the route should be enabled in the fabric.
- id string
- name string
- (String) Name of the route.
- next
Hop string - (String) The next hop in the route.
- next
Hop stringType - (String) The next hop type.
- pi
Cloud stringInstance Id - pi
Route stringId - state string
- (String) The state of the route.
- string[]
- (Set of String) List of user tags attached to the resource.
- action str
- (String) The route action.
- advertise str
- (String) Indicates if the route is advertised.
- crn str
- (String) The CRN of this resource.
- destination str
- (String) The route destination.
- destination_
type str - (String) The destination type.
- enabled bool
- (Boolean) Indicates if the route should be enabled in the fabric.
- id str
- name str
- (String) Name of the route.
- next_
hop str - (String) The next hop in the route.
- next_
hop_ strtype - (String) The next hop type.
- pi_
cloud_ strinstance_ id - pi_
route_ strid - state str
- (String) The state of the route.
- Sequence[str]
- (Set of String) List of user tags attached to the resource.
- action String
- (String) The route action.
- advertise String
- (String) Indicates if the route is advertised.
- crn String
- (String) The CRN of this resource.
- destination String
- (String) The route destination.
- destination
Type String - (String) The destination type.
- enabled Boolean
- (Boolean) Indicates if the route should be enabled in the fabric.
- id String
- name String
- (String) Name of the route.
- next
Hop String - (String) The next hop in the route.
- next
Hop StringType - (String) The next hop type.
- pi
Cloud StringInstance Id - pi
Route StringId - state String
- (String) The state of the route.
- List<String>
- (Set of String) List of user tags attached to the resource.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.