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 record.
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,
catalogId: testCatalog.id,
command: taskRecordDetailsExecutionDetailsCommand,
configFile: taskRecordDetailsExecutionDetailsConfigFile,
content: {
sourceType: taskRecordDetailsExecutionDetailsContentSourceType,
bucket: taskRecordDetailsExecutionDetailsContentBucket,
catalogId: testCatalog.id,
checksum: taskRecordDetailsExecutionDetailsContentChecksum,
namespace: taskRecordDetailsExecutionDetailsContentNamespace,
object: taskRecordDetailsExecutionDetailsContentObject,
},
credentials: [{
displayName: taskRecordDetailsExecutionDetailsCredentialsDisplayName,
id: taskRecordDetailsExecutionDetailsCredentialsId,
}],
endpoint: taskRecordDetailsExecutionDetailsEndpoint,
isExecutableContent: taskRecordDetailsExecutionDetailsIsExecutableContent,
isLocked: taskRecordDetailsExecutionDetailsIsLocked,
isReadOutputVariableEnabled: taskRecordDetailsExecutionDetailsIsReadOutputVariableEnabled,
targetCompartmentId: testCompartment.id,
variables: {
inputVariables: [{
description: taskRecordDetailsExecutionDetailsVariablesInputVariablesDescription,
name: taskRecordDetailsExecutionDetailsVariablesInputVariablesName,
type: taskRecordDetailsExecutionDetailsVariablesInputVariablesType,
}],
outputVariables: taskRecordDetailsExecutionDetailsVariablesOutputVariables,
},
},
scope: taskRecordDetailsScope,
isApplySubjectTask: taskRecordDetailsIsApplySubjectTask,
isDiscoveryOutputTask: taskRecordDetailsIsDiscoveryOutputTask,
operation: taskRecordDetailsOperation,
osType: taskRecordDetailsOsType,
platform: taskRecordDetailsPlatform,
properties: {
numRetries: taskRecordDetailsPropertiesNumRetries,
timeoutInSeconds: taskRecordDetailsPropertiesTimeoutInSeconds,
},
},
displayName: taskRecordDisplayName,
definedTags: {
"foo-namespace.bar-key": "value",
},
description: taskRecordDescription,
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,
"catalog_id": test_catalog["id"],
"command": task_record_details_execution_details_command,
"config_file": task_record_details_execution_details_config_file,
"content": {
"source_type": task_record_details_execution_details_content_source_type,
"bucket": task_record_details_execution_details_content_bucket,
"catalog_id": test_catalog["id"],
"checksum": task_record_details_execution_details_content_checksum,
"namespace": task_record_details_execution_details_content_namespace,
"object": task_record_details_execution_details_content_object,
},
"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,
"is_executable_content": task_record_details_execution_details_is_executable_content,
"is_locked": task_record_details_execution_details_is_locked,
"is_read_output_variable_enabled": task_record_details_execution_details_is_read_output_variable_enabled,
"target_compartment_id": test_compartment["id"],
"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,
},
},
"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,
"operation": task_record_details_operation,
"os_type": task_record_details_os_type,
"platform": task_record_details_platform,
"properties": {
"num_retries": task_record_details_properties_num_retries,
"timeout_in_seconds": task_record_details_properties_timeout_in_seconds,
},
},
display_name=task_record_display_name,
defined_tags={
"foo-namespace.bar-key": "value",
},
description=task_record_description,
freeform_tags={
"bar-key": "value",
})
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/fleetappsmanagement"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := fleetappsmanagement.NewTaskRecord(ctx, "test_task_record", &fleetappsmanagement.TaskRecordArgs{
CompartmentId: pulumi.Any(compartmentId),
Details: &fleetappsmanagement.TaskRecordDetailsArgs{
ExecutionDetails: &fleetappsmanagement.TaskRecordDetailsExecutionDetailsArgs{
ExecutionType: pulumi.Any(taskRecordDetailsExecutionDetailsExecutionType),
CatalogId: pulumi.Any(testCatalog.Id),
Command: pulumi.Any(taskRecordDetailsExecutionDetailsCommand),
ConfigFile: pulumi.Any(taskRecordDetailsExecutionDetailsConfigFile),
Content: &fleetappsmanagement.TaskRecordDetailsExecutionDetailsContentArgs{
SourceType: pulumi.Any(taskRecordDetailsExecutionDetailsContentSourceType),
Bucket: pulumi.Any(taskRecordDetailsExecutionDetailsContentBucket),
CatalogId: pulumi.Any(testCatalog.Id),
Checksum: pulumi.Any(taskRecordDetailsExecutionDetailsContentChecksum),
Namespace: pulumi.Any(taskRecordDetailsExecutionDetailsContentNamespace),
Object: pulumi.Any(taskRecordDetailsExecutionDetailsContentObject),
},
Credentials: fleetappsmanagement.TaskRecordDetailsExecutionDetailsCredentialArray{
&fleetappsmanagement.TaskRecordDetailsExecutionDetailsCredentialArgs{
DisplayName: pulumi.Any(taskRecordDetailsExecutionDetailsCredentialsDisplayName),
Id: pulumi.Any(taskRecordDetailsExecutionDetailsCredentialsId),
},
},
Endpoint: pulumi.Any(taskRecordDetailsExecutionDetailsEndpoint),
IsExecutableContent: pulumi.Any(taskRecordDetailsExecutionDetailsIsExecutableContent),
IsLocked: pulumi.Any(taskRecordDetailsExecutionDetailsIsLocked),
IsReadOutputVariableEnabled: pulumi.Any(taskRecordDetailsExecutionDetailsIsReadOutputVariableEnabled),
TargetCompartmentId: pulumi.Any(testCompartment.Id),
Variables: &fleetappsmanagement.TaskRecordDetailsExecutionDetailsVariablesArgs{
InputVariables: fleetappsmanagement.TaskRecordDetailsExecutionDetailsVariablesInputVariableArray{
&fleetappsmanagement.TaskRecordDetailsExecutionDetailsVariablesInputVariableArgs{
Description: pulumi.Any(taskRecordDetailsExecutionDetailsVariablesInputVariablesDescription),
Name: pulumi.Any(taskRecordDetailsExecutionDetailsVariablesInputVariablesName),
Type: pulumi.Any(taskRecordDetailsExecutionDetailsVariablesInputVariablesType),
},
},
OutputVariables: pulumi.Any(taskRecordDetailsExecutionDetailsVariablesOutputVariables),
},
},
Scope: pulumi.Any(taskRecordDetailsScope),
IsApplySubjectTask: pulumi.Any(taskRecordDetailsIsApplySubjectTask),
IsDiscoveryOutputTask: pulumi.Any(taskRecordDetailsIsDiscoveryOutputTask),
Operation: pulumi.Any(taskRecordDetailsOperation),
OsType: pulumi.Any(taskRecordDetailsOsType),
Platform: pulumi.Any(taskRecordDetailsPlatform),
Properties: &fleetappsmanagement.TaskRecordDetailsPropertiesArgs{
NumRetries: pulumi.Any(taskRecordDetailsPropertiesNumRetries),
TimeoutInSeconds: pulumi.Any(taskRecordDetailsPropertiesTimeoutInSeconds),
},
},
DisplayName: pulumi.Any(taskRecordDisplayName),
DefinedTags: pulumi.StringMap{
"foo-namespace.bar-key": pulumi.String("value"),
},
Description: pulumi.Any(taskRecordDescription),
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,
CatalogId = testCatalog.Id,
Command = taskRecordDetailsExecutionDetailsCommand,
ConfigFile = taskRecordDetailsExecutionDetailsConfigFile,
Content = new Oci.FleetAppsManagement.Inputs.TaskRecordDetailsExecutionDetailsContentArgs
{
SourceType = taskRecordDetailsExecutionDetailsContentSourceType,
Bucket = taskRecordDetailsExecutionDetailsContentBucket,
CatalogId = testCatalog.Id,
Checksum = taskRecordDetailsExecutionDetailsContentChecksum,
Namespace = taskRecordDetailsExecutionDetailsContentNamespace,
Object = taskRecordDetailsExecutionDetailsContentObject,
},
Credentials = new[]
{
new Oci.FleetAppsManagement.Inputs.TaskRecordDetailsExecutionDetailsCredentialArgs
{
DisplayName = taskRecordDetailsExecutionDetailsCredentialsDisplayName,
Id = taskRecordDetailsExecutionDetailsCredentialsId,
},
},
Endpoint = taskRecordDetailsExecutionDetailsEndpoint,
IsExecutableContent = taskRecordDetailsExecutionDetailsIsExecutableContent,
IsLocked = taskRecordDetailsExecutionDetailsIsLocked,
IsReadOutputVariableEnabled = taskRecordDetailsExecutionDetailsIsReadOutputVariableEnabled,
TargetCompartmentId = testCompartment.Id,
Variables = new Oci.FleetAppsManagement.Inputs.TaskRecordDetailsExecutionDetailsVariablesArgs
{
InputVariables = new[]
{
new Oci.FleetAppsManagement.Inputs.TaskRecordDetailsExecutionDetailsVariablesInputVariableArgs
{
Description = taskRecordDetailsExecutionDetailsVariablesInputVariablesDescription,
Name = taskRecordDetailsExecutionDetailsVariablesInputVariablesName,
Type = taskRecordDetailsExecutionDetailsVariablesInputVariablesType,
},
},
OutputVariables = taskRecordDetailsExecutionDetailsVariablesOutputVariables,
},
},
Scope = taskRecordDetailsScope,
IsApplySubjectTask = taskRecordDetailsIsApplySubjectTask,
IsDiscoveryOutputTask = taskRecordDetailsIsDiscoveryOutputTask,
Operation = taskRecordDetailsOperation,
OsType = taskRecordDetailsOsType,
Platform = taskRecordDetailsPlatform,
Properties = new Oci.FleetAppsManagement.Inputs.TaskRecordDetailsPropertiesArgs
{
NumRetries = taskRecordDetailsPropertiesNumRetries,
TimeoutInSeconds = taskRecordDetailsPropertiesTimeoutInSeconds,
},
},
DisplayName = taskRecordDisplayName,
DefinedTags =
{
{ "foo-namespace.bar-key", "value" },
},
Description = taskRecordDescription,
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)
.catalogId(testCatalog.id())
.command(taskRecordDetailsExecutionDetailsCommand)
.configFile(taskRecordDetailsExecutionDetailsConfigFile)
.content(TaskRecordDetailsExecutionDetailsContentArgs.builder()
.sourceType(taskRecordDetailsExecutionDetailsContentSourceType)
.bucket(taskRecordDetailsExecutionDetailsContentBucket)
.catalogId(testCatalog.id())
.checksum(taskRecordDetailsExecutionDetailsContentChecksum)
.namespace(taskRecordDetailsExecutionDetailsContentNamespace)
.object(taskRecordDetailsExecutionDetailsContentObject)
.build())
.credentials(TaskRecordDetailsExecutionDetailsCredentialArgs.builder()
.displayName(taskRecordDetailsExecutionDetailsCredentialsDisplayName)
.id(taskRecordDetailsExecutionDetailsCredentialsId)
.build())
.endpoint(taskRecordDetailsExecutionDetailsEndpoint)
.isExecutableContent(taskRecordDetailsExecutionDetailsIsExecutableContent)
.isLocked(taskRecordDetailsExecutionDetailsIsLocked)
.isReadOutputVariableEnabled(taskRecordDetailsExecutionDetailsIsReadOutputVariableEnabled)
.targetCompartmentId(testCompartment.id())
.variables(TaskRecordDetailsExecutionDetailsVariablesArgs.builder()
.inputVariables(TaskRecordDetailsExecutionDetailsVariablesInputVariableArgs.builder()
.description(taskRecordDetailsExecutionDetailsVariablesInputVariablesDescription)
.name(taskRecordDetailsExecutionDetailsVariablesInputVariablesName)
.type(taskRecordDetailsExecutionDetailsVariablesInputVariablesType)
.build())
.outputVariables(taskRecordDetailsExecutionDetailsVariablesOutputVariables)
.build())
.build())
.scope(taskRecordDetailsScope)
.isApplySubjectTask(taskRecordDetailsIsApplySubjectTask)
.isDiscoveryOutputTask(taskRecordDetailsIsDiscoveryOutputTask)
.operation(taskRecordDetailsOperation)
.osType(taskRecordDetailsOsType)
.platform(taskRecordDetailsPlatform)
.properties(TaskRecordDetailsPropertiesArgs.builder()
.numRetries(taskRecordDetailsPropertiesNumRetries)
.timeoutInSeconds(taskRecordDetailsPropertiesTimeoutInSeconds)
.build())
.build())
.displayName(taskRecordDisplayName)
.definedTags(Map.of("foo-namespace.bar-key", "value"))
.description(taskRecordDescription)
.freeformTags(Map.of("bar-key", "value"))
.build());
}
}
resources:
testTaskRecord:
type: oci:FleetAppsManagement:TaskRecord
name: test_task_record
properties:
compartmentId: ${compartmentId}
details:
executionDetails:
executionType: ${taskRecordDetailsExecutionDetailsExecutionType}
catalogId: ${testCatalog.id}
command: ${taskRecordDetailsExecutionDetailsCommand}
configFile: ${taskRecordDetailsExecutionDetailsConfigFile}
content:
sourceType: ${taskRecordDetailsExecutionDetailsContentSourceType}
bucket: ${taskRecordDetailsExecutionDetailsContentBucket}
catalogId: ${testCatalog.id}
checksum: ${taskRecordDetailsExecutionDetailsContentChecksum}
namespace: ${taskRecordDetailsExecutionDetailsContentNamespace}
object: ${taskRecordDetailsExecutionDetailsContentObject}
credentials:
- displayName: ${taskRecordDetailsExecutionDetailsCredentialsDisplayName}
id: ${taskRecordDetailsExecutionDetailsCredentialsId}
endpoint: ${taskRecordDetailsExecutionDetailsEndpoint}
isExecutableContent: ${taskRecordDetailsExecutionDetailsIsExecutableContent}
isLocked: ${taskRecordDetailsExecutionDetailsIsLocked}
isReadOutputVariableEnabled: ${taskRecordDetailsExecutionDetailsIsReadOutputVariableEnabled}
targetCompartmentId: ${testCompartment.id}
variables:
inputVariables:
- description: ${taskRecordDetailsExecutionDetailsVariablesInputVariablesDescription}
name: ${taskRecordDetailsExecutionDetailsVariablesInputVariablesName}
type: ${taskRecordDetailsExecutionDetailsVariablesInputVariablesType}
outputVariables: ${taskRecordDetailsExecutionDetailsVariablesOutputVariables}
scope: ${taskRecordDetailsScope}
isApplySubjectTask: ${taskRecordDetailsIsApplySubjectTask}
isDiscoveryOutputTask: ${taskRecordDetailsIsDiscoveryOutputTask}
operation: ${taskRecordDetailsOperation}
osType: ${taskRecordDetailsOsType}
platform: ${taskRecordDetailsPlatform}
properties:
numRetries: ${taskRecordDetailsPropertiesNumRetries}
timeoutInSeconds: ${taskRecordDetailsPropertiesTimeoutInSeconds}
displayName: ${taskRecordDisplayName}
definedTags:
foo-namespace.bar-key: value
description: ${taskRecordDescription}
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[TaskRecordDetailsArgs] = None,
display_name: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
description: 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",
CatalogId = "string",
Command = "string",
ConfigFile = "string",
Content = new Oci.FleetAppsManagement.Inputs.TaskRecordDetailsExecutionDetailsContentArgs
{
SourceType = "string",
Bucket = "string",
CatalogId = "string",
Checksum = "string",
Namespace = "string",
Object = "string",
},
Credentials = new[]
{
new Oci.FleetAppsManagement.Inputs.TaskRecordDetailsExecutionDetailsCredentialArgs
{
DisplayName = "string",
Id = "string",
},
},
Endpoint = "string",
IsExecutableContent = false,
IsLocked = false,
IsReadOutputVariableEnabled = false,
TargetCompartmentId = "string",
Variables = new Oci.FleetAppsManagement.Inputs.TaskRecordDetailsExecutionDetailsVariablesArgs
{
InputVariables = new[]
{
new Oci.FleetAppsManagement.Inputs.TaskRecordDetailsExecutionDetailsVariablesInputVariableArgs
{
Description = "string",
Name = "string",
Type = "string",
},
},
OutputVariables = new[]
{
"string",
},
},
},
Scope = "string",
IsApplySubjectTask = false,
IsDiscoveryOutputTask = false,
Operation = "string",
OsType = "string",
Platform = "string",
Properties = new Oci.FleetAppsManagement.Inputs.TaskRecordDetailsPropertiesArgs
{
NumRetries = 0,
TimeoutInSeconds = 0,
},
},
DisplayName = "string",
DefinedTags =
{
{ "string", "string" },
},
Description = "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"),
CatalogId: pulumi.String("string"),
Command: pulumi.String("string"),
ConfigFile: pulumi.String("string"),
Content: &fleetappsmanagement.TaskRecordDetailsExecutionDetailsContentArgs{
SourceType: pulumi.String("string"),
Bucket: pulumi.String("string"),
CatalogId: pulumi.String("string"),
Checksum: pulumi.String("string"),
Namespace: pulumi.String("string"),
Object: pulumi.String("string"),
},
Credentials: fleetappsmanagement.TaskRecordDetailsExecutionDetailsCredentialArray{
&fleetappsmanagement.TaskRecordDetailsExecutionDetailsCredentialArgs{
DisplayName: pulumi.String("string"),
Id: pulumi.String("string"),
},
},
Endpoint: pulumi.String("string"),
IsExecutableContent: pulumi.Bool(false),
IsLocked: pulumi.Bool(false),
IsReadOutputVariableEnabled: pulumi.Bool(false),
TargetCompartmentId: 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"),
},
},
},
Scope: pulumi.String("string"),
IsApplySubjectTask: pulumi.Bool(false),
IsDiscoveryOutputTask: pulumi.Bool(false),
Operation: pulumi.String("string"),
OsType: pulumi.String("string"),
Platform: pulumi.String("string"),
Properties: &fleetappsmanagement.TaskRecordDetailsPropertiesArgs{
NumRetries: pulumi.Int(0),
TimeoutInSeconds: pulumi.Int(0),
},
},
DisplayName: pulumi.String("string"),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Description: 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")
.catalogId("string")
.command("string")
.configFile("string")
.content(TaskRecordDetailsExecutionDetailsContentArgs.builder()
.sourceType("string")
.bucket("string")
.catalogId("string")
.checksum("string")
.namespace("string")
.object("string")
.build())
.credentials(TaskRecordDetailsExecutionDetailsCredentialArgs.builder()
.displayName("string")
.id("string")
.build())
.endpoint("string")
.isExecutableContent(false)
.isLocked(false)
.isReadOutputVariableEnabled(false)
.targetCompartmentId("string")
.variables(TaskRecordDetailsExecutionDetailsVariablesArgs.builder()
.inputVariables(TaskRecordDetailsExecutionDetailsVariablesInputVariableArgs.builder()
.description("string")
.name("string")
.type("string")
.build())
.outputVariables("string")
.build())
.build())
.scope("string")
.isApplySubjectTask(false)
.isDiscoveryOutputTask(false)
.operation("string")
.osType("string")
.platform("string")
.properties(TaskRecordDetailsPropertiesArgs.builder()
.numRetries(0)
.timeoutInSeconds(0)
.build())
.build())
.displayName("string")
.definedTags(Map.of("string", "string"))
.description("string")
.freeformTags(Map.of("string", "string"))
.build());
task_record_resource = oci.fleetappsmanagement.TaskRecord("taskRecordResource",
compartment_id="string",
details={
"execution_details": {
"execution_type": "string",
"catalog_id": "string",
"command": "string",
"config_file": "string",
"content": {
"source_type": "string",
"bucket": "string",
"catalog_id": "string",
"checksum": "string",
"namespace": "string",
"object": "string",
},
"credentials": [{
"display_name": "string",
"id": "string",
}],
"endpoint": "string",
"is_executable_content": False,
"is_locked": False,
"is_read_output_variable_enabled": False,
"target_compartment_id": "string",
"variables": {
"input_variables": [{
"description": "string",
"name": "string",
"type": "string",
}],
"output_variables": ["string"],
},
},
"scope": "string",
"is_apply_subject_task": False,
"is_discovery_output_task": False,
"operation": "string",
"os_type": "string",
"platform": "string",
"properties": {
"num_retries": 0,
"timeout_in_seconds": 0,
},
},
display_name="string",
defined_tags={
"string": "string",
},
description="string",
freeform_tags={
"string": "string",
})
const taskRecordResource = new oci.fleetappsmanagement.TaskRecord("taskRecordResource", {
compartmentId: "string",
details: {
executionDetails: {
executionType: "string",
catalogId: "string",
command: "string",
configFile: "string",
content: {
sourceType: "string",
bucket: "string",
catalogId: "string",
checksum: "string",
namespace: "string",
object: "string",
},
credentials: [{
displayName: "string",
id: "string",
}],
endpoint: "string",
isExecutableContent: false,
isLocked: false,
isReadOutputVariableEnabled: false,
targetCompartmentId: "string",
variables: {
inputVariables: [{
description: "string",
name: "string",
type: "string",
}],
outputVariables: ["string"],
},
},
scope: "string",
isApplySubjectTask: false,
isDiscoveryOutputTask: false,
operation: "string",
osType: "string",
platform: "string",
properties: {
numRetries: 0,
timeoutInSeconds: 0,
},
},
displayName: "string",
definedTags: {
string: "string",
},
description: "string",
freeformTags: {
string: "string",
},
});
type: oci:FleetAppsManagement:TaskRecord
properties:
compartmentId: string
definedTags:
string: string
description: string
details:
executionDetails:
catalogId: string
command: string
configFile: string
content:
bucket: string
catalogId: string
checksum: string
namespace: string
object: string
sourceType: string
credentials:
- displayName: string
id: string
endpoint: string
executionType: string
isExecutableContent: false
isLocked: false
isReadOutputVariableEnabled: false
targetCompartmentId: string
variables:
inputVariables:
- description: string
name: string
type: string
outputVariables:
- string
isApplySubjectTask: false
isDiscoveryOutputTask: false
operation: string
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:
- Compartment
Id string - (Updatable)
- Details
Task
Record Details - (Updatable) The details of the task.
- Display
Name 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) 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.
- 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
- Compartment
Id string - (Updatable)
- Details
Task
Record Details Args - (Updatable) The details of the task.
- Display
Name 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) 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.
- 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
- compartment
Id String - (Updatable)
- details
Task
Record Details - (Updatable) The details of the task.
- display
Name 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) 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.
- 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
- compartment
Id string - (Updatable)
- details
Task
Record Details - (Updatable) The details of the task.
- display
Name 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) 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.
- {[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 - (Updatable)
- details
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) 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.
- 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
- compartment
Id String - (Updatable)
- details Property Map
- (Updatable) The details of the task.
- display
Name 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) 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.
- 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.
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Resource
Region string - Associated region
- State string
- The current state of the task record.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- Type string
- Task type.
- Version string
- The version of the task record.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Resource
Region string - Associated region
- State string
- The current state of the task record.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- Type string
- Task type.
- Version string
- The version of the task record.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- resource
Region String - Associated region
- state String
- The current state of the task record.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time this resource was created. An RFC3339 formatted datetime string.
- time
Updated String - The time this resource was last updated. An RFC3339 formatted datetime string.
- type String
- Task type.
- version String
- The version of the task record.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- resource
Region string - Associated region
- state string
- The current state of the task record.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- type string
- Task type.
- version string
- The version of the task record.
- 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 task record.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - The time this resource was created. An RFC3339 formatted datetime string.
- time_
updated str - The time this resource was last updated. An RFC3339 formatted datetime string.
- type str
- Task type.
- version str
- The version of the task record.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- resource
Region String - Associated region
- state String
- The current state of the task record.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time this resource was created. An RFC3339 formatted datetime string.
- time
Updated String - The time this resource was last updated. An RFC3339 formatted datetime string.
- type String
- Task type.
- version String
- The version of the task record.
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[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
- 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.
- Compartment
Id string - (Updatable)
- 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
Task
Record Details - (Updatable) The details of the task.
- Display
Name 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
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Resource
Region string - Associated region
- State string
- The current state of the task record.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- Type string
- Task type.
- Version string
- The version of the task record.
- Compartment
Id string - (Updatable)
- 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
Task
Record Details Args - (Updatable) The details of the task.
- Display
Name 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
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Resource
Region string - Associated region
- State string
- The current state of the task record.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- Type string
- Task type.
- Version string
- The version of the task record.
- compartment
Id String - (Updatable)
- 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
Task
Record Details - (Updatable) The details of the task.
- display
Name 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
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- resource
Region String - Associated region
- state String
- The current state of the task record.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time this resource was created. An RFC3339 formatted datetime string.
- time
Updated String - The time this resource was last updated. An RFC3339 formatted datetime string.
- type String
- Task type.
- version String
- The version of the task record.
- compartment
Id string - (Updatable)
- {[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
Task
Record Details - (Updatable) The details of the task.
- display
Name 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
- lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- resource
Region string - Associated region
- state string
- The current state of the task record.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- type string
- Task type.
- version string
- The version of the task record.
- compartment_
id str - (Updatable)
- 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
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 task record.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - The time this resource was created. An RFC3339 formatted datetime string.
- time_
updated str - The time this resource was last updated. An RFC3339 formatted datetime string.
- type str
- Task type.
- version str
- The version of the task record.
- compartment
Id String - (Updatable)
- 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.
- display
Name 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
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- resource
Region String - Associated region
- state String
- The current state of the task record.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time this resource was created. An RFC3339 formatted datetime string.
- time
Updated String - The time this resource was last updated. An RFC3339 formatted datetime string.
- type String
- Task type.
- version String
- The version of the task record.
Supporting Types
TaskRecordDetails, TaskRecordDetailsArgs
- Execution
Details TaskRecord Details Execution Details - (Updatable) Execution details.
- Scope string
- (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?
- Operation string
- (Updatable) The lifecycle operation performed by the runbook.
- Os
Type string - (Updatable) The OS for the task
- Platform string
- (Updatable) The platform of the runbook.
- Properties
Task
Record Details Properties - (Updatable) The properties of the task.
- Execution
Details TaskRecord Details Execution Details - (Updatable) Execution details.
- Scope string
- (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?
- Operation string
- (Updatable) The lifecycle operation performed by the runbook.
- Os
Type string - (Updatable) The OS for the task
- Platform string
- (Updatable) The platform of the runbook.
- Properties
Task
Record Details Properties - (Updatable) The properties of the task.
- execution
Details TaskRecord Details Execution Details - (Updatable) Execution details.
- scope String
- (Updatable) The scope of the task
- is
Apply 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.
- is
Discovery BooleanOutput Task - (Updatable) Is this a discovery output task?
- operation String
- (Updatable) The lifecycle operation performed by the runbook.
- os
Type String - (Updatable) The OS for the task
- platform String
- (Updatable) The platform of the runbook.
- properties
Task
Record Details Properties - (Updatable) The properties of the task.
- execution
Details TaskRecord Details Execution Details - (Updatable) Execution details.
- scope string
- (Updatable) The scope of the task
- is
Apply 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.
- is
Discovery booleanOutput Task - (Updatable) Is this a discovery output task?
- operation string
- (Updatable) The lifecycle operation performed by the runbook.
- os
Type string - (Updatable) The OS for the task
- platform string
- (Updatable) The platform of the runbook.
- properties
Task
Record Details Properties - (Updatable) The properties of the task.
- execution_
details TaskRecord Details Execution Details - (Updatable) Execution details.
- 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?
- operation str
- (Updatable) The lifecycle operation performed by the runbook.
- os_
type str - (Updatable) The OS for the task
- platform str
- (Updatable) The platform of the runbook.
- properties
Task
Record Details Properties - (Updatable) The properties of the task.
- execution
Details Property Map - (Updatable) Execution details.
- scope String
- (Updatable) The scope of the task
- is
Apply 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.
- is
Discovery BooleanOutput Task - (Updatable) Is this a discovery output task?
- operation String
- (Updatable) The lifecycle operation performed by the runbook.
- os
Type String - (Updatable) The OS for the task
- platform String
- (Updatable) The platform of the runbook.
- properties Property Map
- (Updatable) The properties of the task.
TaskRecordDetailsExecutionDetails, TaskRecordDetailsExecutionDetailsArgs
- Execution
Type string - (Updatable) The action type of the task
- Catalog
Id string - Command string
- (Updatable) Optional command to execute the content. You can provide any commands/arguments that can't be part of the script.
- Config
File string - (Updatable) Catalog Id having config file.
- Content
Task
Record Details Execution Details Content - (Updatable) Content Source details.
- Credentials
List<Task
Record Details Execution Details Credential> - (Updatable) Credentials required for executing the task.
- Endpoint string
- (Updatable) Endpoint to be invoked.
- Is
Executable boolContent - (Updatable) Is the Content an executable file?
- Is
Locked bool - (Updatable) Is the script locked to prevent changes directly in Object Storage?
- Is
Read boolOutput Variable Enabled - (Updatable) Is read output variable enabled
- Target
Compartment stringId - (Updatable) OCID of the compartment to which the resource belongs to.
- Variables
Task
Record Details Execution Details Variables - (Updatable) The variable of the task. At least one of the dynamicArguments or output needs to be provided.
- Execution
Type string - (Updatable) The action type of the task
- Catalog
Id string - Command string
- (Updatable) Optional command to execute the content. You can provide any commands/arguments that can't be part of the script.
- Config
File string - (Updatable) Catalog Id having config file.
- Content
Task
Record Details Execution Details Content - (Updatable) Content Source details.
- Credentials
[]Task
Record Details Execution Details Credential - (Updatable) Credentials required for executing the task.
- Endpoint string
- (Updatable) Endpoint to be invoked.
- Is
Executable boolContent - (Updatable) Is the Content an executable file?
- Is
Locked bool - (Updatable) Is the script locked to prevent changes directly in Object Storage?
- Is
Read boolOutput Variable Enabled - (Updatable) Is read output variable enabled
- Target
Compartment stringId - (Updatable) OCID of the compartment to which the resource belongs to.
- Variables
Task
Record Details Execution Details Variables - (Updatable) The variable of the task. At least one of the dynamicArguments or output needs to be provided.
- execution
Type String - (Updatable) The action type of the task
- catalog
Id String - command String
- (Updatable) Optional command to execute the content. You can provide any commands/arguments that can't be part of the script.
- config
File String - (Updatable) Catalog Id having config file.
- content
Task
Record Details Execution Details Content - (Updatable) Content Source details.
- credentials
List<Task
Record Details Execution Details Credential> - (Updatable) Credentials required for executing the task.
- endpoint String
- (Updatable) Endpoint to be invoked.
- is
Executable BooleanContent - (Updatable) Is the Content an executable file?
- is
Locked Boolean - (Updatable) Is the script locked to prevent changes directly in Object Storage?
- is
Read BooleanOutput Variable Enabled - (Updatable) Is read output variable enabled
- target
Compartment StringId - (Updatable) OCID of the compartment to which the resource belongs to.
- variables
Task
Record Details Execution Details Variables - (Updatable) The variable of the task. At least one of the dynamicArguments or output needs to be provided.
- execution
Type string - (Updatable) The action type of the task
- catalog
Id string - command string
- (Updatable) Optional command to execute the content. You can provide any commands/arguments that can't be part of the script.
- config
File string - (Updatable) Catalog Id having config file.
- content
Task
Record Details Execution Details Content - (Updatable) Content Source details.
- credentials
Task
Record Details Execution Details Credential[] - (Updatable) Credentials required for executing the task.
- endpoint string
- (Updatable) Endpoint to be invoked.
- is
Executable booleanContent - (Updatable) Is the Content an executable file?
- is
Locked boolean - (Updatable) Is the script locked to prevent changes directly in Object Storage?
- is
Read booleanOutput Variable Enabled - (Updatable) Is read output variable enabled
- target
Compartment stringId - (Updatable) OCID of the compartment to which the resource belongs to.
- variables
Task
Record 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
- catalog_
id str - command str
- (Updatable) Optional command to execute the content. You can provide any commands/arguments that can't be part of the script.
- config_
file str - (Updatable) Catalog Id having config file.
- content
Task
Record Details Execution Details Content - (Updatable) Content Source details.
- credentials
Sequence[Task
Record Details Execution Details Credential] - (Updatable) Credentials required for executing the task.
- endpoint str
- (Updatable) Endpoint to be invoked.
- is_
executable_ boolcontent - (Updatable) Is the Content an executable file?
- is_
locked bool - (Updatable) Is the script locked to prevent changes directly in Object Storage?
- is_
read_ booloutput_ variable_ enabled - (Updatable) Is read output variable enabled
- target_
compartment_ strid - (Updatable) OCID of the compartment to which the resource belongs to.
- variables
Task
Record Details Execution Details Variables - (Updatable) The variable of the task. At least one of the dynamicArguments or output needs to be provided.
- execution
Type String - (Updatable) The action type of the task
- catalog
Id String - command String
- (Updatable) Optional command to execute the content. You can provide any commands/arguments that can't be part of the script.
- config
File String - (Updatable) Catalog Id having config file.
- 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.
- is
Executable BooleanContent - (Updatable) Is the Content an executable file?
- is
Locked Boolean - (Updatable) Is the script locked to prevent changes directly in Object Storage?
- is
Read BooleanOutput Variable Enabled - (Updatable) Is read output variable enabled
- target
Compartment StringId - (Updatable) OCID of the compartment to which the resource belongs to.
- variables Property Map
- (Updatable) The variable of the task. At least one of the dynamicArguments or output needs to be provided.
TaskRecordDetailsExecutionDetailsContent, TaskRecordDetailsExecutionDetailsContentArgs
- source_
type str - (Updatable) Content Source type details.
- bucket str
- (Updatable) Bucket Name.
- catalog_
id str - checksum str
- (Updatable) md5 checksum of the artifact.
- namespace str
- (Updatable) Namespace.
- object str
- (Updatable) Object Name.
TaskRecordDetailsExecutionDetailsCredential, TaskRecordDetailsExecutionDetailsCredentialArgs
- Display
Name 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 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 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 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.
- display
Name 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
- Input
Variables List<TaskRecord Details Execution Details Variables Input Variable> - (Updatable) The input variables for the task.
- Output
Variables List<string> - (Updatable) The list of output variables.
- Input
Variables []TaskRecord Details Execution Details Variables Input Variable - (Updatable) The input variables for the task.
- Output
Variables []string - (Updatable) The list of output variables.
- input
Variables List<TaskRecord Details Execution Details Variables Input Variable> - (Updatable) The input variables for the task.
- output
Variables List<String> - (Updatable) The list of output variables.
- input
Variables TaskRecord Details Execution Details Variables Input Variable[] - (Updatable) The input variables for the task.
- output
Variables string[] - (Updatable) The list of output variables.
- input_
variables Sequence[TaskRecord Details Execution Details Variables Input Variable] - (Updatable) The input variables for the task.
- output_
variables Sequence[str] - (Updatable) The list of output variables.
- input
Variables List<Property Map> - (Updatable) The input variables for the task.
- output
Variables 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
- Num
Retries int - (Updatable) The number of retries allowed.
- Timeout
In intSeconds - (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.
- num
Retries Integer - (Updatable) The number of retries allowed.
- timeout
In IntegerSeconds - (Updatable) The timeout in seconds for the task.
- num
Retries number - (Updatable) The number of retries allowed.
- timeout
In 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.
- num
Retries Number - (Updatable) The number of retries allowed.
- timeout
In 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
oci
Terraform Provider.