Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.EmWarehouse.getEtlRun
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
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
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testEmWarehouseEtlRun = oci.EmWarehouse.getEtlRun({
emWarehouseId: testEmWarehouse.id,
compartmentId: compartmentId,
displayName: emWarehouseEtlRunDisplayName,
});
import pulumi
import pulumi_oci as oci
test_em_warehouse_etl_run = oci.EmWarehouse.get_etl_run(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.GetEtlRun(ctx, &emwarehouse.GetEtlRunArgs{
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 testEmWarehouseEtlRun = Oci.EmWarehouse.GetEtlRun.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.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(testEmWarehouse.id())
.compartmentId(compartmentId)
.displayName(emWarehouseEtlRunDisplayName)
.build());
}
}
variables:
testEmWarehouseEtlRun:
fn::invoke:
Function: oci:EmWarehouse:getEtlRun
Arguments:
emWarehouseId: ${testEmWarehouse.id}
compartmentId: ${compartmentId}
displayName: ${emWarehouseEtlRunDisplayName}
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:
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
getEtlRun Result
The following output properties are available:
- Em
Warehouse stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Items
List<Get
Etl Run Item> - List of runs
- Compartment
Id string - Compartment Identifier
- Display
Name string - The name of the ETLRun.
- Em
Warehouse stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Items
[]Get
Etl Run Item - List of runs
- Compartment
Id string - Compartment Identifier
- Display
Name string - The name of the ETLRun.
- em
Warehouse StringId - id String
- The provider-assigned unique ID for this managed resource.
- items
List<Get
Etl Run Item> - List of runs
- compartment
Id String - Compartment Identifier
- display
Name String - The name of the ETLRun.
- em
Warehouse stringId - id string
- The provider-assigned unique ID for this managed resource.
- items
Get
Etl Run Item[] - List of runs
- compartment
Id string - Compartment Identifier
- display
Name string - The name of the ETLRun.
- em_
warehouse_ strid - id str
- The provider-assigned unique ID for this managed resource.
- items
Sequence[emwarehouse.
Get Etl Run Item] - List of runs
- compartment_
id str - Compartment Identifier
- display_
name str - The name of the ETLRun.
- em
Warehouse StringId - id String
- The provider-assigned unique ID for this managed resource.
- items List<Property Map>
- List of runs
- compartment
Id String - Compartment Identifier
- display
Name String - The name of the ETLRun.
Supporting Types
GetEtlRunItem
- 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
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