1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Opsi
  5. getOperationsInsightsWarehouseUser
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.Opsi.getOperationsInsightsWarehouseUser

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Opsi/getOperationsInsightsWarehouseUser:getOperationsInsightsWarehouseUser
      arguments:
        # arguments dictionary

    The following arguments are supported:

    OperationsInsightsWarehouseUserId string
    Unique Operations Insights Warehouse User identifier
    OperationsInsightsWarehouseUserId string
    Unique Operations Insights Warehouse User identifier
    operationsInsightsWarehouseUserId String
    Unique Operations Insights Warehouse User identifier
    operationsInsightsWarehouseUserId string
    Unique Operations Insights Warehouse User identifier
    operations_insights_warehouse_user_id str
    Unique Operations Insights Warehouse User identifier
    operationsInsightsWarehouseUserId String
    Unique Operations Insights Warehouse User identifier

    getOperationsInsightsWarehouseUser Result

    The following output properties are available:

    CompartmentId string
    The OCID of the compartment.
    ConnectionPassword string
    User provided connection password for the AWR Data, Enterprise Manager Data and Ops Insights OPSI Hub.
    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    FreeformTags 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
    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 Ops Insights OPSI Hub.
    OperationsInsightsWarehouseId string
    OPSI Warehouse OCID
    OperationsInsightsWarehouseUserId string
    State string
    Possible lifecycle states
    SystemTags Dictionary<string, string>
    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 Ops Insights OPSI Hub.
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    FreeformTags 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
    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 Ops Insights OPSI Hub.
    OperationsInsightsWarehouseId string
    OPSI Warehouse OCID
    OperationsInsightsWarehouseUserId string
    State string
    Possible lifecycle states
    SystemTags map[string]string
    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 Ops Insights OPSI Hub.
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags 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
    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 Ops Insights OPSI Hub.
    operationsInsightsWarehouseId String
    OPSI Warehouse OCID
    operationsInsightsWarehouseUserId String
    state String
    Possible lifecycle states
    systemTags Map<String,String>
    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 Ops Insights OPSI Hub.
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags {[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
    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 Ops Insights OPSI Hub.
    operationsInsightsWarehouseId string
    OPSI Warehouse OCID
    operationsInsightsWarehouseUserId string
    state string
    Possible lifecycle states
    systemTags {[key: string]: string}
    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 Ops Insights OPSI Hub.
    defined_tags Mapping[str, str]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeform_tags 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_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 Ops Insights OPSI Hub.
    operations_insights_warehouse_id str
    OPSI Warehouse OCID
    operations_insights_warehouse_user_id str
    state str
    Possible lifecycle states
    system_tags 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
    compartmentId String
    The OCID of the compartment.
    connectionPassword String
    User provided connection password for the AWR Data, Enterprise Manager Data and Ops Insights OPSI Hub.
    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags 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
    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 Ops Insights OPSI Hub.
    operationsInsightsWarehouseId String
    OPSI Warehouse OCID
    operationsInsightsWarehouseUserId String
    state String
    Possible lifecycle states
    systemTags Map<String>
    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
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi