oci logo
Oracle Cloud Infrastructure v0.12.0, Mar 17 23

oci.EmWarehouse.getEtlRun

This data source provides details about a specific Em Warehouse Etl Run resource in Oracle Cloud Infrastructure Em Warehouse service.

Gets a list of runs of an EmWarehouseResource by identifier

Example Usage

using System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testEmWarehouseEtlRun = Oci.EmWarehouse.GetEtlRun.Invoke(new()
    {
        EmWarehouseId = oci_em_warehouse_em_warehouse.Test_em_warehouse.Id,
        CompartmentId = @var.Compartment_id,
        DisplayName = @var.Em_warehouse_etl_run_display_name,
    });

});
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/EmWarehouse"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := EmWarehouse.GetEtlRun(ctx, &emwarehouse.GetEtlRunArgs{
			EmWarehouseId: oci_em_warehouse_em_warehouse.Test_em_warehouse.Id,
			CompartmentId: pulumi.StringRef(_var.Compartment_id),
			DisplayName:   pulumi.StringRef(_var.Em_warehouse_etl_run_display_name),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.EmWarehouse.EmWarehouseFunctions;
import com.pulumi.oci.EmWarehouse.inputs.GetEtlRunArgs;
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 testEmWarehouseEtlRun = EmWarehouseFunctions.getEtlRun(GetEtlRunArgs.builder()
            .emWarehouseId(oci_em_warehouse_em_warehouse.test_em_warehouse().id())
            .compartmentId(var_.compartment_id())
            .displayName(var_.em_warehouse_etl_run_display_name())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_em_warehouse_etl_run = oci.EmWarehouse.get_etl_run(em_warehouse_id=oci_em_warehouse_em_warehouse["test_em_warehouse"]["id"],
    compartment_id=var["compartment_id"],
    display_name=var["em_warehouse_etl_run_display_name"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testEmWarehouseEtlRun = oci.EmWarehouse.getEtlRun({
    emWarehouseId: oci_em_warehouse_em_warehouse.test_em_warehouse.id,
    compartmentId: _var.compartment_id,
    displayName: _var.em_warehouse_etl_run_display_name,
});
variables:
  testEmWarehouseEtlRun:
    fn::invoke:
      Function: oci:EmWarehouse:getEtlRun
      Arguments:
        emWarehouseId: ${oci_em_warehouse_em_warehouse.test_em_warehouse.id}
        compartmentId: ${var.compartment_id}
        displayName: ${var.em_warehouse_etl_run_display_name}

Using getEtlRun

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 getEtlRun(args: GetEtlRunArgs, opts?: InvokeOptions): Promise<GetEtlRunResult>
function getEtlRunOutput(args: GetEtlRunOutputArgs, opts?: InvokeOptions): Output<GetEtlRunResult>
def get_etl_run(compartment_id: Optional[str] = None,
                display_name: Optional[str] = None,
                em_warehouse_id: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetEtlRunResult
def get_etl_run_output(compartment_id: Optional[pulumi.Input[str]] = None,
                display_name: Optional[pulumi.Input[str]] = None,
                em_warehouse_id: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetEtlRunResult]
func GetEtlRun(ctx *Context, args *GetEtlRunArgs, opts ...InvokeOption) (*GetEtlRunResult, error)
func GetEtlRunOutput(ctx *Context, args *GetEtlRunOutputArgs, opts ...InvokeOption) GetEtlRunResultOutput

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

public static class GetEtlRun 
{
    public static Task<GetEtlRunResult> InvokeAsync(GetEtlRunArgs args, InvokeOptions? opts = null)
    public static Output<GetEtlRunResult> Invoke(GetEtlRunInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetEtlRunResult> getEtlRun(GetEtlRunArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: oci:EmWarehouse/getEtlRun:getEtlRun
  arguments:
    # arguments dictionary

The following arguments are supported:

EmWarehouseId string

unique EmWarehouse identifier

CompartmentId string

The ID of the compartment in which to list resources.

DisplayName string

A filter to return only resources that match the entire display name given.

EmWarehouseId string

unique EmWarehouse identifier

CompartmentId string

The ID of the compartment in which to list resources.

DisplayName string

A filter to return only resources that match the entire display name given.

emWarehouseId String

unique EmWarehouse identifier

compartmentId String

The ID of the compartment in which to list resources.

displayName String

A filter to return only resources that match the entire display name given.

emWarehouseId string

unique EmWarehouse identifier

compartmentId string

The ID of the compartment in which to list resources.

displayName string

A filter to return only resources that match the entire display name given.

em_warehouse_id str

unique EmWarehouse identifier

compartment_id str

The ID of the compartment in which to list resources.

display_name str

A filter to return only resources that match the entire display name given.

emWarehouseId String

unique EmWarehouse identifier

compartmentId String

The ID of the compartment in which to list resources.

displayName String

A filter to return only resources that match the entire display name given.

getEtlRun Result

The following output properties are available:

EmWarehouseId string
Id string

The provider-assigned unique ID for this managed resource.

Items List<GetEtlRunItem>

List of runs

CompartmentId string

Compartment Identifier

DisplayName string

The name of the ETLRun.

EmWarehouseId string
Id string

The provider-assigned unique ID for this managed resource.

Items []GetEtlRunItem

List of runs

CompartmentId string

Compartment Identifier

DisplayName string

The name of the ETLRun.

emWarehouseId String
id String

The provider-assigned unique ID for this managed resource.

items List<GetEtlRunItem>

List of runs

compartmentId String

Compartment Identifier

displayName String

The name of the ETLRun.

emWarehouseId string
id string

The provider-assigned unique ID for this managed resource.

items GetEtlRunItem[]

List of runs

compartmentId string

Compartment Identifier

displayName string

The name of the ETLRun.

em_warehouse_id str
id str

The provider-assigned unique ID for this managed resource.

items GetEtlRunItem]

List of runs

compartment_id str

Compartment Identifier

display_name str

The name of the ETLRun.

emWarehouseId String
id String

The provider-assigned unique ID for this managed resource.

items List<Property Map>

List of runs

compartmentId String

Compartment Identifier

displayName String

The name of the ETLRun.

Supporting Types

GetEtlRunItem

CompartmentId string

The ID of the compartment in which to list resources.

DataReadInBytes string

Data read by the dataflow run

DataWritten string

Data written by the dataflow run

DefinedTags Dictionary<string, object>

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

DisplayName string

A filter to return only resources that match the entire display name given.

FreeformTags Dictionary<string, object>

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

LifecycleDetails string

Details of the lifecycle state

RunDurationInMilliseconds string

Dataflow run duration

State string

The current state of the etlRun.

TimeCreated string

Time when the dataflow run was created

TimeUpdated string

Time when the dataflow run was updated

CompartmentId string

The ID of the compartment in which to list resources.

DataReadInBytes string

Data read by the dataflow run

DataWritten string

Data written by the dataflow run

DefinedTags map[string]interface{}

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

DisplayName string

A filter to return only resources that match the entire display name given.

FreeformTags map[string]interface{}

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

LifecycleDetails string

Details of the lifecycle state

RunDurationInMilliseconds string

Dataflow run duration

State string

The current state of the etlRun.

TimeCreated string

Time when the dataflow run was created

TimeUpdated string

Time when the dataflow run was updated

compartmentId String

The ID of the compartment in which to list resources.

dataReadInBytes String

Data read by the dataflow run

dataWritten String

Data written by the dataflow run

definedTags Map<String,Object>

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

displayName String

A filter to return only resources that match the entire display name given.

freeformTags Map<String,Object>

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

lifecycleDetails String

Details of the lifecycle state

runDurationInMilliseconds String

Dataflow run duration

state String

The current state of the etlRun.

timeCreated String

Time when the dataflow run was created

timeUpdated String

Time when the dataflow run was updated

compartmentId string

The ID of the compartment in which to list resources.

dataReadInBytes string

Data read by the dataflow run

dataWritten string

Data written by the dataflow run

definedTags {[key: string]: any}

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

displayName string

A filter to return only resources that match the entire display name given.

freeformTags {[key: string]: any}

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

lifecycleDetails string

Details of the lifecycle state

runDurationInMilliseconds string

Dataflow run duration

state string

The current state of the etlRun.

timeCreated string

Time when the dataflow run was created

timeUpdated string

Time when the dataflow run was updated

compartment_id str

The ID of the compartment in which to list resources.

data_read_in_bytes str

Data read by the dataflow run

data_written str

Data written by the dataflow run

defined_tags Mapping[str, Any]

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

display_name str

A filter to return only resources that match the entire display name given.

freeform_tags Mapping[str, Any]

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

lifecycle_details str

Details of the lifecycle state

run_duration_in_milliseconds str

Dataflow run duration

state str

The current state of the etlRun.

time_created str

Time when the dataflow run was created

time_updated str

Time when the dataflow run was updated

compartmentId String

The ID of the compartment in which to list resources.

dataReadInBytes String

Data read by the dataflow run

dataWritten String

Data written by the dataflow run

definedTags Map<Any>

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

displayName String

A filter to return only resources that match the entire display name given.

freeformTags Map<Any>

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

lifecycleDetails String

Details of the lifecycle state

runDurationInMilliseconds String

Dataflow run duration

state String

The current state of the etlRun.

timeCreated String

Time when the dataflow run was created

timeUpdated String

Time when the dataflow run was updated

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.