Viewing docs for Oracle Cloud Infrastructure v4.2.0
published on Friday, Mar 6, 2026 by Pulumi
published on Friday, Mar 6, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v4.2.0
published on Friday, Mar 6, 2026 by Pulumi
published on Friday, Mar 6, 2026 by Pulumi
This data source provides details about a specific Run Log resource in Oracle Cloud Infrastructure Data Flow service.
Retrieves the content of an run log.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testRunLog = oci.DataFlow.getRunLog({
name: runLogName,
runId: testRun.id,
});
import pulumi
import pulumi_oci as oci
test_run_log = oci.DataFlow.get_run_log(name=run_log_name,
run_id=test_run["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/dataflow"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dataflow.GetRunLog(ctx, &dataflow.GetRunLogArgs{
Name: runLogName,
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 testRunLog = Oci.DataFlow.GetRunLog.Invoke(new()
{
Name = runLogName,
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.GetRunLogArgs;
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 testRunLog = DataFlowFunctions.getRunLog(GetRunLogArgs.builder()
.name(runLogName)
.runId(testRun.id())
.build());
}
}
variables:
testRunLog:
fn::invoke:
function: oci:DataFlow:getRunLog
arguments:
name: ${runLogName}
runId: ${testRun.id}
Using getRunLog
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 getRunLog(args: GetRunLogArgs, opts?: InvokeOptions): Promise<GetRunLogResult>
function getRunLogOutput(args: GetRunLogOutputArgs, opts?: InvokeOptions): Output<GetRunLogResult>def get_run_log(base64_encode_content: Optional[bool] = None,
name: Optional[str] = None,
run_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRunLogResult
def get_run_log_output(base64_encode_content: Optional[pulumi.Input[bool]] = None,
name: Optional[pulumi.Input[str]] = None,
run_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRunLogResult]func GetRunLog(ctx *Context, args *GetRunLogArgs, opts ...InvokeOption) (*GetRunLogResult, error)
func GetRunLogOutput(ctx *Context, args *GetRunLogOutputArgs, opts ...InvokeOption) GetRunLogResultOutput> Note: This function is named GetRunLog in the Go SDK.
public static class GetRunLog
{
public static Task<GetRunLogResult> InvokeAsync(GetRunLogArgs args, InvokeOptions? opts = null)
public static Output<GetRunLogResult> Invoke(GetRunLogInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRunLogResult> getRunLog(GetRunLogArgs args, InvokeOptions options)
public static Output<GetRunLogResult> getRunLog(GetRunLogArgs args, InvokeOptions options)
fn::invoke:
function: oci:DataFlow/getRunLog:getRunLog
arguments:
# arguments dictionaryThe following arguments are supported:
- Name string
- The name of the log. Avoid entering confidential information.
- Run
Id string - The unique ID for the run
- Base64Encode
Content bool - Encodes the downloaded content in base64. It is recommended to set this to
truefor binary content to avoid corrupting the zip file in Terraform state. The default value isfalseto preserve backwards compatibility with Terraform v0.11 configurations. If passing the base64 encoded content to alocal_fileresource, please use thecontent_base64attribute of thelocal_fileresource.
- Name string
- The name of the log. Avoid entering confidential information.
- Run
Id string - The unique ID for the run
- Base64Encode
Content bool - Encodes the downloaded content in base64. It is recommended to set this to
truefor binary content to avoid corrupting the zip file in Terraform state. The default value isfalseto preserve backwards compatibility with Terraform v0.11 configurations. If passing the base64 encoded content to alocal_fileresource, please use thecontent_base64attribute of thelocal_fileresource.
- name String
- The name of the log. Avoid entering confidential information.
- run
Id String - The unique ID for the run
- base64Encode
Content Boolean - Encodes the downloaded content in base64. It is recommended to set this to
truefor binary content to avoid corrupting the zip file in Terraform state. The default value isfalseto preserve backwards compatibility with Terraform v0.11 configurations. If passing the base64 encoded content to alocal_fileresource, please use thecontent_base64attribute of thelocal_fileresource.
- name string
- The name of the log. Avoid entering confidential information.
- run
Id string - The unique ID for the run
- base64Encode
Content boolean - Encodes the downloaded content in base64. It is recommended to set this to
truefor binary content to avoid corrupting the zip file in Terraform state. The default value isfalseto preserve backwards compatibility with Terraform v0.11 configurations. If passing the base64 encoded content to alocal_fileresource, please use thecontent_base64attribute of thelocal_fileresource.
- name str
- The name of the log. Avoid entering confidential information.
- run_
id str - The unique ID for the run
- base64_
encode_ boolcontent - Encodes the downloaded content in base64. It is recommended to set this to
truefor binary content to avoid corrupting the zip file in Terraform state. The default value isfalseto preserve backwards compatibility with Terraform v0.11 configurations. If passing the base64 encoded content to alocal_fileresource, please use thecontent_base64attribute of thelocal_fileresource.
- name String
- The name of the log. Avoid entering confidential information.
- run
Id String - The unique ID for the run
- base64Encode
Content Boolean - Encodes the downloaded content in base64. It is recommended to set this to
truefor binary content to avoid corrupting the zip file in Terraform state. The default value isfalseto preserve backwards compatibility with Terraform v0.11 configurations. If passing the base64 encoded content to alocal_fileresource, please use thecontent_base64attribute of thelocal_fileresource.
getRunLog Result
The following output properties are available:
- Content string
- The content of the run log.
- Content
Type string - The content type of the run log.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Run
Id string - Base64Encode
Content bool
- Content string
- The content of the run log.
- Content
Type string - The content type of the run log.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Run
Id string - Base64Encode
Content bool
- content String
- The content of the run log.
- content
Type String - The content type of the run log.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- run
Id String - base64Encode
Content Boolean
- content string
- The content of the run log.
- content
Type string - The content type of the run log.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- run
Id string - base64Encode
Content boolean
- content str
- The content of the run log.
- content_
type str - The content type of the run log.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- run_
id str - base64_
encode_ boolcontent
- content String
- The content of the run log.
- content
Type String - The content type of the run log.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- run
Id String - base64Encode
Content Boolean
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Viewing docs for Oracle Cloud Infrastructure v4.2.0
published on Friday, Mar 6, 2026 by Pulumi
published on Friday, Mar 6, 2026 by Pulumi
