1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Opsi
  5. getOperationsInsightsWarehouse
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.Opsi.getOperationsInsightsWarehouse

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Opsi/getOperationsInsightsWarehouse:getOperationsInsightsWarehouse
      arguments:
        # arguments dictionary

    The following arguments are supported:

    OperationsInsightsWarehouseId string
    Unique Ops Insights Warehouse identifier
    OperationsInsightsWarehouseId string
    Unique Ops Insights Warehouse identifier
    operationsInsightsWarehouseId String
    Unique Ops Insights Warehouse identifier
    operationsInsightsWarehouseId string
    Unique Ops Insights Warehouse identifier
    operations_insights_warehouse_id str
    Unique Ops Insights Warehouse identifier
    operationsInsightsWarehouseId String
    Unique Ops Insights Warehouse identifier

    getOperationsInsightsWarehouse Result

    The following output properties are available:

    CompartmentId string
    The OCID of the compartment.
    CpuAllocated double
    Number of OCPUs allocated to OPSI Warehouse ADW.
    CpuUsed double
    Number of OCPUs used by OPSI Warehouse ADW. Can be fractional.
    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    User-friedly name of Ops Insights Warehouse that does not have to be unique.
    DynamicGroupId string
    OCID of the dynamic group created for the warehouse
    FreeformTags 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
    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.
    OperationsInsightsTenancyId string
    Tenancy Identifier of Ops Insights service
    OperationsInsightsWarehouseId string
    State string
    Possible lifecycle states
    StorageAllocatedInGbs double
    Storage allocated to OPSI Warehouse ADW.
    StorageUsedInGbs double
    Storage by OPSI Warehouse ADW in GB.
    SystemTags 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 string
    The time at which the resource was first created. An RFC3339 formatted datetime string
    TimeLastWalletRotated string
    The time at which the ADW wallet was last rotated for the Ops Insights Warehouse. An RFC3339 formatted datetime string
    TimeUpdated string
    The time at which the resource was last updated. An RFC3339 formatted datetime string
    CompartmentId string
    The OCID of the compartment.
    CpuAllocated float64
    Number of OCPUs allocated to OPSI Warehouse ADW.
    CpuUsed float64
    Number of OCPUs used by OPSI Warehouse ADW. Can be fractional.
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    User-friedly name of Ops Insights Warehouse that does not have to be unique.
    DynamicGroupId string
    OCID of the dynamic group created for the warehouse
    FreeformTags 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
    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.
    OperationsInsightsTenancyId string
    Tenancy Identifier of Ops Insights service
    OperationsInsightsWarehouseId string
    State string
    Possible lifecycle states
    StorageAllocatedInGbs float64
    Storage allocated to OPSI Warehouse ADW.
    StorageUsedInGbs float64
    Storage by OPSI Warehouse ADW in GB.
    SystemTags 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 string
    The time at which the resource was first created. An RFC3339 formatted datetime string
    TimeLastWalletRotated string
    The time at which the ADW wallet was last rotated for the Ops Insights Warehouse. An RFC3339 formatted datetime string
    TimeUpdated string
    The time at which the resource was last updated. An RFC3339 formatted datetime string
    compartmentId String
    The OCID of the compartment.
    cpuAllocated Double
    Number of OCPUs allocated to OPSI Warehouse ADW.
    cpuUsed Double
    Number of OCPUs used by OPSI Warehouse ADW. Can be fractional.
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    User-friedly name of Ops Insights Warehouse that does not have to be unique.
    dynamicGroupId String
    OCID of the dynamic group created for the warehouse
    freeformTags 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
    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.
    operationsInsightsTenancyId String
    Tenancy Identifier of Ops Insights service
    operationsInsightsWarehouseId String
    state String
    Possible lifecycle states
    storageAllocatedInGbs Double
    Storage allocated to OPSI Warehouse ADW.
    storageUsedInGbs Double
    Storage by OPSI Warehouse ADW in GB.
    systemTags 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 String
    The time at which the resource was first created. An RFC3339 formatted datetime string
    timeLastWalletRotated String
    The time at which the ADW wallet was last rotated for the Ops Insights Warehouse. An RFC3339 formatted datetime string
    timeUpdated String
    The time at which the resource was last updated. An RFC3339 formatted datetime string
    compartmentId string
    The OCID of the compartment.
    cpuAllocated number
    Number of OCPUs allocated to OPSI Warehouse ADW.
    cpuUsed number
    Number of OCPUs used by OPSI Warehouse ADW. Can be fractional.
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName string
    User-friedly name of Ops Insights Warehouse that does not have to be unique.
    dynamicGroupId string
    OCID of the dynamic group created for the warehouse
    freeformTags {[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
    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.
    operationsInsightsTenancyId string
    Tenancy Identifier of Ops Insights service
    operationsInsightsWarehouseId string
    state string
    Possible lifecycle states
    storageAllocatedInGbs number
    Storage allocated to OPSI Warehouse ADW.
    storageUsedInGbs number
    Storage by OPSI Warehouse ADW in GB.
    systemTags {[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 string
    The time at which the resource was first created. An RFC3339 formatted datetime string
    timeLastWalletRotated string
    The time at which the ADW wallet was last rotated for the Ops Insights Warehouse. An RFC3339 formatted datetime string
    timeUpdated string
    The time at which the resource was last updated. An RFC3339 formatted datetime string
    compartment_id str
    The OCID of the compartment.
    cpu_allocated float
    Number of OCPUs allocated to OPSI Warehouse ADW.
    cpu_used float
    Number of OCPUs used by OPSI Warehouse ADW. Can be fractional.
    defined_tags 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_id str
    OCID of the dynamic group created for the warehouse
    freeform_tags 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_tenancy_id str
    Tenancy Identifier of Ops Insights service
    operations_insights_warehouse_id str
    state str
    Possible lifecycle states
    storage_allocated_in_gbs float
    Storage allocated to OPSI Warehouse ADW.
    storage_used_in_gbs float
    Storage by OPSI Warehouse ADW in GB.
    system_tags 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_wallet_rotated str
    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
    compartmentId String
    The OCID of the compartment.
    cpuAllocated Number
    Number of OCPUs allocated to OPSI Warehouse ADW.
    cpuUsed Number
    Number of OCPUs used by OPSI Warehouse ADW. Can be fractional.
    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    User-friedly name of Ops Insights Warehouse that does not have to be unique.
    dynamicGroupId String
    OCID of the dynamic group created for the warehouse
    freeformTags 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
    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.
    operationsInsightsTenancyId String
    Tenancy Identifier of Ops Insights service
    operationsInsightsWarehouseId String
    state String
    Possible lifecycle states
    storageAllocatedInGbs Number
    Storage allocated to OPSI Warehouse ADW.
    storageUsedInGbs Number
    Storage by OPSI Warehouse ADW in GB.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time at which the resource was first created. An RFC3339 formatted datetime string
    timeLastWalletRotated String
    The time at which the ADW wallet was last rotated for the Ops Insights Warehouse. An RFC3339 formatted datetime string
    timeUpdated 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.
    oci logo
    Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi