1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. FleetAppsManagement
  5. TaskRecord
Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi

oci.FleetAppsManagement.TaskRecord

Explore with Pulumi AI

This resource provides the Task Record resource in Oracle Cloud Infrastructure Fleet Apps Management service.

Creates a new Task.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testTaskRecord = new oci.fleetappsmanagement.TaskRecord("test_task_record", {
    compartmentId: compartmentId,
    details: {
        executionDetails: {
            executionType: taskRecordDetailsExecutionDetailsExecutionType,
            command: taskRecordDetailsExecutionDetailsCommand,
            content: {
                bucket: taskRecordDetailsExecutionDetailsContentBucket,
                checksum: taskRecordDetailsExecutionDetailsContentChecksum,
                namespace: taskRecordDetailsExecutionDetailsContentNamespace,
                object: taskRecordDetailsExecutionDetailsContentObject,
                sourceType: taskRecordDetailsExecutionDetailsContentSourceType,
            },
            credentials: [{
                displayName: taskRecordDetailsExecutionDetailsCredentialsDisplayName,
                id: taskRecordDetailsExecutionDetailsCredentialsId,
            }],
            endpoint: taskRecordDetailsExecutionDetailsEndpoint,
            variables: {
                inputVariables: [{
                    description: taskRecordDetailsExecutionDetailsVariablesInputVariablesDescription,
                    name: taskRecordDetailsExecutionDetailsVariablesInputVariablesName,
                    type: taskRecordDetailsExecutionDetailsVariablesInputVariablesType,
                }],
                outputVariables: taskRecordDetailsExecutionDetailsVariablesOutputVariables,
            },
        },
        osType: taskRecordDetailsOsType,
        scope: taskRecordDetailsScope,
        isApplySubjectTask: taskRecordDetailsIsApplySubjectTask,
        isDiscoveryOutputTask: taskRecordDetailsIsDiscoveryOutputTask,
        platform: taskRecordDetailsPlatform,
        properties: {
            numRetries: taskRecordDetailsPropertiesNumRetries,
            timeoutInSeconds: taskRecordDetailsPropertiesTimeoutInSeconds,
        },
    },
    definedTags: {
        "foo-namespace.bar-key": "value",
    },
    description: taskRecordDescription,
    displayName: taskRecordDisplayName,
    freeformTags: {
        "bar-key": "value",
    },
});
Copy
import pulumi
import pulumi_oci as oci

