Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.Opsi.getOperationsInsightsWarehouses
Explore with Pulumi AI
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,
});
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)
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
})
}
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,
});
});
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());
}
}
variables:
testOperationsInsightsWarehouses:
fn::invoke:
Function: oci:Opsi:getOperationsInsightsWarehouses
Arguments:
compartmentId: ${compartmentId}
displayName: ${operationsInsightsWarehouseDisplayName}
id: ${operationsInsightsWarehouseId}
states: ${operationsInsightsWarehouseState}
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>
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]
func GetOperationsInsightsWarehouses(ctx *Context, args *GetOperationsInsightsWarehousesArgs, opts ...InvokeOption) (*GetOperationsInsightsWarehousesResult, error)
func GetOperationsInsightsWarehousesOutput(ctx *Context, args *GetOperationsInsightsWarehousesOutputArgs, opts ...InvokeOption) GetOperationsInsightsWarehousesResultOutput
> 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)
}
public static CompletableFuture<GetOperationsInsightsWarehousesResult> getOperationsInsightsWarehouses(GetOperationsInsightsWarehousesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Opsi/getOperationsInsightsWarehouses:getOperationsInsightsWarehouses
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string - The OCID of the compartment.
- Display
Name string - A filter to return only resources that match the entire display name.
- Filters
List<Get
Operations Insights Warehouses Filter> - Id string
- Unique Ops Insights Warehouse identifier
- States List<string>
- Lifecycle states
- Compartment
Id string - The OCID of the compartment.
- Display
Name string - A filter to return only resources that match the entire display name.
- Filters
[]Get
Operations Insights Warehouses Filter - Id string
- Unique Ops Insights Warehouse identifier
- States []string
- Lifecycle states
- compartment
Id String - The OCID of the compartment.
- display
Name String - A filter to return only resources that match the entire display name.
- filters
List<Get
Operations Insights Warehouses Filter> - id String
- Unique Ops Insights Warehouse identifier
- states List<String>
- Lifecycle states
- compartment
Id string - The OCID of the compartment.
- display
Name string - A filter to return only resources that match the entire display name.
- filters
Get
Operations Insights Warehouses Filter[] - 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
Sequence[opsi.
Get Operations Insights Warehouses Filter] - id str
- Unique Ops Insights Warehouse identifier
- states Sequence[str]
- Lifecycle states
- compartment
Id String - The OCID of the compartment.
- display
Name String - A filter to return only resources that match the entire display name.
- filters List<Property Map>
- id String
- Unique Ops Insights Warehouse identifier
- states List<String>
- Lifecycle states
getOperationsInsightsWarehouses Result
The following output properties are available:
- Operations
Insights List<GetWarehouse Summary Collections Operations Insights Warehouses Operations Insights Warehouse Summary Collection> - The list of operations_insights_warehouse_summary_collection.
- Compartment
Id string - The OCID of the compartment.
- Display
Name string - User-friedly name of Ops Insights Warehouse that does not have to be unique.
- Filters
List<Get
Operations Insights Warehouses Filter> - Id string
- OPSI Warehouse OCID
- States List<string>
- Possible lifecycle states
- Operations
Insights []GetWarehouse Summary Collections Operations Insights Warehouses Operations Insights Warehouse Summary Collection - The list of operations_insights_warehouse_summary_collection.
- Compartment
Id string - The OCID of the compartment.
- Display
Name string - User-friedly name of Ops Insights Warehouse that does not have to be unique.
- Filters
[]Get
Operations Insights Warehouses Filter - Id string
- OPSI Warehouse OCID
- States []string
- Possible lifecycle states
- operations
Insights List<GetWarehouse Summary Collections Operations Insights Warehouses Operations Insights Warehouse Summary Collection> - The list of operations_insights_warehouse_summary_collection.
- compartment
Id String - The OCID of the compartment.
- display
Name String - User-friedly name of Ops Insights Warehouse that does not have to be unique.
- filters
List<Get
Operations Insights Warehouses Filter> - id String
- OPSI Warehouse OCID
- states List<String>
- Possible lifecycle states
- operations
Insights GetWarehouse Summary Collections Operations Insights Warehouses Operations Insights Warehouse Summary Collection[] - The list of operations_insights_warehouse_summary_collection.
- compartment
Id string - The OCID of the compartment.
- display
Name string - User-friedly name of Ops Insights Warehouse that does not have to be unique.
- filters
Get
Operations Insights Warehouses Filter[] - id string
- OPSI Warehouse OCID
- states string[]
- Possible lifecycle states
- operations_
insights_ Sequence[opsi.warehouse_ summary_ collections Get Operations Insights Warehouses Operations Insights Warehouse Summary Collection] - 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.
Get Operations Insights Warehouses Filter] - id str
- OPSI Warehouse OCID
- states Sequence[str]
- Possible lifecycle states
- operations
Insights List<Property Map>Warehouse Summary Collections - The list of operations_insights_warehouse_summary_collection.
- compartment
Id String - The OCID of the compartment.
- display
Name 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
GetOperationsInsightsWarehousesOperationsInsightsWarehouseSummaryCollection
GetOperationsInsightsWarehousesOperationsInsightsWarehouseSummaryCollectionItem
- Compartment
Id string - The OCID of the compartment.
- Cpu
Allocated double - Number of OCPUs 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 - A filter to return only resources that match the entire display name.
- 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
- Unique Ops Insights Warehouse identifier
- 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
- State string
- 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.
- Cpu
Allocated float64 - Number of OCPUs 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 - A filter to return only resources that match the entire display name.
- 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
- Unique Ops Insights Warehouse identifier
- 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
- State string
- 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.
- cpu
Allocated Double - Number of OCPUs 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 - A filter to return only resources that match the entire display name.
- 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
- Unique Ops Insights Warehouse identifier
- 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
- state String
- 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.
- cpu
Allocated number - Number of OCPUs 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 - A filter to return only resources that match the entire display name.
- 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
- Unique Ops Insights Warehouse identifier
- 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
- state string
- 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.
- 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.
- 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 - A filter to return only resources that match the entire display name.
- 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
- Unique Ops Insights Warehouse identifier
- 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
- state str
- 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.
- cpu
Allocated Number - Number of OCPUs 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 - A filter to return only resources that match the entire display name.
- 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
- Unique Ops Insights Warehouse identifier
- 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
- state String
- 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
oci
Terraform Provider.