Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 by Pulumi
oci.Opsi.getOperationsInsightsWarehouseUser
Explore with Pulumi AI
This data source provides details about a specific Operations Insights Warehouse User resource in Oracle Cloud Infrastructure Opsi service.
Gets details of an Operations Insights Warehouse User.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testOperationsInsightsWarehouseUser = oci.Opsi.getOperationsInsightsWarehouseUser({
    operationsInsightsWarehouseUserId: testOperationsInsightsWarehouseUserOciOpsiOperationsInsightsWarehouseUser.id,
});
import pulumi
import pulumi_oci as oci
test_operations_insights_warehouse_user = oci.Opsi.get_operations_insights_warehouse_user(operations_insights_warehouse_user_id=test_operations_insights_warehouse_user_oci_opsi_operations_insights_warehouse_user["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.GetOperationsInsightsWarehouseUser(ctx, &opsi.GetOperationsInsightsWarehouseUserArgs{
			OperationsInsightsWarehouseUserId: testOperationsInsightsWarehouseUserOciOpsiOperationsInsightsWarehouseUser.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 testOperationsInsightsWarehouseUser = Oci.Opsi.GetOperationsInsightsWarehouseUser.Invoke(new()
    {
        OperationsInsightsWarehouseUserId = testOperationsInsightsWarehouseUserOciOpsiOperationsInsightsWarehouseUser.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.GetOperationsInsightsWarehouseUserArgs;
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 testOperationsInsightsWarehouseUser = OpsiFunctions.getOperationsInsightsWarehouseUser(GetOperationsInsightsWarehouseUserArgs.builder()
            .operationsInsightsWarehouseUserId(testOperationsInsightsWarehouseUserOciOpsiOperationsInsightsWarehouseUser.id())
            .build());
    }
}
variables:
  testOperationsInsightsWarehouseUser:
    fn::invoke:
      function: oci:Opsi:getOperationsInsightsWarehouseUser
      arguments:
        operationsInsightsWarehouseUserId: ${testOperationsInsightsWarehouseUserOciOpsiOperationsInsightsWarehouseUser.id}
Using getOperationsInsightsWarehouseUser
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 getOperationsInsightsWarehouseUser(args: GetOperationsInsightsWarehouseUserArgs, opts?: InvokeOptions): Promise<GetOperationsInsightsWarehouseUserResult>
function getOperationsInsightsWarehouseUserOutput(args: GetOperationsInsightsWarehouseUserOutputArgs, opts?: InvokeOptions): Output<GetOperationsInsightsWarehouseUserResult>def get_operations_insights_warehouse_user(operations_insights_warehouse_user_id: Optional[str] = None,
                                           opts: Optional[InvokeOptions] = None) -> GetOperationsInsightsWarehouseUserResult
def get_operations_insights_warehouse_user_output(operations_insights_warehouse_user_id: Optional[pulumi.Input[str]] = None,
                                           opts: Optional[InvokeOptions] = None) -> Output[GetOperationsInsightsWarehouseUserResult]func GetOperationsInsightsWarehouseUser(ctx *Context, args *GetOperationsInsightsWarehouseUserArgs, opts ...InvokeOption) (*GetOperationsInsightsWarehouseUserResult, error)
func GetOperationsInsightsWarehouseUserOutput(ctx *Context, args *GetOperationsInsightsWarehouseUserOutputArgs, opts ...InvokeOption) GetOperationsInsightsWarehouseUserResultOutput> Note: This function is named GetOperationsInsightsWarehouseUser in the Go SDK.
public static class GetOperationsInsightsWarehouseUser 
{
    public static Task<GetOperationsInsightsWarehouseUserResult> InvokeAsync(GetOperationsInsightsWarehouseUserArgs args, InvokeOptions? opts = null)
    public static Output<GetOperationsInsightsWarehouseUserResult> Invoke(GetOperationsInsightsWarehouseUserInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetOperationsInsightsWarehouseUserResult> getOperationsInsightsWarehouseUser(GetOperationsInsightsWarehouseUserArgs args, InvokeOptions options)
public static Output<GetOperationsInsightsWarehouseUserResult> getOperationsInsightsWarehouseUser(GetOperationsInsightsWarehouseUserArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Opsi/getOperationsInsightsWarehouseUser:getOperationsInsightsWarehouseUser
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Operations
Insights stringWarehouse User Id  - Unique Operations Insights Warehouse User identifier
 
- Operations
Insights stringWarehouse User Id  - Unique Operations Insights Warehouse User identifier
 
- operations
Insights StringWarehouse User Id  - Unique Operations Insights Warehouse User identifier
 
- operations
Insights stringWarehouse User Id  - Unique Operations Insights Warehouse User identifier
 
- operations_
insights_ strwarehouse_ user_ id  - Unique Operations Insights Warehouse User identifier
 
- operations
Insights StringWarehouse User Id  - Unique Operations Insights Warehouse User identifier
 
getOperationsInsightsWarehouseUser Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment.
 - Connection
Password string - User provided connection password for the AWR Data, Enterprise Manager Data and Ops Insights OPSI Hub.
 - Dictionary<string, string>
 - Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"foo-namespace.bar-key": "value"} - 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
 - Hub User OCID
 - Is
Awr boolData Access  - Indicate whether user has access to AWR data.
 - Is
Em boolData Access  - Indicate whether user has access to EM data.
 - Is
Opsi boolData Access  - Indicate whether user has access to OPSI data.
 - 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.
 - Name string
 - Username for schema which would have access to AWR Data, Enterprise Manager Data and Ops Insights OPSI Hub.
 - Operations
Insights stringWarehouse Id  - OPSI Warehouse OCID
 - Operations
Insights stringWarehouse User Id  - State string
 - Possible lifecycle states
 - 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
Updated string - The time at which the resource was last updated. An RFC3339 formatted datetime string
 
- Compartment
Id string - The OCID of the compartment.
 - Connection
Password string - User provided connection password for the AWR Data, Enterprise Manager Data and Ops Insights OPSI Hub.
 - map[string]string
 - Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"foo-namespace.bar-key": "value"} - 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
 - Hub User OCID
 - Is
Awr boolData Access  - Indicate whether user has access to AWR data.
 - Is
Em boolData Access  - Indicate whether user has access to EM data.
 - Is
Opsi boolData Access  - Indicate whether user has access to OPSI data.
 - 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.
 - Name string
 - Username for schema which would have access to AWR Data, Enterprise Manager Data and Ops Insights OPSI Hub.
 - Operations
Insights stringWarehouse Id  - OPSI Warehouse OCID
 - Operations
Insights stringWarehouse User Id  - State string
 - Possible lifecycle states
 - 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
Updated string - The time at which the resource was last updated. An RFC3339 formatted datetime string
 
- compartment
Id String - The OCID of the compartment.
 - connection
Password String - User provided connection password for the AWR Data, Enterprise Manager Data and Ops Insights OPSI Hub.
 - Map<String,String>
 - Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"foo-namespace.bar-key": "value"} - 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
 - Hub User OCID
 - is
Awr BooleanData Access  - Indicate whether user has access to AWR data.
 - is
Em BooleanData Access  - Indicate whether user has access to EM data.
 - is
Opsi BooleanData Access  - Indicate whether user has access to OPSI data.
 - 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.
 - name String
 - Username for schema which would have access to AWR Data, Enterprise Manager Data and Ops Insights OPSI Hub.
 - operations
Insights StringWarehouse Id  - OPSI Warehouse OCID
 - operations
Insights StringWarehouse User Id  - state String
 - Possible lifecycle states
 - 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
Updated String - The time at which the resource was last updated. An RFC3339 formatted datetime string
 
- compartment
Id string - The OCID of the compartment.
 - connection
Password string - User provided connection password for the AWR Data, Enterprise Manager Data and Ops Insights OPSI Hub.
 - {[key: string]: string}
 - Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"foo-namespace.bar-key": "value"} - {[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
 - Hub User OCID
 - is
Awr booleanData Access  - Indicate whether user has access to AWR data.
 - is
Em booleanData Access  - Indicate whether user has access to EM data.
 - is
Opsi booleanData Access  - Indicate whether user has access to OPSI data.
 - 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.
 - name string
 - Username for schema which would have access to AWR Data, Enterprise Manager Data and Ops Insights OPSI Hub.
 - operations
Insights stringWarehouse Id  - OPSI Warehouse OCID
 - operations
Insights stringWarehouse User Id  - state string
 - Possible lifecycle states
 - {[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
Updated string - The time at which the resource was last updated. An RFC3339 formatted datetime string
 
- compartment_
id str - The OCID of the compartment.
 - connection_
password str - User provided connection password for the AWR Data, Enterprise Manager Data and Ops Insights OPSI Hub.
 - Mapping[str, str]
 - Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"foo-namespace.bar-key": "value"} - 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
 - Hub User OCID
 - is_
awr_ booldata_ access  - Indicate whether user has access to AWR data.
 - is_
em_ booldata_ access  - Indicate whether user has access to EM data.
 - is_
opsi_ booldata_ access  - Indicate whether user has access to OPSI data.
 - 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.
 - name str
 - Username for schema which would have access to AWR Data, Enterprise Manager Data and Ops Insights OPSI Hub.
 - operations_
insights_ strwarehouse_ id  - OPSI Warehouse OCID
 - operations_
insights_ strwarehouse_ user_ id  - state str
 - Possible lifecycle states
 - 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_
updated str - The time at which the resource was last updated. An RFC3339 formatted datetime string
 
- compartment
Id String - The OCID of the compartment.
 - connection
Password String - User provided connection password for the AWR Data, Enterprise Manager Data and Ops Insights OPSI Hub.
 - Map<String>
 - Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"foo-namespace.bar-key": "value"} - 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
 - Hub User OCID
 - is
Awr BooleanData Access  - Indicate whether user has access to AWR data.
 - is
Em BooleanData Access  - Indicate whether user has access to EM data.
 - is
Opsi BooleanData Access  - Indicate whether user has access to OPSI data.
 - 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.
 - name String
 - Username for schema which would have access to AWR Data, Enterprise Manager Data and Ops Insights OPSI Hub.
 - operations
Insights StringWarehouse Id  - OPSI Warehouse OCID
 - operations
Insights StringWarehouse User Id  - state String
 - Possible lifecycle states
 - 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
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.