test_task_record = oci.fleet_apps_management.TaskRecord("test_task_record",
    compartment_id=compartment_id,
    details={
        "execution_details": {
            "execution_type": task_record_details_execution_details_execution_type,
            "command": task_record_details_execution_details_command,
            "content": {
                "bucket": task_record_details_execution_details_content_bucket,
                "checksum": task_record_details_execution_details_content_checksum,
                "namespace": task_record_details_execution_details_content_namespace,
                "object": task_record_details_execution_details_content_object,
                "source_type": task_record_details_execution_details_content_source_type,
            },
            "credentials": [{
                "display_name": task_record_details_execution_details_credentials_display_name,
                "id": task_record_details_execution_details_credentials_id,
            }],
            "endpoint": task_record_details_execution_details_endpoint,
            "variables": {
                "input_variables": [{
                    "description": task_record_details_execution_details_variables_input_variables_description,
                    "name": task_record_details_execution_details_variables_input_variables_name,
                    "type": task_record_details_execution_details_variables_input_variables_type,
                }],
                "output_variables": task_record_details_execution_details_variables_output_variables,
            },
        },
        "os_type": task_record_details_os_type,
        "scope": task_record_details_scope,
        "is_apply_subject_task": task_record_details_is_apply_subject_task,
        "is_discovery_output_task": task_record_details_is_discovery_output_task,
        "platform": task_record_details_platform,
        "properties": {
            "num_retries": task_record_details_properties_num_retries,
            "timeout_in_seconds": task_record_details_properties_timeout_in_seconds,
        },
    },
    defined_tags={
        "foo-namespace.bar-key": "value",
    },
    description=task_record_description,
    display_name=task_record_display_name,
    freeform_tags={
        "bar-key": "value",
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/fleetappsmanagement"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := fleetappsmanagement.NewTaskRecord(ctx, "test_task_record", &fleetappsmanagement.TaskRecordArgs{
			CompartmentId: pulumi.Any(compartmentId),
			Details: &fleetappsmanagement.TaskRecordDetailsArgs{
				ExecutionDetails: &fleetappsmanagement.TaskRecordDetailsExecutionDetailsArgs{
					ExecutionType: pulumi.Any(taskRecordDetailsExecutionDetailsExecutionType),
					Command:       pulumi.Any(taskRecordDetailsExecutionDetailsCommand),
					Content: &fleetappsmanagement.TaskRecordDetailsExecutionDetailsContentArgs{
						Bucket:     pulumi.Any(taskRecordDetailsExecutionDetailsContentBucket),
						Checksum:   pulumi.Any(taskRecordDetailsExecutionDetailsContentChecksum),
						Namespace:  pulumi.Any(taskRecordDetailsExecutionDetailsContentNamespace),
						Object:     pulumi.Any(taskRecordDetailsExecutionDetailsContentObject),
						SourceType: pulumi.Any(taskRecordDetailsExecutionDetailsContentSourceType),
					},
					Credentials: fleetappsmanagement.TaskRecordDetailsExecutionDetailsCredentialArray{
						&fleetappsmanagement.TaskRecordDetailsExecutionDetailsCredentialArgs{
							DisplayName: pulumi.Any(taskRecordDetailsExecutionDetailsCredentialsDisplayName),
							Id:          pulumi.Any(taskRecordDetailsExecutionDetailsCredentialsId),
						},
					},
					Endpoint: pulumi.Any(taskRecordDetailsExecutionDetailsEndpoint),
					Variables: &fleetappsmanagement.TaskRecordDetailsExecutionDetailsVariablesArgs{
						InputVariables: fleetappsmanagement.TaskRecordDetailsExecutionDetailsVariablesInputVariableArray{
							&fleetappsmanagement.TaskRecordDetailsExecutionDetailsVariablesInputVariableArgs{
								Description: pulumi.Any(taskRecordDetailsExecutionDetailsVariablesInputVariablesDescription),
								Name:        pulumi.Any(taskRecordDetailsExecutionDetailsVariablesInputVariablesName),
								Type:        pulumi.Any(taskRecordDetailsExecutionDetailsVariablesInputVariablesType),
							},
						},
						OutputVariables: pulumi.Any(taskRecordDetailsExecutionDetailsVariablesOutputVariables),
					},
				},
				OsType:                pulumi.Any(taskRecordDetailsOsType),
				Scope:                 pulumi.Any(taskRecordDetailsScope),
				IsApplySubjectTask:    pulumi.Any(taskRecordDetailsIsApplySubjectTask),
				IsDiscoveryOutputTask: pulumi.Any(taskRecordDetailsIsDiscoveryOutputTask),
				Platform:              pulumi.Any(taskRecordDetailsPlatform),
				Properties: &fleetappsmanagement.TaskRecordDetailsPropertiesArgs{
					NumRetries:       pulumi.Any(taskRecordDetailsPropertiesNumRetries),
					TimeoutInSeconds: pulumi.Any(taskRecordDetailsPropertiesTimeoutInSeconds),
				},
			},
			DefinedTags: pulumi.StringMap{
				"foo-namespace.bar-key": pulumi.String("value"),
			},
			Description: pulumi.Any(taskRecordDescription),
			DisplayName: pulumi.Any(taskRecordDisplayName),
			FreeformTags: pulumi.StringMap{
				"bar-key": pulumi.String("value"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testTaskRecord = new Oci.FleetAppsManagement.TaskRecord("test_task_record", new()
    {
        CompartmentId = compartmentId,
        Details = new Oci.FleetAppsManagement.Inputs.TaskRecordDetailsArgs
        {
            ExecutionDetails = new Oci.FleetAppsManagement.Inputs.TaskRecordDetailsExecutionDetailsArgs
            {
                ExecutionType = taskRecordDetailsExecutionDetailsExecutionType,
                Command = taskRecordDetailsExecutionDetailsCommand,
                Content = new Oci.FleetAppsManagement.Inputs.TaskRecordDetailsExecutionDetailsContentArgs
                {
                    Bucket = taskRecordDetailsExecutionDetailsContentBucket,
                    Checksum = taskRecordDetailsExecutionDetailsContentChecksum,
                    Namespace = taskRecordDetailsExecutionDetailsContentNamespace,
                    Object = taskRecordDetailsExecutionDetailsContentObject,
                    SourceType = taskRecordDetailsExecutionDetailsContentSourceType,
                },
                Credentials = new[]
                {
                    new Oci.FleetAppsManagement.Inputs.TaskRecordDetailsExecutionDetailsCredentialArgs
                    {
                        DisplayName = taskRecordDetailsExecutionDetailsCredentialsDisplayName,
                        Id = taskRecordDetailsExecutionDetailsCredentialsId,
                    },
                },
                Endpoint = taskRecordDetailsExecutionDetailsEndpoint,
                Variables = new Oci.FleetAppsManagement.Inputs.TaskRecordDetailsExecutionDetailsVariablesArgs
                {
                    InputVariables = new[]
                    {
                        new Oci.FleetAppsManagement.Inputs.TaskRecordDetailsExecutionDetailsVariablesInputVariableArgs
                        {
                            Description = taskRecordDetailsExecutionDetailsVariablesInputVariablesDescription,
                            Name = taskRecordDetailsExecutionDetailsVariablesInputVariablesName,
                            Type = taskRecordDetailsExecutionDetailsVariablesInputVariablesType,
                        },
                    },
                    OutputVariables = taskRecordDetailsExecutionDetailsVariablesOutputVariables,
                },
            },
            OsType = taskRecordDetailsOsType,
            Scope = taskRecordDetailsScope,
            IsApplySubjectTask = taskRecordDetailsIsApplySubjectTask,
            IsDiscoveryOutputTask = taskRecordDetailsIsDiscoveryOutputTask,
            Platform = taskRecordDetailsPlatform,
            Properties = new Oci.FleetAppsManagement.Inputs.TaskRecordDetailsPropertiesArgs
            {
                NumRetries = taskRecordDetailsPropertiesNumRetries,
                TimeoutInSeconds = taskRecordDetailsPropertiesTimeoutInSeconds,
            },
        },
        DefinedTags = 
        {
            { "foo-namespace.bar-key", "value" },
        },
        Description = taskRecordDescription,
        DisplayName = taskRecordDisplayName,
        FreeformTags = 
        {
            { "bar-key", "value" },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.FleetAppsManagement.TaskRecord;
import com.pulumi.oci.FleetAppsManagement.TaskRecordArgs;
import com.pulumi.oci.FleetAppsManagement.inputs.TaskRecordDetailsArgs;
import com.pulumi.oci.FleetAppsManagement.inputs.TaskRecordDetailsExecutionDetailsArgs;
import com.pulumi.oci.FleetAppsManagement.inputs.TaskRecordDetailsExecutionDetailsContentArgs;
import com.pulumi.oci.FleetAppsManagement.inputs.TaskRecordDetailsExecutionDetailsVariablesArgs;
import com.pulumi.oci.FleetAppsManagement.inputs.TaskRecordDetailsPropertiesArgs;
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) {
        var testTaskRecord = new TaskRecord("testTaskRecord", TaskRecordArgs.builder()
            .compartmentId(compartmentId)
            .details(TaskRecordDetailsArgs.builder()
                .executionDetails(TaskRecordDetailsExecutionDetailsArgs.builder()
                    .executionType(taskRecordDetailsExecutionDetailsExecutionType)
                    .command(taskRecordDetailsExecutionDetailsCommand)
                    .content(TaskRecordDetailsExecutionDetailsContentArgs.builder()
                        .bucket(taskRecordDetailsExecutionDetailsContentBucket)
                        .checksum(taskRecordDetailsExecutionDetailsContentChecksum)
                        .namespace(taskRecordDetailsExecutionDetailsContentNamespace)
                        .object(taskRecordDetailsExecutionDetailsContentObject)
                        .sourceType(taskRecordDetailsExecutionDetailsContentSourceType)
                        .build())
                    .credentials(TaskRecordDetailsExecutionDetailsCredentialArgs.builder()
                        .displayName(taskRecordDetailsExecutionDetailsCredentialsDisplayName)
                        .id(taskRecordDetailsExecutionDetailsCredentialsId)
                        .build())
                    .endpoint(taskRecordDetailsExecutionDetailsEndpoint)
                    .variables(TaskRecordDetailsExecutionDetailsVariablesArgs.builder()
                        .inputVariables(TaskRecordDetailsExecutionDetailsVariablesInputVariableArgs.builder()
                            .description(taskRecordDetailsExecutionDetailsVariablesInputVariablesDescription)
                            .name(taskRecordDetailsExecutionDetailsVariablesInputVariablesName)
                            .type(taskRecordDetailsExecutionDetailsVariablesInputVariablesType)
                            .build())
                        .outputVariables(taskRecordDetailsExecutionDetailsVariablesOutputVariables)
                        .build())
                    .build())
                .osType(taskRecordDetailsOsType)
                .scope(taskRecordDetailsScope)
                .isApplySubjectTask(taskRecordDetailsIsApplySubjectTask)
                .isDiscoveryOutputTask(taskRecordDetailsIsDiscoveryOutputTask)
                .platform(taskRecordDetailsPlatform)
                .properties(TaskRecordDetailsPropertiesArgs.builder()
                    .numRetries(taskRecordDetailsPropertiesNumRetries)
                    .timeoutInSeconds(taskRecordDetailsPropertiesTimeoutInSeconds)
                    .build())
                .build())
            .definedTags(Map.of("foo-namespace.bar-key", "value"))
            .description(taskRecordDescription)
            .displayName(taskRecordDisplayName)
            .freeformTags(Map.of("bar-key", "value"))
            .build());

    }
}
Copy
resources:
  testTaskRecord:
    type: oci:FleetAppsManagement:TaskRecord
    name: test_task_record
    properties:
      compartmentId: ${compartmentId}
      details:
        executionDetails:
          executionType: ${taskRecordDetailsExecutionDetailsExecutionType}
          command: ${taskRecordDetailsExecutionDetailsCommand}
          content:
            bucket: ${taskRecordDetailsExecutionDetailsContentBucket}
            checksum: ${taskRecordDetailsExecutionDetailsContentChecksum}
            namespace: ${taskRecordDetailsExecutionDetailsContentNamespace}
            object: ${taskRecordDetailsExecutionDetailsContentObject}
            sourceType: ${taskRecordDetailsExecutionDetailsContentSourceType}
          credentials:
            - displayName: ${taskRecordDetailsExecutionDetailsCredentialsDisplayName}
              id: ${taskRecordDetailsExecutionDetailsCredentialsId}
          endpoint: ${taskRecordDetailsExecutionDetailsEndpoint}
          variables:
            inputVariables:
              - description: ${taskRecordDetailsExecutionDetailsVariablesInputVariablesDescription}
                name: ${taskRecordDetailsExecutionDetailsVariablesInputVariablesName}
                type: ${taskRecordDetailsExecutionDetailsVariablesInputVariablesType}
            outputVariables: ${taskRecordDetailsExecutionDetailsVariablesOutputVariables}
        osType: ${taskRecordDetailsOsType}
        scope: ${taskRecordDetailsScope}
        isApplySubjectTask: ${taskRecordDetailsIsApplySubjectTask}
        isDiscoveryOutputTask: ${taskRecordDetailsIsDiscoveryOutputTask}
        platform: ${taskRecordDetailsPlatform}
        properties:
          numRetries: ${taskRecordDetailsPropertiesNumRetries}
          timeoutInSeconds: ${taskRecordDetailsPropertiesTimeoutInSeconds}
      definedTags:
        foo-namespace.bar-key: value
      description: ${taskRecordDescription}
      displayName: ${taskRecordDisplayName}
      freeformTags:
        bar-key: value
Copy

Create TaskRecord Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new TaskRecord(name: string, args: TaskRecordArgs, opts?: CustomResourceOptions);
@overload
def TaskRecord(resource_name: str,
               args: TaskRecordArgs,
               opts: Optional[ResourceOptions] = None)

@overload
def TaskRecord(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               compartment_id: Optional[str] = None,
               details: Optional[_fleetappsmanagement.TaskRecordDetailsArgs] = None,
               defined_tags: Optional[Mapping[str, str]] = None,
               description: Optional[str] = None,
               display_name: Optional[str] = None,
               freeform_tags: Optional[Mapping[str, str]] = None)
func NewTaskRecord(ctx *Context, name string, args TaskRecordArgs, opts ...ResourceOption) (*TaskRecord, error)
public TaskRecord(string name, TaskRecordArgs args, CustomResourceOptions? opts = null)
public TaskRecord(String name, TaskRecordArgs args)
public TaskRecord(String name, TaskRecordArgs args, CustomResourceOptions options)
type: oci:FleetAppsManagement:TaskRecord
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. TaskRecordArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. TaskRecordArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. TaskRecordArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. TaskRecordArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. TaskRecordArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var taskRecordResource = new Oci.FleetAppsManagement.TaskRecord("taskRecordResource", new()
{
    CompartmentId = "string",
    Details = new Oci.FleetAppsManagement.Inputs.TaskRecordDetailsArgs
    {
        ExecutionDetails = new Oci.FleetAppsManagement.Inputs.TaskRecordDetailsExecutionDetailsArgs
        {
            ExecutionType = "string",
            Command = "string",
            Content = new Oci.FleetAppsManagement.Inputs.TaskRecordDetailsExecutionDetailsContentArgs
            {
                Bucket = "string",
                Checksum = "string",
                Namespace = "string",
                Object = "string",
                SourceType = "string",
            },
            Credentials = new[]
            {
                new Oci.FleetAppsManagement.Inputs.TaskRecordDetailsExecutionDetailsCredentialArgs
                {
                    DisplayName = "string",
                    Id = "string",
                },
            },
            Endpoint = "string",
            Variables = new Oci.FleetAppsManagement.Inputs.TaskRecordDetailsExecutionDetailsVariablesArgs
            {
                InputVariables = new[]
                {
                    new Oci.FleetAppsManagement.Inputs.TaskRecordDetailsExecutionDetailsVariablesInputVariableArgs
                    {
                        Description = "string",
                        Name = "string",
                        Type = "string",
                    },
                },
                OutputVariables = new[]
                {
                    "string",
                },
            },
        },
        OsType = "string",
        Scope = "string",
        IsApplySubjectTask = false,
        IsDiscoveryOutputTask = false,
        Platform = "string",
        Properties = new Oci.FleetAppsManagement.Inputs.TaskRecordDetailsPropertiesArgs
        {
            NumRetries = 0,
            TimeoutInSeconds = 0,
        },
    },
    DefinedTags = 
    {
        { "string", "string" },
    },
    Description = "string",
    DisplayName = "string",
    FreeformTags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := FleetAppsManagement.NewTaskRecord(ctx, "taskRecordResource", &FleetAppsManagement.TaskRecordArgs{
	CompartmentId: pulumi.String("string"),
	Details: &fleetappsmanagement.TaskRecordDetailsArgs{
		ExecutionDetails: &fleetappsmanagement.TaskRecordDetailsExecutionDetailsArgs{
			ExecutionType: pulumi.String("string"),
			Command:       pulumi.String("string"),
			Content: &fleetappsmanagement.TaskRecordDetailsExecutionDetailsContentArgs{
				Bucket:     pulumi.String("string"),
				Checksum:   pulumi.String("string"),
				Namespace:  pulumi.String("string"),
				Object:     pulumi.String("string"),
				SourceType: pulumi.String("string"),
			},
			Credentials: fleetappsmanagement.TaskRecordDetailsExecutionDetailsCredentialArray{
				&fleetappsmanagement.TaskRecordDetailsExecutionDetailsCredentialArgs{
					DisplayName: pulumi.String("string"),
					Id:          pulumi.String("string"),
				},
			},
			Endpoint: pulumi.String("string"),
			Variables: &fleetappsmanagement.TaskRecordDetailsExecutionDetailsVariablesArgs{
				InputVariables: fleetappsmanagement.TaskRecordDetailsExecutionDetailsVariablesInputVariableArray{
					&fleetappsmanagement.TaskRecordDetailsExecutionDetailsVariablesInputVariableArgs{
						Description: pulumi.String("string"),
						Name:        pulumi.String("string"),
						Type:        pulumi.String("string"),
					},
				},
				OutputVariables: pulumi.StringArray{
					pulumi.String("string"),
				},
			},
		},
		OsType:                pulumi.String("string"),
		Scope:                 pulumi.String("string"),
		IsApplySubjectTask:    pulumi.Bool(false),
		IsDiscoveryOutputTask: pulumi.Bool(false),
		Platform:              pulumi.String("string"),
		Properties: &fleetappsmanagement.TaskRecordDetailsPropertiesArgs{
			NumRetries:       pulumi.Int(0),
			TimeoutInSeconds: pulumi.Int(0),
		},
	},
	DefinedTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Description: pulumi.String("string"),
	DisplayName: pulumi.String("string"),
	FreeformTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
Copy
var taskRecordResource = new TaskRecord("taskRecordResource", TaskRecordArgs.builder()
    .compartmentId("string")
    .details(TaskRecordDetailsArgs.builder()
        .executionDetails(TaskRecordDetailsExecutionDetailsArgs.builder()
            .executionType("string")
            .command("string")
            .content(TaskRecordDetailsExecutionDetailsContentArgs.builder()
                .bucket("string")
                .checksum("string")
                .namespace("string")
                .object("string")
                .sourceType("string")
                .build())
            .credentials(TaskRecordDetailsExecutionDetailsCredentialArgs.builder()
                .displayName("string")
                .id("string")
                .build())
            .endpoint("string")
            .variables(TaskRecordDetailsExecutionDetailsVariablesArgs.builder()
                .inputVariables(TaskRecordDetailsExecutionDetailsVariablesInputVariableArgs.builder()
                    .description("string")
                    .name("string")
                    .type("string")
                    .build())
                .outputVariables("string")
                .build())
            .build())
        .osType("string")
        .scope("string")
        .isApplySubjectTask(false)
        .isDiscoveryOutputTask(false)
        .platform("string")
        .properties(TaskRecordDetailsPropertiesArgs.builder()
            .numRetries(0)
            .timeoutInSeconds(0)
            .build())
        .build())
    .definedTags(Map.of("string", "string"))
    .description("string")
    .displayName("string")
    .freeformTags(Map.of("string", "string"))
    .build());
Copy
task_record_resource = oci.fleet_apps_management.TaskRecord("taskRecordResource",
    compartment_id="string",
    details={
        "execution_details": {
            "execution_type": "string",
            "command": "string",
            "content": {
                "bucket": "string",
                "checksum": "string",
                "namespace": "string",
                "object": "string",
                "source_type": "string",
            },
            "credentials": [{
                "display_name": "string",
                "id": "string",
            }],
            "endpoint": "string",
            "variables": {
                "input_variables": [{
                    "description": "string",
                    "name": "string",
                    "type": "string",
                }],
                "output_variables": ["string"],
            },
        },
        "os_type": "string",
        "scope": "string",
        "is_apply_subject_task": False,
        "is_discovery_output_task": False,
        "platform": "string",
        "properties": {
            "num_retries": 0,
            "timeout_in_seconds": 0,
        },
    },
    defined_tags={
        "string": "string",
    },
    description="string",
    display_name="string",
    freeform_tags={
        "string": "string",
    })
Copy
const taskRecordResource = new oci.fleetappsmanagement.TaskRecord("taskRecordResource", {
    compartmentId: "string",
    details: {
        executionDetails: {
            executionType: "string",
            command: "string",
            content: {
                bucket: "string",
                checksum: "string",
                namespace: "string",
                object: "string",
                sourceType: "string",
            },
            credentials: [{
                displayName: "string",
                id: "string",
            }],
            endpoint: "string",
            variables: {
                inputVariables: [{
                    description: "string",
                    name: "string",
                    type: "string",
                }],
                outputVariables: ["string"],
            },
        },
        osType: "string",
        scope: "string",
        isApplySubjectTask: false,
        isDiscoveryOutputTask: false,
        platform: "string",
        properties: {
            numRetries: 0,
            timeoutInSeconds: 0,
        },
    },
    definedTags: {
        string: "string",
    },
    description: "string",
    displayName: "string",
    freeformTags: {
        string: "string",
    },
});
Copy
type: oci:FleetAppsManagement:TaskRecord
properties:
    compartmentId: string
    definedTags:
        string: string
    description: string
    details:
        executionDetails:
            command: string
            content:
                bucket: string
                checksum: string
                namespace: string
                object: string
                sourceType: string
            credentials:
                - displayName: string
                  id: string
            endpoint: string
            executionType: string
            variables:
                inputVariables:
                    - description: string
                      name: string
                      type: string
                outputVariables:
                    - string
        isApplySubjectTask: false
        isDiscoveryOutputTask: false
        osType: string
        platform: string
        properties:
            numRetries: 0
            timeoutInSeconds: 0
        scope: string
    displayName: string
    freeformTags:
        string: string
Copy

TaskRecord Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The TaskRecord resource accepts the following input properties:

CompartmentId
This property is required.
Changes to this property will trigger replacement.
string
Details This property is required. TaskRecordDetails
(Updatable) The details of the task.
DefinedTags Dictionary<string, string>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
Description string
(Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
DisplayName string
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
FreeformTags Dictionary<string, string>

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

CompartmentId
This property is required.
Changes to this property will trigger replacement.
string
Details This property is required. TaskRecordDetailsArgs
(Updatable) The details of the task.
DefinedTags map[string]string
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
Description string
(Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
DisplayName string
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
FreeformTags map[string]string

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

compartmentId
This property is required.
Changes to this property will trigger replacement.
String
details This property is required. TaskRecordDetails
(Updatable) The details of the task.
definedTags Map<String,String>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
description String
(Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
displayName String
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
freeformTags Map<String,String>

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

compartmentId
This property is required.
Changes to this property will trigger replacement.
string
details This property is required. TaskRecordDetails
(Updatable) The details of the task.
definedTags {[key: string]: string}
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
description string
(Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
displayName string
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
freeformTags {[key: string]: string}

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

compartment_id
This property is required.
Changes to this property will trigger replacement.
str
details This property is required. fleetappsmanagement.TaskRecordDetailsArgs
(Updatable) The details of the task.
defined_tags Mapping[str, str]
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
description str
(Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
display_name str
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
freeform_tags Mapping[str, str]

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

compartmentId
This property is required.
Changes to this property will trigger replacement.
String
details This property is required. Property Map
(Updatable) The details of the task.
definedTags Map<String>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
description String
(Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
displayName String
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
freeformTags Map<String>

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

Outputs

All input properties are implicitly available as output properties. Additionally, the TaskRecord resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
LifecycleDetails 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.
ResourceRegion string
Associated region
State string
The current state of the TaskRecord.
SystemTags Dictionary<string, string>
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
TimeCreated string
The time this resource was created. An RFC3339 formatted datetime string.
TimeUpdated string
The time this resource was last updated. An RFC3339 formatted datetime string.
Type string
Task type.
Version string
The version of the task
Id string
The provider-assigned unique ID for this managed resource.
LifecycleDetails 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.
ResourceRegion string
Associated region
State string
The current state of the TaskRecord.
SystemTags map[string]string
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
TimeCreated string
The time this resource was created. An RFC3339 formatted datetime string.
TimeUpdated string
The time this resource was last updated. An RFC3339 formatted datetime string.
Type string
Task type.
Version string
The version of the task
id String
The provider-assigned unique ID for this managed resource.
lifecycleDetails 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.
resourceRegion String
Associated region
state String
The current state of the TaskRecord.
systemTags Map<String,String>
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated String
The time this resource was created. An RFC3339 formatted datetime string.
timeUpdated String
The time this resource was last updated. An RFC3339 formatted datetime string.
type String
Task type.
version String
The version of the task
id string
The provider-assigned unique ID for this managed resource.
lifecycleDetails 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.
resourceRegion string
Associated region
state string
The current state of the TaskRecord.
systemTags {[key: string]: string}
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated string
The time this resource was created. An RFC3339 formatted datetime string.
timeUpdated string
The time this resource was last updated. An RFC3339 formatted datetime string.
type string
Task type.
version string
The version of the task
id str
The provider-assigned unique ID for this managed 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 TaskRecord.
system_tags Mapping[str, str]
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
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
id String
The provider-assigned unique ID for this managed resource.
lifecycleDetails 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.
resourceRegion String
Associated region
state String
The current state of the TaskRecord.
systemTags Map<String>
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated String
The time this resource was created. An RFC3339 formatted datetime string.
timeUpdated String
The time this resource was last updated. An RFC3339 formatted datetime string.
type String
Task type.
version String
The version of the task

Look up Existing TaskRecord Resource

Get an existing TaskRecord resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: TaskRecordState, opts?: CustomResourceOptions): TaskRecord
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        compartment_id: Optional[str] = None,
        defined_tags: Optional[Mapping[str, str]] = None,
        description: Optional[str] = None,
        details: Optional[_fleetappsmanagement.TaskRecordDetailsArgs] = None,
        display_name: Optional[str] = None,
        freeform_tags: Optional[Mapping[str, str]] = None,
        lifecycle_details: Optional[str] = None,
        resource_region: Optional[str] = None,
        state: Optional[str] = None,
        system_tags: Optional[Mapping[str, str]] = None,
        time_created: Optional[str] = None,
        time_updated: Optional[str] = None,
        type: Optional[str] = None,
        version: Optional[str] = None) -> TaskRecord
func GetTaskRecord(ctx *Context, name string, id IDInput, state *TaskRecordState, opts ...ResourceOption) (*TaskRecord, error)
public static TaskRecord Get(string name, Input<string> id, TaskRecordState? state, CustomResourceOptions? opts = null)
public static TaskRecord get(String name, Output<String> id, TaskRecordState state, CustomResourceOptions options)
resources:  _:    type: oci:FleetAppsManagement:TaskRecord    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
CompartmentId Changes to this property will trigger replacement. string
DefinedTags Dictionary<string, string>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
Description string
(Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
Details TaskRecordDetails
(Updatable) The details of the task.
DisplayName string
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
FreeformTags Dictionary<string, string>

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

LifecycleDetails 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.
ResourceRegion string
Associated region
State string
The current state of the TaskRecord.
SystemTags Dictionary<string, string>
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
TimeCreated string
The time this resource was created. An RFC3339 formatted datetime string.
TimeUpdated string
The time this resource was last updated. An RFC3339 formatted datetime string.
Type string
Task type.
Version string
The version of the task
CompartmentId Changes to this property will trigger replacement. string
DefinedTags map[string]string
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
Description string
(Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
Details TaskRecordDetailsArgs
(Updatable) The details of the task.
DisplayName string
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
FreeformTags map[string]string

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

LifecycleDetails 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.
ResourceRegion string
Associated region
State string
The current state of the TaskRecord.
SystemTags map[string]string
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
TimeCreated string
The time this resource was created. An RFC3339 formatted datetime string.
TimeUpdated string
The time this resource was last updated. An RFC3339 formatted datetime string.
Type string
Task type.
Version string
The version of the task
compartmentId Changes to this property will trigger replacement. String
definedTags Map<String,String>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
description String
(Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
details TaskRecordDetails
(Updatable) The details of the task.
displayName String
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
freeformTags Map<String,String>

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

lifecycleDetails 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.
resourceRegion String
Associated region
state String
The current state of the TaskRecord.
systemTags Map<String,String>
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated String
The time this resource was created. An RFC3339 formatted datetime string.
timeUpdated String
The time this resource was last updated. An RFC3339 formatted datetime string.
type String
Task type.
version String
The version of the task
compartmentId Changes to this property will trigger replacement. string
definedTags {[key: string]: string}
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
description string
(Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
details TaskRecordDetails
(Updatable) The details of the task.
displayName string
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
freeformTags {[key: string]: string}

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

lifecycleDetails 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.
resourceRegion string
Associated region
state string
The current state of the TaskRecord.
systemTags {[key: string]: string}
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated string
The time this resource was created. An RFC3339 formatted datetime string.
timeUpdated string
The time this resource was last updated. An RFC3339 formatted datetime string.
type string
Task type.
version string
The version of the task
compartment_id Changes to this property will trigger replacement. str
defined_tags Mapping[str, str]
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
description str
(Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
details fleetappsmanagement.TaskRecordDetailsArgs
(Updatable) The details of the task.
display_name str
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
freeform_tags Mapping[str, str]

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

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 TaskRecord.
system_tags Mapping[str, str]
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
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
compartmentId Changes to this property will trigger replacement. String
definedTags Map<String>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
description String
(Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
details Property Map
(Updatable) The details of the task.
displayName String
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
freeformTags Map<String>

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

lifecycleDetails 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.
resourceRegion String
Associated region
state String
The current state of the TaskRecord.
systemTags Map<String>
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated String
The time this resource was created. An RFC3339 formatted datetime string.
timeUpdated String
The time this resource was last updated. An RFC3339 formatted datetime string.
type String
Task type.
version String
The version of the task

Supporting Types

TaskRecordDetails
, TaskRecordDetailsArgs

ExecutionDetails This property is required. TaskRecordDetailsExecutionDetails
(Updatable) Execution details.
OsType This property is required. string
(Updatable) The OS for the task
Scope This property is required. string
(Updatable) The scope of the task
IsApplySubjectTask bool
(Updatable) Is this an Apply Subject Task? Set this to true for a Patch Execution Task which applies patches(subjects) on a target.
IsDiscoveryOutputTask bool
(Updatable) Is this a discovery output task?
Platform string
(Updatable) The platform of the runbook.
Properties TaskRecordDetailsProperties
(Updatable) The properties of the task.
ExecutionDetails This property is required. TaskRecordDetailsExecutionDetails
(Updatable) Execution details.
OsType This property is required. string
(Updatable) The OS for the task
Scope This property is required. string
(Updatable) The scope of the task
IsApplySubjectTask bool
(Updatable) Is this an Apply Subject Task? Set this to true for a Patch Execution Task which applies patches(subjects) on a target.
IsDiscoveryOutputTask bool
(Updatable) Is this a discovery output task?
Platform string
(Updatable) The platform of the runbook.
Properties TaskRecordDetailsProperties
(Updatable) The properties of the task.
executionDetails This property is required. TaskRecordDetailsExecutionDetails
(Updatable) Execution details.
osType This property is required. String
(Updatable) The OS for the task
scope This property is required. String
(Updatable) The scope of the task
isApplySubjectTask Boolean
(Updatable) Is this an Apply Subject Task? Set this to true for a Patch Execution Task which applies patches(subjects) on a target.
isDiscoveryOutputTask Boolean
(Updatable) Is this a discovery output task?
platform String
(Updatable) The platform of the runbook.
properties TaskRecordDetailsProperties
(Updatable) The properties of the task.
executionDetails This property is required. TaskRecordDetailsExecutionDetails
(Updatable) Execution details.
osType This property is required. string
(Updatable) The OS for the task
scope This property is required. string
(Updatable) The scope of the task
isApplySubjectTask boolean
(Updatable) Is this an Apply Subject Task? Set this to true for a Patch Execution Task which applies patches(subjects) on a target.
isDiscoveryOutputTask boolean
(Updatable) Is this a discovery output task?
platform string
(Updatable) The platform of the runbook.
properties TaskRecordDetailsProperties
(Updatable) The properties of the task.
execution_details This property is required. fleetappsmanagement.TaskRecordDetailsExecutionDetails
(Updatable) Execution details.
os_type This property is required. str
(Updatable) The OS for the task
scope This property is required. str
(Updatable) The scope of the task
is_apply_subject_task bool
(Updatable) Is this an Apply Subject Task? Set this to true for a Patch Execution Task which applies patches(subjects) on a target.
is_discovery_output_task bool
(Updatable) Is this a discovery output task?
platform str
(Updatable) The platform of the runbook.
properties fleetappsmanagement.TaskRecordDetailsProperties
(Updatable) The properties of the task.
executionDetails This property is required. Property Map
(Updatable) Execution details.
osType This property is required. String
(Updatable) The OS for the task
scope This property is required. String
(Updatable) The scope of the task
isApplySubjectTask Boolean
(Updatable) Is this an Apply Subject Task? Set this to true for a Patch Execution Task which applies patches(subjects) on a target.
isDiscoveryOutputTask Boolean
(Updatable) Is this a discovery output task?
platform String
(Updatable) The platform of the runbook.
properties Property Map
(Updatable) The properties of the task.

TaskRecordDetailsExecutionDetails
, TaskRecordDetailsExecutionDetailsArgs

ExecutionType This property is required. string
(Updatable) The action type of the task
Command string
(Updatable) Optional command to execute the content. You can provide any commands/arguments that can't be part of the script.
Content TaskRecordDetailsExecutionDetailsContent
(Updatable) Content Source details.
Credentials List<TaskRecordDetailsExecutionDetailsCredential>
(Updatable) Credentials required for executing the task.
Endpoint string
(Updatable) Endpoint to be invoked.
Variables TaskRecordDetailsExecutionDetailsVariables
(Updatable) The variable of the task. At least one of the dynamicArguments or output needs to be provided.
ExecutionType This property is required. string
(Updatable) The action type of the task
Command string
(Updatable) Optional command to execute the content. You can provide any commands/arguments that can't be part of the script.
Content TaskRecordDetailsExecutionDetailsContent
(Updatable) Content Source details.
Credentials []TaskRecordDetailsExecutionDetailsCredential
(Updatable) Credentials required for executing the task.
Endpoint string
(Updatable) Endpoint to be invoked.
Variables TaskRecordDetailsExecutionDetailsVariables
(Updatable) The variable of the task. At least one of the dynamicArguments or output needs to be provided.
executionType This property is required. String
(Updatable) The action type of the task
command String
(Updatable) Optional command to execute the content. You can provide any commands/arguments that can't be part of the script.
content TaskRecordDetailsExecutionDetailsContent
(Updatable) Content Source details.
credentials List<TaskRecordDetailsExecutionDetailsCredential>
(Updatable) Credentials required for executing the task.
endpoint String
(Updatable) Endpoint to be invoked.
variables TaskRecordDetailsExecutionDetailsVariables
(Updatable) The variable of the task. At least one of the dynamicArguments or output needs to be provided.
executionType This property is required. string
(Updatable) The action type of the task
command string
(Updatable) Optional command to execute the content. You can provide any commands/arguments that can't be part of the script.
content TaskRecordDetailsExecutionDetailsContent
(Updatable) Content Source details.
credentials TaskRecordDetailsExecutionDetailsCredential[]
(Updatable) Credentials required for executing the task.
endpoint string
(Updatable) Endpoint to be invoked.
variables TaskRecordDetailsExecutionDetailsVariables
(Updatable) The variable of the task. At least one of the dynamicArguments or output needs to be provided.
execution_type This property is required. str
(Updatable) The action type of the task
command str
(Updatable) Optional command to execute the content. You can provide any commands/arguments that can't be part of the script.
content fleetappsmanagement.TaskRecordDetailsExecutionDetailsContent
(Updatable) Content Source details.
credentials Sequence[fleetappsmanagement.TaskRecordDetailsExecutionDetailsCredential]
(Updatable) Credentials required for executing the task.
endpoint str
(Updatable) Endpoint to be invoked.
variables fleetappsmanagement.TaskRecordDetailsExecutionDetailsVariables
(Updatable) The variable of the task. At least one of the dynamicArguments or output needs to be provided.
executionType This property is required. String
(Updatable) The action type of the task
command String
(Updatable) Optional command to execute the content. You can provide any commands/arguments that can't be part of the script.
content Property Map
(Updatable) Content Source details.
credentials List<Property Map>
(Updatable) Credentials required for executing the task.
endpoint String
(Updatable) Endpoint to be invoked.
variables Property Map
(Updatable) The variable of the task. At least one of the dynamicArguments or output needs to be provided.

TaskRecordDetailsExecutionDetailsContent
, TaskRecordDetailsExecutionDetailsContentArgs

Bucket This property is required. string
(Updatable) Bucket Name.
Checksum This property is required. string
(Updatable) md5 checksum of the artifact.
Namespace This property is required. string
(Updatable) Namespace.
Object This property is required. string
(Updatable) Object Name.
SourceType This property is required. string
(Updatable) Content Source type details.
Bucket This property is required. string
(Updatable) Bucket Name.
Checksum This property is required. string
(Updatable) md5 checksum of the artifact.
Namespace This property is required. string
(Updatable) Namespace.
Object This property is required. string
(Updatable) Object Name.
SourceType This property is required. string
(Updatable) Content Source type details.
bucket This property is required. String
(Updatable) Bucket Name.
checksum This property is required. String
(Updatable) md5 checksum of the artifact.
namespace This property is required. String
(Updatable) Namespace.
object This property is required. String
(Updatable) Object Name.
sourceType This property is required. String
(Updatable) Content Source type details.
bucket This property is required. string
(Updatable) Bucket Name.
checksum This property is required. string
(Updatable) md5 checksum of the artifact.
namespace This property is required. string
(Updatable) Namespace.
object This property is required. string
(Updatable) Object Name.
sourceType This property is required. string
(Updatable) Content Source type details.
bucket This property is required. str
(Updatable) Bucket Name.
checksum This property is required. str
(Updatable) md5 checksum of the artifact.
namespace This property is required. str
(Updatable) Namespace.
object This property is required. str
(Updatable) Object Name.
source_type This property is required. str
(Updatable) Content Source type details.
bucket This property is required. String
(Updatable) Bucket Name.
checksum This property is required. String
(Updatable) md5 checksum of the artifact.
namespace This property is required. String
(Updatable) Namespace.
object This property is required. String
(Updatable) Object Name.
sourceType This property is required. String
(Updatable) Content Source type details.

TaskRecordDetailsExecutionDetailsCredential
, TaskRecordDetailsExecutionDetailsCredentialArgs

DisplayName string
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
Id string
(Updatable) The OCID of the resource.
DisplayName string
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
Id string
(Updatable) The OCID of the resource.
displayName String
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
id String
(Updatable) The OCID of the resource.
displayName string
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
id string
(Updatable) The OCID of the resource.
display_name str
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
id str
(Updatable) The OCID of the resource.
displayName String
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
id String
(Updatable) The OCID of the resource.

TaskRecordDetailsExecutionDetailsVariables
, TaskRecordDetailsExecutionDetailsVariablesArgs

InputVariables List<TaskRecordDetailsExecutionDetailsVariablesInputVariable>
(Updatable) The input variables for the task.
OutputVariables List<string>
(Updatable) The list of output variables.
InputVariables []TaskRecordDetailsExecutionDetailsVariablesInputVariable
(Updatable) The input variables for the task.
OutputVariables []string
(Updatable) The list of output variables.
inputVariables List<TaskRecordDetailsExecutionDetailsVariablesInputVariable>
(Updatable) The input variables for the task.
outputVariables List<String>
(Updatable) The list of output variables.
inputVariables TaskRecordDetailsExecutionDetailsVariablesInputVariable[]
(Updatable) The input variables for the task.
outputVariables string[]
(Updatable) The list of output variables.
input_variables Sequence[fleetappsmanagement.TaskRecordDetailsExecutionDetailsVariablesInputVariable]
(Updatable) The input variables for the task.
output_variables Sequence[str]
(Updatable) The list of output variables.
inputVariables List<Property Map>
(Updatable) The input variables for the task.
outputVariables List<String>
(Updatable) The list of output variables.

TaskRecordDetailsExecutionDetailsVariablesInputVariable
, TaskRecordDetailsExecutionDetailsVariablesInputVariableArgs

Description string
(Updatable) The description of the argument.
Name string
(Updatable) The name of the argument.
Type string
(Updatable) Input argument Type.
Description string
(Updatable) The description of the argument.
Name string
(Updatable) The name of the argument.
Type string
(Updatable) Input argument Type.
description String
(Updatable) The description of the argument.
name String
(Updatable) The name of the argument.
type String
(Updatable) Input argument Type.
description string
(Updatable) The description of the argument.
name string
(Updatable) The name of the argument.
type string
(Updatable) Input argument Type.
description str
(Updatable) The description of the argument.
name str
(Updatable) The name of the argument.
type str
(Updatable) Input argument Type.
description String
(Updatable) The description of the argument.
name String
(Updatable) The name of the argument.
type String
(Updatable) Input argument Type.

TaskRecordDetailsProperties
, TaskRecordDetailsPropertiesArgs

NumRetries This property is required. int
(Updatable) The number of retries allowed.
TimeoutInSeconds This property is required. int
(Updatable) The timeout in seconds for the task.
NumRetries This property is required. int
(Updatable) The number of retries allowed.
TimeoutInSeconds This property is required. int
(Updatable) The timeout in seconds for the task.
numRetries This property is required. Integer
(Updatable) The number of retries allowed.
timeoutInSeconds This property is required. Integer
(Updatable) The timeout in seconds for the task.
numRetries This property is required. number
(Updatable) The number of retries allowed.
timeoutInSeconds This property is required. number
(Updatable) The timeout in seconds for the task.
num_retries This property is required. int
(Updatable) The number of retries allowed.
timeout_in_seconds This property is required. int
(Updatable) The timeout in seconds for the task.
numRetries This property is required. Number
(Updatable) The number of retries allowed.
timeoutInSeconds This property is required. Number
(Updatable) The timeout in seconds for the task.

Import

TaskRecords can be imported using the id, e.g.

$ pulumi import oci:FleetAppsManagement/taskRecord:TaskRecord test_task_record "id"
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.