Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.DataFlow.getRunLogs
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
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/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[_dataflow.GetRunLogsFilter]] = None,
run_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRunLogsResult
def get_run_logs_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[_dataflow.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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:DataFlow/getRunLogs:getRunLogs
arguments:
# arguments dictionary
The following arguments are supported:
- Run
Id string - The unique ID for the run
- Filters
List<Get
Run Logs Filter>
- Run
Id string - The unique ID for the run
- Filters
[]Get
Run Logs Filter
- run
Id String - The unique ID for the run
- filters
List<Get
Run Logs Filter>
- run
Id string - The unique ID for the run
- filters
Get
Run Logs Filter[]
- run_
id str - The unique ID for the run
- filters
Sequence[dataflow.
Get Run Logs Filter]
- run
Id 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.
- Run
Id string - Run
Logs List<GetRun Logs Run Log> - The list of run_logs.
- Filters
List<Get
Run Logs Filter>
- Id string
- The provider-assigned unique ID for this managed resource.
- Run
Id string - Run
Logs []GetRun Logs Run Log - The list of run_logs.
- Filters
[]Get
Run Logs Filter
- id String
- The provider-assigned unique ID for this managed resource.
- run
Id String - run
Logs List<GetRun Logs Run Log> - The list of run_logs.
- filters
List<Get
Run Logs Filter>
- id string
- The provider-assigned unique ID for this managed resource.
- run
Id string - run
Logs GetRun Logs Run Log[] - The list of run_logs.
- filters
Get
Run Logs Filter[]
- id str
- The provider-assigned unique ID for this managed resource.
- run_
id str - run_
logs Sequence[dataflow.Get Run Logs Run Log] - The list of run_logs.
- filters
Sequence[dataflow.
Get Run Logs Filter]
- id String
- The provider-assigned unique ID for this managed resource.
- run
Id String - run
Logs List<Property Map> - The list of run_logs.
- filters List<Property Map>
Supporting Types
GetRunLogsFilter
GetRunLogsRunLog
- Name string
- Run
Id string - The unique ID for the run
- Size
In stringBytes - Source string
- Time
Created string - Type string
- Name string
- Run
Id string - The unique ID for the run
- Size
In stringBytes - Source string
- Time
Created string - Type string
- name String
- run
Id String - The unique ID for the run
- size
In StringBytes - source String
- time
Created String - type String
- name string
- run
Id string - The unique ID for the run
- size
In stringBytes - source string
- time
Created 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
- run
Id String - The unique ID for the run
- size
In StringBytes - source String
- time
Created String - type String
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi