Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.EmWarehouse.getEmWarehouses
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 Warehouses in Oracle Cloud Infrastructure Em Warehouse service.
Returns a list of EmWarehouses.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testEmWarehouses = oci.EmWarehouse.getEmWarehouses({
compartmentId: compartmentId,
displayName: emWarehouseDisplayName,
id: emWarehouseId,
operationsInsightsWarehouseId: testOperationsInsightsWarehouse.id,
state: emWarehouseState,
});
import pulumi
import pulumi_oci as oci
test_em_warehouses = oci.EmWarehouse.get_em_warehouses(compartment_id=compartment_id,
display_name=em_warehouse_display_name,
id=em_warehouse_id,
operations_insights_warehouse_id=test_operations_insights_warehouse["id"],
state=em_warehouse_state)
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.GetEmWarehouses(ctx, &emwarehouse.GetEmWarehousesArgs{
CompartmentId: pulumi.StringRef(compartmentId),
DisplayName: pulumi.StringRef(emWarehouseDisplayName),
Id: pulumi.StringRef(emWarehouseId),
OperationsInsightsWarehouseId: pulumi.StringRef(testOperationsInsightsWarehouse.Id),
State: pulumi.StringRef(emWarehouseState),
}, 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 testEmWarehouses = Oci.EmWarehouse.GetEmWarehouses.Invoke(new()
{
CompartmentId = compartmentId,
DisplayName = emWarehouseDisplayName,
Id = emWarehouseId,
OperationsInsightsWarehouseId = testOperationsInsightsWarehouse.Id,
State = emWarehouseState,
});
});
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.GetEmWarehousesArgs;
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 testEmWarehouses = EmWarehouseFunctions.getEmWarehouses(GetEmWarehousesArgs.builder()
.compartmentId(compartmentId)
.displayName(emWarehouseDisplayName)
.id(emWarehouseId)
.operationsInsightsWarehouseId(testOperationsInsightsWarehouse.id())
.state(emWarehouseState)
.build());
}
}
variables:
testEmWarehouses:
fn::invoke:
Function: oci:EmWarehouse:getEmWarehouses
Arguments:
compartmentId: ${compartmentId}
displayName: ${emWarehouseDisplayName}
id: ${emWarehouseId}
operationsInsightsWarehouseId: ${testOperationsInsightsWarehouse.id}
state: ${emWarehouseState}
Using getEmWarehouses
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 getEmWarehouses(args: GetEmWarehousesArgs, opts?: InvokeOptions): Promise<GetEmWarehousesResult>
function getEmWarehousesOutput(args: GetEmWarehousesOutputArgs, opts?: InvokeOptions): Output<GetEmWarehousesResult>
def get_em_warehouses(compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
filters: Optional[Sequence[_emwarehouse.GetEmWarehousesFilter]] = None,
id: Optional[str] = None,
operations_insights_warehouse_id: Optional[str] = None,
state: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEmWarehousesResult
def get_em_warehouses_output(compartment_id: Optional[pulumi.Input[str]] = None,
display_name: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_emwarehouse.GetEmWarehousesFilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
operations_insights_warehouse_id: Optional[pulumi.Input[str]] = None,
state: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEmWarehousesResult]
func GetEmWarehouses(ctx *Context, args *GetEmWarehousesArgs, opts ...InvokeOption) (*GetEmWarehousesResult, error)
func GetEmWarehousesOutput(ctx *Context, args *GetEmWarehousesOutputArgs, opts ...InvokeOption) GetEmWarehousesResultOutput
> Note: This function is named GetEmWarehouses
in the Go SDK.
public static class GetEmWarehouses
{
public static Task<GetEmWarehousesResult> InvokeAsync(GetEmWarehousesArgs args, InvokeOptions? opts = null)
public static Output<GetEmWarehousesResult> Invoke(GetEmWarehousesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetEmWarehousesResult> getEmWarehouses(GetEmWarehousesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:EmWarehouse/getEmWarehouses:getEmWarehouses
arguments:
# arguments dictionary
The following arguments are supported:
- 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
Em Warehouses Filter> - Id string
- unique EmWarehouse identifier
- Operations
Insights stringWarehouse Id - unique operationsInsightsWarehouseId identifier
- State string
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- 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
Em Warehouses Filter - Id string
- unique EmWarehouse identifier
- Operations
Insights stringWarehouse Id - unique operationsInsightsWarehouseId identifier
- State string
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- 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<Gets
Filter> - id String
- unique EmWarehouse identifier
- operations
Insights StringWarehouse Id - unique operationsInsightsWarehouseId identifier
- state String
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- 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
Em Warehouses Filter[] - id string
- unique EmWarehouse identifier
- operations
Insights stringWarehouse Id - unique operationsInsightsWarehouseId identifier
- state string
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- 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 Em Warehouses Filter] - id str
- unique EmWarehouse identifier
- operations_
insights_ strwarehouse_ id - unique operationsInsightsWarehouseId identifier
- state str
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- 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>
- id String
- unique EmWarehouse identifier
- operations
Insights StringWarehouse Id - unique operationsInsightsWarehouseId identifier
- state String
- A filter to return only resources their lifecycleState matches the given lifecycleState.
getEmWarehouses Result
The following output properties are available:
- Em
Warehouse List<GetCollections Em Warehouses Em Warehouse Collection> - The list of em_warehouse_collection.
- Compartment
Id string - Compartment Identifier
- Display
Name string - EmWarehouse Identifier, can be renamed
- Filters
List<Get
Em Warehouses Filter> - Id string
- Unique identifier that is immutable on creation
- Operations
Insights stringWarehouse Id - operations Insights Warehouse Identifier
- State string
- The current state of the EmWarehouse.
- Em
Warehouse []GetCollections Em Warehouses Em Warehouse Collection - The list of em_warehouse_collection.
- Compartment
Id string - Compartment Identifier
- Display
Name string - EmWarehouse Identifier, can be renamed
- Filters
[]Get
Em Warehouses Filter - Id string
- Unique identifier that is immutable on creation
- Operations
Insights stringWarehouse Id - operations Insights Warehouse Identifier
- State string
- The current state of the EmWarehouse.
- em
Warehouse List<GetsCollections Collection> - The list of em_warehouse_collection.
- compartment
Id String - Compartment Identifier
- display
Name String - EmWarehouse Identifier, can be renamed
- filters
List<Gets
Filter> - id String
- Unique identifier that is immutable on creation
- operations
Insights StringWarehouse Id - operations Insights Warehouse Identifier
- state String
- The current state of the EmWarehouse.
- em
Warehouse GetCollections Em Warehouses Em Warehouse Collection[] - The list of em_warehouse_collection.
- compartment
Id string - Compartment Identifier
- display
Name string - EmWarehouse Identifier, can be renamed
- filters
Get
Em Warehouses Filter[] - id string
- Unique identifier that is immutable on creation
- operations
Insights stringWarehouse Id - operations Insights Warehouse Identifier
- state string
- The current state of the EmWarehouse.
- em_
warehouse_ Sequence[emwarehouse.collections Get Em Warehouses Em Warehouse Collection] - The list of em_warehouse_collection.
- compartment_
id str - Compartment Identifier
- display_
name str - EmWarehouse Identifier, can be renamed
- filters
Sequence[emwarehouse.
Get Em Warehouses Filter] - id str
- Unique identifier that is immutable on creation
- operations_
insights_ strwarehouse_ id - operations Insights Warehouse Identifier
- state str
- The current state of the EmWarehouse.
- em
Warehouse List<Property Map>Collections - The list of em_warehouse_collection.
- compartment
Id String - Compartment Identifier
- display
Name String - EmWarehouse Identifier, can be renamed
- filters List<Property Map>
- id String
- Unique identifier that is immutable on creation
- operations
Insights StringWarehouse Id - operations Insights Warehouse Identifier
- state String
- The current state of the EmWarehouse.
Supporting Types
GetEmWarehousesEmWarehouseCollection
GetEmWarehousesEmWarehouseCollectionItem
- Compartment
Id string - The ID of the compartment in which to list resources.
- 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.
- Em
Bridge stringId - EMBridge Identifier
- Em
Warehouse stringType - Type of the EmWarehouse.
- 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 EmWarehouse identifier
- Latest
Etl stringRun Message - Data Flow Run Status Message
- Latest
Etl stringRun Status - Data Flow Run Status
- Latest
Etl stringRun Time - Data Flow Run Total Time
- Lifecycle
Details 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.
- Operations
Insights stringWarehouse Id - unique operationsInsightsWarehouseId identifier
- State string
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- Dictionary<string, object>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time the the EmWarehouse was created. An RFC3339 formatted datetime string
- Time
Updated string - The time the EmWarehouse was updated. An RFC3339 formatted datetime string
- Compartment
Id string - The ID of the compartment in which to list resources.
- 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.
- Em
Bridge stringId - EMBridge Identifier
- Em
Warehouse stringType - Type of the EmWarehouse.
- 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 EmWarehouse identifier
- Latest
Etl stringRun Message - Data Flow Run Status Message
- Latest
Etl stringRun Status - Data Flow Run Status
- Latest
Etl stringRun Time - Data Flow Run Total Time
- Lifecycle
Details 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.
- Operations
Insights stringWarehouse Id - unique operationsInsightsWarehouseId identifier
- State string
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- map[string]interface{}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time the the EmWarehouse was created. An RFC3339 formatted datetime string
- Time
Updated string - The time the EmWarehouse was updated. An RFC3339 formatted datetime string
- compartment
Id String - The ID of the compartment in which to list resources.
- 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.
- em
Bridge StringId - EMBridge Identifier
- em
Warehouse StringType - Type of the EmWarehouse.
- 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 EmWarehouse identifier
- latest
Etl StringRun Message - Data Flow Run Status Message
- latest
Etl StringRun Status - Data Flow Run Status
- latest
Etl StringRun Time - Data Flow Run Total Time
- lifecycle
Details 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.
- operations
Insights StringWarehouse Id - unique operationsInsightsWarehouseId identifier
- state String
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- Map<String,Object>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time the the EmWarehouse was created. An RFC3339 formatted datetime string
- time
Updated String - The time the EmWarehouse was updated. An RFC3339 formatted datetime string
- compartment
Id string - The ID of the compartment in which to list resources.
- {[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.
- em
Bridge stringId - EMBridge Identifier
- em
Warehouse stringType - Type of the EmWarehouse.
- {[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 EmWarehouse identifier
- latest
Etl stringRun Message - Data Flow Run Status Message
- latest
Etl stringRun Status - Data Flow Run Status
- latest
Etl stringRun Time - Data Flow Run Total Time
- lifecycle
Details 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.
- operations
Insights stringWarehouse Id - unique operationsInsightsWarehouseId identifier
- state string
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- {[key: string]: any}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The time the the EmWarehouse was created. An RFC3339 formatted datetime string
- time
Updated string - The time the EmWarehouse was updated. An RFC3339 formatted datetime string
- compartment_
id str - The ID of the compartment in which to list resources.
- 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.
- em_
bridge_ strid - EMBridge Identifier
- em_
warehouse_ strtype - Type of the EmWarehouse.
- 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 EmWarehouse identifier
- latest_
etl_ strrun_ message - Data Flow Run Status Message
- latest_
etl_ strrun_ status - Data Flow Run Status
- latest_
etl_ strrun_ time - 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_ strwarehouse_ id - unique operationsInsightsWarehouseId identifier
- state str
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- 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
- compartment
Id String - The ID of the compartment in which to list resources.
- 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.
- em
Bridge StringId - EMBridge Identifier
- em
Warehouse StringType - Type of the EmWarehouse.
- 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 EmWarehouse identifier
- latest
Etl StringRun Message - Data Flow Run Status Message
- latest
Etl StringRun Status - Data Flow Run Status
- latest
Etl StringRun Time - Data Flow Run Total Time
- lifecycle
Details 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.
- operations
Insights StringWarehouse Id - unique operationsInsightsWarehouseId identifier
- state String
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- Map<Any>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time the the EmWarehouse was created. An RFC3339 formatted datetime string
- time
Updated String - The time the EmWarehouse was updated. An RFC3339 formatted datetime string
GetEmWarehousesFilter
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