published on Thursday, Aug 20, 2026 by jschady
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 dictionarydata "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:
- Automation
Id int - ID of the associated Automation.
- Automation
Version intId - ID of the immutable Automation version pinned by this run.
- Cancel
Requested stringAt - 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 object
- Automation definition snapshot pinned by this run. For performance reasons, this is not provided when listing Automation runs.
- Execution
Nodes object - 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 string - Link to the run journal artifact.
- Node
States object - Status and execution stage for each node in this run. For performance reasons, this is not provided when listing Automation runs.
- Rerun
From stringNode Id - Node at which this run resumed execution.
- Rerun
Of intRun Id - ID of the run whose persisted node outputs this run reused.
- Retried
At string - If set, this Automation run was retried due to
failureorpartialFailure. - Retried
In intRun Id - 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
failureorpartialFailure. - Retry
Of intRun Id - 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, orcanceled. - Status
Messages stringUrl - 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.
- Automation
Id int - ID of the associated Automation.
- Automation
Version intId - ID of the immutable Automation version pinned by this run.
- Cancel
Requested stringAt - 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 interface{}
- Automation definition snapshot pinned by this run. For performance reasons, this is not provided when listing Automation runs.
- Execution
Nodes interface{} - 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 string - Link to the run journal artifact.
- Node
States interface{} - Status and execution stage for each node in this run. For performance reasons, this is not provided when listing Automation runs.
- Rerun
From stringNode Id - Node at which this run resumed execution.
- Rerun
Of intRun Id - ID of the run whose persisted node outputs this run reused.
- Retried
At string - If set, this Automation run was retried due to
failureorpartialFailure. - Retried
In intRun Id - 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
failureorpartialFailure. - Retry
Of intRun Id - 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, orcanceled. - Status
Messages stringUrl - 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.
- automation_
id number - ID of the associated Automation.
- automation_
version_ numberid - ID of the immutable Automation version pinned by this run.
- cancel_
requested_ stringat - 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_ stringnode_ id - Node at which this run resumed execution.
- rerun_
of_ numberrun_ id - ID of the run whose persisted node outputs this run reused.
- retried_
at string - If set, this Automation run was retried due to
failureorpartialFailure. - retried_
in_ numberrun_ id - 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
failureorpartialFailure. - retry_
of_ numberrun_ id - 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, orcanceled. - status_
messages_ stringurl - 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.
- automation
Id Integer - ID of the associated Automation.
- automation
Version IntegerId - ID of the immutable Automation version pinned by this run.
- cancel
Requested StringAt - 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 Object
- Automation definition snapshot pinned by this run. For performance reasons, this is not provided when listing Automation runs.
- execution
Nodes Object - Execution status, timing, and bounded output summaries for each node. For performance reasons, this is not provided when listing Automation runs.
- failed
Operations Integer - Count of failed operations.
- id Integer
- ID.
- journal
Url String - Link to the run journal artifact.
- node
States Object - Status and execution stage for each node in this run. For performance reasons, this is not provided when listing Automation runs.
- rerun
From StringNode Id - Node at which this run resumed execution.
- rerun
Of IntegerRun Id - ID of the run whose persisted node outputs this run reused.
- retried
At String - If set, this Automation run was retried due to
failureorpartialFailure. - retried
In IntegerRun Id - 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
failureorpartialFailure. - retry
Of IntegerRun Id - 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, orcanceled. - status
Messages StringUrl - Link to status messages log file.
- successful
Operations Integer - Count of successful operations.
- version Integer
- Pinned Automation v2 definition version.
- workspace
Id Integer - Workspace ID.
- automation
Id number - ID of the associated Automation.
- automation
Version numberId - ID of the immutable Automation version pinned by this run.
- cancel
Requested stringAt - 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 stringNode Id - Node at which this run resumed execution.
- rerun
Of numberRun Id - ID of the run whose persisted node outputs this run reused.
- retried
At string - If set, this Automation run was retried due to
failureorpartialFailure. - retried
In numberRun Id - 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
failureorpartialFailure. - retry
Of numberRun Id - 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, orcanceled. - status
Messages stringUrl - 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.
- automation_
id int - ID of the associated Automation.
- automation_
version_ intid - ID of the immutable Automation version pinned by this run.
- cancel_
requested_ strat - 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_ strnode_ id - Node at which this run resumed execution.
- rerun_
of_ intrun_ id - ID of the run whose persisted node outputs this run reused.
- retried_
at str - If set, this Automation run was retried due to
failureorpartialFailure. - retried_
in_ intrun_ id - 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
failureorpartialFailure. - retry_
of_ intrun_ id - 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, orcanceled. - status_
messages_ strurl - 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.
- automation
Id Number - ID of the associated Automation.
- automation
Version NumberId - ID of the immutable Automation version pinned by this run.
- cancel
Requested StringAt - 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 StringNode Id - Node at which this run resumed execution.
- rerun
Of NumberRun Id - ID of the run whose persisted node outputs this run reused.
- retried
At String - If set, this Automation run was retried due to
failureorpartialFailure. - retried
In NumberRun Id - 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
failureorpartialFailure. - retry
Of NumberRun Id - 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, orcanceled. - status
Messages StringUrl - 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.
Package Details
- Repository
- filescom jschady/pulumi-filescom
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
filescomTerraform Provider.
published on Thursday, Aug 20, 2026 by jschady