Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.EmWarehouse.getEtlRuns
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 Em Warehouse Etl Runs in Oracle Cloud Infrastructure Em Warehouse service.
Gets a list of runs of an EmWarehouseResource by identifier
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testEmWarehouseEtlRuns = oci.EmWarehouse.getEtlRuns({
emWarehouseId: testEmWarehouse.id,
compartmentId: compartmentId,
displayName: emWarehouseEtlRunDisplayName,
});
import pulumi
import pulumi_oci as oci
test_em_warehouse_etl_runs = oci.EmWarehouse.get_etl_runs(em_warehouse_id=test_em_warehouse["id"],
compartment_id=compartment_id,
display_name=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.GetEtlRuns(ctx, &emwarehouse.GetEtlRunsArgs{
EmWarehouseId: testEmWarehouse.Id,
CompartmentId: pulumi.StringRef(compartmentId),
DisplayName: pulumi.StringRef(emWarehouseEtlRunDisplayName),
}, 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 testEmWarehouseEtlRuns = Oci.EmWarehouse.GetEtlRuns.Invoke(new()
{
EmWarehouseId = testEmWarehouse.Id,
CompartmentId = compartmentId,
DisplayName = emWarehouseEtlRunDisplayName,
});
});
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.GetEtlRunsArgs;
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 testEmWarehouseEtlRuns = EmWarehouseFunctions.getEtlRuns(GetEtlRunsArgs.builder()
.emWarehouseId(testEmWarehouse.id())
.compartmentId(compartmentId)
.displayName(emWarehouseEtlRunDisplayName)
.build());
}
}
variables:
testEmWarehouseEtlRuns:
fn::invoke:
Function: oci:EmWarehouse:getEtlRuns
Arguments:
emWarehouseId: ${testEmWarehouse.id}
compartmentId: ${compartmentId}
displayName: ${emWarehouseEtlRunDisplayName}
Using getEtlRuns
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 getEtlRuns(args: GetEtlRunsArgs, opts?: InvokeOptions): Promise<GetEtlRunsResult>
function getEtlRunsOutput(args: GetEtlRunsOutputArgs, opts?: InvokeOptions): Output<GetEtlRunsResult>
def get_etl_runs(compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
em_warehouse_id: Optional[str] = None,
filters: Optional[Sequence[_emwarehouse.GetEtlRunsFilter]] = None,
opts: Optional[InvokeOptions] = None) -> GetEtlRunsResult
def get_etl_runs_output(compartment_id: Optional[pulumi.Input[str]] = None,
display_name: Optional[pulumi.Input[str]] = None,
em_warehouse_id: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_emwarehouse.GetEtlRunsFilterArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEtlRunsResult]
func GetEtlRuns(ctx *Context, args *GetEtlRunsArgs, opts ...InvokeOption) (*GetEtlRunsResult, error)
func GetEtlRunsOutput(ctx *Context, args *GetEtlRunsOutputArgs, opts ...InvokeOption) GetEtlRunsResultOutput
> Note: This function is named GetEtlRuns
in the Go SDK.
public static class GetEtlRuns
{
public static Task<GetEtlRunsResult> InvokeAsync(GetEtlRunsArgs args, InvokeOptions? opts = null)
public static Output<GetEtlRunsResult> Invoke(GetEtlRunsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetEtlRunsResult> getEtlRuns(GetEtlRunsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:EmWarehouse/getEtlRuns:getEtlRuns
arguments:
# arguments dictionary
The following arguments are supported:
- Em
Warehouse stringId - unique EmWarehouse identifier
- Compartment
Id string - The ID of the compartment in which to list resources.
- Display
Name string - A filter to return only resources that match the entire display name given.
- Filters
List<Get
Etl Runs Filter>
- Em
Warehouse stringId - unique EmWarehouse identifier
- Compartment
Id string - The ID of the compartment in which to list resources.
- Display
Name string - A filter to return only resources that match the entire display name given.
- Filters
[]Get
Etl Runs Filter
- em
Warehouse StringId - unique EmWarehouse identifier
- compartment
Id String - The ID of the compartment in which to list resources.
- display
Name String - A filter to return only resources that match the entire display name given.
- filters
List<Get
Etl Runs Filter>
- em
Warehouse stringId - unique EmWarehouse identifier
- compartment
Id string - The ID of the compartment in which to list resources.
- display
Name string - A filter to return only resources that match the entire display name given.
- filters
Get
Etl Runs Filter[]
- em_
warehouse_ strid - 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.
- filters
Sequence[emwarehouse.
Get Etl Runs Filter]
- em
Warehouse StringId - unique EmWarehouse identifier
- compartment
Id String - The ID of the compartment in which to list resources.
- display
Name String - A filter to return only resources that match the entire display name given.
- filters List<Property Map>
getEtlRuns Result
The following output properties are available:
- Em
Warehouse stringId - Etl
Run List<GetCollections Etl Runs Etl Run Collection> - The list of etl_run_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Compartment
Id string - Compartment Identifier
- Display
Name string - The name of the ETLRun.
- Filters
List<Get
Etl Runs Filter>
- Em
Warehouse stringId - Etl
Run []GetCollections Etl Runs Etl Run Collection - The list of etl_run_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Compartment
Id string - Compartment Identifier
- Display
Name string - The name of the ETLRun.
- Filters
[]Get
Etl Runs Filter
- em
Warehouse StringId - etl
Run List<GetCollections Etl Runs Etl Run Collection> - The list of etl_run_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- compartment
Id String - Compartment Identifier
- display
Name String - The name of the ETLRun.
- filters
List<Get
Etl Runs Filter>
- em
Warehouse stringId - etl
Run GetCollections Etl Runs Etl Run Collection[] - The list of etl_run_collection.
- id string
- The provider-assigned unique ID for this managed resource.
- compartment
Id string - Compartment Identifier
- display
Name string - The name of the ETLRun.
- filters
Get
Etl Runs Filter[]
- em_
warehouse_ strid - etl_
run_ Sequence[emwarehouse.collections Get Etl Runs Etl Run Collection] - The list of etl_run_collection.
- id str
- The provider-assigned unique ID for this managed resource.
- compartment_
id str - Compartment Identifier
- display_
name str - The name of the ETLRun.
- filters
Sequence[emwarehouse.
Get Etl Runs Filter]
- em
Warehouse StringId - etl
Run List<Property Map>Collections - The list of etl_run_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- compartment
Id String - Compartment Identifier
- display
Name String - The name of the ETLRun.
- filters List<Property Map>
Supporting Types
GetEtlRunsEtlRunCollection
- Items
List<Get
Etl Runs Etl Run Collection Item> - List of runs
- Items
[]Get
Etl Runs Etl Run Collection Item - List of runs
- items
List<Get
Etl Runs Etl Run Collection Item> - List of runs
- items
Get
Etl Runs Etl Run Collection Item[] - List of runs
- items List<Property Map>
- List of runs
GetEtlRunsEtlRunCollectionItem
- Items
List<Get
Etl Runs Etl Run Collection Item Item> - List of runs
- Items
[]Get
Etl Runs Etl Run Collection Item Item - List of runs
- items
List<Get
Etl Runs Etl Run Collection Item Item> - List of runs
- items
Get
Etl Runs Etl Run Collection Item Item[] - List of runs
- items List<Property Map>
- List of runs
GetEtlRunsEtlRunCollectionItemItem
- Compartment
Id string - The ID of the compartment in which to list resources.
- Data
Read stringIn Bytes - Data read by the dataflow run
- Data
Written string - Data written by the dataflow run
- Dictionary<string, object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - A filter to return only resources that match the entire display name given.
- 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"}
- Lifecycle
Details string - Details of the lifecycle state
- Run
Duration stringIn Milliseconds - Dataflow run duration
- State string
- The current state of the etlRun.
- Time
Created string - Time when the dataflow run was created
- Time
Updated string - Time when the dataflow run was updated
- Compartment
Id string - The ID of the compartment in which to list resources.
- Data
Read stringIn Bytes - Data read by the dataflow run
- Data
Written string - Data written by the dataflow run
- map[string]interface{}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - A filter to return only resources that match the entire display name given.
- 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"}
- Lifecycle
Details string - Details of the lifecycle state
- Run
Duration stringIn Milliseconds - Dataflow run duration
- State string
- The current state of the etlRun.
- Time
Created string - Time when the dataflow run was created
- Time
Updated string - Time when the dataflow run was updated
- compartment
Id String - The ID of the compartment in which to list resources.
- data
Read StringIn Bytes - Data read by the dataflow run
- data
Written String - Data written by the dataflow run
- Map<String,Object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - A filter to return only resources that match the entire display name given.
- 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"}
- lifecycle
Details String - Details of the lifecycle state
- run
Duration StringIn Milliseconds - Dataflow run duration
- state String
- The current state of the etlRun.
- time
Created String - Time when the dataflow run was created
- time
Updated String - Time when the dataflow run was updated
- compartment
Id string - The ID of the compartment in which to list resources.
- data
Read stringIn Bytes - Data read by the dataflow run
- data
Written string - Data written by the dataflow run
- {[key: string]: any}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name string - A filter to return only resources that match the entire display name given.
- {[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"}
- lifecycle
Details string - Details of the lifecycle state
- run
Duration stringIn Milliseconds - Dataflow run duration
- state string
- The current state of the etlRun.
- time
Created string - Time when the dataflow run was created
- time
Updated string - Time when the dataflow run was updated
- compartment_
id str - The ID of the compartment in which to list resources.
- data_
read_ strin_ bytes - Data read by the dataflow run
- data_
written str - Data written by the dataflow run
- 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.
- 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_ strin_ milliseconds - 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
- compartment
Id String - The ID of the compartment in which to list resources.
- data
Read StringIn Bytes - Data read by the dataflow run
- data
Written String - Data written by the dataflow run
- Map<Any>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - A filter to return only resources that match the entire display name given.
- 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"}
- lifecycle
Details String - Details of the lifecycle state
- run
Duration StringIn Milliseconds - Dataflow run duration
- state String
- The current state of the etlRun.
- time
Created String - Time when the dataflow run was created
- time
Updated String - Time when the dataflow run was updated
GetEtlRunsFilter
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