import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Task Record resource in Oracle Cloud Infrastructure Fleet Apps Management service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/fleet-management/latest/TaskRecord * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/fleet_apps_management * * Creates a new task record. * * ## Example Usage * * ```typescript * 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 === "true", * isLocked: taskRecordDetailsExecutionDetailsIsLocked === "true", * isReadOutputVariableEnabled: taskRecordDetailsExecutionDetailsIsReadOutputVariableEnabled === "true", * systemVariables: taskRecordDetailsExecutionDetailsSystemVariables, * targetCompartmentId: testCompartment.id, * variables: { * inputVariables: [{ * description: taskRecordDetailsExecutionDetailsVariablesInputVariablesDescription, * name: taskRecordDetailsExecutionDetailsVariablesInputVariablesName, * type: taskRecordDetailsExecutionDetailsVariablesInputVariablesType, * }], * outputVariables: taskRecordDetailsExecutionDetailsVariablesOutputVariables, * }, * }, * scope: taskRecordDetailsScope, * isApplySubjectTask: taskRecordDetailsIsApplySubjectTask === "true", * isDiscoveryOutputTask: taskRecordDetailsIsDiscoveryOutputTask === "true", * operation: taskRecordDetailsOperation, * osType: taskRecordDetailsOsType, * platform: taskRecordDetailsPlatform, * properties: { * numRetries: Number(taskRecordDetailsPropertiesNumRetries), * timeoutInSeconds: Number(taskRecordDetailsPropertiesTimeoutInSeconds), * }, * }, * displayName: taskRecordDisplayName, * definedTags: { * "foo-namespace.bar-key": "value", * }, * description: taskRecordDescription, * freeformTags: { * "bar-key": "value", * }, * }); * ``` * * ## Import * * TaskRecords can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:FleetAppsManagement/taskRecord:TaskRecord test_task_record "id" * ``` */ export declare class TaskRecord extends pulumi.CustomResource { /** * Get an existing TaskRecord resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: TaskRecordState, opts?: pulumi.CustomResourceOptions): TaskRecord; /** * Returns true if the given object is an instance of TaskRecord. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is TaskRecord; /** * (Updatable) */ readonly compartmentId: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information. */ readonly description: pulumi.Output; /** * (Updatable) The details of the task. */ readonly details: pulumi.Output; /** * (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource` */ readonly displayName: pulumi.Output; /** * (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 */ readonly freeformTags: pulumi.Output<{ [key: string]: 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. */ readonly lifecycleDetails: pulumi.Output; /** * Associated region */ readonly resourceRegion: pulumi.Output; /** * The current state of the task record. */ readonly state: pulumi.Output; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The time this resource was created. An RFC3339 formatted datetime string. */ readonly timeCreated: pulumi.Output; /** * The time this resource was last updated. An RFC3339 formatted datetime string. */ readonly timeUpdated: pulumi.Output; /** * Task type. */ readonly type: pulumi.Output; /** * The version of the task record. */ readonly version: pulumi.Output; /** * Create a TaskRecord resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: TaskRecordArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering TaskRecord resources. */ export interface TaskRecordState { /** * (Updatable) */ compartmentId?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information. */ description?: pulumi.Input; /** * (Updatable) The details of the task. */ details?: pulumi.Input; /** * (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource` */ displayName?: pulumi.Input; /** * (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 */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. */ lifecycleDetails?: pulumi.Input; /** * Associated region */ resourceRegion?: pulumi.Input; /** * The current state of the task record. */ state?: pulumi.Input; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The time this resource was created. An RFC3339 formatted datetime string. */ timeCreated?: pulumi.Input; /** * The time this resource was last updated. An RFC3339 formatted datetime string. */ timeUpdated?: pulumi.Input; /** * Task type. */ type?: pulumi.Input; /** * The version of the task record. */ version?: pulumi.Input; } /** * The set of arguments for constructing a TaskRecord resource. */ export interface TaskRecordArgs { /** * (Updatable) */ compartmentId: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information. */ description?: pulumi.Input; /** * (Updatable) The details of the task. */ details: pulumi.Input; /** * (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource` */ displayName: pulumi.Input; /** * (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 */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; } //# sourceMappingURL=taskRecord.d.ts.map