ibm 1.87.0-beta1 published on Monday, Dec 22, 2025 by ibm-cloud
ibm 1.87.0-beta1 published on Monday, Dec 22, 2025 by ibm-cloud
Retrieve information about all networks on a Power Systems Virtual Server instance. For more information about Power Virtual Server instances, see getting started with IBM Power Systems Virtual Servers.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const dsInstanceNetworks = ibm.getPiInstanceNetworks({
piCloudInstanceId: "49fba6c9-23f8-40bc-9899-aca322ee7d5b",
piInstanceId: "cea6651a-bc0a-4438-9f8a-a0770b112ebb",
});
import pulumi
import pulumi_ibm as ibm
ds_instance_networks = ibm.get_pi_instance_networks(pi_cloud_instance_id="49fba6c9-23f8-40bc-9899-aca322ee7d5b",
pi_instance_id="cea6651a-bc0a-4438-9f8a-a0770b112ebb")
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.GetPiInstanceNetworks(ctx, &ibm.GetPiInstanceNetworksArgs{
PiCloudInstanceId: "49fba6c9-23f8-40bc-9899-aca322ee7d5b",
PiInstanceId: "cea6651a-bc0a-4438-9f8a-a0770b112ebb",
}, nil)
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 dsInstanceNetworks = Ibm.GetPiInstanceNetworks.Invoke(new()
{
PiCloudInstanceId = "49fba6c9-23f8-40bc-9899-aca322ee7d5b",
PiInstanceId = "cea6651a-bc0a-4438-9f8a-a0770b112ebb",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IbmFunctions;
import com.pulumi.ibm.inputs.GetPiInstanceNetworksArgs;
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) {
final var dsInstanceNetworks = IbmFunctions.getPiInstanceNetworks(GetPiInstanceNetworksArgs.builder()
.piCloudInstanceId("49fba6c9-23f8-40bc-9899-aca322ee7d5b")
.piInstanceId("cea6651a-bc0a-4438-9f8a-a0770b112ebb")
.build());
}
}
variables:
dsInstanceNetworks:
fn::invoke:
function: ibm:getPiInstanceNetworks
arguments:
piCloudInstanceId: 49fba6c9-23f8-40bc-9899-aca322ee7d5b
piInstanceId: cea6651a-bc0a-4438-9f8a-a0770b112ebb
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-lonzone-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 getPiInstanceNetworks
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 getPiInstanceNetworks(args: GetPiInstanceNetworksArgs, opts?: InvokeOptions): Promise<GetPiInstanceNetworksResult>
function getPiInstanceNetworksOutput(args: GetPiInstanceNetworksOutputArgs, opts?: InvokeOptions): Output<GetPiInstanceNetworksResult>def get_pi_instance_networks(id: Optional[str] = None,
pi_cloud_instance_id: Optional[str] = None,
pi_instance_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPiInstanceNetworksResult
def get_pi_instance_networks_output(id: Optional[pulumi.Input[str]] = None,
pi_cloud_instance_id: Optional[pulumi.Input[str]] = None,
pi_instance_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPiInstanceNetworksResult]func GetPiInstanceNetworks(ctx *Context, args *GetPiInstanceNetworksArgs, opts ...InvokeOption) (*GetPiInstanceNetworksResult, error)
func GetPiInstanceNetworksOutput(ctx *Context, args *GetPiInstanceNetworksOutputArgs, opts ...InvokeOption) GetPiInstanceNetworksResultOutput> Note: This function is named GetPiInstanceNetworks in the Go SDK.
public static class GetPiInstanceNetworks
{
public static Task<GetPiInstanceNetworksResult> InvokeAsync(GetPiInstanceNetworksArgs args, InvokeOptions? opts = null)
public static Output<GetPiInstanceNetworksResult> Invoke(GetPiInstanceNetworksInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPiInstanceNetworksResult> getPiInstanceNetworks(GetPiInstanceNetworksArgs args, InvokeOptions options)
public static Output<GetPiInstanceNetworksResult> getPiInstanceNetworks(GetPiInstanceNetworksArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getPiInstanceNetworks:getPiInstanceNetworks
arguments:
# arguments dictionaryThe following arguments are supported:
- Pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- Pi
Instance stringId - The PVM instance id.
- Id string
- (String) The unique identifier of the data source in the form <pi_cloud_instance_id>/<pi_instance_id>.
- Pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- Pi
Instance stringId - The PVM instance id.
- Id string
- (String) The unique identifier of the data source in the form <pi_cloud_instance_id>/<pi_instance_id>.
- pi
Cloud StringInstance Id - The GUID of the service instance associated with an account.
- pi
Instance StringId - The PVM instance id.
- id String
- (String) The unique identifier of the data source in the form <pi_cloud_instance_id>/<pi_instance_id>.
- pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- pi
Instance stringId - The PVM instance id.
- id string
- (String) The unique identifier of the data source in the form <pi_cloud_instance_id>/<pi_instance_id>.
- pi_
cloud_ strinstance_ id - The GUID of the service instance associated with an account.
- pi_
instance_ strid - The PVM instance id.
- id str
- (String) The unique identifier of the data source in the form <pi_cloud_instance_id>/<pi_instance_id>.
- pi
Cloud StringInstance Id - The GUID of the service instance associated with an account.
- pi
Instance StringId - The PVM instance id.
- id String
- (String) The unique identifier of the data source in the form <pi_cloud_instance_id>/<pi_instance_id>.
getPiInstanceNetworks Result
The following output properties are available:
- Id string
- (String) The unique identifier of the data source in the form <pi_cloud_instance_id>/<pi_instance_id>.
- Networks
List<Get
Pi Instance Networks Network> - (List) List of networks associated with this instance. Nested scheme for networks:
- Pi
Cloud stringInstance Id - Pi
Instance stringId
- Id string
- (String) The unique identifier of the data source in the form <pi_cloud_instance_id>/<pi_instance_id>.
- Networks
[]Get
Pi Instance Networks Network - (List) List of networks associated with this instance. Nested scheme for networks:
- Pi
Cloud stringInstance Id - Pi
Instance stringId
- id String
- (String) The unique identifier of the data source in the form <pi_cloud_instance_id>/<pi_instance_id>.
- networks
List<Get
Pi Instance Networks Network> - (List) List of networks associated with this instance. Nested scheme for networks:
- pi
Cloud StringInstance Id - pi
Instance StringId
- id string
- (String) The unique identifier of the data source in the form <pi_cloud_instance_id>/<pi_instance_id>.
- networks
Get
Pi Instance Networks Network[] - (List) List of networks associated with this instance. Nested scheme for networks:
- pi
Cloud stringInstance Id - pi
Instance stringId
- id str
- (String) The unique identifier of the data source in the form <pi_cloud_instance_id>/<pi_instance_id>.
- networks
Sequence[Get
Pi Instance Networks Network] - (List) List of networks associated with this instance. Nested scheme for networks:
- pi_
cloud_ strinstance_ id - pi_
instance_ strid
- id String
- (String) The unique identifier of the data source in the form <pi_cloud_instance_id>/<pi_instance_id>.
- networks List<Property Map>
- (List) List of networks associated with this instance. Nested scheme for networks:
- pi
Cloud StringInstance Id - pi
Instance StringId
Supporting Types
GetPiInstanceNetworksNetwork
- External
Ip string - (String) The external IP address of the network (for pub-VLAN networks).
- Href string
- (String) Link to this PVM instance network.
- Ip
Address string - (String) The IP address of the network interface.
- Mac
Address string - (String) The MAC address of the network interface.
- Network
Id string - (String) The network ID.
- Network
Interface stringId - (String) ID of the network interface.
- Network
Name string - (String) The network name.
- Network
Security List<string>Group Ids - (List) IDs of the network security groups that the network interface is a member of.
- Network
Security List<string>Groups Hreves - (List) Links to the network security groups that the network interface is a member of.
- Type string
- (String) The network type.
- Version double
- (Float) Version of the network information.
- External
Ip string - (String) The external IP address of the network (for pub-VLAN networks).
- Href string
- (String) Link to this PVM instance network.
- Ip
Address string - (String) The IP address of the network interface.
- Mac
Address string - (String) The MAC address of the network interface.
- Network
Id string - (String) The network ID.
- Network
Interface stringId - (String) ID of the network interface.
- Network
Name string - (String) The network name.
- Network
Security []stringGroup Ids - (List) IDs of the network security groups that the network interface is a member of.
- Network
Security []stringGroups Hreves - (List) Links to the network security groups that the network interface is a member of.
- Type string
- (String) The network type.
- Version float64
- (Float) Version of the network information.
- external
Ip String - (String) The external IP address of the network (for pub-VLAN networks).
- href String
- (String) Link to this PVM instance network.
- ip
Address String - (String) The IP address of the network interface.
- mac
Address String - (String) The MAC address of the network interface.
- network
Id String - (String) The network ID.
- network
Interface StringId - (String) ID of the network interface.
- network
Name String - (String) The network name.
- network
Security List<String>Group Ids - (List) IDs of the network security groups that the network interface is a member of.
- network
Security List<String>Groups Hreves - (List) Links to the network security groups that the network interface is a member of.
- type String
- (String) The network type.
- version Double
- (Float) Version of the network information.
- external
Ip string - (String) The external IP address of the network (for pub-VLAN networks).
- href string
- (String) Link to this PVM instance network.
- ip
Address string - (String) The IP address of the network interface.
- mac
Address string - (String) The MAC address of the network interface.
- network
Id string - (String) The network ID.
- network
Interface stringId - (String) ID of the network interface.
- network
Name string - (String) The network name.
- network
Security string[]Group Ids - (List) IDs of the network security groups that the network interface is a member of.
- network
Security string[]Groups Hreves - (List) Links to the network security groups that the network interface is a member of.
- type string
- (String) The network type.
- version number
- (Float) Version of the network information.
- external_
ip str - (String) The external IP address of the network (for pub-VLAN networks).
- href str
- (String) Link to this PVM instance network.
- ip_
address str - (String) The IP address of the network interface.
- mac_
address str - (String) The MAC address of the network interface.
- network_
id str - (String) The network ID.
- network_
interface_ strid - (String) ID of the network interface.
- network_
name str - (String) The network name.
- network_
security_ Sequence[str]group_ ids - (List) IDs of the network security groups that the network interface is a member of.
- network_
security_ Sequence[str]groups_ hreves - (List) Links to the network security groups that the network interface is a member of.
- type str
- (String) The network type.
- version float
- (Float) Version of the network information.
- external
Ip String - (String) The external IP address of the network (for pub-VLAN networks).
- href String
- (String) Link to this PVM instance network.
- ip
Address String - (String) The IP address of the network interface.
- mac
Address String - (String) The MAC address of the network interface.
- network
Id String - (String) The network ID.
- network
Interface StringId - (String) ID of the network interface.
- network
Name String - (String) The network name.
- network
Security List<String>Group Ids - (List) IDs of the network security groups that the network interface is a member of.
- network
Security List<String>Groups Hreves - (List) Links to the network security groups that the network interface is a member of.
- type String
- (String) The network type.
- version Number
- (Float) Version of the network information.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibmTerraform Provider.
ibm 1.87.0-beta1 published on Monday, Dec 22, 2025 by ibm-cloud
