1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. EmWarehouse
  5. getEmWarehouse
Oracle Cloud Infrastructure v1.31.0 published on Wednesday, Apr 10, 2024 by Pulumi

oci.EmWarehouse.getEmWarehouse

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.31.0 published on Wednesday, Apr 10, 2024 by Pulumi

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

    Gets a EmWarehouse by identifier

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testEmWarehouse = oci.EmWarehouse.getEmWarehouse({
        emWarehouseId: oci_em_warehouse_em_warehouse.test_em_warehouse.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_em_warehouse = oci.EmWarehouse.get_em_warehouse(em_warehouse_id=oci_em_warehouse_em_warehouse["test_em_warehouse"]["id"])
    
    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.GetEmWarehouse(ctx, &emwarehouse.GetEmWarehouseArgs{
    			EmWarehouseId: oci_em_warehouse_em_warehouse.Test_em_warehouse.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 testEmWarehouse = Oci.EmWarehouse.GetEmWarehouse.Invoke(new()
        {
            EmWarehouseId = oci_em_warehouse_em_warehouse.Test_em_warehouse.Id,
        });
    
    });
    
    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.GetEmWarehouseArgs;
    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 testEmWarehouse = EmWarehouseFunctions.getEmWarehouse(GetEmWarehouseArgs.builder()
                .emWarehouseId(oci_em_warehouse_em_warehouse.test_em_warehouse().id())
                .build());
    
        }
    }
    
    variables:
      testEmWarehouse:
        fn::invoke:
          Function: oci:EmWarehouse:getEmWarehouse
          Arguments:
            emWarehouseId: ${oci_em_warehouse_em_warehouse.test_em_warehouse.id}
    

    Using getEmWarehouse

    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 getEmWarehouse(args: GetEmWarehouseArgs, opts?: InvokeOptions): Promise<GetEmWarehouseResult>
    function getEmWarehouseOutput(args: GetEmWarehouseOutputArgs, opts?: InvokeOptions): Output<GetEmWarehouseResult>
    def get_em_warehouse(em_warehouse_id: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetEmWarehouseResult
    def get_em_warehouse_output(em_warehouse_id: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetEmWarehouseResult]
    func GetEmWarehouse(ctx *Context, args *GetEmWarehouseArgs, opts ...InvokeOption) (*GetEmWarehouseResult, error)
    func GetEmWarehouseOutput(ctx *Context, args *GetEmWarehouseOutputArgs, opts ...InvokeOption) GetEmWarehouseResultOutput

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

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

    The following arguments are supported:

    EmWarehouseId string
    unique EmWarehouse identifier
    EmWarehouseId string
    unique EmWarehouse identifier
    emWarehouseId String
    unique EmWarehouse identifier
    emWarehouseId string
    unique EmWarehouse identifier
    em_warehouse_id str
    unique EmWarehouse identifier
    emWarehouseId String
    unique EmWarehouse identifier

    getEmWarehouse Result

    The following output properties are available:

    CompartmentId string
    Compartment Identifier
    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
    EmWarehouse Identifier, can be renamed
    EmBridgeId string
    EMBridge Identifier
    EmWarehouseId string
    EmWarehouseType string
    Type of the EmWarehouse.
    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"}
    Id string
    Unique identifier that is immutable on creation
    LatestEtlRunMessage string
    Data Flow Run Status Message
    LatestEtlRunStatus string
    Data Flow Run Status
    LatestEtlRunTime string
    Data Flow Run Total Time
    LifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    OperationsInsightsWarehouseId string
    operations Insights Warehouse Identifier
    State string
    The current state of the EmWarehouse.
    SystemTags Dictionary<string, object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time the the EmWarehouse was created. An RFC3339 formatted datetime string
    TimeUpdated string
    The time the EmWarehouse was updated. An RFC3339 formatted datetime string
    CompartmentId string
    Compartment Identifier
    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
    EmWarehouse Identifier, can be renamed
    EmBridgeId string
    EMBridge Identifier
    EmWarehouseId string
    EmWarehouseType string
    Type of the EmWarehouse.
    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"}
    Id string
    Unique identifier that is immutable on creation
    LatestEtlRunMessage string
    Data Flow Run Status Message
    LatestEtlRunStatus string
    Data Flow Run Status
    LatestEtlRunTime string
    Data Flow Run Total Time
    LifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    OperationsInsightsWarehouseId string
    operations Insights Warehouse Identifier
    State string
    The current state of the EmWarehouse.
    SystemTags map[string]interface{}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time the the EmWarehouse was created. An RFC3339 formatted datetime string
    TimeUpdated string
    The time the EmWarehouse was updated. An RFC3339 formatted datetime string
    compartmentId String
    Compartment Identifier
    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
    EmWarehouse Identifier, can be renamed
    emBridgeId String
    EMBridge Identifier
    emWarehouseId String
    emWarehouseType String
    Type of the EmWarehouse.
    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"}
    id String
    Unique identifier that is immutable on creation
    latestEtlRunMessage String
    Data Flow Run Status Message
    latestEtlRunStatus String
    Data Flow Run Status
    latestEtlRunTime String
    Data Flow Run Total Time
    lifecycleDetails String
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    operationsInsightsWarehouseId String
    operations Insights Warehouse Identifier
    state String
    The current state of the EmWarehouse.
    systemTags Map<String,Object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time the the EmWarehouse was created. An RFC3339 formatted datetime string
    timeUpdated String
    The time the EmWarehouse was updated. An RFC3339 formatted datetime string
    compartmentId string
    Compartment Identifier
    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
    EmWarehouse Identifier, can be renamed
    emBridgeId string
    EMBridge Identifier
    emWarehouseId string
    emWarehouseType string
    Type of the EmWarehouse.
    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"}
    id string
    Unique identifier that is immutable on creation
    latestEtlRunMessage string
    Data Flow Run Status Message
    latestEtlRunStatus string
    Data Flow Run Status
    latestEtlRunTime string
    Data Flow Run Total Time
    lifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    operationsInsightsWarehouseId string
    operations Insights Warehouse Identifier
    state string
    The current state of the EmWarehouse.
    systemTags {[key: string]: any}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The time the the EmWarehouse was created. An RFC3339 formatted datetime string
    timeUpdated string
    The time the EmWarehouse was updated. An RFC3339 formatted datetime string
    compartment_id str
    Compartment Identifier
    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
    EmWarehouse Identifier, can be renamed
    em_bridge_id str
    EMBridge Identifier
    em_warehouse_id str
    em_warehouse_type str
    Type of the EmWarehouse.
    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"}
    id str
    Unique identifier that is immutable on creation
    latest_etl_run_message str
    Data Flow Run Status Message
    latest_etl_run_status str
    Data Flow Run Status
    latest_etl_run_time str
    Data Flow Run Total Time
    lifecycle_details str
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    operations_insights_warehouse_id str
    operations Insights Warehouse Identifier
    state str
    The current state of the EmWarehouse.
    system_tags Mapping[str, Any]
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The time the the EmWarehouse was created. An RFC3339 formatted datetime string
    time_updated str
    The time the EmWarehouse was updated. An RFC3339 formatted datetime string
    compartmentId String
    Compartment Identifier
    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
    EmWarehouse Identifier, can be renamed
    emBridgeId String
    EMBridge Identifier
    emWarehouseId String
    emWarehouseType String
    Type of the EmWarehouse.
    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"}
    id String
    Unique identifier that is immutable on creation
    latestEtlRunMessage String
    Data Flow Run Status Message
    latestEtlRunStatus String
    Data Flow Run Status
    latestEtlRunTime String
    Data Flow Run Total Time
    lifecycleDetails String
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    operationsInsightsWarehouseId String
    operations Insights Warehouse Identifier
    state String
    The current state of the EmWarehouse.
    systemTags Map<Any>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time the the EmWarehouse was created. An RFC3339 formatted datetime string
    timeUpdated String
    The time the EmWarehouse was updated. An RFC3339 formatted datetime string

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.31.0 published on Wednesday, Apr 10, 2024 by Pulumi