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
This property is required. string - The unique name of the resource.
- args
This property is required. TaskRecordArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. TaskRecordArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. TaskRecordArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. TaskRecordArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. TaskRecordArgs - The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var taskRecordResource = new Oci.FleetAppsManagement.TaskRecord("taskRecordResource", new()
{
CompartmentId = "string",
Details = new Oci.FleetAppsManagement.Inputs.TaskRecordDetailsArgs
{
ExecutionDetails = new Oci.FleetAppsManagement.Inputs.TaskRecordDetailsExecutionDetailsArgs
{
ExecutionType = "string",
Command = "string",
Content = new Oci.FleetAppsManagement.Inputs.TaskRecordDetailsExecutionDetailsContentArgs
{
Bucket = "string",
Checksum = "string",
Namespace = "string",
Object = "string",
SourceType = "string",
},
Credentials = new[]
{
new Oci.FleetAppsManagement.Inputs.TaskRecordDetailsExecutionDetailsCredentialArgs
{
DisplayName = "string",
Id = "string",
},
},
Endpoint = "string",
Variables = new Oci.FleetAppsManagement.Inputs.TaskRecordDetailsExecutionDetailsVariablesArgs
{
InputVariables = new[]
{
new Oci.FleetAppsManagement.Inputs.TaskRecordDetailsExecutionDetailsVariablesInputVariableArgs
{
Description = "string",
Name = "string",
Type = "string",
},
},
OutputVariables = new[]
{
"string",
},
},
},
OsType = "string",
Scope = "string",
IsApplySubjectTask = false,
IsDiscoveryOutputTask = false,
Platform = "string",
Properties = new Oci.FleetAppsManagement.Inputs.TaskRecordDetailsPropertiesArgs
{
NumRetries = 0,
TimeoutInSeconds = 0,
},
},
DefinedTags =
{
{ "string", "string" },
},
Description = "string",
DisplayName = "string",
FreeformTags =
{
{ "string", "string" },
},
});
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:
- Compartment
Id This property is required. Changes to this property will trigger replacement.
- Details
This property is required. 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.
- 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
- Compartment
Id This property is required. Changes to this property will trigger replacement.
- Details
This property is required. 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.
- 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
- compartment
Id This property is required. Changes to this property will trigger replacement.
- details
This property is required. 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.
- 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
- compartment
Id This property is required. Changes to this property will trigger replacement.
- details
This property is required. 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.
- 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
- compartment_
id This property is required. Changes to this property will trigger replacement.
- details
This property is required. 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
- compartment
Id This property is required. Changes to this property will trigger replacement.
- details
This property is required. 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.
- 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
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 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"}
- 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
- 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 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"}
- 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
- 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 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"}
- 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
- 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 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"}
- 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
- 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.
- 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 TaskRecord.
- 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
Look up Existing TaskRecord Resource
Get an existing TaskRecord resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: TaskRecordState, opts?: CustomResourceOptions): TaskRecord
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
details: Optional[_fleetappsmanagement.TaskRecordDetailsArgs] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
lifecycle_details: Optional[str] = None,
resource_region: Optional[str] = None,
state: Optional[str] = None,
system_tags: Optional[Mapping[str, str]] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None,
type: Optional[str] = None,
version: Optional[str] = None) -> TaskRecord
func GetTaskRecord(ctx *Context, name string, id IDInput, state *TaskRecordState, opts ...ResourceOption) (*TaskRecord, error)
public static TaskRecord Get(string name, Input<string> id, TaskRecordState? state, CustomResourceOptions? opts = null)
public static TaskRecord get(String name, Output<String> id, TaskRecordState state, CustomResourceOptions options)
resources: _: type: oci:FleetAppsManagement:TaskRecord get: id: ${id}
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Compartment
Id Changes to this property will trigger replacement.
- 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 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"}
- 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
- Compartment
Id Changes to this property will trigger replacement.
- 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 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"}
- 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
- compartment
Id Changes to this property will trigger replacement.
- 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 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"}
- 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
- compartment
Id Changes to this property will trigger replacement.
- {[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 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"}
- 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
- compartment_
id Changes to this property will trigger replacement.
- 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
- compartment
Id Changes to this property will trigger replacement.
- 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 TaskRecord.
- 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
Supporting Types
TaskRecordDetails, TaskRecordDetailsArgs
- Execution
Details This property is required. TaskRecord Details Execution Details - (Updatable) Execution details.
- Os
Type This property is required. string - (Updatable) The OS for the task
- Scope
This property is required. 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?
- Platform string
- (Updatable) The platform of the runbook.
- Properties
Task
Record Details Properties - (Updatable) The properties of the task.
- Execution
Details This property is required. TaskRecord Details Execution Details - (Updatable) Execution details.
- Os
Type This property is required. string - (Updatable) The OS for the task
- Scope
This property is required. 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?
- Platform string
- (Updatable) The platform of the runbook.
- Properties
Task
Record Details Properties - (Updatable) The properties of the task.
- execution
Details This property is required. TaskRecord Details Execution Details - (Updatable) Execution details.
- os
Type This property is required. String - (Updatable) The OS for the task
- scope
This property is required. 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?
- platform String
- (Updatable) The platform of the runbook.
- properties
Task
Record Details Properties - (Updatable) The properties of the task.
- execution
Details This property is required. TaskRecord Details Execution Details - (Updatable) Execution details.
- os
Type This property is required. string - (Updatable) The OS for the task
- scope
This property is required. 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?
- platform string
- (Updatable) The platform of the runbook.
- properties
Task
Record Details Properties - (Updatable) The properties of the task.
- execution_
details This property is required. fleetappsmanagement.Task Record Details Execution Details - (Updatable) Execution details.
- os_
type This property is required. str - (Updatable) The OS for the task
- scope
This property is required. str - (Updatable) The scope of the task
- is_
apply_ 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.
- execution
Details This property is required. Property Map - (Updatable) Execution details.
- os
Type This property is required. String - (Updatable) The OS for the task
- scope
This property is required. 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?
- platform String
- (Updatable) The platform of the runbook.
- properties Property Map
- (Updatable) The properties of the task.
TaskRecordDetailsExecutionDetails, TaskRecordDetailsExecutionDetailsArgs
- Execution
Type This property is required. string - (Updatable) The action type of the task
- Command string
- (Updatable) Optional command to execute the content. You can provide any commands/arguments that can't be part of the script.
- Content
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.
- 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 This property is required. string - (Updatable) The action type of the task
- Command string
- (Updatable) Optional command to execute the content. You can provide any commands/arguments that can't be part of the script.
- Content
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.
- 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 This property is required. String - (Updatable) The action type of the task
- command String
- (Updatable) Optional command to execute the content. You can provide any commands/arguments that can't be part of the script.
- content
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.
- 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 This property is required. string - (Updatable) The action type of the task
- command string
- (Updatable) Optional command to execute the content. You can provide any commands/arguments that can't be part of the script.
- content
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.
- 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 This property is required. str - (Updatable) The action type of the task
- command str
- (Updatable) Optional command to execute the content. You can provide any commands/arguments that can't be part of the script.
- content
fleetappsmanagement.
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.
- execution
Type This property is required. String - (Updatable) The action type of the task
- command String
- (Updatable) Optional command to execute the content. You can provide any commands/arguments that can't be part of the script.
- content Property Map
- (Updatable) Content Source details.
- credentials List<Property Map>
- (Updatable) Credentials required for executing the task.
- endpoint String
- (Updatable) Endpoint to be invoked.
- variables Property Map
- (Updatable) The variable of the task. At least one of the dynamicArguments or output needs to be provided.
TaskRecordDetailsExecutionDetailsContent, TaskRecordDetailsExecutionDetailsContentArgs
- Bucket
This property is required. string - (Updatable) Bucket Name.
- Checksum
This property is required. string - (Updatable) md5 checksum of the artifact.
- Namespace
This property is required. string - (Updatable) Namespace.
- Object
This property is required. string - (Updatable) Object Name.
- Source
Type This property is required. string - (Updatable) Content Source type details.
- Bucket
This property is required. string - (Updatable) Bucket Name.
- Checksum
This property is required. string - (Updatable) md5 checksum of the artifact.
- Namespace
This property is required. string - (Updatable) Namespace.
- Object
This property is required. string - (Updatable) Object Name.
- Source
Type This property is required. string - (Updatable) Content Source type details.
- bucket
This property is required. String - (Updatable) Bucket Name.
- checksum
This property is required. String - (Updatable) md5 checksum of the artifact.
- namespace
This property is required. String - (Updatable) Namespace.
- object
This property is required. String - (Updatable) Object Name.
- source
Type This property is required. String - (Updatable) Content Source type details.
- bucket
This property is required. string - (Updatable) Bucket Name.
- checksum
This property is required. string - (Updatable) md5 checksum of the artifact.
- namespace
This property is required. string - (Updatable) Namespace.
- object
This property is required. string - (Updatable) Object Name.
- source
Type This property is required. string - (Updatable) Content Source type details.
- bucket
This property is required. str - (Updatable) Bucket Name.
- checksum
This property is required. str - (Updatable) md5 checksum of the artifact.
- namespace
This property is required. str - (Updatable) Namespace.
- object
This property is required. str - (Updatable) Object Name.
- source_
type This property is required. str - (Updatable) Content Source type details.
- bucket
This property is required. String - (Updatable) Bucket Name.
- checksum
This property is required. String - (Updatable) md5 checksum of the artifact.
- namespace
This property is required. String - (Updatable) Namespace.
- object
This property is required. String - (Updatable) Object Name.
- source
Type This property is required. String - (Updatable) Content Source type details.
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[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.
- 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 This property is required. int - (Updatable) The number of retries allowed.
- Timeout
In Seconds This property is required. int - (Updatable) The timeout in seconds for the task.
- Num
Retries This property is required. int - (Updatable) The number of retries allowed.
- Timeout
In Seconds This property is required. int - (Updatable) The timeout in seconds for the task.
- num
Retries This property is required. Integer - (Updatable) The number of retries allowed.
- timeout
In Seconds This property is required. Integer - (Updatable) The timeout in seconds for the task.
- num
Retries This property is required. number - (Updatable) The number of retries allowed.
- timeout
In Seconds This property is required. number - (Updatable) The timeout in seconds for the task.
- num_
retries This property is required. int - (Updatable) The number of retries allowed.
- timeout_
in_ seconds This property is required. int - (Updatable) The timeout in seconds for the task.
- num
Retries This property is required. Number - (Updatable) The number of retries allowed.
- timeout
In Seconds This property is required. Number - (Updatable) The timeout in seconds for the task.
Import
TaskRecords can be imported using the id
, e.g.
$ pulumi import oci:FleetAppsManagement/taskRecord:TaskRecord test_task_record "id"
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.