Oracle Cloud Infrastructure

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

getOperationsInsightsWarehouseUsers

This data source provides the list of Operations Insights Warehouse Users in Oracle Cloud Infrastructure Opsi service.

Gets a list of Operations Insights Warehouse users. Either compartmentId or id must be specified. All these resources are expected to be in root compartment.

Example Usage

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testOperationsInsightsWarehouseUsers = Output.Create(Oci.Opsi.GetOperationsInsightsWarehouseUsers.InvokeAsync(new Oci.Opsi.GetOperationsInsightsWarehouseUsersArgs
        {
            OperationsInsightsWarehouseId = oci_opsi_operations_insights_warehouse.Test_operations_insights_warehouse.Id,
            CompartmentId = @var.Compartment_id,
            DisplayName = @var.Operations_insights_warehouse_user_display_name,
            Id = @var.Operations_insights_warehouse_user_id,
            States = @var.Operations_insights_warehouse_user_state,
        }));
    }

}
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.GetOperationsInsightsWarehouseUsers(ctx, &opsi.GetOperationsInsightsWarehouseUsersArgs{
			OperationsInsightsWarehouseId: oci_opsi_operations_insights_warehouse.Test_operations_insights_warehouse.Id,
			CompartmentId:                 pulumi.StringRef(_var.Compartment_id),
			DisplayName:                   pulumi.StringRef(_var.Operations_insights_warehouse_user_display_name),
			Id:                            pulumi.StringRef(_var.Operations_insights_warehouse_user_id),
			States:                        _var.Operations_insights_warehouse_user_state,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_operations_insights_warehouse_users = oci.Opsi.get_operations_insights_warehouse_users(operations_insights_warehouse_id=oci_opsi_operations_insights_warehouse["test_operations_insights_warehouse"]["id"],
    compartment_id=var["compartment_id"],
    display_name=var["operations_insights_warehouse_user_display_name"],
    id=var["operations_insights_warehouse_user_id"],
    states=var["operations_insights_warehouse_user_state"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testOperationsInsightsWarehouseUsers = oci.Opsi.getOperationsInsightsWarehouseUsers({
    operationsInsightsWarehouseId: oci_opsi_operations_insights_warehouse.test_operations_insights_warehouse.id,
    compartmentId: _var.compartment_id,
    displayName: _var.operations_insights_warehouse_user_display_name,
    id: _var.operations_insights_warehouse_user_id,
    states: _var.operations_insights_warehouse_user_state,
});

Coming soon!

Using getOperationsInsightsWarehouseUsers

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 getOperationsInsightsWarehouseUsers(args: GetOperationsInsightsWarehouseUsersArgs, opts?: InvokeOptions): Promise<GetOperationsInsightsWarehouseUsersResult>
function getOperationsInsightsWarehouseUsersOutput(args: GetOperationsInsightsWarehouseUsersOutputArgs, opts?: InvokeOptions): Output<GetOperationsInsightsWarehouseUsersResult>
def get_operations_insights_warehouse_users(compartment_id: Optional[str] = None,
                                            display_name: Optional[str] = None,
                                            filters: Optional[Sequence[_opsi.GetOperationsInsightsWarehouseUsersFilter]] = None,
                                            id: Optional[str] = None,
                                            operations_insights_warehouse_id: Optional[str] = None,
                                            states: Optional[Sequence[str]] = None,
                                            opts: Optional[InvokeOptions] = None) -> GetOperationsInsightsWarehouseUsersResult
def get_operations_insights_warehouse_users_output(compartment_id: Optional[pulumi.Input[str]] = None,
                                            display_name: Optional[pulumi.Input[str]] = None,
                                            filters: Optional[pulumi.Input[Sequence[pulumi.Input[_opsi.GetOperationsInsightsWarehouseUsersFilterArgs]]]] = None,
                                            id: Optional[pulumi.Input[str]] = None,
                                            operations_insights_warehouse_id: Optional[pulumi.Input[str]] = None,
                                            states: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                            opts: Optional[InvokeOptions] = None) -> Output[GetOperationsInsightsWarehouseUsersResult]
func GetOperationsInsightsWarehouseUsers(ctx *Context, args *GetOperationsInsightsWarehouseUsersArgs, opts ...InvokeOption) (*GetOperationsInsightsWarehouseUsersResult, error)
func GetOperationsInsightsWarehouseUsersOutput(ctx *Context, args *GetOperationsInsightsWarehouseUsersOutputArgs, opts ...InvokeOption) GetOperationsInsightsWarehouseUsersResultOutput

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

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

The following arguments are supported:

OperationsInsightsWarehouseId string

Unique Operations Insights Warehouse identifier

CompartmentId string

The OCID of the compartment.

DisplayName string

A filter to return only resources that match the entire display name.

Filters List<GetOperationsInsightsWarehouseUsersFilter>
Id string

Unique Operations Insights Warehouse User identifier

States List<string>

Lifecycle states

OperationsInsightsWarehouseId string

Unique Operations Insights Warehouse identifier

CompartmentId string

The OCID of the compartment.

DisplayName string

A filter to return only resources that match the entire display name.

Filters []GetOperationsInsightsWarehouseUsersFilter
Id string

Unique Operations Insights Warehouse User identifier

States []string

Lifecycle states

operationsInsightsWarehouseId String

Unique Operations Insights Warehouse identifier

compartmentId String

The OCID of the compartment.

displayName String

A filter to return only resources that match the entire display name.

filters List<GetOperationsInsightsWarehouseUsersFilter>
id String

Unique Operations Insights Warehouse User identifier

states List<String>

Lifecycle states

operationsInsightsWarehouseId string

Unique Operations Insights Warehouse identifier

compartmentId string

The OCID of the compartment.

displayName string

A filter to return only resources that match the entire display name.

filters GetOperationsInsightsWarehouseUsersFilter[]
id string

Unique Operations Insights Warehouse User identifier

states string[]

Lifecycle states

operations_insights_warehouse_id str

Unique Operations Insights Warehouse identifier

compartment_id str

The OCID of the compartment.

display_name str

A filter to return only resources that match the entire display name.

filters GetOperationsInsightsWarehouseUsersFilter]
id str

Unique Operations Insights Warehouse User identifier

states Sequence[str]

Lifecycle states

operationsInsightsWarehouseId String

Unique Operations Insights Warehouse identifier

compartmentId String

The OCID of the compartment.

displayName String

A filter to return only resources that match the entire display name.

filters List<Property Map>
id String

Unique Operations Insights Warehouse User identifier

states List<String>

Lifecycle states

getOperationsInsightsWarehouseUsers Result

The following output properties are available:

OperationsInsightsWarehouseId string

OPSI Warehouse OCID

OperationsInsightsWarehouseUserSummaryCollections List<GetOperationsInsightsWarehouseUsersOperationsInsightsWarehouseUserSummaryCollection>

The list of operations_insights_warehouse_user_summary_collection.

CompartmentId string

The OCID of the compartment.

DisplayName string
Filters List<GetOperationsInsightsWarehouseUsersFilter>
Id string

Hub User OCID

States List<string>

Possible lifecycle states

OperationsInsightsWarehouseId string

OPSI Warehouse OCID

OperationsInsightsWarehouseUserSummaryCollections []GetOperationsInsightsWarehouseUsersOperationsInsightsWarehouseUserSummaryCollection

The list of operations_insights_warehouse_user_summary_collection.

CompartmentId string

The OCID of the compartment.

DisplayName string
Filters []GetOperationsInsightsWarehouseUsersFilter
Id string

Hub User OCID

States []string

Possible lifecycle states

operationsInsightsWarehouseId String

OPSI Warehouse OCID

operationsInsightsWarehouseUserSummaryCollections List<GetOperationsInsightsWarehouseUsersOperationsInsightsWarehouseUserSummaryCollection>

The list of operations_insights_warehouse_user_summary_collection.

compartmentId String

The OCID of the compartment.

displayName String
filters List<GetOperationsInsightsWarehouseUsersFilter>
id String

Hub User OCID

states List<String>

Possible lifecycle states

operationsInsightsWarehouseId string

OPSI Warehouse OCID

operationsInsightsWarehouseUserSummaryCollections GetOperationsInsightsWarehouseUsersOperationsInsightsWarehouseUserSummaryCollection[]

The list of operations_insights_warehouse_user_summary_collection.

compartmentId string

The OCID of the compartment.

displayName string
filters GetOperationsInsightsWarehouseUsersFilter[]
id string

Hub User OCID

states string[]

Possible lifecycle states

operations_insights_warehouse_id str

OPSI Warehouse OCID

operations_insights_warehouse_user_summary_collections GetOperationsInsightsWarehouseUsersOperationsInsightsWarehouseUserSummaryCollection]

The list of operations_insights_warehouse_user_summary_collection.

compartment_id str

The OCID of the compartment.

display_name str
filters GetOperationsInsightsWarehouseUsersFilter]
id str

Hub User OCID

states Sequence[str]

Possible lifecycle states

operationsInsightsWarehouseId String

OPSI Warehouse OCID

operationsInsightsWarehouseUserSummaryCollections List<Property Map>

The list of operations_insights_warehouse_user_summary_collection.

compartmentId String

The OCID of the compartment.

displayName String
filters List<Property Map>
id String

Hub User OCID

states List<String>

Possible lifecycle states

Supporting Types

GetOperationsInsightsWarehouseUsersFilter

Name string

Username for schema which would have access to AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub.

Values List<string>
Regex bool
Name string

Username for schema which would have access to AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub.

Values []string
Regex bool
name String

Username for schema which would have access to AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub.

values List<String>
regex Boolean
name string

Username for schema which would have access to AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub.

values string[]
regex boolean
name str

Username for schema which would have access to AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub.

values Sequence[str]
regex bool
name String

Username for schema which would have access to AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub.

values List<String>
regex Boolean

GetOperationsInsightsWarehouseUsersOperationsInsightsWarehouseUserSummaryCollection

GetOperationsInsightsWarehouseUsersOperationsInsightsWarehouseUserSummaryCollectionItem

CompartmentId string

The OCID of the compartment.

ConnectionPassword string

User provided connection password for the AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub.

DefinedTags Dictionary<string, object>

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

FreeformTags Dictionary<string, object>

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 Operations Insights Warehouse User identifier

IsAwrDataAccess bool

Indicate whether user has access to AWR data.

IsEmDataAccess bool

Indicate whether user has access to EM data.

IsOpsiDataAccess bool

Indicate whether user has access to OPSI data.

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.

Name string

Username for schema which would have access to AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub.

OperationsInsightsWarehouseId string

Unique Operations Insights Warehouse identifier

State string

Lifecycle states

SystemTags Dictionary<string, object>

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

TimeUpdated string

The time at which the resource was last updated. An RFC3339 formatted datetime string

CompartmentId string

The OCID of the compartment.

ConnectionPassword string

User provided connection password for the AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub.

DefinedTags map[string]interface{}

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

FreeformTags map[string]interface{}

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 Operations Insights Warehouse User identifier

IsAwrDataAccess bool

Indicate whether user has access to AWR data.

IsEmDataAccess bool

Indicate whether user has access to EM data.

IsOpsiDataAccess bool

Indicate whether user has access to OPSI data.

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.

Name string

Username for schema which would have access to AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub.

OperationsInsightsWarehouseId string

Unique Operations Insights Warehouse identifier

State string

Lifecycle states

SystemTags map[string]interface{}

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

TimeUpdated string

The time at which the resource was last updated. An RFC3339 formatted datetime string

compartmentId String

The OCID of the compartment.

connectionPassword String

User provided connection password for the AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub.

definedTags Map<String,Object>

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

freeformTags Map<String,Object>

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 Operations Insights Warehouse User identifier

isAwrDataAccess Boolean

Indicate whether user has access to AWR data.

isEmDataAccess Boolean

Indicate whether user has access to EM data.

isOpsiDataAccess Boolean

Indicate whether user has access to OPSI data.

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.

name String

Username for schema which would have access to AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub.

operationsInsightsWarehouseId String

Unique Operations Insights Warehouse identifier

state String

Lifecycle states

systemTags Map<String,Object>

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

timeUpdated String

The time at which the resource was last updated. An RFC3339 formatted datetime string

compartmentId string

The OCID of the compartment.

connectionPassword string

User provided connection password for the AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub.

definedTags {[key: string]: any}

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

freeformTags {[key: string]: any}

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 Operations Insights Warehouse User identifier

isAwrDataAccess boolean

Indicate whether user has access to AWR data.

isEmDataAccess boolean

Indicate whether user has access to EM data.

isOpsiDataAccess boolean

Indicate whether user has access to OPSI data.

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.

name string

Username for schema which would have access to AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub.

operationsInsightsWarehouseId string

Unique Operations Insights Warehouse identifier

state string

Lifecycle states

systemTags {[key: string]: any}

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

timeUpdated 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 Operations Insights OPSI Hub.

defined_tags Mapping[str, Any]

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

freeform_tags Mapping[str, Any]

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 Operations Insights Warehouse User identifier

is_awr_data_access bool

Indicate whether user has access to AWR data.

is_em_data_access bool

Indicate whether user has access to EM data.

is_opsi_data_access bool

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 Operations Insights OPSI Hub.

operations_insights_warehouse_id str

Unique Operations Insights Warehouse identifier

state str

Lifecycle states

system_tags Mapping[str, Any]

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

compartmentId String

The OCID of the compartment.

connectionPassword String

User provided connection password for the AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub.

definedTags Map<Any>

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

freeformTags Map<Any>

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 Operations Insights Warehouse User identifier

isAwrDataAccess Boolean

Indicate whether user has access to AWR data.

isEmDataAccess Boolean

Indicate whether user has access to EM data.

isOpsiDataAccess Boolean

Indicate whether user has access to OPSI data.

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.

name String

Username for schema which would have access to AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub.

operationsInsightsWarehouseId String

Unique Operations Insights Warehouse identifier

state String

Lifecycle states

systemTags Map<Any>

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

timeUpdated String

The time at which the resource was last updated. An RFC3339 formatted datetime string

Package Details

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

This Pulumi package is based on the oci Terraform Provider.