1. Packages
  2. Ibm Provider
  3. API Docs
  4. getPiInstanceVolumes
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.getPiInstanceVolumes

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    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 dictionary

    The following arguments are supported:

    PiCloudInstanceId string
    The GUID of the service instance associated with an account.
    PiInstanceName string
    The unique identifier or name of the instance.
    Id string
    (String) The unique identifier of the volume.
    PiCloudInstanceId string
    The GUID of the service instance associated with an account.
    PiInstanceName string
    The unique identifier or name of the instance.
    Id string
    (String) The unique identifier of the volume.
    piCloudInstanceId String
    The GUID of the service instance associated with an account.
    piInstanceName String
    The unique identifier or name of the instance.
    id String
    (String) The unique identifier of the volume.
    piCloudInstanceId string
    The GUID of the service instance associated with an account.
    piInstanceName string
    The unique identifier or name of the instance.
    id string
    (String) The unique identifier of the volume.
    pi_cloud_instance_id str
    The GUID of the service instance associated with an account.
    pi_instance_name str
    The unique identifier or name of the instance.
    id str
    (String) The unique identifier of the volume.
    piCloudInstanceId String
    The GUID of the service instance associated with an account.
    piInstanceName 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 bool
    (Boolean) Indicates if the volume is boot capable.
    CreationDate string
    (String) Date of volume creation.
    Crn string
    (String) The CRN of this resource.
    FreezeTime 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.
    LastUpdateDate string
    (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.
    ReplicationEnabled bool
    (Boolean) Indicates whether replication is enabled on the volume.
    ReplicationSites 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.
    UserTags List<string>
    (List) List of user tags attached to the resource.
    Bootable bool
    (Boolean) Indicates if the volume is boot capable.
    CreationDate string
    (String) Date of volume creation.
    Crn string
    (String) The CRN of this resource.
    FreezeTime 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.
    LastUpdateDate string
    (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.
    ReplicationEnabled bool
    (Boolean) Indicates whether replication is enabled on the volume.
    ReplicationSites []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.
    UserTags []string
    (List) List of user tags attached to the resource.
    bootable Boolean
    (Boolean) Indicates if the volume is boot capable.
    creationDate String
    (String) Date of volume creation.
    crn String
    (String) The CRN of this resource.
    freezeTime 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.
    lastUpdateDate String
    (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.
    replicationEnabled Boolean
    (Boolean) Indicates whether replication is enabled on the volume.
    replicationSites 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.
    userTags List<String>
    (List) List of user tags attached to the resource.
    bootable boolean
    (Boolean) Indicates if the volume is boot capable.
    creationDate string
    (String) Date of volume creation.
    crn string
    (String) The CRN of this resource.
    freezeTime 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.
    lastUpdateDate string
    (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.
    replicationEnabled boolean
    (Boolean) Indicates whether replication is enabled on the volume.
    replicationSites 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.
    userTags 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_date str
    (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.
    user_tags Sequence[str]
    (List) List of user tags attached to the resource.
    bootable Boolean
    (Boolean) Indicates if the volume is boot capable.
    creationDate String
    (String) Date of volume creation.
    crn String
    (String) The CRN of this resource.
    freezeTime 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.
    lastUpdateDate String
    (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.
    replicationEnabled Boolean
    (Boolean) Indicates whether replication is enabled on the volume.
    replicationSites 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.
    userTags 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.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud