Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 by Pulumi
oci.Opsi.getOperationsInsightsWarehouse
Explore with Pulumi AI
This data source provides details about a specific Operations Insights Warehouse resource in Oracle Cloud Infrastructure Opsi service.
Gets details of an Ops Insights Warehouse. 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 testOperationsInsightsWarehouse = oci.Opsi.getOperationsInsightsWarehouse({
    operationsInsightsWarehouseId: testOperationsInsightsWarehouseOciOpsiOperationsInsightsWarehouse.id,
});
import pulumi
import pulumi_oci as oci
test_operations_insights_warehouse = oci.Opsi.get_operations_insights_warehouse(operations_insights_warehouse_id=test_operations_insights_warehouse_oci_opsi_operations_insights_warehouse["id"])
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.GetOperationsInsightsWarehouse(ctx, &opsi.GetOperationsInsightsWarehouseArgs{
			OperationsInsightsWarehouseId: testOperationsInsightsWarehouseOciOpsiOperationsInsightsWarehouse.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 testOperationsInsightsWarehouse = Oci.Opsi.GetOperationsInsightsWarehouse.Invoke(new()
    {
        OperationsInsightsWarehouseId = testOperationsInsightsWarehouseOciOpsiOperationsInsightsWarehouse.Id,
    });
});
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.GetOperationsInsightsWarehouseArgs;
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 testOperationsInsightsWarehouse = OpsiFunctions.getOperationsInsightsWarehouse(GetOperationsInsightsWarehouseArgs.builder()
            .operationsInsightsWarehouseId(testOperationsInsightsWarehouseOciOpsiOperationsInsightsWarehouse.id())
            .build());
    }
}
variables:
  testOperationsInsightsWarehouse:
    fn::invoke:
      function: oci:Opsi:getOperationsInsightsWarehouse
      arguments:
        operationsInsightsWarehouseId: ${testOperationsInsightsWarehouseOciOpsiOperationsInsightsWarehouse.id}
Using getOperationsInsightsWarehouse
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 getOperationsInsightsWarehouse(args: GetOperationsInsightsWarehouseArgs, opts?: InvokeOptions): Promise<GetOperationsInsightsWarehouseResult>
function getOperationsInsightsWarehouseOutput(args: GetOperationsInsightsWarehouseOutputArgs, opts?: InvokeOptions): Output<GetOperationsInsightsWarehouseResult>def get_operations_insights_warehouse(operations_insights_warehouse_id: Optional[str] = None,
                                      opts: Optional[InvokeOptions] = None) -> GetOperationsInsightsWarehouseResult
def get_operations_insights_warehouse_output(operations_insights_warehouse_id: Optional[pulumi.Input[str]] = None,
                                      opts: Optional[InvokeOptions] = None) -> Output[GetOperationsInsightsWarehouseResult]func GetOperationsInsightsWarehouse(ctx *Context, args *GetOperationsInsightsWarehouseArgs, opts ...InvokeOption) (*GetOperationsInsightsWarehouseResult, error)
func GetOperationsInsightsWarehouseOutput(ctx *Context, args *GetOperationsInsightsWarehouseOutputArgs, opts ...InvokeOption) GetOperationsInsightsWarehouseResultOutput> Note: This function is named GetOperationsInsightsWarehouse in the Go SDK.
public static class GetOperationsInsightsWarehouse 
{
    public static Task<GetOperationsInsightsWarehouseResult> InvokeAsync(GetOperationsInsightsWarehouseArgs args, InvokeOptions? opts = null)
    public static Output<GetOperationsInsightsWarehouseResult> Invoke(GetOperationsInsightsWarehouseInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetOperationsInsightsWarehouseResult> getOperationsInsightsWarehouse(GetOperationsInsightsWarehouseArgs args, InvokeOptions options)
public static Output<GetOperationsInsightsWarehouseResult> getOperationsInsightsWarehouse(GetOperationsInsightsWarehouseArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Opsi/getOperationsInsightsWarehouse:getOperationsInsightsWarehouse
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Operations
Insights stringWarehouse Id  - Unique Ops Insights Warehouse identifier
 
- Operations
Insights stringWarehouse Id  - Unique Ops Insights Warehouse identifier
 
- operations
Insights StringWarehouse Id  - Unique Ops Insights Warehouse identifier
 
- operations
Insights stringWarehouse Id  - Unique Ops Insights Warehouse identifier
 
- operations_
insights_ strwarehouse_ id  - Unique Ops Insights Warehouse identifier
 
- operations
Insights StringWarehouse Id  - Unique Ops Insights Warehouse identifier
 
getOperationsInsightsWarehouse Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment.
 - Compute
Model string - The compute model for the OPSI warehouse ADW (OCPU or ECPU)
 - Cpu
Allocated double - Number of CPUs allocated to OPSI Warehouse ADW.
 - Cpu
Used double - Number of OCPUs used by OPSI Warehouse ADW. Can be fractional.
 - Dictionary<string, string>
 - Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"foo-namespace.bar-key": "value"} - Display
Name string - User-friedly name of Ops Insights Warehouse that does not have to be unique.
 - Dynamic
Group stringId  - OCID of the dynamic group created for the warehouse
 - 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 string
 - OPSI Warehouse OCID
 - 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 stringTenancy Id  - Tenancy Identifier of Ops Insights service
 - Operations
Insights stringWarehouse Id  - State string
 - Possible lifecycle states
 - Storage
Allocated doubleIn Gbs  - Storage allocated to OPSI Warehouse ADW.
 - Storage
Used doubleIn Gbs  - Storage by OPSI Warehouse ADW in GB.
 - Dictionary<string, string>
 - System tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The time at which the resource was first created. An RFC3339 formatted datetime string
 - Time
Last stringWallet Rotated  - The time at which the ADW wallet was last rotated for the Ops Insights Warehouse. An RFC3339 formatted datetime string
 - Time
Updated string - The time at which the resource was last updated. An RFC3339 formatted datetime string
 
- Compartment
Id string - The OCID of the compartment.
 - Compute
Model string - The compute model for the OPSI warehouse ADW (OCPU or ECPU)
 - Cpu
Allocated float64 - Number of CPUs allocated to OPSI Warehouse ADW.
 - Cpu
Used float64 - Number of OCPUs used by OPSI Warehouse ADW. Can be fractional.
 - map[string]string
 - Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"foo-namespace.bar-key": "value"} - Display
Name string - User-friedly name of Ops Insights Warehouse that does not have to be unique.
 - Dynamic
Group stringId  - OCID of the dynamic group created for the warehouse
 - 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 string
 - OPSI Warehouse OCID
 - 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 stringTenancy Id  - Tenancy Identifier of Ops Insights service
 - Operations
Insights stringWarehouse Id  - State string
 - Possible lifecycle states
 - Storage
Allocated float64In Gbs  - Storage allocated to OPSI Warehouse ADW.
 - Storage
Used float64In Gbs  - Storage by OPSI Warehouse ADW in GB.
 - map[string]string
 - System tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The time at which the resource was first created. An RFC3339 formatted datetime string
 - Time
Last stringWallet Rotated  - The time at which the ADW wallet was last rotated for the Ops Insights Warehouse. An RFC3339 formatted datetime string
 - Time
Updated string - The time at which the resource was last updated. An RFC3339 formatted datetime string
 
- compartment
Id String - The OCID of the compartment.
 - compute
Model String - The compute model for the OPSI warehouse ADW (OCPU or ECPU)
 - cpu
Allocated Double - Number of CPUs allocated to OPSI Warehouse ADW.
 - cpu
Used Double - Number of OCPUs used by OPSI Warehouse ADW. Can be fractional.
 - Map<String,String>
 - Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"foo-namespace.bar-key": "value"} - display
Name String - User-friedly name of Ops Insights Warehouse that does not have to be unique.
 - dynamic
Group StringId  - OCID of the dynamic group created for the warehouse
 - 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 String
 - OPSI Warehouse OCID
 - 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 StringTenancy Id  - Tenancy Identifier of Ops Insights service
 - operations
Insights StringWarehouse Id  - state String
 - Possible lifecycle states
 - storage
Allocated DoubleIn Gbs  - Storage allocated to OPSI Warehouse ADW.
 - storage
Used DoubleIn Gbs  - Storage by OPSI Warehouse ADW in GB.
 - Map<String,String>
 - System tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The time at which the resource was first created. An RFC3339 formatted datetime string
 - time
