Oracle Cloud Infrastructure

Pulumi Official
Package maintained by Pulumi
v0.1.1 published on Tuesday, May 3, 2022 by Pulumi

getOperationsInsightsWarehouseResourceUsageSummary

This data source provides details about a specific Operations Insights Warehouse Resource Usage Summary resource in Oracle Cloud Infrastructure Opsi service.

Gets the details of resources used by an Operations Insights Warehouse. There is only expected to be 1 warehouse per tenant. The warehouse is expected to be in the root compartment.

Example Usage

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testOperationsInsightsWarehouseResourceUsageSummary = Output.Create(Oci.Opsi.GetOperationsInsightsWarehouseResourceUsageSummary.InvokeAsync(new Oci.Opsi.GetOperationsInsightsWarehouseResourceUsageSummaryArgs
        {
            OperationsInsightsWarehouseId = oci_opsi_operations_insights_warehouse.Test_operations_insights_warehouse.Id,
        }));
    }

}
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Opsi.GetOperationsInsightsWarehouseResourceUsageSummary(ctx, &opsi.GetOperationsInsightsWarehouseResourceUsageSummaryArgs{
			OperationsInsightsWarehouseId: oci_opsi_operations_insights_warehouse.Test_operations_insights_warehouse.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_operations_insights_warehouse_resource_usage_summary = oci.Opsi.get_operations_insights_warehouse_resource_usage_summary(operations_insights_warehouse_id=oci_opsi_operations_insights_warehouse["test_operations_insights_warehouse"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testOperationsInsightsWarehouseResourceUsageSummary = oci.Opsi.getOperationsInsightsWarehouseResourceUsageSummary({
    operationsInsightsWarehouseId: oci_opsi_operations_insights_warehouse.test_operations_insights_warehouse.id,
});

Coming soon!

Using getOperationsInsightsWarehouseResourceUsageSummary

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 getOperationsInsightsWarehouseResourceUsageSummary(args: GetOperationsInsightsWarehouseResourceUsageSummaryArgs, opts?: InvokeOptions): Promise<GetOperationsInsightsWarehouseResourceUsageSummaryResult>
function getOperationsInsightsWarehouseResourceUsageSummaryOutput(args: GetOperationsInsightsWarehouseResourceUsageSummaryOutputArgs, opts?: InvokeOptions): Output<GetOperationsInsightsWarehouseResourceUsageSummaryResult>
def get_operations_insights_warehouse_resource_usage_summary(operations_insights_warehouse_id: Optional[str] = None,
                                                             opts: Optional[InvokeOptions] = None) -> GetOperationsInsightsWarehouseResourceUsageSummaryResult
def get_operations_insights_warehouse_resource_usage_summary_output(operations_insights_warehouse_id: Optional[pulumi.Input[str]] = None,
                                                             opts: Optional[InvokeOptions] = None) -> Output[GetOperationsInsightsWarehouseResourceUsageSummaryResult]
func GetOperationsInsightsWarehouseResourceUsageSummary(ctx *Context, args *GetOperationsInsightsWarehouseResourceUsageSummaryArgs, opts ...InvokeOption) (*GetOperationsInsightsWarehouseResourceUsageSummaryResult, error)
func GetOperationsInsightsWarehouseResourceUsageSummaryOutput(ctx *Context, args *GetOperationsInsightsWarehouseResourceUsageSummaryOutputArgs, opts ...InvokeOption) GetOperationsInsightsWarehouseResourceUsageSummaryResultOutput

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

public static class GetOperationsInsightsWarehouseResourceUsageSummary 
{
    public static Task<GetOperationsInsightsWarehouseResourceUsageSummaryResult> InvokeAsync(GetOperationsInsightsWarehouseResourceUsageSummaryArgs args, InvokeOptions? opts = null)
    public static Output<GetOperationsInsightsWarehouseResourceUsageSummaryResult> Invoke(GetOperationsInsightsWarehouseResourceUsageSummaryInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetOperationsInsightsWarehouseResourceUsageSummaryResult> getOperationsInsightsWarehouseResourceUsageSummary(GetOperationsInsightsWarehouseResourceUsageSummaryArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: oci:Opsi/getOperationsInsightsWarehouseResourceUsageSummary:getOperationsInsightsWarehouseResourceUsageSummary
  Arguments:
    # Arguments dictionary

The following arguments are supported:

OperationsInsightsWarehouseId string

Unique Operations Insights Warehouse identifier

OperationsInsightsWarehouseId string

Unique Operations Insights Warehouse identifier

operationsInsightsWarehouseId String

Unique Operations Insights Warehouse identifier

operationsInsightsWarehouseId string

Unique Operations Insights Warehouse identifier

operations_insights_warehouse_id str

Unique Operations Insights Warehouse identifier

operationsInsightsWarehouseId String

Unique Operations Insights Warehouse identifier

getOperationsInsightsWarehouseResourceUsageSummary Result

The following output properties are available:

CpuUsed double

Number of OCPUs used by OPSI Warehouse ADW. Can be fractional.

Id string

The provider-assigned unique ID for this managed resource.

OperationsInsightsWarehouseId string
State string

Possible lifecycle states

StorageUsedInGbs double

Storage by OPSI Warehouse ADW in GB.

CpuUsed float64

Number of OCPUs used by OPSI Warehouse ADW. Can be fractional.

Id string

The provider-assigned unique ID for this managed resource.

OperationsInsightsWarehouseId string
State string

Possible lifecycle states

StorageUsedInGbs float64

Storage by OPSI Warehouse ADW in GB.

cpuUsed Double

Number of OCPUs used by OPSI Warehouse ADW. Can be fractional.

id String

The provider-assigned unique ID for this managed resource.

operationsInsightsWarehouseId String
state String

Possible lifecycle states

storageUsedInGbs Double

Storage by OPSI Warehouse ADW in GB.

cpuUsed number

Number of OCPUs used by OPSI Warehouse ADW. Can be fractional.

id string

The provider-assigned unique ID for this managed resource.

operationsInsightsWarehouseId string
state string

Possible lifecycle states

storageUsedInGbs number

Storage by OPSI Warehouse ADW in GB.

cpu_used float

Number of OCPUs used by OPSI Warehouse ADW. Can be fractional.

id str

The provider-assigned unique ID for this managed resource.

operations_insights_warehouse_id str
state str

Possible lifecycle states

storage_used_in_gbs float

Storage by OPSI Warehouse ADW in GB.

cpuUsed Number

Number of OCPUs used by OPSI Warehouse ADW. Can be fractional.

id String

The provider-assigned unique ID for this managed resource.

operationsInsightsWarehouseId String
state String

Possible lifecycle states

storageUsedInGbs Number

Storage by OPSI Warehouse ADW in GB.

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.