1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Opsi
  5. getOperationsInsightsWarehouses
Oracle Cloud Infrastructure v2.29.0 published on Wednesday, Apr 9, 2025 by Pulumi

oci.Opsi.getOperationsInsightsWarehouses

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.29.0 published on Wednesday, Apr 9, 2025 by Pulumi

This data source provides the list of Operations Insights Warehouses in Oracle Cloud Infrastructure Opsi service.

Gets a list of Ops Insights warehouses. Either compartmentId or id must be specified. There is only expected to be 1 warehouse per tenant. The warehouse is expected to be in the root compartment.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testOperationsInsightsWarehouses = oci.Opsi.getOperationsInsightsWarehouses({
    compartmentId: compartmentId,
    displayName: operationsInsightsWarehouseDisplayName,
    id: operationsInsightsWarehouseId,
    states: operationsInsightsWarehouseState,
});
Copy
import pulumi
import pulumi_oci as oci

test_operations_insights_warehouses = oci.Opsi.get_operations_insights_warehouses(compartment_id=compartment_id,
    display_name=operations_insights_warehouse_display_name,
    id=operations_insights_warehouse_id,
    states=operations_insights_warehouse_state)
Copy
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := opsi.GetOperationsInsightsWarehouses(ctx, &opsi.GetOperationsInsightsWarehousesArgs{
			CompartmentId: pulumi.StringRef(compartmentId),
			DisplayName:   pulumi.StringRef(operationsInsightsWarehouseDisplayName),
			Id:            pulumi.StringRef(operationsInsightsWarehouseId),
			States:        operationsInsightsWarehouseState,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testOperationsInsightsWarehouses = Oci.Opsi.GetOperationsInsightsWarehouses.Invoke(new()
    {
        CompartmentId = compartmentId,
        DisplayName = operationsInsightsWarehouseDisplayName,
        Id = operationsInsightsWarehouseId,
        States = operationsInsightsWarehouseState,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Opsi.OpsiFunctions;
import com.pulumi.oci.Opsi.inputs.GetOperationsInsightsWarehousesArgs;
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 testOperationsInsightsWarehouses = OpsiFunctions.getOperationsInsightsWarehouses(GetOperationsInsightsWarehousesArgs.builder()
            .compartmentId(compartmentId)
            .displayName(operationsInsightsWarehouseDisplayName)
            .id(operationsInsightsWarehouseId)
            .states(operationsInsightsWarehouseState)
            .build());

    }
}
Copy
variables:
  testOperationsInsightsWarehouses:
    fn::invoke:
      function: oci:Opsi:getOperationsInsightsWarehouses
      arguments:
        compartmentId: ${compartmentId}
        displayName: ${operationsInsightsWarehouseDisplayName}
        id: ${operationsInsightsWarehouseId}
        states: ${operationsInsightsWarehouseState}
Copy

Using getOperationsInsightsWarehouses

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 getOperationsInsightsWarehouses(args: GetOperationsInsightsWarehousesArgs, opts?: InvokeOptions): Promise<GetOperationsInsightsWarehousesResult>
function getOperationsInsightsWarehousesOutput(args: GetOperationsInsightsWarehousesOutputArgs, opts?: InvokeOptions): Output<GetOperationsInsightsWarehousesResult>
Copy
def get_operations_insights_warehouses(compartment_id: Optional[str] = None,
                                       display_name: Optional[str] = None,
                                       filters: Optional[Sequence[_opsi.GetOperationsInsightsWarehousesFilter]] = None,
                                       id: Optional[str] = None,
                                       states: Optional[Sequence[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetOperationsInsightsWarehousesResult
def get_operations_insights_warehouses_output(compartment_id: Optional[pulumi.Input[str]] = None,
                                       display_name: Optional[pulumi.Input[str]] = None,
                                       filters: Optional[pulumi.Input[Sequence[pulumi.Input[_opsi.GetOperationsInsightsWarehousesFilterArgs]]]] = None,
                                       id: Optional[pulumi.Input[str]] = None,
                                       states: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetOperationsInsightsWarehousesResult]
Copy
func GetOperationsInsightsWarehouses(ctx *Context, args *GetOperationsInsightsWarehousesArgs, opts ...InvokeOption) (*GetOperationsInsightsWarehousesResult, error)
func GetOperationsInsightsWarehousesOutput(ctx *Context, args *GetOperationsInsightsWarehousesOutputArgs, opts ...InvokeOption) GetOperationsInsightsWarehousesResultOutput
Copy

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

public static class GetOperationsInsightsWarehouses 
{
    public static Task<GetOperationsInsightsWarehousesResult> InvokeAsync(GetOperationsInsightsWarehousesArgs args, InvokeOptions? opts = null)
    public static Output<GetOperationsInsightsWarehousesResult> Invoke(GetOperationsInsightsWarehousesInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetOperationsInsightsWarehousesResult> getOperationsInsightsWarehouses(GetOperationsInsightsWarehousesArgs args, InvokeOptions options)
public static Output<GetOperationsInsightsWarehousesResult> getOperationsInsightsWarehouses(GetOperationsInsightsWarehousesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:Opsi/getOperationsInsightsWarehouses:getOperationsInsightsWarehouses
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

CompartmentId string
The OCID of the compartment.
DisplayName string
A filter to return only resources that match the entire display name.
Filters Changes to this property will trigger replacement. List<GetOperationsInsightsWarehousesFilter>
Id string
Unique Ops Insights Warehouse identifier
States List<string>
Lifecycle states
CompartmentId string
The OCID of the compartment.
DisplayName string
A filter to return only resources that match the entire display name.
Filters Changes to this property will trigger replacement. []GetOperationsInsightsWarehousesFilter
Id string
Unique Ops Insights Warehouse identifier
States []string
Lifecycle states
compartmentId String
The OCID of the compartment.
displayName String
A filter to return only resources that match the entire display name.
filters Changes to this property will trigger replacement. List<GetOperationsInsightsWarehousesFilter>
id String
Unique Ops Insights Warehouse identifier
states List<String>
Lifecycle states
compartmentId string
The OCID of the compartment.
displayName string
A filter to return only resources that match the entire display name.
filters Changes to this property will trigger replacement. GetOperationsInsightsWarehousesFilter[]
id string
Unique Ops Insights Warehouse identifier
states string[]
Lifecycle states
compartment_id str
The OCID of the compartment.
display_name str
A filter to return only resources that match the entire display name.
filters Changes to this property will trigger replacement. Sequence[opsi.GetOperationsInsightsWarehousesFilter]
id str
Unique Ops Insights Warehouse identifier
states Sequence[str]
Lifecycle states
compartmentId String
The OCID of the compartment.
displayName String
A filter to return only resources that match the entire display name.
filters Changes to this property will trigger replacement. List<Property Map>
id String
Unique Ops Insights Warehouse identifier
states List<String>
Lifecycle states

getOperationsInsightsWarehouses Result

The following output properties are available:

OperationsInsightsWarehouseSummaryCollections List<GetOperationsInsightsWarehousesOperationsInsightsWarehouseSummaryCollection>
The list of operations_insights_warehouse_summary_collection.
CompartmentId string
The OCID of the compartment.
DisplayName string
User-friedly name of Ops Insights Warehouse that does not have to be unique.
Filters List<GetOperationsInsightsWarehousesFilter>
Id string
OPSI Warehouse OCID
States List<string>
Possible lifecycle states
OperationsInsightsWarehouseSummaryCollections []GetOperationsInsightsWarehousesOperationsInsightsWarehouseSummaryCollection
The list of operations_insights_warehouse_summary_collection.
CompartmentId string
The OCID of the compartment.
DisplayName string
User-friedly name of Ops Insights Warehouse that does not have to be unique.
Filters []GetOperationsInsightsWarehousesFilter
Id string
OPSI Warehouse OCID
States []string
Possible lifecycle states
operationsInsightsWarehouseSummaryCollections List<GetOperationsInsightsWarehousesOperationsInsightsWarehouseSummaryCollection>
The list of operations_insights_warehouse_summary_collection.
compartmentId String
The OCID of the compartment.
displayName String
User-friedly name of Ops Insights Warehouse that does not have to be unique.
filters List<GetOperationsInsightsWarehousesFilter>
id String
OPSI Warehouse OCID
states List<String>
Possible lifecycle states
operationsInsightsWarehouseSummaryCollections GetOperationsInsightsWarehousesOperationsInsightsWarehouseSummaryCollection[]
The list of operations_insights_warehouse_summary_collection.
compartmentId string
The OCID of the compartment.
displayName string
User-friedly name of Ops Insights Warehouse that does not have to be unique.
filters GetOperationsInsightsWarehousesFilter[]
id string
OPSI Warehouse OCID
states string[]
Possible lifecycle states
operations_insights_warehouse_summary_collections Sequence[opsi.GetOperationsInsightsWarehousesOperationsInsightsWarehouseSummaryCollection]
The list of operations_insights_warehouse_summary_collection.
compartment_id str
The OCID of the compartment.
display_name str
User-friedly name of Ops Insights Warehouse that does not have to be unique.
filters Sequence[opsi.GetOperationsInsightsWarehousesFilter]
id str
OPSI Warehouse OCID
states Sequence[str]
Possible lifecycle states
operationsInsightsWarehouseSummaryCollections List<Property Map>
The list of operations_insights_warehouse_summary_collection.
compartmentId String
The OCID of the compartment.
displayName String
User-friedly name of Ops Insights Warehouse that does not have to be unique.
filters List<Property Map>
id String
OPSI Warehouse OCID
states List<String>
Possible lifecycle states

Supporting Types

GetOperationsInsightsWarehousesFilter

Name This property is required. string
Values This property is required. List<string>
Regex bool
Name This property is required. string
Values This property is required. []string
Regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean
name This property is required. string
values This property is required. string[]
regex boolean
name This property is required. str
values This property is required. Sequence[str]
regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean

GetOperationsInsightsWarehousesOperationsInsightsWarehouseSummaryCollection

items This property is required. List<Property Map>

GetOperationsInsightsWarehousesOperationsInsightsWarehouseSummaryCollectionItem

CompartmentId This property is required. string
The OCID of the compartment.
ComputeModel This property is required. string
The compute model for the OPSI warehouse ADW (OCPU or ECPU)
CpuAllocated This property is required. double
Number of CPUs allocated to OPSI Warehouse ADW.
CpuUsed This property is required. double
Number of OCPUs used by OPSI Warehouse ADW. Can be fractional.
DefinedTags This property is required. Dictionary<string, string>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
DisplayName This property is required. string
A filter to return only resources that match the entire display name.
DynamicGroupId This property is required. string
OCID of the dynamic group created for the warehouse
FreeformTags This property is required. Dictionary<string, string>
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
Id This property is required. string
Unique Ops Insights Warehouse identifier
LifecycleDetails This property is required. 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.
OperationsInsightsTenancyId This property is required. string
Tenancy Identifier of Ops Insights service
State This property is required. string
Lifecycle states
StorageAllocatedInGbs This property is required. double
Storage allocated to OPSI Warehouse ADW.
StorageUsedInGbs This property is required. double
Storage by OPSI Warehouse ADW in GB.
SystemTags This property is required. Dictionary<string, string>
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
TimeCreated This property is required. string
The time at which the resource was first created. An RFC3339 formatted datetime string
TimeLastWalletRotated This property is required. string
The time at which the ADW wallet was last rotated for the Ops Insights Warehouse. An RFC3339 formatted datetime string
TimeUpdated This property is required. string
The time at which the resource was last updated. An RFC3339 formatted datetime string
CompartmentId This property is required. string
The OCID of the compartment.
ComputeModel This property is required. string
The compute model for the OPSI warehouse ADW (OCPU or ECPU)
CpuAllocated This property is required. float64
Number of CPUs allocated to OPSI Warehouse ADW.
CpuUsed This property is required. float64
Number of OCPUs used by OPSI Warehouse ADW. Can be fractional.
DefinedTags This property is required. map[string]string
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
DisplayName This property is required. string
A filter to return only resources that match the entire display name.
DynamicGroupId This property is required. string
OCID of the dynamic group created for the warehouse
FreeformTags This property is required. map[string]string
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
Id This property is required. string
Unique Ops Insights Warehouse identifier
LifecycleDetails This property is required. 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.
OperationsInsightsTenancyId This property is required. string
Tenancy Identifier of Ops Insights service
State This property is required. string
Lifecycle states
StorageAllocatedInGbs This property is required. float64
Storage allocated to OPSI Warehouse ADW.
StorageUsedInGbs This property is required. float64
Storage by OPSI Warehouse ADW in GB.
SystemTags This property is required. map[string]string
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
TimeCreated This property is required. string
The time at which the resource was first created. An RFC3339 formatted datetime string
TimeLastWalletRotated This property is required. string
The time at which the ADW wallet was last rotated for the Ops Insights Warehouse. An RFC3339 formatted datetime string
TimeUpdated This property is required. string
The time at which the resource was last updated. An RFC3339 formatted datetime string
compartmentId This property is required. String
The OCID of the compartment.
computeModel This property is required. String
The compute model for the OPSI warehouse ADW (OCPU or ECPU)
cpuAllocated This property is required. Double
Number of CPUs allocated to OPSI Warehouse ADW.
cpuUsed This property is required. Double
Number of OCPUs used by OPSI Warehouse ADW. Can be fractional.
definedTags This property is required. Map<String,String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
displayName This property is required. String
A filter to return only resources that match the entire display name.
dynamicGroupId This property is required. String
OCID of the dynamic group created for the warehouse
freeformTags This property is required. Map<String,String>
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
id This property is required. String
Unique Ops Insights Warehouse identifier
lifecycleDetails This property is required. 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.
operationsInsightsTenancyId This property is required. String
Tenancy Identifier of Ops Insights service
state This property is required. String
Lifecycle states
storageAllocatedInGbs This property is required. Double
Storage allocated to OPSI Warehouse ADW.
storageUsedInGbs This property is required. Double
Storage by OPSI Warehouse ADW in GB.
systemTags This property is required. Map<String,String>
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated This property is required. String
The time at which the resource was first created. An RFC3339 formatted datetime string
timeLastWalletRotated This property is required. String
The time at which the ADW wallet was last rotated for the Ops Insights Warehouse. An RFC3339 formatted datetime string
timeUpdated This property is required. String
The time at which the resource was last updated. An RFC3339 formatted datetime string
compartmentId This property is required. string
The OCID of the compartment.
computeModel This property is required. string
The compute model for the OPSI warehouse ADW (OCPU or ECPU)
cpuAllocated This property is required. number
Number of CPUs allocated to OPSI Warehouse ADW.
cpuUsed This property is required. number
Number of OCPUs used by OPSI Warehouse ADW. Can be fractional.
definedTags This property is required. {[key: string]: string}
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
displayName This property is required. string
A filter to return only resources that match the entire display name.
dynamicGroupId This property is required. string
OCID of the dynamic group created for the warehouse
freeformTags This property is required. {[key: string]: string}
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
id This property is required. string
Unique Ops Insights Warehouse identifier
lifecycleDetails This property is required. 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.
operationsInsightsTenancyId This property is required. string
Tenancy Identifier of Ops Insights service
state This property is required. string
Lifecycle states
storageAllocatedInGbs This property is required. number
Storage allocated to OPSI Warehouse ADW.
storageUsedInGbs This property is required. number
Storage by OPSI Warehouse ADW in GB.
systemTags This property is required. {[key: string]: string}
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated This property is required. string
The time at which the resource was first created. An RFC3339 formatted datetime string
timeLastWalletRotated This property is required. string
The time at which the ADW wallet was last rotated for the Ops Insights Warehouse. An RFC3339 formatted datetime string
timeUpdated This property is required. string
The time at which the resource was last updated. An RFC3339 formatted datetime string
compartment_id This property is required. str
The OCID of the compartment.
compute_model This property is required. str
The compute model for the OPSI warehouse ADW (OCPU or ECPU)
cpu_allocated This property is required. float
Number of CPUs allocated to OPSI Warehouse ADW.
cpu_used This property is required. float
Number of OCPUs used by OPSI Warehouse ADW. Can be fractional.
defined_tags This property is required. Mapping[str, str]
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
display_name This property is required. str
A filter to return only resources that match the entire display name.
dynamic_group_id This property is required. str
OCID of the dynamic group created for the warehouse
freeform_tags This property is required. Mapping[str, str]
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
id This property is required. str
Unique Ops Insights Warehouse identifier
lifecycle_details This property is required. 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_tenancy_id This property is required. str
Tenancy Identifier of Ops Insights service
state This property is required. str
Lifecycle states
storage_allocated_in_gbs This property is required. float
Storage allocated to OPSI Warehouse ADW.
storage_used_in_gbs This property is required. float
Storage by OPSI Warehouse ADW in GB.
system_tags This property is required. Mapping[str, str]
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
time_created This property is required. str
The time at which the resource was first created. An RFC3339 formatted datetime string
time_last_wallet_rotated This property is required. str
The time at which the ADW wallet was last rotated for the Ops Insights Warehouse. An RFC3339 formatted datetime string
time_updated This property is required. str
The time at which the resource was last updated. An RFC3339 formatted datetime string
compartmentId This property is required. String
The OCID of the compartment.
computeModel This property is required. String
The compute model for the OPSI warehouse ADW (OCPU or ECPU)
cpuAllocated This property is required. Number
Number of CPUs allocated to OPSI Warehouse ADW.
cpuUsed This property is required. Number
Number of OCPUs used by OPSI Warehouse ADW. Can be fractional.
definedTags This property is required. Map<String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
displayName This property is required. String
A filter to return only resources that match the entire display name.
dynamicGroupId This property is required. String
OCID of the dynamic group created for the warehouse
freeformTags This property is required. Map<String>
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
id This property is required. String
Unique Ops Insights Warehouse identifier
lifecycleDetails This property is required. 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.
operationsInsightsTenancyId This property is required. String
Tenancy Identifier of Ops Insights service
state This property is required. String
Lifecycle states
storageAllocatedInGbs This property is required. Number
Storage allocated to OPSI Warehouse ADW.
storageUsedInGbs This property is required. Number
Storage by OPSI Warehouse ADW in GB.
systemTags This property is required. Map<String>
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated This property is required. String
The time at which the resource was first created. An RFC3339 formatted datetime string
timeLastWalletRotated This property is required. String
The time at which the ADW wallet was last rotated for the Ops Insights Warehouse. An RFC3339 formatted datetime string
timeUpdated This property is required. String
The time at which the resource was last 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.
Oracle Cloud Infrastructure v2.29.0 published on Wednesday, Apr 9, 2025 by Pulumi