1. Registry
  2. Packages
  3. Files.com
  4. API Docs
  5. getAutomationRun
Viewing docs for Files.com v0.1.1
published on Thursday, Aug 20, 2026 by jschady
filescom logo
Viewing docs for Files.com v0.1.1
published on Thursday, Aug 20, 2026 by jschady

    An AutomationRun is a record with information about a single execution of a given Automation.

    Automation Runs can be retried upon failure or partialFailure by setting the retryOnFailureIntervalInMinutes and retryOnFailureNumberOfAttempts settings on the associated Automation.

    When retries occur, a new AutomationRun will be created for each retry. The property retryAt on the original run, if set, represents when that run will be retried next. The properties retriedAt and retriedInRunId will be set in the original run that failed, at the time of retry. The property retryOfRunId will be set in the new run.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as filescom from "pulumi-filescom";
    
    const exampleAutomationRun = filescom.getAutomationRun({
        id: 1,
    });
    
    import pulumi
    import pulumi_filescom as filescom
    
    example_automation_run = filescom.get_automation_run(id=1)
    
    package main
    
    import (
    	"github.com/jschady/pulumi-filescom/sdk/go/filescom"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := filescom.GetAutomationRun(ctx, &filescom.GetAutomationRunArgs{
    			Id: 1,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Filescom = Jschady.Filescom;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleAutomationRun = Filescom.GetAutomationRun.Invoke(new()
        {
            Id = 1,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.filescom.FilescomFunctions;
    import com.pulumi.filescom.inputs.GetAutomationRunArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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) {
            final var exampleAutomationRun = FilescomFunctions.getAutomationRun(GetAutomationRunArgs.builder()
                .id(1)
                .build());
    
        }
    }
    
    variables:
      exampleAutomationRun:
        fn::invoke:
          function: filescom:getAutomationRun
          arguments:
            id: 1
    
    pulumi {
      required_providers {
        filescom = {
          source = "pulumi/filescom"
        }
      }
    }
    
    data "filescom_getautomationrun" "exampleAutomationRun" {
      id = 1
    }
    

    Using getAutomationRun

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getAutomationRun(args: GetAutomationRunArgs, opts?: InvokeOptions): Promise<GetAutomationRunResult>
    function getAutomationRunOutput(args: GetAutomationRunOutputArgs, opts?: InvokeOutputOptions): Output<GetAutomationRunResult>
    def get_automation_run(id: Optional[int] = None,
                           opts: Optional[InvokeOptions] = None) -> GetAutomationRunResult
    def get_automation_run_output(id: pulumi.Input[Optional[int]] = None,
                           opts: Optional[InvokeOutputOptions] = None) -> Output[GetAutomationRunResult]
    func GetAutomationRun(ctx *Context, args *GetAutomationRunArgs, opts ...InvokeOption) (*GetAutomationRunResult, error)
    func GetAutomationRunOutput(ctx *Context, args *GetAutomationRunOutputArgs, opts ...InvokeOption) GetAutomationRunResultOutput

    > Note: This function is named GetAutomationRun in the Go SDK.

    public static class GetAutomationRun 
    {
        public static Task<GetAutomationRunResult> InvokeAsync(GetAutomationRunArgs args, InvokeOptions? opts = null)
        public static Output<GetAutomationRunResult> Invoke(GetAutomationRunInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetAutomationRunResult> Invoke(GetAutomationRunInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetAutomationRunResult> getAutomationRun(GetAutomationRunArgs args, InvokeOptions options)
    public static Output<GetAutomationRunResult> getAutomationRun(GetAutomationRunArgs args, InvokeOptions options)
    public static Output<GetAutomationRunResult> getAutomationRun(GetAutomationRunArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: filescom:index/getAutomationRun:getAutomationRun
      arguments:
        # arguments dictionary
    data "filescom_get_automation_run" "name" {
        # arguments
    }

    The following arguments are supported:

    Id int
    ID.
    Id int
    ID.
    id number
    ID.
    id Integer
    ID.
    id number
    ID.
    id int
    ID.
    id Number
    ID.

    getAutomationRun Result

    The following output properties are available:

    AutomationId int
    ID of the associated Automation.
    AutomationVersionId int
    ID of the immutable Automation version pinned by this run.
    CancelRequestedAt string
    Date/time at which cancellation was requested.
    CompletedAt string
    Automation run completion/failure date/time.
    CreatedAt string
    Automation run start date/time.
    Definition object
    Automation definition snapshot pinned by this run. For performance reasons, this is not provided when listing Automation runs.
    ExecutionNodes object
    Execution status, timing, and bounded output summaries for each node. For performance reasons, this is not provided when listing Automation runs.
    FailedOperations int
    Count of failed operations.
    Id int
    ID.
    JournalUrl string
    Link to the run journal artifact.
    NodeStates object
    Status and execution stage for each node in this run. For performance reasons, this is not provided when listing Automation runs.
    RerunFromNodeId string
    Node at which this run resumed execution.
    RerunOfRunId int
    ID of the run whose persisted node outputs this run reused.
    RetriedAt string
    If set, this Automation run was retried due to failure or partialFailure.
    RetriedInRunId int
    ID of the run that is or will be retrying this run.
    RetryAt string
    If set, this automation will be retried at this date/time due to failure or partialFailure.
    RetryOfRunId int
    ID of the original run that this run is retrying.
    Runtime double
    Automation run runtime.
    Status string
    The status of the AutomationRun. One of queued, running, success, partialFailure, failure, skipped, or canceled.
    StatusMessagesUrl string
    Link to status messages log file.
    SuccessfulOperations int
    Count of successful operations.
    Version int
    Pinned Automation v2 definition version.
    WorkspaceId int
    Workspace ID.
    AutomationId int
    ID of the associated Automation.
    AutomationVersionId int
    ID of the immutable Automation version pinned by this run.
    CancelRequestedAt string
    Date/time at which cancellation was requested.
    CompletedAt string
    Automation run completion/failure date/time.
    CreatedAt string
    Automation run start date/time.
    Definition interface{}
    Automation definition snapshot pinned by this run. For performance reasons, this is not provided when listing Automation runs.
    ExecutionNodes interface{}
    Execution status, timing, and bounded output summaries for each node. For performance reasons, this is not provided when listing Automation runs.
    FailedOperations int
    Count of failed operations.
    Id int
    ID.
    JournalUrl string
    Link to the run journal artifact.
    NodeStates interface{}
    Status and execution stage for each node in this run. For performance reasons, this is not provided when listing Automation runs.
    RerunFromNodeId string
    Node at which this run resumed execution.
    RerunOfRunId int
    ID of the run whose persisted node outputs this run reused.
    RetriedAt string
    If set, this Automation run was retried due to failure or partialFailure.
    RetriedInRunId int
    ID of the run that is or will be retrying this run.
    RetryAt string
    If set, this automation will be retried at this date/time due to failure or partialFailure.
    RetryOfRunId int
    ID of the original run that this run is retrying.
    Runtime float64
    Automation run runtime.
    Status string
    The status of the AutomationRun. One of queued, running, success, partialFailure, failure, skipped, or canceled.
    StatusMessagesUrl string
    Link to status messages log file.
    SuccessfulOperations int
    Count of successful operations.
    Version int
    Pinned Automation v2 definition version.
    WorkspaceId int
    Workspace ID.
    automation_id number
    ID of the associated Automation.
    automation_version_id number
    ID of the immutable Automation version pinned by this run.
    cancel_requested_at string
    Date/time at which cancellation was requested.
    completed_at string
    Automation run completion/failure date/time.
    created_at string
    Automation run start date/time.
    definition any
    Automation definition snapshot pinned by this run. For performance reasons, this is not provided when listing Automation runs.
    execution_nodes any
    Execution status, timing, and bounded output summaries for each node. For performance reasons, this is not provided when listing Automation runs.
    failed_operations number
    Count of failed operations.
    id number
    ID.
    journal_url string
    Link to the run journal artifact.
    node_states any
    Status and execution stage for each node in this run. For performance reasons, this is not provided when listing Automation runs.
    rerun_from_node_id string
    Node at which this run resumed execution.
    rerun_of_run_id number
    ID of the run whose persisted node outputs this run reused.
    retried_at string
    If set, this Automation run was retried due to failure or partialFailure.
    retried_in_run_id number
    ID of the run that is or will be retrying this run.
    retry_at string
    If set, this automation will be retried at this date/time due to failure or partialFailure.
    retry_of_run_id number
    ID of the original run that this run is retrying.
    runtime number
    Automation run runtime.
    status string
    The status of the AutomationRun. One of queued, running, success, partialFailure, failure, skipped, or canceled.
    status_messages_url string
    Link to status messages log file.
    successful_operations number
    Count of successful operations.
    version number
    Pinned Automation v2 definition version.
    workspace_id number
    Workspace ID.
    automationId Integer
    ID of the associated Automation.
    automationVersionId Integer
    ID of the immutable Automation version pinned by this run.
    cancelRequestedAt String
    Date/time at which cancellation was requested.
    completedAt String
    Automation run completion/failure date/time.
    createdAt String
    Automation run start date/time.
    definition Object
    Automation definition snapshot pinned by this run. For performance reasons, this is not provided when listing Automation runs.
    executionNodes Object
    Execution status, timing, and bounded output summaries for each node. For performance reasons, this is not provided when listing Automation runs.
    failedOperations Integer
    Count of failed operations.
    id Integer
    ID.
    journalUrl String
    Link to the run journal artifact.
    nodeStates Object
    Status and execution stage for each node in this run. For performance reasons, this is not provided when listing Automation runs.
    rerunFromNodeId String
    Node at which this run resumed execution.
    rerunOfRunId Integer
    ID of the run whose persisted node outputs this run reused.
    retriedAt String
    If set, this Automation run was retried due to failure or partialFailure.
    retriedInRunId Integer
    ID of the run that is or will be retrying this run.
    retryAt String
    If set, this automation will be retried at this date/time due to failure or partialFailure.
    retryOfRunId Integer
    ID of the original run that this run is retrying.
    runtime Double
    Automation run runtime.
    status String
    The status of the AutomationRun. One of queued, running, success, partialFailure, failure, skipped, or canceled.
    statusMessagesUrl String
    Link to status messages log file.
    successfulOperations Integer
    Count of successful operations.
    version Integer
    Pinned Automation v2 definition version.
    workspaceId Integer
    Workspace ID.
    automationId number
    ID of the associated Automation.
    automationVersionId number
    ID of the immutable Automation version pinned by this run.
    cancelRequestedAt string
    Date/time at which cancellation was requested.
    completedAt string
    Automation run completion/failure date/time.
    createdAt string
    Automation run start date/time.
    definition any
    Automation definition snapshot pinned by this run. For performance reasons, this is not provided when listing Automation runs.
    executionNodes any
    Execution status, timing, and bounded output summaries for each node. For performance reasons, this is not provided when listing Automation runs.
    failedOperations number
    Count of failed operations.
    id number
    ID.
    journalUrl string
    Link to the run journal artifact.
    nodeStates any
    Status and execution stage for each node in this run. For performance reasons, this is not provided when listing Automation runs.
    rerunFromNodeId string
    Node at which this run resumed execution.
    rerunOfRunId number
    ID of the run whose persisted node outputs this run reused.
    retriedAt string
    If set, this Automation run was retried due to failure or partialFailure.
    retriedInRunId number
    ID of the run that is or will be retrying this run.
    retryAt string
    If set, this automation will be retried at this date/time due to failure or partialFailure.
    retryOfRunId number
    ID of the original run that this run is retrying.
    runtime number
    Automation run runtime.
    status string
    The status of the AutomationRun. One of queued, running, success, partialFailure, failure, skipped, or canceled.
    statusMessagesUrl string
    Link to status messages log file.
    successfulOperations number
    Count of successful operations.
    version number
    Pinned Automation v2 definition version.
    workspaceId number
    Workspace ID.
    automation_id int
    ID of the associated Automation.
    automation_version_id int
    ID of the immutable Automation version pinned by this run.
    cancel_requested_at str
    Date/time at which cancellation was requested.
    completed_at str
    Automation run completion/failure date/time.
    created_at str
    Automation run start date/time.
    definition Any
    Automation definition snapshot pinned by this run. For performance reasons, this is not provided when listing Automation runs.
    execution_nodes Any
    Execution status, timing, and bounded output summaries for each node. For performance reasons, this is not provided when listing Automation runs.
    failed_operations int
    Count of failed operations.
    id int
    ID.
    journal_url str
    Link to the run journal artifact.
    node_states Any
    Status and execution stage for each node in this run. For performance reasons, this is not provided when listing Automation runs.
    rerun_from_node_id str
    Node at which this run resumed execution.
    rerun_of_run_id int
    ID of the run whose persisted node outputs this run reused.
    retried_at str
    If set, this Automation run was retried due to failure or partialFailure.
    retried_in_run_id int
    ID of the run that is or will be retrying this run.
    retry_at str
    If set, this automation will be retried at this date/time due to failure or partialFailure.
    retry_of_run_id int
    ID of the original run that this run is retrying.
    runtime float
    Automation run runtime.
    status str
    The status of the AutomationRun. One of queued, running, success, partialFailure, failure, skipped, or canceled.
    status_messages_url str
    Link to status messages log file.
    successful_operations int
    Count of successful operations.
    version int
    Pinned Automation v2 definition version.
    workspace_id int
    Workspace ID.
    automationId Number
    ID of the associated Automation.
    automationVersionId Number
    ID of the immutable Automation version pinned by this run.
    cancelRequestedAt String
    Date/time at which cancellation was requested.
    completedAt String
    Automation run completion/failure date/time.
    createdAt String
    Automation run start date/time.
    definition Any
    Automation definition snapshot pinned by this run. For performance reasons, this is not provided when listing Automation runs.
    executionNodes Any
    Execution status, timing, and bounded output summaries for each node. For performance reasons, this is not provided when listing Automation runs.
    failedOperations Number
    Count of failed operations.
    id Number
    ID.
    journalUrl String
    Link to the run journal artifact.
    nodeStates Any
    Status and execution stage for each node in this run. For performance reasons, this is not provided when listing Automation runs.
    rerunFromNodeId String
    Node at which this run resumed execution.
    rerunOfRunId Number
    ID of the run whose persisted node outputs this run reused.
    retriedAt String
    If set, this Automation run was retried due to failure or partialFailure.
    retriedInRunId Number
    ID of the run that is or will be retrying this run.
    retryAt String
    If set, this automation will be retried at this date/time due to failure or partialFailure.
    retryOfRunId Number
    ID of the original run that this run is retrying.
    runtime Number
    Automation run runtime.
    status String
    The status of the AutomationRun. One of queued, running, success, partialFailure, failure, skipped, or canceled.
    statusMessagesUrl String
    Link to status messages log file.
    successfulOperations Number
    Count of successful operations.
    version Number
    Pinned Automation v2 definition version.
    workspaceId Number
    Workspace ID.

    Package Details

    Repository
    filescom jschady/pulumi-filescom
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the filescom Terraform Provider.
    filescom logo
    Viewing docs for Files.com v0.1.1
    published on Thursday, Aug 20, 2026 by jschady

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial