1. Packages
  2. Ibm Provider
  3. API Docs
  4. getPiInstanceVolumes
ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud

ibm.getPiInstanceVolumes

Explore with Pulumi AI

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>
Copy
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]
Copy
func GetPiInstanceVolumes(ctx *Context, args *GetPiInstanceVolumesArgs, opts ...InvokeOption) (*GetPiInstanceVolumesResult, error)
func GetPiInstanceVolumesOutput(ctx *Context, args *GetPiInstanceVolumesOutputArgs, opts ...InvokeOption) GetPiInstanceVolumesResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetPiInstanceVolumesResult> getPiInstanceVolumes(GetPiInstanceVolumesArgs args, InvokeOptions options)
public static Output<GetPiInstanceVolumesResult> getPiInstanceVolumes(GetPiInstanceVolumesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: ibm:index/getPiInstanceVolumes:getPiInstanceVolumes
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

PiCloudInstanceId This property is required. string
The GUID of the service instance associated with an account.
PiInstanceName This property is required. string
The unique identifier or name of the instance.
Id string
(String) The unique identifier of the volume.
PiCloudInstanceId This property is required. string
The GUID of the service instance associated with an account.
PiInstanceName This property is required. string
The unique identifier or name of the instance.
Id string
(String) The unique identifier of the volume.
piCloudInstanceId This property is required. String
The GUID of the service instance associated with an account.
piInstanceName This property is required. String
The unique identifier or name of the instance.
id String
(String) The unique identifier of the volume.
piCloudInstanceId This property is required. string
The GUID of the service instance associated with an account.
piInstanceName This property is required. string
The unique identifier or name of the instance.
id string
(String) The unique identifier of the volume.
pi_cloud_instance_id This property is required. str
The GUID of the service instance associated with an account.
pi_instance_name This property is required. str
The unique identifier or name of the instance.
id str
(String) The unique identifier of the volume.
piCloudInstanceId This property is required. String
The GUID of the service instance associated with an account.
piInstanceName This property is required. String
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:

BootVolumeId string
(String) The unique identifier of the boot volume.
Id string
(String) The unique identifier of the volume.
InstanceVolumes List<GetPiInstanceVolumesInstanceVolume>
(List) List of volumes attached to instance.
PiCloudInstanceId string
PiInstanceName string
BootVolumeId string
(String) The unique identifier of the boot volume.
Id string
(String) The unique identifier of the volume.
InstanceVolumes []GetPiInstanceVolumesInstanceVolume
(List) List of volumes attached to instance.
PiCloudInstanceId string
PiInstanceName string
bootVolumeId String
(String) The unique identifier of the boot volume.
id String
(String) The unique identifier of the volume.
instanceVolumes List<GetPiInstanceVolumesInstanceVolume>
(List) List of volumes attached to instance.
piCloudInstanceId String
piInstanceName String
bootVolumeId string
(String) The unique identifier of the boot volume.
id string
(String) The unique identifier of the volume.
instanceVolumes GetPiInstanceVolumesInstanceVolume[]
(List) List of volumes attached to instance.
piCloudInstanceId string
piInstanceName string
boot_volume_id str
(String) The unique identifier of the boot volume.
id str
(String) The unique identifier of the volume.
instance_volumes Sequence[GetPiInstanceVolumesInstanceVolume]
(List) List of volumes attached to instance.
pi_cloud_instance_id str
pi_instance_name str
bootVolumeId String
(String) The unique identifier of the boot volume.
id String
(String) The unique identifier of the volume.
instanceVolumes List<Property Map>
(List) List of volumes attached to instance.
piCloudInstanceId String
piInstanceName String

Supporting Types

GetPiInstanceVolumesInstanceVolume

Bootable This property is required. bool
(Boolean) Indicates if the volume is boot capable.
CreationDate This property is required. string
(String) Date of volume creation.
Crn This property is required. string
(String) The CRN of this resource.
FreezeTime This property is required. string
(String) Time of remote copy relationship.
Href This property is required. string
(String) The hyper link of the volume.
Id This property is required. string
(String) The unique identifier of the volume.
LastUpdateDate This property is required. string
(String) The date when the volume last updated.
Name This property is required. string
(String) The name of the volume.
Pool This property is required. string
(String) Volume pool, name of storage pool where the volume is located.
ReplicationEnabled This property is required. bool
(Boolean) Indicates whether replication is enabled on the volume.
ReplicationSites This property is required. List<string>
(List) List of replication sites for volume replication.
Shreable This property is required. bool
Size This property is required. double
(Integer) The size of this volume in GB.
State This property is required. string
(String) The state of the volume.
Type This property is required. string
(String) The disk type that is used for this volume.
UserTags This property is required. List<string>
(List) List of user tags attached to the resource.
Bootable This property is required. bool
(Boolean) Indicates if the volume is boot capable.
CreationDate This property is required. string
(String) Date of volume creation.
Crn This property is required. string
(String) The CRN of this resource.
FreezeTime This property is required. string
(String) Time of remote copy relationship.
Href This property is required. string
(String) The hyper link of the volume.
Id This property is required. string
(String) The unique identifier of the volume.
LastUpdateDate This property is required. string
(String) The date when the volume last updated.
Name This property is required. string
(String) The name of the volume.
Pool This property is required. string
(String) Volume pool, name of storage pool where the volume is located.
ReplicationEnabled This property is required. bool
(Boolean) Indicates whether replication is enabled on the volume.
ReplicationSites This property is required. []string
(List) List of replication sites for volume replication.
Shreable This property is required. bool
Size This property is required. float64
(Integer) The size of this volume in GB.
State This property is required. string
(String) The state of the volume.
Type This property is required. string
(String) The disk type that is used for this volume.
UserTags This property is required. []string
(List) List of user tags attached to the resource.
bootable This property is required. Boolean
(Boolean) Indicates if the volume is boot capable.
creationDate This property is required. String
(String) Date of volume creation.
crn This property is required. String
(String) The CRN of this resource.
freezeTime This property is required. String
(String) Time of remote copy relationship.
href This property is required. String
(String) The hyper link of the volume.
id This property is required. String
(String) The unique identifier of the volume.
lastUpdateDate This property is required. String
(String) The date when the volume last updated.
name This property is required. String
(String) The name of the volume.
pool This property is required. String
(String) Volume pool, name of storage pool where the volume is located.
replicationEnabled This property is required. Boolean
(Boolean) Indicates whether replication is enabled on the volume.
replicationSites This property is required. List<String>
(List) List of replication sites for volume replication.
shreable This property is required. Boolean
size This property is required. Double
(Integer) The size of this volume in GB.
state This property is required. String
(String) The state of the volume.
type This property is required. String
(String) The disk type that is used for this volume.
userTags This property is required. List<String>
(List) List of user tags attached to the resource.
bootable This property is required. boolean
(Boolean) Indicates if the volume is boot capable.
creationDate This property is required. string
(String) Date of volume creation.
crn This property is required. string
(String) The CRN of this resource.
freezeTime This property is required. string
(String) Time of remote copy relationship.
href This property is required. string
(String) The hyper link of the volume.
id This property is required. string
(String) The unique identifier of the volume.
lastUpdateDate This property is required. string
(String) The date when the volume last updated.
name This property is required. string
(String) The name of the volume.
pool This property is required. string
(String) Volume pool, name of storage pool where the volume is located.
replicationEnabled This property is required. boolean
(Boolean) Indicates whether replication is enabled on the volume.
replicationSites This property is required. string[]
(List) List of replication sites for volume replication.
shreable This property is required. boolean
size This property is required. number
(Integer) The size of this volume in GB.
state This property is required. string
(String) The state of the volume.
type This property is required. string
(String) The disk type that is used for this volume.
userTags This property is required. string[]
(List) List of user tags attached to the resource.
bootable This property is required. bool
(Boolean) Indicates if the volume is boot capable.
creation_date This property is required. str
(String) Date of volume creation.
crn This property is required. str
(String) The CRN of this resource.
freeze_time This property is required. str
(String) Time of remote copy relationship.
href This property is required. str
(String) The hyper link of the volume.
id This property is required. str
(String) The unique identifier of the volume.
last_update_date This property is required. str
(String) The date when the volume last updated.
name This property is required. str
(String) The name of the volume.
pool This property is required. str
(String) Volume pool, name of storage pool where the volume is located.
replication_enabled This property is required. bool
(Boolean) Indicates whether replication is enabled on the volume.
replication_sites This property is required. Sequence[str]
(List) List of replication sites for volume replication.
shreable This property is required. bool
size This property is required. float
(Integer) The size of this volume in GB.
state This property is required. str
(String) The state of the volume.
type This property is required. str
(String) The disk type that is used for this volume.
user_tags This property is required. Sequence[str]
(List) List of user tags attached to the resource.
bootable This property is required. Boolean
(Boolean) Indicates if the volume is boot capable.
creationDate This property is required. String
(String) Date of volume creation.
crn This property is required. String
(String) The CRN of this resource.
freezeTime This property is required. String
(String) Time of remote copy relationship.
href This property is required. String
(String) The hyper link of the volume.
id This property is required. String
(String) The unique identifier of the volume.
lastUpdateDate This property is required. String
(String) The date when the volume last updated.
name This property is required. String
(String) The name of the volume.
pool This property is required. String
(String) Volume pool, name of storage pool where the volume is located.
replicationEnabled This property is required. Boolean
(Boolean) Indicates whether replication is enabled on the volume.
replicationSites This property is required. List<String>
(List) List of replication sites for volume replication.
shreable This property is required. Boolean
size This property is required. Number
(Integer) The size of this volume in GB.
state This property is required. String
(String) The state of the volume.
type This property is required. String
(String) The disk type that is used for this volume.
userTags This property is required. 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 ibm Terraform Provider.