Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.Opsi.getOperationsInsightsWarehouseUsers
Explore with Pulumi AI
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
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testOperationsInsightsWarehouseUsers = oci.Opsi.getOperationsInsightsWarehouseUsers({
operationsInsightsWarehouseId: testOperationsInsightsWarehouse.id,
compartmentId: compartmentId,
displayName: operationsInsightsWarehouseUserDisplayName,
id: operationsInsightsWarehouseUserId,
states: operationsInsightsWarehouseUserState,
});
import pulumi
import pulumi_oci as oci
test_operations_insights_warehouse_users = oci.Opsi.get_operations_insights_warehouse_users(operations_insights_warehouse_id=test_operations_insights_warehouse["id"],
compartment_id=compartment_id,
display_name=operations_insights_warehouse_user_display_name,
id=operations_insights_warehouse_user_id,
states=operations_insights_warehouse_user_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.GetOperationsInsightsWarehouseUsers(ctx, &opsi.GetOperationsInsightsWarehouseUsersArgs{
OperationsInsightsWarehouseId: testOperationsInsightsWarehouse.Id,
CompartmentId: pulumi.StringRef(compartmentId),
DisplayName: pulumi.StringRef(operationsInsightsWarehouseUserDisplayName),
Id: pulumi.StringRef(operationsInsightsWarehouseUserId),
States: operationsInsightsWarehouseUserState,
}, 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 testOperationsInsightsWarehouseUsers = Oci.Opsi.GetOperationsInsightsWarehouseUsers.Invoke(new()
{
OperationsInsightsWarehouseId = testOperationsInsightsWarehouse.Id,
CompartmentId = compartmentId,
DisplayName = operationsInsightsWarehouseUserDisplayName,
Id = operationsInsightsWarehouseUserId,
States = operationsInsightsWarehouseUserState,
});
});
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.GetOperationsInsightsWarehouseUsersArgs;
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 testOperationsInsightsWarehouseUsers = OpsiFunctions.getOperationsInsightsWarehouseUsers(GetOperationsInsightsWarehouseUsersArgs.builder()
.operationsInsightsWarehouseId(testOperationsInsightsWarehouse.id())
.compartmentId(compartmentId)
.displayName(operationsInsightsWarehouseUserDisplayName)
.id(operationsInsightsWarehouseUserId)
.states(operationsInsightsWarehouseUserState)
.build());
}
}
variables:
testOperationsInsightsWarehouseUsers:
fn::invoke:
Function: oci:Opsi:getOperationsInsightsWarehouseUsers
Arguments:
operationsInsightsWarehouseId: ${testOperationsInsightsWarehouse.id}
compartmentId: ${compartmentId}
displayName: ${operationsInsightsWarehouseUserDisplayName}
id: ${operationsInsightsWarehouseUserId}
states: ${operationsInsightsWarehouseUserState}
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:
- Operations
Insights stringWarehouse Id - Unique Operations Insights Warehouse identifier
- 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 Warehouse Users Filter> - Id string
- Unique Operations Insights Warehouse User identifier
- States List<string>
- Lifecycle states
- Operations
Insights stringWarehouse Id - Unique Operations Insights Warehouse identifier
- 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 Warehouse Users Filter - Id string
- Unique Operations Insights Warehouse User identifier
- States []string
- Lifecycle states
- operations
Insights StringWarehouse Id - Unique Operations Insights Warehouse identifier
- 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 Warehouse Users Filter> - id String
- Unique Operations Insights Warehouse User identifier
- states List<String>
- Lifecycle states
- operations
Insights stringWarehouse Id - Unique Operations Insights Warehouse identifier
- 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 Warehouse Users Filter[] - id string
- Unique Operations Insights Warehouse User identifier
- states string[]
- Lifecycle states
- operations_
insights_ strwarehouse_ id - 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
Sequence[opsi.
Get Operations Insights Warehouse Users Filter] - id str
- Unique Operations Insights Warehouse User identifier
- states Sequence[str]
- Lifecycle states
- operations
Insights StringWarehouse Id - Unique Operations Insights Warehouse identifier
- 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 Operations Insights Warehouse User identifier
- states List<String>
- Lifecycle states
getOperationsInsightsWarehouseUsers Result
The following output properties are available:
- Operations
Insights stringWarehouse Id - OPSI Warehouse OCID
- Operations
Insights List<GetWarehouse User Summary Collections Operations Insights Warehouse Users Operations Insights Warehouse User Summary Collection> - The list of operations_insights_warehouse_user_summary_collection.
- Compartment
Id string - The OCID of the compartment.
- Display
Name string - Filters
List<Get
Operations Insights Warehouse Users Filter> - Id string
- Hub User OCID
- States List<string>
- Possible lifecycle states
- Operations
Insights stringWarehouse Id - OPSI Warehouse OCID
- Operations
Insights []GetWarehouse User Summary Collections Operations Insights Warehouse Users Operations Insights Warehouse User Summary Collection - The list of operations_insights_warehouse_user_summary_collection.
- Compartment
Id string - The OCID of the compartment.
- Display
Name string - Filters
[]Get
Operations Insights Warehouse Users Filter - Id string
- Hub User OCID
- States []string
- Possible lifecycle states
- operations
Insights StringWarehouse Id - OPSI Warehouse OCID
- operations
Insights List<GetWarehouse User Summary Collections Operations Insights Warehouse Users Operations Insights Warehouse User Summary Collection> - The list of operations_insights_warehouse_user_summary_collection.
- compartment
Id String - The OCID of the compartment.
- display
Name String - filters
List<Get
Operations Insights Warehouse Users Filter> - id String
- Hub User OCID
- states List<String>
- Possible lifecycle states
- operations
Insights stringWarehouse Id - OPSI Warehouse OCID
- operations
Insights GetWarehouse User Summary Collections Operations Insights Warehouse Users Operations Insights Warehouse User Summary Collection[] - The list of operations_insights_warehouse_user_summary_collection.
- compartment
Id string - The OCID of the compartment.
- display
Name string - filters
Get
Operations Insights Warehouse Users Filter[] - id string
- Hub User OCID
- states string[]
- Possible lifecycle states
- operations_
insights_ strwarehouse_ id - OPSI Warehouse OCID
- operations_
insights_ Sequence[opsi.warehouse_ user_ summary_ collections Get Operations Insights Warehouse Users Operations Insights Warehouse User Summary Collection] - The list of operations_insights_warehouse_user_summary_collection.
- compartment_
id str - The OCID of the compartment.
- display_
name str - filters
Sequence[opsi.
Get Operations Insights Warehouse Users Filter] - id str
- Hub User OCID
- states Sequence[str]
- Possible lifecycle states
- operations
Insights StringWarehouse Id - OPSI Warehouse OCID
- operations
Insights List<Property Map>Warehouse User Summary Collections - The list of operations_insights_warehouse_user_summary_collection.
- compartment
Id String - The OCID of the compartment.
- display
Name String - filters List<Property Map>
- id String
- Hub User OCID
- states List<String>
- Possible lifecycle states
Supporting Types
GetOperationsInsightsWarehouseUsersFilter
GetOperationsInsightsWarehouseUsersOperationsInsightsWarehouseUserSummaryCollection
GetOperationsInsightsWarehouseUsersOperationsInsightsWarehouseUserSummaryCollectionItem
- 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
- Unique Operations Insights Warehouse User identifier
- 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 - Unique Operations Insights Warehouse identifier
- State string
- 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
- Unique Operations Insights Warehouse User identifier
- 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 - Unique Operations Insights Warehouse identifier
- State string
- 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
- Unique Operations Insights Warehouse User identifier
- 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 - Unique Operations Insights Warehouse identifier
- state String
- 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
- Unique Operations Insights Warehouse User identifier
- 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 - Unique Operations Insights Warehouse identifier
- state string
- 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
- Unique Operations Insights Warehouse User identifier
- 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 - Unique Operations Insights Warehouse identifier
- state str
- 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
- Unique Operations Insights Warehouse User identifier
- 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 - Unique Operations Insights Warehouse identifier
- state String
- 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
oci
Terraform Provider.