Last StringWallet Rotated  - The time at which the ADW wallet was last rotated for the Ops Insights Warehouse. An RFC3339 formatted datetime string
 - time
Updated String - The time at which the resource was last updated. An RFC3339 formatted datetime string
 
- compartment
Id string - The OCID of the compartment.
 - compute
Model string - The compute model for the OPSI warehouse ADW (OCPU or ECPU)
 - cpu
Allocated number - Number of CPUs allocated to OPSI Warehouse ADW.
 - cpu
Used number - Number of OCPUs used by OPSI Warehouse ADW. Can be fractional.
 - {[key: string]: string}
 - Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"foo-namespace.bar-key": "value"} - display
Name string - User-friedly name of Ops Insights Warehouse that does not have to be unique.
 - dynamic
Group stringId  - OCID of the dynamic group created for the warehouse
 - {[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 string
 - OPSI Warehouse OCID
 - 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 stringTenancy Id  - Tenancy Identifier of Ops Insights service
 - operations
Insights stringWarehouse Id  - state string
 - Possible lifecycle states
 - storage
Allocated numberIn Gbs  - Storage allocated to OPSI Warehouse ADW.
 - storage
Used numberIn Gbs  - Storage by OPSI Warehouse ADW in GB.
 - {[key: string]: string}
 - System tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"orcl-cloud.free-tier-retained": "true"} - time
Created string - The time at which the resource was first created. An RFC3339 formatted datetime string
 - time
Last stringWallet Rotated  - The time at which the ADW wallet was last rotated for the Ops Insights Warehouse. An RFC3339 formatted datetime string
 - time
Updated string - The time at which the resource was last updated. An RFC3339 formatted datetime string
 
- compartment_
id str - The OCID of the compartment.
 - compute_
model str - The compute model for the OPSI warehouse ADW (OCPU or ECPU)
 - cpu_
allocated float - Number of CPUs allocated to OPSI Warehouse ADW.
 - cpu_
used float - Number of OCPUs used by OPSI Warehouse ADW. Can be fractional.
 - 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 str - User-friedly name of Ops Insights Warehouse that does not have to be unique.
 - dynamic_
group_ strid  - OCID of the dynamic group created for the warehouse
 - 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 str
 - OPSI Warehouse OCID
 - 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_ strtenancy_ id  - Tenancy Identifier of Ops Insights service
 - operations_
insights_ strwarehouse_ id  - state str
 - Possible lifecycle states
 - storage_
allocated_ floatin_ gbs  - Storage allocated to OPSI Warehouse ADW.
 - storage_
used_ floatin_ gbs  - Storage by OPSI Warehouse ADW in GB.
 - 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 str - The time at which the resource was first created. An RFC3339 formatted datetime string
 - time_
last_ strwallet_ rotated  - The time at which the ADW wallet was last rotated for the Ops Insights Warehouse. An RFC3339 formatted datetime string
 - time_
updated str - The time at which the resource was last updated. An RFC3339 formatted datetime string
 
- compartment
Id String - The OCID of the compartment.
 - compute
Model String - The compute model for the OPSI warehouse ADW (OCPU or ECPU)
 - cpu
Allocated Number - Number of CPUs allocated to OPSI Warehouse ADW.
 - cpu
Used Number - Number of OCPUs used by OPSI Warehouse ADW. Can be fractional.
 - Map<String>
 - Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"foo-namespace.bar-key": "value"} - display
Name String - User-friedly name of Ops Insights Warehouse that does not have to be unique.
 - dynamic
Group StringId  - OCID of the dynamic group created for the warehouse
 - 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 String
 - OPSI Warehouse OCID
 - 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 StringTenancy Id  - Tenancy Identifier of Ops Insights service
 - operations
Insights StringWarehouse Id  - state String
 - Possible lifecycle states
 - storage
Allocated NumberIn Gbs  - Storage allocated to OPSI Warehouse ADW.
 - storage
Used NumberIn Gbs  - Storage by OPSI Warehouse ADW in GB.
 - Map<String>
 - System tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The time at which the resource was first created. An RFC3339 formatted datetime string
 - time
Last StringWallet Rotated  - The time at which the ADW wallet was last rotated for the Ops Insights Warehouse. An RFC3339 formatted datetime string
 - time
Updated 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 
ociTerraform Provider.