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
Retrieves information about a power virtual machine instance vPMEM volumes.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const instanceVpmemVolumes = ibm.getPiInstanceVpmemVolumes({
piCloudInstanceId: "098f6bcd-2f7e-470a-a1ab-664e61882371",
piPvmInstanceId: "11223344-5566-7788-99ab-cdef01234567",
});
import pulumi
import pulumi_ibm as ibm
instance_vpmem_volumes = ibm.get_pi_instance_vpmem_volumes(pi_cloud_instance_id="098f6bcd-2f7e-470a-a1ab-664e61882371",
pi_pvm_instance_id="11223344-5566-7788-99ab-cdef01234567")
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.LookupPiInstanceVpmemVolumes(ctx, &ibm.LookupPiInstanceVpmemVolumesArgs{
PiCloudInstanceId: "098f6bcd-2f7e-470a-a1ab-664e61882371",
PiPvmInstanceId: "11223344-5566-7788-99ab-cdef01234567",
}, 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 instanceVpmemVolumes = Ibm.GetPiInstanceVpmemVolumes.Invoke(new()
{
PiCloudInstanceId = "098f6bcd-2f7e-470a-a1ab-664e61882371",
PiPvmInstanceId = "11223344-5566-7788-99ab-cdef01234567",
});
});
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.GetPiInstanceVpmemVolumesArgs;
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 instanceVpmemVolumes = IbmFunctions.getPiInstanceVpmemVolumes(GetPiInstanceVpmemVolumesArgs.builder()
.piCloudInstanceId("098f6bcd-2f7e-470a-a1ab-664e61882371")
.piPvmInstanceId("11223344-5566-7788-99ab-cdef01234567")
.build());
}
}
variables:
instanceVpmemVolumes:
fn::invoke:
function: ibm:getPiInstanceVpmemVolumes
arguments:
piCloudInstanceId: 098f6bcd-2f7e-470a-a1ab-664e61882371
piPvmInstanceId: 11223344-5566-7788-99ab-cdef01234567
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 getPiInstanceVpmemVolumes
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 getPiInstanceVpmemVolumes(args: GetPiInstanceVpmemVolumesArgs, opts?: InvokeOptions): Promise<GetPiInstanceVpmemVolumesResult>
function getPiInstanceVpmemVolumesOutput(args: GetPiInstanceVpmemVolumesOutputArgs, opts?: InvokeOptions): Output<GetPiInstanceVpmemVolumesResult>def get_pi_instance_vpmem_volumes(id: Optional[str] = None,
pi_cloud_instance_id: Optional[str] = None,
pi_pvm_instance_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPiInstanceVpmemVolumesResult
def get_pi_instance_vpmem_volumes_output(id: Optional[pulumi.Input[str]] = None,
pi_cloud_instance_id: Optional[pulumi.Input[str]] = None,
pi_pvm_instance_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPiInstanceVpmemVolumesResult]func LookupPiInstanceVpmemVolumes(ctx *Context, args *LookupPiInstanceVpmemVolumesArgs, opts ...InvokeOption) (*LookupPiInstanceVpmemVolumesResult, error)
func LookupPiInstanceVpmemVolumesOutput(ctx *Context, args *LookupPiInstanceVpmemVolumesOutputArgs, opts ...InvokeOption) LookupPiInstanceVpmemVolumesResultOutput> Note: This function is named LookupPiInstanceVpmemVolumes in the Go SDK.
public static class GetPiInstanceVpmemVolumes
{
public static Task<GetPiInstanceVpmemVolumesResult> InvokeAsync(GetPiInstanceVpmemVolumesArgs args, InvokeOptions? opts = null)
public static Output<GetPiInstanceVpmemVolumesResult> Invoke(GetPiInstanceVpmemVolumesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPiInstanceVpmemVolumesResult> getPiInstanceVpmemVolumes(GetPiInstanceVpmemVolumesArgs args, InvokeOptions options)
public static Output<GetPiInstanceVpmemVolumesResult> getPiInstanceVpmemVolumes(GetPiInstanceVpmemVolumesArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getPiInstanceVpmemVolumes:getPiInstanceVpmemVolumes
arguments:
# arguments dictionaryThe following arguments are supported:
- Pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- Pi
Pvm stringInstance Id - PCloud PVM instance ID.
- Id string
- (String) The unique identifier of the pi_instance_vpmem_volumes.
- Pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- Pi
Pvm stringInstance Id - PCloud PVM instance ID.
- Id string
- (String) The unique identifier of the pi_instance_vpmem_volumes.
- pi
Cloud StringInstance Id - The GUID of the service instance associated with an account.
- pi
Pvm StringInstance Id - PCloud PVM instance ID.
- id String
- (String) The unique identifier of the pi_instance_vpmem_volumes.
- pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- pi
Pvm stringInstance Id - PCloud PVM instance ID.
- id string
- (String) The unique identifier of the pi_instance_vpmem_volumes.
- pi_
cloud_ strinstance_ id - The GUID of the service instance associated with an account.
- pi_
pvm_ strinstance_ id - PCloud PVM instance ID.
- id str
- (String) The unique identifier of the pi_instance_vpmem_volumes.
- pi
Cloud StringInstance Id - The GUID of the service instance associated with an account.
- pi
Pvm StringInstance Id - PCloud PVM instance ID.
- id String
- (String) The unique identifier of the pi_instance_vpmem_volumes.
getPiInstanceVpmemVolumes Result
The following output properties are available:
- Id string
- (String) The unique identifier of the pi_instance_vpmem_volumes.
- Pi
Cloud stringInstance Id - Pi
Pvm stringInstance Id - Volumes
List<Get
Pi Instance Vpmem Volumes Volume> - (List) List of vPMEM volumes.
Nested schema for
volumes:
- Id string
- (String) The unique identifier of the pi_instance_vpmem_volumes.
- Pi
Cloud stringInstance Id - Pi
Pvm stringInstance Id - Volumes
[]Get
Pi Instance Vpmem Volumes Volume - (List) List of vPMEM volumes.
Nested schema for
volumes:
- id String
- (String) The unique identifier of the pi_instance_vpmem_volumes.
- pi
Cloud StringInstance Id - pi
Pvm StringInstance Id - volumes
List<Get
Pi Instance Vpmem Volumes Volume> - (List) List of vPMEM volumes.
Nested schema for
volumes:
- id string
- (String) The unique identifier of the pi_instance_vpmem_volumes.
- pi
Cloud stringInstance Id - pi
Pvm stringInstance Id - volumes
Get
Pi Instance Vpmem Volumes Volume[] - (List) List of vPMEM volumes.
Nested schema for
volumes:
- id str
- (String) The unique identifier of the pi_instance_vpmem_volumes.
- pi_
cloud_ strinstance_ id - pi_
pvm_ strinstance_ id - volumes
Sequence[Get
Pi Instance Vpmem Volumes Volume] - (List) List of vPMEM volumes.
Nested schema for
volumes:
- id String
- (String) The unique identifier of the pi_instance_vpmem_volumes.
- pi
Cloud StringInstance Id - pi
Pvm StringInstance Id - volumes List<Property Map>
- (List) List of vPMEM volumes.
Nested schema for
volumes:
Supporting Types
GetPiInstanceVpmemVolumesVolume
- Creation
Date string - (String) The date and time when the volume was created.
- Crn string
- (String) The CRN for this resource.
- Error
Code string - (String) Error code for the vPMEM volume.
- Href string
- (String) Link to vPMEM volume resource.
- Name string
- (String) Volume Name.
- Pvm
Instance stringId - (String) PVM Instance ID which the volume is attached to.
- Reason string
- (String) Reason for error.
- Size double
- (Float) Volume Size (GB).
- Status string
- (String) Status of the volume.
- Updated
Date string - (String) The date and time when the volume was updated.
- List<string>
- (List) List of user tags.
- Volume
Id string - (String) Volume ID.
- Creation
Date string - (String) The date and time when the volume was created.
- Crn string
- (String) The CRN for this resource.
- Error
Code string - (String) Error code for the vPMEM volume.
- Href string
- (String) Link to vPMEM volume resource.
- Name string
- (String) Volume Name.
- Pvm
Instance stringId - (String) PVM Instance ID which the volume is attached to.
- Reason string
- (String) Reason for error.
- Size float64
- (Float) Volume Size (GB).
- Status string
- (String) Status of the volume.
- Updated
Date string - (String) The date and time when the volume was updated.
- []string
- (List) List of user tags.
- Volume
Id string - (String) Volume ID.
- creation
Date String - (String) The date and time when the volume was created.
- crn String
- (String) The CRN for this resource.
- error
Code String - (String) Error code for the vPMEM volume.
- href String
- (String) Link to vPMEM volume resource.
- name String
- (String) Volume Name.
- pvm
Instance StringId - (String) PVM Instance ID which the volume is attached to.
- reason String
- (String) Reason for error.
- size Double
- (Float) Volume Size (GB).
- status String
- (String) Status of the volume.
- updated
Date String - (String) The date and time when the volume was updated.
- List<String>
- (List) List of user tags.
- volume
Id String - (String) Volume ID.
- creation
Date string - (String) The date and time when the volume was created.
- crn string
- (String) The CRN for this resource.
- error
Code string - (String) Error code for the vPMEM volume.
- href string
- (String) Link to vPMEM volume resource.
- name string
- (String) Volume Name.
- pvm
Instance stringId - (String) PVM Instance ID which the volume is attached to.
- reason string
- (String) Reason for error.
- size number
- (Float) Volume Size (GB).
- status string
- (String) Status of the volume.
- updated
Date string - (String) The date and time when the volume was updated.
- string[]
- (List) List of user tags.
- volume
Id string - (String) Volume ID.
- creation_
date str - (String) The date and time when the volume was created.
- crn str
- (String) The CRN for this resource.
- error_
code str - (String) Error code for the vPMEM volume.
- href str
- (String) Link to vPMEM volume resource.
- name str
- (String) Volume Name.
- pvm_
instance_ strid - (String) PVM Instance ID which the volume is attached to.
- reason str
- (String) Reason for error.
- size float
- (Float) Volume Size (GB).
- status str
- (String) Status of the volume.
- updated_
date str - (String) The date and time when the volume was updated.
- Sequence[str]
- (List) List of user tags.
- volume_
id str - (String) Volume ID.
- creation
Date String - (String) The date and time when the volume was created.
- crn String
- (String) The CRN for this resource.
- error
Code String - (String) Error code for the vPMEM volume.
- href String
- (String) Link to vPMEM volume resource.
- name String
- (String) Volume Name.
- pvm
Instance StringId - (String) PVM Instance ID which the volume is attached to.
- reason String
- (String) Reason for error.
- size Number
- (Float) Volume Size (GB).
- status String
- (String) Status of the volume.
- updated
Date String - (String) The date and time when the volume was updated.
- List<String>
- (List) List of user tags.
- volume
Id String - (String) Volume ID.
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
