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",
    },
});
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",
    })
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
	})
}
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" },
        },
    });
});
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());
    }
}
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
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 string
- The unique name of the resource.
- args TaskRecordArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args TaskRecordArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TaskRecordArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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" },
    },
});
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"),
	},
})
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());
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",
    })
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",
    },
});
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
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 string
- Details
TaskRecord Details 
- (Updatable) The details of the task.
- 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
- 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 string
- Details
TaskRecord Details Args 
- (Updatable) The details of the task.
- 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
- 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 String
- details
TaskRecord Details 
- (Updatable) The details of the task.
- 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
- 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 string
- details
TaskRecord Details 
- (Updatable) The details of the task.
- {[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
- {[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 str
- details
fleetappsmanagement.Task Record Details Args 
- (Updatable) The details of the task.
- 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
- 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 String
- details Property Map
- (Updatable) The details of the task.
- 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
- 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.
- 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.
- 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.
- 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.
- {[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.
- 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.
- 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) -> TaskRecordfunc 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- CompartmentId string
- 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
TaskRecord Details 
- (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
- 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.
- 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 string
- 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
TaskRecord Details Args 
- (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
- 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.
- 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 String
- 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
TaskRecord Details 
- (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
- 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.
- 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 string
- {[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
TaskRecord Details 
- (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
- {[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.
- {[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 str
- 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.Task Record Details Args 
- (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
- 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.
- 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 String
- 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
- 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.
- 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 TaskRecord Details Execution Details 
- (Updatable) Execution details.
- OsType string
- (Updatable) The OS for the task
- Scope string
- (Updatable) The scope of the task
- IsApply boolSubject Task 
- (Updatable) Is this an Apply Subject Task? Set this to true for a Patch Execution Task which applies patches(subjects) on a target.
- IsDiscovery boolOutput Task 
- (Updatable) Is this a discovery output task?
- Platform string
- (Updatable) The platform of the runbook.
- Properties
TaskRecord Details Properties 
- (Updatable) The properties of the task.
- ExecutionDetails TaskRecord Details Execution Details 
- (Updatable) Execution details.
- OsType string
- (Updatable) The OS for the task
- Scope string
- (Updatable) The scope of the task
- IsApply boolSubject Task 
- (Updatable) Is this an Apply Subject Task? Set this to true for a Patch Execution Task which applies patches(subjects) on a target.
- IsDiscovery boolOutput Task 
- (Updatable) Is this a discovery output task?
- Platform string
- (Updatable) The platform of the runbook.
- Properties
TaskRecord Details Properties 
- (Updatable) The properties of the task.
- executionDetails TaskRecord Details Execution Details 
- (Updatable) Execution details.
- osType String
- (Updatable) The OS for the task
- scope String
- (Updatable) The scope of the task
- isApply BooleanSubject Task 
- (Updatable) Is this an Apply Subject Task? Set this to true for a Patch Execution Task which applies patches(subjects) on a target.
- isDiscovery BooleanOutput Task 
- (Updatable) Is this a discovery output task?
- platform String
- (Updatable) The platform of the runbook.
- properties
TaskRecord Details Properties 
- (Updatable) The properties of the task.
- executionDetails TaskRecord Details Execution Details 
- (Updatable) Execution details.
- osType string
- (Updatable) The OS for the task
- scope string
- (Updatable) The scope of the task
- isApply booleanSubject Task 
- (Updatable) Is this an Apply Subject Task? Set this to true for a Patch Execution Task which applies patches(subjects) on a target.
- isDiscovery booleanOutput Task 
- (Updatable) Is this a discovery output task?
- platform string
- (Updatable) The platform of the runbook.
- properties
TaskRecord Details Properties 
- (Updatable) The properties of the task.
- execution_details fleetappsmanagement.Task Record Details Execution Details 
- (Updatable) Execution details.
- os_type str
- (Updatable) The OS for the task
- scope str
- (Updatable) The scope of the task
- is_apply_ boolsubject_ task 
- (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_ booloutput_ task 
- (Updatable) Is this a discovery output task?
- platform str
- (Updatable) The platform of the runbook.
- properties
fleetappsmanagement.Task Record Details Properties 
- (Updatable) The properties of the task.
- executionDetails Property Map
- (Updatable) Execution details.
- osType String
- (Updatable) The OS for the task
- scope String
- (Updatable) The scope of the task
- isApply BooleanSubject Task 
- (Updatable) Is this an Apply Subject Task? Set this to true for a Patch Execution Task which applies patches(subjects) on a target.
- isDiscovery BooleanOutput Task 
- (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 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
TaskRecord Details Execution Details Content 
- (Updatable) Content Source details.
- Credentials
List<TaskRecord Details Execution Details Credential> 
- (Updatable) Credentials required for executing the task.
- Endpoint string
- (Updatable) Endpoint to be invoked.
- Variables
TaskRecord Details Execution Details Variables 
- (Updatable) The variable of the task. At least one of the dynamicArguments or output needs to be provided.
- ExecutionType 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
TaskRecord Details Execution Details Content 
- (Updatable) Content Source details.
- Credentials
[]TaskRecord Details Execution Details Credential 
- (Updatable) Credentials required for executing the task.
- Endpoint string
- (Updatable) Endpoint to be invoked.
- Variables
TaskRecord Details Execution Details Variables 
- (Updatable) The variable of the task. At least one of the dynamicArguments or output needs to be provided.
- executionType 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
TaskRecord Details Execution Details Content 
- (Updatable) Content Source details.
- credentials
List<TaskRecord Details Execution Details Credential> 
- (Updatable) Credentials required for executing the task.
- endpoint String
- (Updatable) Endpoint to be invoked.
- variables
TaskRecord Details Execution Details Variables 
- (Updatable) The variable of the task. At least one of the dynamicArguments or output needs to be provided.
- executionType 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
TaskRecord Details Execution Details Content 
- (Updatable) Content Source details.
- credentials
TaskRecord Details Execution Details Credential[] 
- (Updatable) Credentials required for executing the task.
- endpoint string
- (Updatable) Endpoint to be invoked.
- variables
TaskRecord Details Execution Details Variables 
- (Updatable) The variable of the task. At least one of the dynamicArguments or output needs to be provided.
- execution_type 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.Task Record Details Execution Details Content 
- (Updatable) Content Source details.
- credentials
Sequence[fleetappsmanagement.Task Record Details Execution Details Credential] 
- (Updatable) Credentials required for executing the task.
- endpoint str
- (Updatable) Endpoint to be invoked.
- variables
fleetappsmanagement.Task Record Details Execution Details Variables 
- (Updatable) The variable of the task. At least one of the dynamicArguments or output needs to be provided.
- executionType 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 string
- (Updatable) Bucket Name.
- Checksum string
- (Updatable) md5 checksum of the artifact.
- Namespace string
- (Updatable) Namespace.
- Object string
- (Updatable) Object Name.
- SourceType string
- (Updatable) Content Source type details.
- Bucket string
- (Updatable) Bucket Name.
- Checksum string
- (Updatable) md5 checksum of the artifact.
- Namespace string
- (Updatable) Namespace.
- Object string
- (Updatable) Object Name.
- SourceType string
- (Updatable) Content Source type details.
- bucket String
- (Updatable) Bucket Name.
- checksum String
- (Updatable) md5 checksum of the artifact.
- namespace String
- (Updatable) Namespace.
- object String
- (Updatable) Object Name.
- sourceType String
- (Updatable) Content Source type details.
- bucket string
- (Updatable) Bucket Name.
- checksum string
- (Updatable) md5 checksum of the artifact.
- namespace string
- (Updatable) Namespace.
- object string
- (Updatable) Object Name.
- sourceType string
- (Updatable) Content Source type details.
- bucket str
- (Updatable) Bucket Name.
- checksum str
- (Updatable) md5 checksum of the artifact.
- namespace str
- (Updatable) Namespace.
- object str
- (Updatable) Object Name.
- source_type str
- (Updatable) Content Source type details.
- bucket String
- (Updatable) Bucket Name.
- checksum String
- (Updatable) md5 checksum of the artifact.
- namespace String
- (Updatable) Namespace.
- object String
- (Updatable) Object Name.
- sourceType 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<TaskRecord Details Execution Details Variables Input Variable> 
- (Updatable) The input variables for the task.
- OutputVariables List<string>
- (Updatable) The list of output variables.
- InputVariables []TaskRecord Details Execution Details Variables Input Variable 
- (Updatable) The input variables for the task.
- OutputVariables []string
- (Updatable) The list of output variables.
- inputVariables List<TaskRecord Details Execution Details Variables Input Variable> 
- (Updatable) The input variables for the task.
- outputVariables List<String>
- (Updatable) The list of output variables.
- inputVariables TaskRecord Details Execution Details Variables Input Variable[] 
- (Updatable) The input variables for the task.
- outputVariables string[]
- (Updatable) The list of output variables.
- input_variables Sequence[fleetappsmanagement.Task Record Details Execution Details Variables Input Variable] 
- (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 int
- (Updatable) The number of retries allowed.
- TimeoutIn intSeconds 
- (Updatable) The timeout in seconds for the task.
- NumRetries int
- (Updatable) The number of retries allowed.
- TimeoutIn intSeconds 
- (Updatable) The timeout in seconds for the task.
- numRetries Integer
- (Updatable) The number of retries allowed.
- timeoutIn IntegerSeconds 
- (Updatable) The timeout in seconds for the task.
- numRetries number
- (Updatable) The number of retries allowed.
- timeoutIn numberSeconds 
- (Updatable) The timeout in seconds for the task.
- num_retries int
- (Updatable) The number of retries allowed.
- timeout_in_ intseconds 
- (Updatable) The timeout in seconds for the task.
- numRetries Number
- (Updatable) The number of retries allowed.
- timeoutIn NumberSeconds 
- (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"
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 ociTerraform Provider.