Viewing docs for ibm 2.1.0
published on Tuesday, May 5, 2026 by ibm-cloud
published on Tuesday, May 5, 2026 by ibm-cloud
Viewing docs for ibm 2.1.0
published on Tuesday, May 5, 2026 by ibm-cloud
published on Tuesday, May 5, 2026 by ibm-cloud
Provides a read-only data source to retrieve information about an is_volume_job. You can then reference the fields of the data source in other resources within the same configuration by using interpolation syntax.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const example = ibm.getIsVolumeJob({
volumeJobId: exampleIbmIsVolumeJob.volumeJobId,
volumeId: exampleIbmIsVolumeJob.volumeId,
});
import pulumi
import pulumi_ibm as ibm
example = ibm.get_is_volume_job(volume_job_id=example_ibm_is_volume_job["volumeJobId"],
volume_id=example_ibm_is_volume_job["volumeId"])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/v2/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.LookupIsVolumeJob(ctx, &ibm.LookupIsVolumeJobArgs{
VolumeJobId: exampleIbmIsVolumeJob.VolumeJobId,
VolumeId: exampleIbmIsVolumeJob.VolumeId,
}, 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 example = Ibm.GetIsVolumeJob.Invoke(new()
{
VolumeJobId = exampleIbmIsVolumeJob.VolumeJobId,
VolumeId = exampleIbmIsVolumeJob.VolumeId,
});
});
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.GetIsVolumeJobArgs;
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 example = IbmFunctions.getIsVolumeJob(GetIsVolumeJobArgs.builder()
.volumeJobId(exampleIbmIsVolumeJob.volumeJobId())
.volumeId(exampleIbmIsVolumeJob.volumeId())
.build());
}
}
variables:
example:
fn::invoke:
function: ibm:getIsVolumeJob
arguments:
volumeJobId: ${exampleIbmIsVolumeJob.volumeJobId}
volumeId: ${exampleIbmIsVolumeJob.volumeId}
Example coming soon!
Using getIsVolumeJob
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 getIsVolumeJob(args: GetIsVolumeJobArgs, opts?: InvokeOptions): Promise<GetIsVolumeJobResult>
function getIsVolumeJobOutput(args: GetIsVolumeJobOutputArgs, opts?: InvokeOptions): Output<GetIsVolumeJobResult>def get_is_volume_job(id: Optional[str] = None,
volume_id: Optional[str] = None,
volume_job_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIsVolumeJobResult
def get_is_volume_job_output(id: pulumi.Input[Optional[str]] = None,
volume_id: pulumi.Input[Optional[str]] = None,
volume_job_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIsVolumeJobResult]func LookupIsVolumeJob(ctx *Context, args *LookupIsVolumeJobArgs, opts ...InvokeOption) (*LookupIsVolumeJobResult, error)
func LookupIsVolumeJobOutput(ctx *Context, args *LookupIsVolumeJobOutputArgs, opts ...InvokeOption) LookupIsVolumeJobResultOutput> Note: This function is named LookupIsVolumeJob in the Go SDK.
public static class GetIsVolumeJob
{
public static Task<GetIsVolumeJobResult> InvokeAsync(GetIsVolumeJobArgs args, InvokeOptions? opts = null)
public static Output<GetIsVolumeJobResult> Invoke(GetIsVolumeJobInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetIsVolumeJobResult> getIsVolumeJob(GetIsVolumeJobArgs args, InvokeOptions options)
public static Output<GetIsVolumeJobResult> getIsVolumeJob(GetIsVolumeJobArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getIsVolumeJob:getIsVolumeJob
arguments:
# arguments dictionarydata "ibm_getisvolumejob" "name" {
# arguments
}The following arguments are supported:
- Volume
Id string - The volume identifier.
- Volume
Job stringId - The volume job identifier.
- Id string
- The unique identifier of the is_volume_job.
- Volume
Id string - The volume identifier.
- Volume
Job stringId - The volume job identifier.
- Id string
- The unique identifier of the is_volume_job.
- volume_
id string - The volume identifier.
- volume_
job_ stringid - The volume job identifier.
- id string
- The unique identifier of the is_volume_job.
- volume
Id String - The volume identifier.
- volume
Job StringId - The volume job identifier.
- id String
- The unique identifier of the is_volume_job.
- volume
Id string - The volume identifier.
- volume
Job stringId - The volume job identifier.
- id string
- The unique identifier of the is_volume_job.
- volume_
id str - The volume identifier.
- volume_
job_ strid - The volume job identifier.
- id str
- The unique identifier of the is_volume_job.
- volume
Id String - The volume identifier.
- volume
Job StringId - The volume job identifier.
- id String
- The unique identifier of the is_volume_job.
getIsVolumeJob Result
The following output properties are available:
- Auto
Delete bool - (Boolean) Indicates whether this volume job will be automatically deleted after it completes. At present, this is always
false, but may be modifiable in the future. - Completed
At string - (String) The date and time that the volume job was completed.If absent, the volume job has not yet completed.
- Created
At string - (String) The date and time that the volume job was created.
- Estimated
Completion stringAt - (String) The date and time that the volume job is estimated to complete.If absent, the volume job is still queued and has not yet started.
- Href string
- (String) The URL for this volume profile.
- Id string
- The unique identifier of the is_volume_job.
- Job
Type string - (String) The type of volume job.The enumerated values for this property may expand in the future.
- Name string
- (String) The globally unique name for this volume profile.
- Parameters
List<Get
Is Volume Job Parameter> - (List) The parameters to use after the volume is migrated.
- Resource
Type string - (String) The resource type.
- Started
At string - (String) The date and time that the volume job was started.If absent, the volume job has not yet started.
- Status string
- (String) The status of this volume job:
- Status
Reasons List<GetIs Volume Job Status Reason> - (List) The reasons for the current status (if any).
- Volume
Id string - Volume
Job stringId
- Auto
Delete bool - (Boolean) Indicates whether this volume job will be automatically deleted after it completes. At present, this is always
false, but may be modifiable in the future. - Completed
At string - (String) The date and time that the volume job was completed.If absent, the volume job has not yet completed.
- Created
At string - (String) The date and time that the volume job was created.
- Estimated
Completion stringAt - (String) The date and time that the volume job is estimated to complete.If absent, the volume job is still queued and has not yet started.
- Href string
- (String) The URL for this volume profile.
- Id string
- The unique identifier of the is_volume_job.
- Job
Type string - (String) The type of volume job.The enumerated values for this property may expand in the future.
- Name string
- (String) The globally unique name for this volume profile.
- Parameters
[]Get
Is Volume Job Parameter - (List) The parameters to use after the volume is migrated.
- Resource
Type string - (String) The resource type.
- Started
At string - (String) The date and time that the volume job was started.If absent, the volume job has not yet started.
- Status string
- (String) The status of this volume job:
- Status
Reasons []GetIs Volume Job Status Reason - (List) The reasons for the current status (if any).
- Volume
Id string - Volume
Job stringId
- auto_
delete bool - (Boolean) Indicates whether this volume job will be automatically deleted after it completes. At present, this is always
false, but may be modifiable in the future. - completed_
at string - (String) The date and time that the volume job was completed.If absent, the volume job has not yet completed.
- created_
at string - (String) The date and time that the volume job was created.
- estimated_
completion_ stringat - (String) The date and time that the volume job is estimated to complete.If absent, the volume job is still queued and has not yet started.
- href string
- (String) The URL for this volume profile.
- id string
- The unique identifier of the is_volume_job.
- job_
type string - (String) The type of volume job.The enumerated values for this property may expand in the future.
- name string
- (String) The globally unique name for this volume profile.
- parameters list(object)
- (List) The parameters to use after the volume is migrated.
- resource_
type string - (String) The resource type.
- started_
at string - (String) The date and time that the volume job was started.If absent, the volume job has not yet started.
- status string
- (String) The status of this volume job:
- status_
reasons list(object) - (List) The reasons for the current status (if any).
- volume_
id string - volume_
job_ stringid
- auto
Delete Boolean - (Boolean) Indicates whether this volume job will be automatically deleted after it completes. At present, this is always
false, but may be modifiable in the future. - completed
At String - (String) The date and time that the volume job was completed.If absent, the volume job has not yet completed.
- created
At String - (String) The date and time that the volume job was created.
- estimated
Completion StringAt - (String) The date and time that the volume job is estimated to complete.If absent, the volume job is still queued and has not yet started.
- href String
- (String) The URL for this volume profile.
- id String
- The unique identifier of the is_volume_job.
- job
Type String - (String) The type of volume job.The enumerated values for this property may expand in the future.
- name String
- (String) The globally unique name for this volume profile.
- parameters
List<Get
Is Volume Job Parameter> - (List) The parameters to use after the volume is migrated.
- resource
Type String - (String) The resource type.
- started
At String - (String) The date and time that the volume job was started.If absent, the volume job has not yet started.
- status String
- (String) The status of this volume job:
- status
Reasons List<GetIs Volume Job Status Reason> - (List) The reasons for the current status (if any).
- volume
Id String - volume
Job StringId
- auto
Delete boolean - (Boolean) Indicates whether this volume job will be automatically deleted after it completes. At present, this is always
false, but may be modifiable in the future. - completed
At string - (String) The date and time that the volume job was completed.If absent, the volume job has not yet completed.
- created
At string - (String) The date and time that the volume job was created.
- estimated
Completion stringAt - (String) The date and time that the volume job is estimated to complete.If absent, the volume job is still queued and has not yet started.
- href string
- (String) The URL for this volume profile.
- id string
- The unique identifier of the is_volume_job.
- job
Type string - (String) The type of volume job.The enumerated values for this property may expand in the future.
- name string
- (String) The globally unique name for this volume profile.
- parameters
Get
Is Volume Job Parameter[] - (List) The parameters to use after the volume is migrated.
- resource
Type string - (String) The resource type.
- started
At string - (String) The date and time that the volume job was started.If absent, the volume job has not yet started.
- status string
- (String) The status of this volume job:
- status
Reasons GetIs Volume Job Status Reason[] - (List) The reasons for the current status (if any).
- volume
Id string - volume
Job stringId
- auto_
delete bool - (Boolean) Indicates whether this volume job will be automatically deleted after it completes. At present, this is always
false, but may be modifiable in the future. - completed_
at str - (String) The date and time that the volume job was completed.If absent, the volume job has not yet completed.
- created_
at str - (String) The date and time that the volume job was created.
- estimated_
completion_ strat - (String) The date and time that the volume job is estimated to complete.If absent, the volume job is still queued and has not yet started.
- href str
- (String) The URL for this volume profile.
- id str
- The unique identifier of the is_volume_job.
- job_
type str - (String) The type of volume job.The enumerated values for this property may expand in the future.
- name str
- (String) The globally unique name for this volume profile.
- parameters
Sequence[Get
Is Volume Job Parameter] - (List) The parameters to use after the volume is migrated.
- resource_
type str - (String) The resource type.
- started_
at str - (String) The date and time that the volume job was started.If absent, the volume job has not yet started.
- status str
- (String) The status of this volume job:
- status_
reasons Sequence[GetIs Volume Job Status Reason] - (List) The reasons for the current status (if any).
- volume_
id str - volume_
job_ strid
- auto
Delete Boolean - (Boolean) Indicates whether this volume job will be automatically deleted after it completes. At present, this is always
false, but may be modifiable in the future. - completed
At String - (String) The date and time that the volume job was completed.If absent, the volume job has not yet completed.
- created
At String - (String) The date and time that the volume job was created.
- estimated
Completion StringAt - (String) The date and time that the volume job is estimated to complete.If absent, the volume job is still queued and has not yet started.
- href String
- (String) The URL for this volume profile.
- id String
- The unique identifier of the is_volume_job.
- job
Type String - (String) The type of volume job.The enumerated values for this property may expand in the future.
- name String
- (String) The globally unique name for this volume profile.
- parameters List<Property Map>
- (List) The parameters to use after the volume is migrated.
- resource
Type String - (String) The resource type.
- started
At String - (String) The date and time that the volume job was started.If absent, the volume job has not yet started.
- status String
- (String) The status of this volume job:
- status
Reasons List<Property Map> - (List) The reasons for the current status (if any).
- volume
Id String - volume
Job StringId
Supporting Types
GetIsVolumeJobParameter
- Bandwidth double
- (Integer) The maximum bandwidth (in megabits per second) for the volume.If specified, the volume profile must not have a
bandwidth.typeofdependent. - Iops double
- (Integer) The maximum I/O operations per second (IOPS) for this volume.If specified, the volume profile must not have a
iops.typeofdependent. - Profiles
List<Get
Is Volume Job Parameter Profile> - (List) Identifies a volume profile by a unique property.
- Bandwidth float64
- (Integer) The maximum bandwidth (in megabits per second) for the volume.If specified, the volume profile must not have a
bandwidth.typeofdependent. - Iops float64
- (Integer) The maximum I/O operations per second (IOPS) for this volume.If specified, the volume profile must not have a
iops.typeofdependent. - Profiles
[]Get
Is Volume Job Parameter Profile - (List) Identifies a volume profile by a unique property.
- bandwidth number
- (Integer) The maximum bandwidth (in megabits per second) for the volume.If specified, the volume profile must not have a
bandwidth.typeofdependent. - iops number
- (Integer) The maximum I/O operations per second (IOPS) for this volume.If specified, the volume profile must not have a
iops.typeofdependent. - profiles list(object)
- (List) Identifies a volume profile by a unique property.
- bandwidth Double
- (Integer) The maximum bandwidth (in megabits per second) for the volume.If specified, the volume profile must not have a
bandwidth.typeofdependent. - iops Double
- (Integer) The maximum I/O operations per second (IOPS) for this volume.If specified, the volume profile must not have a
iops.typeofdependent. - profiles
List<Get
Is Volume Job Parameter Profile> - (List) Identifies a volume profile by a unique property.
- bandwidth number
- (Integer) The maximum bandwidth (in megabits per second) for the volume.If specified, the volume profile must not have a
bandwidth.typeofdependent. - iops number
- (Integer) The maximum I/O operations per second (IOPS) for this volume.If specified, the volume profile must not have a
iops.typeofdependent. - profiles
Get
Is Volume Job Parameter Profile[] - (List) Identifies a volume profile by a unique property.
- bandwidth float
- (Integer) The maximum bandwidth (in megabits per second) for the volume.If specified, the volume profile must not have a
bandwidth.typeofdependent. - iops float
- (Integer) The maximum I/O operations per second (IOPS) for this volume.If specified, the volume profile must not have a
iops.typeofdependent. - profiles
Sequence[Get
Is Volume Job Parameter Profile] - (List) Identifies a volume profile by a unique property.
- bandwidth Number
- (Integer) The maximum bandwidth (in megabits per second) for the volume.If specified, the volume profile must not have a
bandwidth.typeofdependent. - iops Number
- (Integer) The maximum I/O operations per second (IOPS) for this volume.If specified, the volume profile must not have a
iops.typeofdependent. - profiles List<Property Map>
- (List) Identifies a volume profile by a unique property.
GetIsVolumeJobParameterProfile
GetIsVolumeJobStatusReason
- Code string
- (String) A snake case string succinctly identifying the status reason.The enumerated values for this property may expand in the future. Constraints: Allowable values are:
internal_error,virtual_instance_powered_off,volume_detached_from_virtual_instance. - Message string
- (String) An explanation of the status reason.
- More
Info string - (String) A link to documentation about this status reason.
- Code string
- (String) A snake case string succinctly identifying the status reason.The enumerated values for this property may expand in the future. Constraints: Allowable values are:
internal_error,virtual_instance_powered_off,volume_detached_from_virtual_instance. - Message string
- (String) An explanation of the status reason.
- More
Info string - (String) A link to documentation about this status reason.
- code string
- (String) A snake case string succinctly identifying the status reason.The enumerated values for this property may expand in the future. Constraints: Allowable values are:
internal_error,virtual_instance_powered_off,volume_detached_from_virtual_instance. - message string
- (String) An explanation of the status reason.
- more_
info string - (String) A link to documentation about this status reason.
- code String
- (String) A snake case string succinctly identifying the status reason.The enumerated values for this property may expand in the future. Constraints: Allowable values are:
internal_error,virtual_instance_powered_off,volume_detached_from_virtual_instance. - message String
- (String) An explanation of the status reason.
- more
Info String - (String) A link to documentation about this status reason.
- code string
- (String) A snake case string succinctly identifying the status reason.The enumerated values for this property may expand in the future. Constraints: Allowable values are:
internal_error,virtual_instance_powered_off,volume_detached_from_virtual_instance. - message string
- (String) An explanation of the status reason.
- more
Info string - (String) A link to documentation about this status reason.
- code str
- (String) A snake case string succinctly identifying the status reason.The enumerated values for this property may expand in the future. Constraints: Allowable values are:
internal_error,virtual_instance_powered_off,volume_detached_from_virtual_instance. - message str
- (String) An explanation of the status reason.
- more_
info str - (String) A link to documentation about this status reason.
- code String
- (String) A snake case string succinctly identifying the status reason.The enumerated values for this property may expand in the future. Constraints: Allowable values are:
internal_error,virtual_instance_powered_off,volume_detached_from_virtual_instance. - message String
- (String) An explanation of the status reason.
- more
Info String - (String) A link to documentation about this status reason.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibmTerraform Provider.
Viewing docs for ibm 2.1.0
published on Tuesday, May 5, 2026 by ibm-cloud
published on Tuesday, May 5, 2026 by ibm-cloud
