Oracle Cloud Infrastructure v3.11.0 published on Thursday, Nov 13, 2025 by Pulumi
oci.FleetAppsManagement.getTaskRecord
Oracle Cloud Infrastructure v3.11.0 published on Thursday, Nov 13, 2025 by Pulumi
This data source provides details about a specific Task Record resource in Oracle Cloud Infrastructure Fleet Apps Management service.
Gets information for the specified task record.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testTaskRecord = oci.FleetAppsManagement.getTaskRecord({
taskRecordId: testTaskRecordOciFleetAppsManagementTaskRecord.id,
});
import pulumi
import pulumi_oci as oci
test_task_record = oci.FleetAppsManagement.get_task_record(task_record_id=test_task_record_oci_fleet_apps_management_task_record["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/fleetappsmanagement"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := fleetappsmanagement.GetTaskRecord(ctx, &fleetappsmanagement.GetTaskRecordArgs{
TaskRecordId: testTaskRecordOciFleetAppsManagementTaskRecord.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testTaskRecord = Oci.FleetAppsManagement.GetTaskRecord.Invoke(new()
{
TaskRecordId = testTaskRecordOciFleetAppsManagementTaskRecord.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.FleetAppsManagement.FleetAppsManagementFunctions;
import com.pulumi.oci.FleetAppsManagement.inputs.GetTaskRecordArgs;
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 testTaskRecord = FleetAppsManagementFunctions.getTaskRecord(GetTaskRecordArgs.builder()
.taskRecordId(testTaskRecordOciFleetAppsManagementTaskRecord.id())
.build());
}
}
variables:
testTaskRecord:
fn::invoke:
function: oci:FleetAppsManagement:getTaskRecord
arguments:
taskRecordId: ${testTaskRecordOciFleetAppsManagementTaskRecord.id}
Using getTaskRecord
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 getTaskRecord(args: GetTaskRecordArgs, opts?: InvokeOptions): Promise<GetTaskRecordResult>
function getTaskRecordOutput(args: GetTaskRecordOutputArgs, opts?: InvokeOptions): Output<GetTaskRecordResult>def get_task_record(task_record_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTaskRecordResult
def get_task_record_output(task_record_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTaskRecordResult]func LookupTaskRecord(ctx *Context, args *LookupTaskRecordArgs, opts ...InvokeOption) (*LookupTaskRecordResult, error)
func LookupTaskRecordOutput(ctx *Context, args *LookupTaskRecordOutputArgs, opts ...InvokeOption) LookupTaskRecordResultOutput> Note: This function is named LookupTaskRecord in the Go SDK.
public static class GetTaskRecord
{
public static Task<GetTaskRecordResult> InvokeAsync(GetTaskRecordArgs args, InvokeOptions? opts = null)
public static Output<GetTaskRecordResult> Invoke(GetTaskRecordInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetTaskRecordResult> getTaskRecord(GetTaskRecordArgs args, InvokeOptions options)
public static Output<GetTaskRecordResult> getTaskRecord(GetTaskRecordArgs args, InvokeOptions options)
fn::invoke:
function: oci:FleetAppsManagement/getTaskRecord:getTaskRecord
arguments:
# arguments dictionaryThe following arguments are supported:
- Task
Record stringId - The OCID of the task record.
- Task
Record stringId - The OCID of the task record.
- task
Record StringId - The OCID of the task record.
- task
Record stringId - The OCID of the task record.
- task_
record_ strid - The OCID of the task record.
- task
Record StringId - The OCID of the task record.
getTaskRecord Result
The following output properties are available:
- Compartment
Id string - Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - Description string
- The description of the argument.
- Details
List<Get
Task Record Detail> - The details of the task.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource - Dictionary<string, string>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - Id string
- The OCID of the resource.
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Resource
Region string - Associated region
- State string
- The current state of the task record.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Task
Record stringId - Time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- Type string
- Task type.
- Version string
- The version of the task record.
- Compartment
Id string - map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - Description string
- The description of the argument.
- Details
[]Get
Task Record Detail - The details of the task.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource - map[string]string
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - Id string
- The OCID of the resource.
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Resource
Region string - Associated region
- State string
- The current state of the task record.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Task
Record stringId - Time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- Type string
- Task type.
- Version string
- The version of the task record.
- compartment
Id String - Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - description String
- The description of the argument.
- details
List<Get
Task Record Detail> - The details of the task.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource - Map<String,String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - id String
- The OCID of the resource.
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- resource
Region String - Associated region
- state String
- The current state of the task record.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - task
Record StringId - time
Created String - The time this resource was created. An RFC3339 formatted datetime string.
- time
Updated String - The time this resource was last updated. An RFC3339 formatted datetime string.
- type String
- Task type.
- version String
- The version of the task record.
- compartment
Id string - {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - description string
- The description of the argument.
- details
Get
Task Record Detail[] - The details of the task.
- display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource - {[key: string]: string}
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - id string
- The OCID of the resource.
- lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- resource
Region string - Associated region
- state string
- The current state of the task record.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - task
Record stringId - time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- type string
- Task type.
- version string
- The version of the task record.
- compartment_
id str - Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - description str
- The description of the argument.
- details
Sequence[Get
Task Record Detail] - The details of the task.
- display_
name str - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource - Mapping[str, str]
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - id str
- The OCID of the resource.
- lifecycle_
details str - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- resource_
region str - Associated region
- state str
- The current state of the task record.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - task_
record_ strid - time_
created str - The time this resource was created. An RFC3339 formatted datetime string.
- time_
updated str - The time this resource was last updated. An RFC3339 formatted datetime string.
- type str
- Task type.
- version str
- The version of the task record.
- compartment
Id String - Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - description String
- The description of the argument.
- details List<Property Map>
- The details of the task.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource - Map<String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - id String
- The OCID of the resource.
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- resource
Region String - Associated region
- state String
- The current state of the task record.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - task
Record StringId - time
Created String - The time this resource was created. An RFC3339 formatted datetime string.
- time
Updated String - The time this resource was last updated. An RFC3339 formatted datetime string.
- type String
- Task type.
- version String
- The version of the task record.
Supporting Types
GetTaskRecordDetail
- Execution
Details List<GetTask Record Detail Execution Detail> - Execution details.
- Is
Apply boolSubject Task - Is this an Apply Subject Task? Set this to true for a Patch Execution Task which applies patches(subjects) on a target.
- Is
Discovery boolOutput Task - Is this a discovery output task?
- Operation string
- The lifecycle operation performed by the runbook.
- Os
Type string - The OS for the task
- Platform string
- The platform of the runbook.
- Properties
List<Get
Task Record Detail Property> - The properties of the task.
- Scope string
- The scope of the task
- Execution
Details []GetTask Record Detail Execution Detail - Execution details.
- Is
Apply boolSubject Task - Is this an Apply Subject Task? Set this to true for a Patch Execution Task which applies patches(subjects) on a target.
- Is
Discovery boolOutput Task - Is this a discovery output task?
- Operation string
- The lifecycle operation performed by the runbook.
- Os
Type string - The OS for the task
- Platform string
- The platform of the runbook.
- Properties
[]Get
Task Record Detail Property - The properties of the task.
- Scope string
- The scope of the task
- execution
Details List<GetTask Record Detail Execution Detail> - Execution details.
- is
Apply BooleanSubject Task - Is this an Apply Subject Task? Set this to true for a Patch Execution Task which applies patches(subjects) on a target.
- is
Discovery BooleanOutput Task - Is this a discovery output task?
- operation String
- The lifecycle operation performed by the runbook.
- os
Type String - The OS for the task
- platform String
- The platform of the runbook.
- properties
List<Get
Task Record Detail Property> - The properties of the task.
- scope String
- The scope of the task
- execution
Details GetTask Record Detail Execution Detail[] - Execution details.
- is
Apply booleanSubject Task - Is this an Apply Subject Task? Set this to true for a Patch Execution Task which applies patches(subjects) on a target.
- is
Discovery booleanOutput Task - Is this a discovery output task?
- operation string
- The lifecycle operation performed by the runbook.
- os
Type string - The OS for the task
- platform string
- The platform of the runbook.
- properties
Get
Task Record Detail Property[] - The properties of the task.
- scope string
- The scope of the task
- execution_
details Sequence[GetTask Record Detail Execution Detail] - Execution details.
- is_
apply_ boolsubject_ task - Is this an Apply Subject Task? Set this to true for a Patch Execution Task which applies patches(subjects) on a target.
- is_
discovery_ booloutput_ task - Is this a discovery output task?
- operation str
- The lifecycle operation performed by the runbook.
- os_
type str - The OS for the task
- platform str
- The platform of the runbook.
- properties
Sequence[Get
Task Record Detail Property] - The properties of the task.
- scope str
- The scope of the task
- execution
Details List<Property Map> - Execution details.
- is
Apply BooleanSubject Task - Is this an Apply Subject Task? Set this to true for a Patch Execution Task which applies patches(subjects) on a target.
- is
Discovery BooleanOutput Task - Is this a discovery output task?
- operation String
- The lifecycle operation performed by the runbook.
- os
Type String - The OS for the task
- platform String
- The platform of the runbook.
- properties List<Property Map>
- The properties of the task.
- scope String
- The scope of the task
GetTaskRecordDetailExecutionDetail
- Catalog
Id string - Command string
- Optional command to execute the content. You can provide any commands/arguments that can't be part of the script.
- Config
File string - Catalog Id having config file.
- Contents
List<Get
Task Record Detail Execution Detail Content> - Content Source details.
- Credentials
List<Get
Task Record Detail Execution Detail Credential> - Credentials required for executing the task.
- Endpoint string
- Endpoint to be invoked.
- Execution
Type string - The action type of the task
- Is
Executable boolContent - Is the Content an executable file?
- Is
Locked bool - Is the script locked to prevent changes directly in Object Storage?
- Is
Read boolOutput Variable Enabled - Is read output variable enabled
- System
Variables List<string> - The list of system variables.
- Target
Compartment stringId - OCID of the compartment to which the resource belongs to.
- Variables
List<Get
Task Record Detail Execution Detail Variable> - The variable of the task. At least one of the dynamicArguments or output needs to be provided.
- Catalog
Id string - Command string
- Optional command to execute the content. You can provide any commands/arguments that can't be part of the script.
- Config
File string - Catalog Id having config file.
- Contents
[]Get
Task Record Detail Execution Detail Content - Content Source details.
- Credentials
[]Get
Task Record Detail Execution Detail Credential - Credentials required for executing the task.
- Endpoint string
- Endpoint to be invoked.
- Execution
Type string - The action type of the task
- Is
Executable boolContent - Is the Content an executable file?
- Is
Locked bool - Is the script locked to prevent changes directly in Object Storage?
- Is
Read boolOutput Variable Enabled - Is read output variable enabled
- System
Variables []string - The list of system variables.
- Target
Compartment stringId - OCID of the compartment to which the resource belongs to.
- Variables
[]Get
Task Record Detail Execution Detail Variable - The variable of the task. At least one of the dynamicArguments or output needs to be provided.
- catalog
Id String - command String
- Optional command to execute the content. You can provide any commands/arguments that can't be part of the script.
- config
File String - Catalog Id having config file.
- contents
List<Get
Task Record Detail Execution Detail Content> - Content Source details.
- credentials
List<Get
Task Record Detail Execution Detail Credential> - Credentials required for executing the task.
- endpoint String
- Endpoint to be invoked.
- execution
Type String - The action type of the task
- is
Executable BooleanContent - Is the Content an executable file?
- is
Locked Boolean - Is the script locked to prevent changes directly in Object Storage?
- is
Read BooleanOutput Variable Enabled - Is read output variable enabled
- system
Variables List<String> - The list of system variables.
- target
Compartment StringId - OCID of the compartment to which the resource belongs to.
- variables
List<Get
Task Record Detail Execution Detail Variable> - The variable of the task. At least one of the dynamicArguments or output needs to be provided.
- catalog
Id string - command string
- Optional command to execute the content. You can provide any commands/arguments that can't be part of the script.
- config
File string - Catalog Id having config file.
- contents
Get
Task Record Detail Execution Detail Content[] - Content Source details.
- credentials
Get
Task Record Detail Execution Detail Credential[] - Credentials required for executing the task.
- endpoint string
- Endpoint to be invoked.
- execution
Type string - The action type of the task
- is
Executable booleanContent - Is the Content an executable file?
- is
Locked boolean - Is the script locked to prevent changes directly in Object Storage?
- is
Read booleanOutput Variable Enabled - Is read output variable enabled
- system
Variables string[] - The list of system variables.
- target
Compartment stringId - OCID of the compartment to which the resource belongs to.
- variables
Get
Task Record Detail Execution Detail Variable[] - The variable of the task. At least one of the dynamicArguments or output needs to be provided.
- catalog_
id str - command str
- Optional command to execute the content. You can provide any commands/arguments that can't be part of the script.
- config_
file str - Catalog Id having config file.
- contents
Sequence[Get
Task Record Detail Execution Detail Content] - Content Source details.
- credentials
Sequence[Get
Task Record Detail Execution Detail Credential] - Credentials required for executing the task.
- endpoint str
- Endpoint to be invoked.
- execution_
type str - The action type of the task
- is_
executable_ boolcontent - Is the Content an executable file?
- is_
locked bool - Is the script locked to prevent changes directly in Object Storage?
- is_
read_ booloutput_ variable_ enabled - Is read output variable enabled
- system_
variables Sequence[str] - The list of system variables.
- target_
compartment_ strid - OCID of the compartment to which the resource belongs to.
- variables
Sequence[Get
Task Record Detail Execution Detail Variable] - The variable of the task. At least one of the dynamicArguments or output needs to be provided.
- catalog
Id String - command String
- Optional command to execute the content. You can provide any commands/arguments that can't be part of the script.
- config
File String - Catalog Id having config file.
- contents List<Property Map>
- Content Source details.
- credentials List<Property Map>
- Credentials required for executing the task.
- endpoint String
- Endpoint to be invoked.
- execution
Type String - The action type of the task
- is
Executable BooleanContent - Is the Content an executable file?
- is
Locked Boolean - Is the script locked to prevent changes directly in Object Storage?
- is
Read BooleanOutput Variable Enabled - Is read output variable enabled
- system
Variables List<String> - The list of system variables.
- target
Compartment StringId - OCID of the compartment to which the resource belongs to.
- variables List<Property Map>
- The variable of the task. At least one of the dynamicArguments or output needs to be provided.
GetTaskRecordDetailExecutionDetailContent
- bucket str
- Bucket Name.
- catalog_
id str - checksum str
- md5 checksum of the artifact.
- namespace str
- Namespace.
- object str
- Object Name.
- source_
type str - Content Source type details.
GetTaskRecordDetailExecutionDetailCredential
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource - Id string
- The OCID of the resource.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource - Id string
- The OCID of the resource.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource - id String
- The OCID of the resource.
- display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource - id string
- The OCID of the resource.
- display_
name str - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource - id str
- The OCID of the resource.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource - id String
- The OCID of the resource.
GetTaskRecordDetailExecutionDetailVariable
- Input
Variables List<GetTask Record Detail Execution Detail Variable Input Variable> - The input variables for the task.
- Output
Variables List<string> - The list of output variables.
- Input
Variables []GetTask Record Detail Execution Detail Variable Input Variable - The input variables for the task.
- Output
Variables []string - The list of output variables.
- input
Variables List<GetTask Record Detail Execution Detail Variable Input Variable> - The input variables for the task.
- output
Variables List<String> - The list of output variables.
- input
Variables GetTask Record Detail Execution Detail Variable Input Variable[] - The input variables for the task.
- output
Variables string[] - The list of output variables.
- input_
variables Sequence[GetTask Record Detail Execution Detail Variable Input Variable] - The input variables for the task.
- output_
variables Sequence[str] - The list of output variables.
- input
Variables List<Property Map> - The input variables for the task.
- output
Variables List<String> - The list of output variables.
GetTaskRecordDetailExecutionDetailVariableInputVariable
- Description string
- The description of the argument.
- Name string
- The name of the argument.
- Type string
- Task type.
- Description string
- The description of the argument.
- Name string
- The name of the argument.
- Type string
- Task type.
- description String
- The description of the argument.
- name String
- The name of the argument.
- type String
- Task type.
- description string
- The description of the argument.
- name string
- The name of the argument.
- type string
- Task type.
- description str
- The description of the argument.
- name str
- The name of the argument.
- type str
- Task type.
- description String
- The description of the argument.
- name String
- The name of the argument.
- type String
- Task type.
GetTaskRecordDetailProperty
- Num
Retries int - The number of retries allowed.
- Timeout
In intSeconds - The timeout in seconds for the task.
- Num
Retries int - The number of retries allowed.
- Timeout
In intSeconds - The timeout in seconds for the task.
- num
Retries Integer - The number of retries allowed.
- timeout
In IntegerSeconds - The timeout in seconds for the task.
- num
Retries number - The number of retries allowed.
- timeout
In numberSeconds - The timeout in seconds for the task.
- num_
retries int - The number of retries allowed.
- timeout_
in_ intseconds - The timeout in seconds for the task.
- num
Retries Number - The number of retries allowed.
- timeout
In NumberSeconds - The timeout in seconds for the task.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Oracle Cloud Infrastructure v3.11.0 published on Thursday, Nov 13, 2025 by Pulumi
