ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud
ibm.getDatabaseTask
Explore with Pulumi AI
Provides a read-only data source for database_task. You can then reference the fields of the data source in other resources within the same configuration using interpolation syntax.
Using getDatabaseTask
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 getDatabaseTask(args: GetDatabaseTaskArgs, opts?: InvokeOptions): Promise<GetDatabaseTaskResult>
function getDatabaseTaskOutput(args: GetDatabaseTaskOutputArgs, opts?: InvokeOptions): Output<GetDatabaseTaskResult>
def get_database_task(id: Optional[str] = None,
task_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDatabaseTaskResult
def get_database_task_output(id: Optional[pulumi.Input[str]] = None,
task_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDatabaseTaskResult]
func GetDatabaseTask(ctx *Context, args *GetDatabaseTaskArgs, opts ...InvokeOption) (*GetDatabaseTaskResult, error)
func GetDatabaseTaskOutput(ctx *Context, args *GetDatabaseTaskOutputArgs, opts ...InvokeOption) GetDatabaseTaskResultOutput
> Note: This function is named GetDatabaseTask
in the Go SDK.
public static class GetDatabaseTask
{
public static Task<GetDatabaseTaskResult> InvokeAsync(GetDatabaseTaskArgs args, InvokeOptions? opts = null)
public static Output<GetDatabaseTaskResult> Invoke(GetDatabaseTaskInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDatabaseTaskResult> getDatabaseTask(GetDatabaseTaskArgs args, InvokeOptions options)
public static Output<GetDatabaseTaskResult> getDatabaseTask(GetDatabaseTaskArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getDatabaseTask:getDatabaseTask
arguments:
# arguments dictionary
The following arguments are supported:
getDatabaseTask Result
The following output properties are available:
- Created
At string - (String) Date and time when the task was created.
- Deployment
Id string - (String) ID of the deployment the task is being performed on.
- Description string
- (String) Human-readable description of the task.
- Id string
- Progress
Percent double - (Integer) Indicator as percentage of progress of the task.
- Status string
- (String) The status of the task.
- Constraints: Allowable values are:
running
,completed
,failed
.
- Constraints: Allowable values are:
- Task
Id string - The unique identifier of the database_task.
- Created
At string - (String) Date and time when the task was created.
- Deployment
Id string - (String) ID of the deployment the task is being performed on.
- Description string
- (String) Human-readable description of the task.
- Id string
- Progress
Percent float64 - (Integer) Indicator as percentage of progress of the task.
- Status string
- (String) The status of the task.
- Constraints: Allowable values are:
running
,completed
,failed
.
- Constraints: Allowable values are:
- Task
Id string - The unique identifier of the database_task.
- created
At String - (String) Date and time when the task was created.
- deployment
Id String - (String) ID of the deployment the task is being performed on.
- description String
- (String) Human-readable description of the task.
- id String
- progress
Percent Double - (Integer) Indicator as percentage of progress of the task.
- status String
- (String) The status of the task.
- Constraints: Allowable values are:
running
,completed
,failed
.
- Constraints: Allowable values are:
- task
Id String - The unique identifier of the database_task.
- created
At string - (String) Date and time when the task was created.
- deployment
Id string - (String) ID of the deployment the task is being performed on.
- description string
- (String) Human-readable description of the task.
- id string
- progress
Percent number - (Integer) Indicator as percentage of progress of the task.
- status string
- (String) The status of the task.
- Constraints: Allowable values are:
running
,completed
,failed
.
- Constraints: Allowable values are:
- task
Id string - The unique identifier of the database_task.
- created_
at str - (String) Date and time when the task was created.
- deployment_
id str - (String) ID of the deployment the task is being performed on.
- description str
- (String) Human-readable description of the task.
- id str
- progress_
percent float - (Integer) Indicator as percentage of progress of the task.
- status str
- (String) The status of the task.
- Constraints: Allowable values are:
running
,completed
,failed
.
- Constraints: Allowable values are:
- task_
id str - The unique identifier of the database_task.
- created
At String - (String) Date and time when the task was created.
- deployment
Id String - (String) ID of the deployment the task is being performed on.
- description String
- (String) Human-readable description of the task.
- id String
- progress
Percent Number - (Integer) Indicator as percentage of progress of the task.
- status String
- (String) The status of the task.
- Constraints: Allowable values are:
running
,completed
,failed
.
- Constraints: Allowable values are:
- task
Id String - The unique identifier of the database_task.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.