Oracle Cloud Infrastructure v3.9.0 published on Wednesday, Sep 24, 2025 by Pulumi
oci.DataFlow.getRunLogs
This data source provides the list of Run Logs in Oracle Cloud Infrastructure Data Flow service.
Retrieves summaries of the run’s logs.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testRunLogs = oci.DataFlow.getRunLogs({
    runId: testRun.id,
});
import pulumi
import pulumi_oci as oci
test_run_logs = oci.DataFlow.get_run_logs(run_id=test_run["id"])
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/dataflow"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dataflow.GetRunLogs(ctx, &dataflow.GetRunLogsArgs{
			RunId: testRun.Id,
		}, nil)
		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 testRunLogs = Oci.DataFlow.GetRunLogs.Invoke(new()
    {
        RunId = testRun.Id,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DataFlow.DataFlowFunctions;
import com.pulumi.oci.DataFlow.inputs.GetRunLogsArgs;
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) {
        final var testRunLogs = DataFlowFunctions.getRunLogs(GetRunLogsArgs.builder()
            .runId(testRun.id())
            .build());
    }
}
variables:
  testRunLogs:
    fn::invoke:
      function: oci:DataFlow:getRunLogs
      arguments:
        runId: ${testRun.id}
Using getRunLogs
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 getRunLogs(args: GetRunLogsArgs, opts?: InvokeOptions): Promise<GetRunLogsResult>
function getRunLogsOutput(args: GetRunLogsOutputArgs, opts?: InvokeOptions): Output<GetRunLogsResult>def get_run_logs(filters: Optional[Sequence[GetRunLogsFilter]] = None,
                 run_id: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetRunLogsResult
def get_run_logs_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetRunLogsFilterArgs]]]] = None,
                 run_id: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetRunLogsResult]func GetRunLogs(ctx *Context, args *GetRunLogsArgs, opts ...InvokeOption) (*GetRunLogsResult, error)
func GetRunLogsOutput(ctx *Context, args *GetRunLogsOutputArgs, opts ...InvokeOption) GetRunLogsResultOutput> Note: This function is named GetRunLogs in the Go SDK.
public static class GetRunLogs 
{
    public static Task<GetRunLogsResult> InvokeAsync(GetRunLogsArgs args, InvokeOptions? opts = null)
    public static Output<GetRunLogsResult> Invoke(GetRunLogsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRunLogsResult> getRunLogs(GetRunLogsArgs args, InvokeOptions options)
public static Output<GetRunLogsResult> getRunLogs(GetRunLogsArgs args, InvokeOptions options)
fn::invoke:
  function: oci:DataFlow/getRunLogs:getRunLogs
  arguments:
    # arguments dictionaryThe following arguments are supported:
- RunId string
- The unique ID for the run
- Filters
List<GetRun Logs Filter> 
- RunId string
- The unique ID for the run
- Filters
[]GetRun Logs Filter 
- runId String
- The unique ID for the run
- filters
List<GetRun Logs Filter> 
- runId string
- The unique ID for the run
- filters
GetRun Logs Filter[] 
- run_id str
- The unique ID for the run
- filters
Sequence[GetRun Logs Filter] 
- runId String
- The unique ID for the run
- filters List<Property Map>
getRunLogs Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- RunId string
- RunLogs List<GetRun Logs Run Log> 
- The list of run_logs.
- Filters
List<GetRun Logs Filter> 
- Id string
- The provider-assigned unique ID for this managed resource.
- RunId string
- RunLogs []GetRun Logs Run Log 
- The list of run_logs.
- Filters
[]GetRun Logs Filter 
- id String
- The provider-assigned unique ID for this managed resource.
- runId String
- runLogs List<GetRun Logs Run Log> 
- The list of run_logs.
- filters
List<GetRun Logs Filter> 
- id string
- The provider-assigned unique ID for this managed resource.
- runId string
- runLogs GetRun Logs Run Log[] 
- The list of run_logs.
- filters
GetRun Logs Filter[] 
- id str
- The provider-assigned unique ID for this managed resource.
- run_id str
- run_logs Sequence[GetRun Logs Run Log] 
- The list of run_logs.
- filters
Sequence[GetRun Logs Filter] 
- id String
- The provider-assigned unique ID for this managed resource.
- runId String
- runLogs List<Property Map>
- The list of run_logs.
- filters List<Property Map>
Supporting Types
GetRunLogsFilter   
GetRunLogsRunLog    
- Name string
- RunId string
- The unique ID for the run
- SizeIn stringBytes 
- Source string
- TimeCreated string
- Type string
- Name string
- RunId string
- The unique ID for the run
- SizeIn stringBytes 
- Source string
- TimeCreated string
- Type string
- name String
- runId String
- The unique ID for the run
- sizeIn StringBytes 
- source String
- timeCreated String
- type String
- name string
- runId string
- The unique ID for the run
- sizeIn stringBytes 
- source string
- timeCreated string
- type string
- name str
- run_id str
- The unique ID for the run
- size_in_ strbytes 
- source str
- time_created str
- type str
- name String
- runId String
- The unique ID for the run
- sizeIn StringBytes 
- source String
- timeCreated String
- type String
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.
