ibm 1.85.0-beta0 published on Wednesday, Oct 29, 2025 by ibm-cloud
ibm.getPiInstanceVolumes
Start a Neo task
Explain and create an ibm.getPiInstanceVolumes resource
Using getPiInstanceVolumes
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 getPiInstanceVolumes(args: GetPiInstanceVolumesArgs, opts?: InvokeOptions): Promise<GetPiInstanceVolumesResult>
function getPiInstanceVolumesOutput(args: GetPiInstanceVolumesOutputArgs, opts?: InvokeOptions): Output<GetPiInstanceVolumesResult>def get_pi_instance_volumes(id: Optional[str] = None,
pi_cloud_instance_id: Optional[str] = None,
pi_instance_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPiInstanceVolumesResult
def get_pi_instance_volumes_output(id: Optional[pulumi.Input[str]] = None,
pi_cloud_instance_id: Optional[pulumi.Input[str]] = None,
pi_instance_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPiInstanceVolumesResult]func GetPiInstanceVolumes(ctx *Context, args *GetPiInstanceVolumesArgs, opts ...InvokeOption) (*GetPiInstanceVolumesResult, error)
func GetPiInstanceVolumesOutput(ctx *Context, args *GetPiInstanceVolumesOutputArgs, opts ...InvokeOption) GetPiInstanceVolumesResultOutput> Note: This function is named GetPiInstanceVolumes in the Go SDK.
public static class GetPiInstanceVolumes
{
public static Task<GetPiInstanceVolumesResult> InvokeAsync(GetPiInstanceVolumesArgs args, InvokeOptions? opts = null)
public static Output<GetPiInstanceVolumesResult> Invoke(GetPiInstanceVolumesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPiInstanceVolumesResult> getPiInstanceVolumes(GetPiInstanceVolumesArgs args, InvokeOptions options)
public static Output<GetPiInstanceVolumesResult> getPiInstanceVolumes(GetPiInstanceVolumesArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getPiInstanceVolumes:getPiInstanceVolumes
arguments:
# arguments dictionaryThe following arguments are supported:
- Pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- Pi
Instance stringName - The unique identifier or name of the instance.
- Id string
- (String) The unique identifier of the volume.
- Pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- Pi
Instance stringName - The unique identifier or name of the instance.
- Id string
- (String) The unique identifier of the volume.
- pi
Cloud StringInstance Id - The GUID of the service instance associated with an account.
- pi
Instance StringName - The unique identifier or name of the instance.
- id String
- (String) The unique identifier of the volume.
- pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- pi
Instance stringName - The unique identifier or name of the instance.
- id string
- (String) The unique identifier of the volume.
- pi_
cloud_ strinstance_ id - The GUID of the service instance associated with an account.
- pi_
instance_ strname - The unique identifier or name of the instance.
- id str
- (String) The unique identifier of the volume.
- pi
Cloud StringInstance Id - The GUID of the service instance associated with an account.
- pi
Instance StringName - The unique identifier or name of the instance.
- id String
- (String) The unique identifier of the volume.
getPiInstanceVolumes Result
The following output properties are available:
- Boot
Volume stringId - (String) The unique identifier of the boot volume.
- Id string
- (String) The unique identifier of the volume.
- Instance
Volumes List<GetPi Instance Volumes Instance Volume> - (List) List of volumes attached to instance.
- Pi
Cloud stringInstance Id - Pi
Instance stringName
- Boot
Volume stringId - (String) The unique identifier of the boot volume.
- Id string
- (String) The unique identifier of the volume.
- Instance
Volumes []GetPi Instance Volumes Instance Volume - (List) List of volumes attached to instance.
- Pi
Cloud stringInstance Id - Pi
Instance stringName
- boot
Volume StringId - (String) The unique identifier of the boot volume.
- id String
- (String) The unique identifier of the volume.
- instance
Volumes List<GetPi Instance Volumes Instance Volume> - (List) List of volumes attached to instance.
- pi
Cloud StringInstance Id - pi
Instance StringName
- boot
Volume stringId - (String) The unique identifier of the boot volume.
- id string
- (String) The unique identifier of the volume.
- instance
Volumes GetPi Instance Volumes Instance Volume[] - (List) List of volumes attached to instance.
- pi
Cloud stringInstance Id - pi
Instance stringName
- boot_
volume_ strid - (String) The unique identifier of the boot volume.
- id str
- (String) The unique identifier of the volume.
- instance_
volumes Sequence[GetPi Instance Volumes Instance Volume] - (List) List of volumes attached to instance.
- pi_
cloud_ strinstance_ id - pi_
instance_ strname
- boot
Volume StringId - (String) The unique identifier of the boot volume.
- id String
- (String) The unique identifier of the volume.
- instance
Volumes List<Property Map> - (List) List of volumes attached to instance.
- pi
Cloud StringInstance Id - pi
Instance StringName
Supporting Types
GetPiInstanceVolumesInstanceVolume
- Bootable bool
- (Boolean) Indicates if the volume is boot capable.
- Creation
Date string - (String) Date of volume creation.
- Crn string
- (String) The CRN of this resource.
- Freeze
Time string - (String) Time of remote copy relationship.
- Href string
- (String) The hyper link of the volume.
- Id string
- (String) The unique identifier of the volume.
- Last
Update stringDate - (String) The date when the volume last updated.
- Name string
- (String) The name of the volume.
- Pool string
- (String) Volume pool, name of storage pool where the volume is located.
- Replication
Enabled bool - (Boolean) Indicates whether replication is enabled on the volume.
- Replication
Sites List<string> - (List) List of replication sites for volume replication.
- Shreable bool
- Size double
- (Integer) The size of this volume in GB.
- State string
- (String) The state of the volume.
- Type string
- (String) The disk type that is used for this volume.
- List<string>
- (List) List of user tags attached to the resource.
- Bootable bool
- (Boolean) Indicates if the volume is boot capable.
- Creation
Date string - (String) Date of volume creation.
- Crn string
- (String) The CRN of this resource.
- Freeze
Time string - (String) Time of remote copy relationship.
- Href string
- (String) The hyper link of the volume.
- Id string
- (String) The unique identifier of the volume.
- Last
Update stringDate - (String) The date when the volume last updated.
- Name string
- (String) The name of the volume.
- Pool string
- (String) Volume pool, name of storage pool where the volume is located.
- Replication
Enabled bool - (Boolean) Indicates whether replication is enabled on the volume.
- Replication
Sites []string - (List) List of replication sites for volume replication.
- Shreable bool
- Size float64
- (Integer) The size of this volume in GB.
- State string
- (String) The state of the volume.
- Type string
- (String) The disk type that is used for this volume.
- []string
- (List) List of user tags attached to the resource.
- bootable Boolean
- (Boolean) Indicates if the volume is boot capable.
- creation
Date String - (String) Date of volume creation.
- crn String
- (String) The CRN of this resource.
- freeze
Time String - (String) Time of remote copy relationship.
- href String
- (String) The hyper link of the volume.
- id String
- (String) The unique identifier of the volume.
- last
Update StringDate - (String) The date when the volume last updated.
- name String
- (String) The name of the volume.
- pool String
- (String) Volume pool, name of storage pool where the volume is located.
- replication
Enabled Boolean - (Boolean) Indicates whether replication is enabled on the volume.
- replication
Sites List<String> - (List) List of replication sites for volume replication.
- shreable Boolean
- size Double
- (Integer) The size of this volume in GB.
- state String
- (String) The state of the volume.
- type String
- (String) The disk type that is used for this volume.
- List<String>
- (List) List of user tags attached to the resource.
- bootable boolean
- (Boolean) Indicates if the volume is boot capable.
- creation
Date string - (String) Date of volume creation.
- crn string
- (String) The CRN of this resource.
- freeze
Time string - (String) Time of remote copy relationship.
- href string
- (String) The hyper link of the volume.
- id string
- (String) The unique identifier of the volume.
- last
Update stringDate - (String) The date when the volume last updated.
- name string
- (String) The name of the volume.
- pool string
- (String) Volume pool, name of storage pool where the volume is located.
- replication
Enabled boolean - (Boolean) Indicates whether replication is enabled on the volume.
- replication
Sites string[] - (List) List of replication sites for volume replication.
- shreable boolean
- size number
- (Integer) The size of this volume in GB.
- state string
- (String) The state of the volume.
- type string
- (String) The disk type that is used for this volume.
- string[]
- (List) List of user tags attached to the resource.
- bootable bool
- (Boolean) Indicates if the volume is boot capable.
- creation_
date str - (String) Date of volume creation.
- crn str
- (String) The CRN of this resource.
- freeze_
time str - (String) Time of remote copy relationship.
- href str
- (String) The hyper link of the volume.
- id str
- (String) The unique identifier of the volume.
- last_
update_ strdate - (String) The date when the volume last updated.
- name str
- (String) The name of the volume.
- pool str
- (String) Volume pool, name of storage pool where the volume is located.
- replication_
enabled bool - (Boolean) Indicates whether replication is enabled on the volume.
- replication_
sites Sequence[str] - (List) List of replication sites for volume replication.
- shreable bool
- size float
- (Integer) The size of this volume in GB.
- state str
- (String) The state of the volume.
- type str
- (String) The disk type that is used for this volume.
- Sequence[str]
- (List) List of user tags attached to the resource.
- bootable Boolean
- (Boolean) Indicates if the volume is boot capable.
- creation
Date String - (String) Date of volume creation.
- crn String
- (String) The CRN of this resource.
- freeze
Time String - (String) Time of remote copy relationship.
- href String
- (String) The hyper link of the volume.
- id String
- (String) The unique identifier of the volume.
- last
Update StringDate - (String) The date when the volume last updated.
- name String
- (String) The name of the volume.
- pool String
- (String) Volume pool, name of storage pool where the volume is located.
- replication
Enabled Boolean - (Boolean) Indicates whether replication is enabled on the volume.
- replication
Sites List<String> - (List) List of replication sites for volume replication.
- shreable Boolean
- size Number
- (Integer) The size of this volume in GB.
- state String
- (String) The state of the volume.
- type String
- (String) The disk type that is used for this volume.
- List<String>
- (List) 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
ibmTerraform Provider.
