1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Opsi
  5. OperationsInsightsWarehouseUser
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

oci.Opsi.OperationsInsightsWarehouseUser

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

    This resource provides the Operations Insights Warehouse User resource in Oracle Cloud Infrastructure Opsi service.

    Create a Operations Insights Warehouse user resource for the tenant in Operations Insights. This resource will be created in root compartment.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testOperationsInsightsWarehouseUser = new oci.opsi.OperationsInsightsWarehouseUser("test_operations_insights_warehouse_user", {
        compartmentId: compartmentId,
        connectionPassword: operationsInsightsWarehouseUserConnectionPassword,
        isAwrDataAccess: operationsInsightsWarehouseUserIsAwrDataAccess,
        name: operationsInsightsWarehouseUserName,
        operationsInsightsWarehouseId: testOperationsInsightsWarehouse.id,
        definedTags: {
            "foo-namespace.bar-key": "value",
        },
        freeformTags: {
            "bar-key": "value",
        },
        isEmDataAccess: operationsInsightsWarehouseUserIsEmDataAccess,
        isOpsiDataAccess: operationsInsightsWarehouseUserIsOpsiDataAccess,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_operations_insights_warehouse_user = oci.opsi.OperationsInsightsWarehouseUser("test_operations_insights_warehouse_user",
        compartment_id=compartment_id,
        connection_password=operations_insights_warehouse_user_connection_password,
        is_awr_data_access=operations_insights_warehouse_user_is_awr_data_access,
        name=operations_insights_warehouse_user_name,
        operations_insights_warehouse_id=test_operations_insights_warehouse["id"],
        defined_tags={
            "foo-namespace.bar-key": "value",
        },
        freeform_tags={
            "bar-key": "value",
        },
        is_em_data_access=operations_insights_warehouse_user_is_em_data_access,
        is_opsi_data_access=operations_insights_warehouse_user_is_opsi_data_access)
    
    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.NewOperationsInsightsWarehouseUser(ctx, "test_operations_insights_warehouse_user", &Opsi.OperationsInsightsWarehouseUserArgs{
    			CompartmentId:                 pulumi.Any(compartmentId),
    			ConnectionPassword:            pulumi.Any(operationsInsightsWarehouseUserConnectionPassword),
    			IsAwrDataAccess:               pulumi.Any(operationsInsightsWarehouseUserIsAwrDataAccess),
    			Name:                          pulumi.Any(operationsInsightsWarehouseUserName),
    			OperationsInsightsWarehouseId: pulumi.Any(testOperationsInsightsWarehouse.Id),
    			DefinedTags: pulumi.Map{
    				"foo-namespace.bar-key": pulumi.Any("value"),
    			},
    			FreeformTags: pulumi.Map{
    				"bar-key": pulumi.Any("value"),
    			},
    			IsEmDataAccess:   pulumi.Any(operationsInsightsWarehouseUserIsEmDataAccess),
    			IsOpsiDataAccess: pulumi.Any(operationsInsightsWarehouseUserIsOpsiDataAccess),
    		})
    		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 = new Oci.Opsi.OperationsInsightsWarehouseUser("test_operations_insights_warehouse_user", new()
        {
            CompartmentId = compartmentId,
            ConnectionPassword = operationsInsightsWarehouseUserConnectionPassword,
            IsAwrDataAccess = operationsInsightsWarehouseUserIsAwrDataAccess,
            Name = operationsInsightsWarehouseUserName,
            OperationsInsightsWarehouseId = testOperationsInsightsWarehouse.Id,
            DefinedTags = 
            {
                { "foo-namespace.bar-key", "value" },
            },
            FreeformTags = 
            {
                { "bar-key", "value" },
            },
            IsEmDataAccess = operationsInsightsWarehouseUserIsEmDataAccess,
            IsOpsiDataAccess = operationsInsightsWarehouseUserIsOpsiDataAccess,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Opsi.OperationsInsightsWarehouseUser;
    import com.pulumi.oci.Opsi.OperationsInsightsWarehouseUserArgs;
    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) {
            var testOperationsInsightsWarehouseUser = new OperationsInsightsWarehouseUser("testOperationsInsightsWarehouseUser", OperationsInsightsWarehouseUserArgs.builder()
                .compartmentId(compartmentId)
                .connectionPassword(operationsInsightsWarehouseUserConnectionPassword)
                .isAwrDataAccess(operationsInsightsWarehouseUserIsAwrDataAccess)
                .name(operationsInsightsWarehouseUserName)
                .operationsInsightsWarehouseId(testOperationsInsightsWarehouse.id())
                .definedTags(Map.of("foo-namespace.bar-key", "value"))
                .freeformTags(Map.of("bar-key", "value"))
                .isEmDataAccess(operationsInsightsWarehouseUserIsEmDataAccess)
                .isOpsiDataAccess(operationsInsightsWarehouseUserIsOpsiDataAccess)
                .build());
    
        }
    }
    
    resources:
      testOperationsInsightsWarehouseUser:
        type: oci:Opsi:OperationsInsightsWarehouseUser
        name: test_operations_insights_warehouse_user
        properties:
          compartmentId: ${compartmentId}
          connectionPassword: ${operationsInsightsWarehouseUserConnectionPassword}
          isAwrDataAccess: ${operationsInsightsWarehouseUserIsAwrDataAccess}
          name: ${operationsInsightsWarehouseUserName}
          operationsInsightsWarehouseId: ${testOperationsInsightsWarehouse.id}
          definedTags:
            foo-namespace.bar-key: value
          freeformTags:
            bar-key: value
          isEmDataAccess: ${operationsInsightsWarehouseUserIsEmDataAccess}
          isOpsiDataAccess: ${operationsInsightsWarehouseUserIsOpsiDataAccess}
    

    Create OperationsInsightsWarehouseUser Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new OperationsInsightsWarehouseUser(name: string, args: OperationsInsightsWarehouseUserArgs, opts?: CustomResourceOptions);
    @overload
    def OperationsInsightsWarehouseUser(resource_name: str,
                                        args: OperationsInsightsWarehouseUserArgs,
                                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def OperationsInsightsWarehouseUser(resource_name: str,
                                        opts: Optional[ResourceOptions] = None,
                                        compartment_id: Optional[str] = None,
                                        connection_password: Optional[str] = None,
                                        is_awr_data_access: Optional[bool] = None,
                                        operations_insights_warehouse_id: Optional[str] = None,
                                        defined_tags: Optional[Mapping[str, Any]] = None,
                                        freeform_tags: Optional[Mapping[str, Any]] = None,
                                        is_em_data_access: Optional[bool] = None,
                                        is_opsi_data_access: Optional[bool] = None,
                                        name: Optional[str] = None)
    func NewOperationsInsightsWarehouseUser(ctx *Context, name string, args OperationsInsightsWarehouseUserArgs, opts ...ResourceOption) (*OperationsInsightsWarehouseUser, error)
    public OperationsInsightsWarehouseUser(string name, OperationsInsightsWarehouseUserArgs args, CustomResourceOptions? opts = null)
    public OperationsInsightsWarehouseUser(String name, OperationsInsightsWarehouseUserArgs args)
    public OperationsInsightsWarehouseUser(String name, OperationsInsightsWarehouseUserArgs args, CustomResourceOptions options)
    
    type: oci:Opsi:OperationsInsightsWarehouseUser
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args OperationsInsightsWarehouseUserArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args OperationsInsightsWarehouseUserArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args OperationsInsightsWarehouseUserArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OperationsInsightsWarehouseUserArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OperationsInsightsWarehouseUserArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var operationsInsightsWarehouseUserResource = new Oci.Opsi.OperationsInsightsWarehouseUser("operationsInsightsWarehouseUserResource", new()
    {
        CompartmentId = "string",
        ConnectionPassword = "string",
        IsAwrDataAccess = false,
        OperationsInsightsWarehouseId = "string",
        DefinedTags = 
        {
            { "string", "any" },
        },
        FreeformTags = 
        {
            { "string", "any" },
        },
        IsEmDataAccess = false,
        IsOpsiDataAccess = false,
        Name = "string",
    });
    
    example, err := Opsi.NewOperationsInsightsWarehouseUser(ctx, "operationsInsightsWarehouseUserResource", &Opsi.OperationsInsightsWarehouseUserArgs{
    	CompartmentId:                 pulumi.String("string"),
    	ConnectionPassword:            pulumi.String("string"),
    	IsAwrDataAccess:               pulumi.Bool(false),
    	OperationsInsightsWarehouseId: pulumi.String("string"),
    	DefinedTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	FreeformTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	IsEmDataAccess:   pulumi.Bool(false),
    	IsOpsiDataAccess: pulumi.Bool(false),
    	Name:             pulumi.String("string"),
    })
    
    var operationsInsightsWarehouseUserResource = new OperationsInsightsWarehouseUser("operationsInsightsWarehouseUserResource", OperationsInsightsWarehouseUserArgs.builder()
        .compartmentId("string")
        .connectionPassword("string")
        .isAwrDataAccess(false)
        .operationsInsightsWarehouseId("string")
        .definedTags(Map.of("string", "any"))
        .freeformTags(Map.of("string", "any"))
        .isEmDataAccess(false)
        .isOpsiDataAccess(false)
        .name("string")
        .build());
    
    operations_insights_warehouse_user_resource = oci.opsi.OperationsInsightsWarehouseUser("operationsInsightsWarehouseUserResource",
        compartment_id="string",
        connection_password="string",
        is_awr_data_access=False,
        operations_insights_warehouse_id="string",
        defined_tags={
            "string": "any",
        },
        freeform_tags={
            "string": "any",
        },
        is_em_data_access=False,
        is_opsi_data_access=False,
        name="string")
    
    const operationsInsightsWarehouseUserResource = new oci.opsi.OperationsInsightsWarehouseUser("operationsInsightsWarehouseUserResource", {
        compartmentId: "string",
        connectionPassword: "string",
        isAwrDataAccess: false,
        operationsInsightsWarehouseId: "string",
        definedTags: {
            string: "any",
        },
        freeformTags: {
            string: "any",
        },
        isEmDataAccess: false,
        isOpsiDataAccess: false,
        name: "string",
    });
    
    type: oci:Opsi:OperationsInsightsWarehouseUser
    properties:
        compartmentId: string
        connectionPassword: string
        definedTags:
            string: any
        freeformTags:
            string: any
        isAwrDataAccess: false
        isEmDataAccess: false
        isOpsiDataAccess: false
        name: string
        operationsInsightsWarehouseId: string
    

    OperationsInsightsWarehouseUser Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The OperationsInsightsWarehouseUser resource accepts the following input properties:

    CompartmentId string
    The OCID of the compartment.
    ConnectionPassword string
    (Updatable) User provided connection password for the AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub.
    IsAwrDataAccess bool
    (Updatable) Indicate whether user has access to AWR data.
    OperationsInsightsWarehouseId string

    OPSI Warehouse OCID

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    FreeformTags Dictionary<string, object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    IsEmDataAccess bool
    (Updatable) Indicate whether user has access to EM data.
    IsOpsiDataAccess bool
    (Updatable) Indicate whether user has access to OPSI data.
    Name string
    Username for schema which would have access to AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub.
    CompartmentId string
    The OCID of the compartment.
    ConnectionPassword string
    (Updatable) User provided connection password for the AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub.
    IsAwrDataAccess bool
    (Updatable) Indicate whether user has access to AWR data.
    OperationsInsightsWarehouseId string

    OPSI Warehouse OCID

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    FreeformTags map[string]interface{}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    IsEmDataAccess bool
    (Updatable) Indicate whether user has access to EM data.
    IsOpsiDataAccess bool
    (Updatable) Indicate whether user has access to OPSI data.
    Name string
    Username for schema which would have access to AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub.
    compartmentId String
    The OCID of the compartment.
    connectionPassword String
    (Updatable) User provided connection password for the AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub.
    isAwrDataAccess Boolean
    (Updatable) Indicate whether user has access to AWR data.
    operationsInsightsWarehouseId String

    OPSI Warehouse OCID

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags Map<String,Object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    isEmDataAccess Boolean
    (Updatable) Indicate whether user has access to EM data.
    isOpsiDataAccess Boolean
    (Updatable) Indicate whether user has access to OPSI data.
    name String
    Username for schema which would have access to AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub.
    compartmentId string
    The OCID of the compartment.
    connectionPassword string
    (Updatable) User provided connection password for the AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub.
    isAwrDataAccess boolean
    (Updatable) Indicate whether user has access to AWR data.
    operationsInsightsWarehouseId string

    OPSI Warehouse OCID

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags {[key: string]: any}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    isEmDataAccess boolean
    (Updatable) Indicate whether user has access to EM data.
    isOpsiDataAccess boolean
    (Updatable) Indicate whether user has access to OPSI data.
    name string
    Username for schema which would have access to AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub.
    compartment_id str
    The OCID of the compartment.
    connection_password str
    (Updatable) User provided connection password for the AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub.
    is_awr_data_access bool
    (Updatable) Indicate whether user has access to AWR data.
    operations_insights_warehouse_id str

    OPSI Warehouse OCID

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    defined_tags Mapping[str, Any]
    (Updatable) 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]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    is_em_data_access bool
    (Updatable) Indicate whether user has access to EM data.
    is_opsi_data_access bool
    (Updatable) Indicate whether user has access to OPSI data.
    name str
    Username for schema which would have access to AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub.
    compartmentId String
    The OCID of the compartment.
    connectionPassword String
    (Updatable) User provided connection password for the AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub.
    isAwrDataAccess Boolean
    (Updatable) Indicate whether user has access to AWR data.
    operationsInsightsWarehouseId String

    OPSI Warehouse OCID

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags Map<Any>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    isEmDataAccess Boolean
    (Updatable) Indicate whether user has access to EM data.
    isOpsiDataAccess Boolean
    (Updatable) Indicate whether user has access to OPSI data.
    name String
    Username for schema which would have access to AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the OperationsInsightsWarehouseUser resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    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.
    State string
    Possible 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
    Id string
    The provider-assigned unique ID for this managed resource.
    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.
    State string
    Possible 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
    id String
    The provider-assigned unique ID for this managed resource.
    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.
    state String
    Possible 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
    id string
    The provider-assigned unique ID for this managed resource.
    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.
    state string
    Possible 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
    id str
    The provider-assigned unique ID for this managed resource.
    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.
    state str
    Possible 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
    id String
    The provider-assigned unique ID for this managed resource.
    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.
    state String
    Possible 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

    Look up Existing OperationsInsightsWarehouseUser Resource

    Get an existing OperationsInsightsWarehouseUser resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: OperationsInsightsWarehouseUserState, opts?: CustomResourceOptions): OperationsInsightsWarehouseUser
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            compartment_id: Optional[str] = None,
            connection_password: Optional[str] = None,
            defined_tags: Optional[Mapping[str, Any]] = None,
            freeform_tags: Optional[Mapping[str, Any]] = None,
            is_awr_data_access: Optional[bool] = None,
            is_em_data_access: Optional[bool] = None,
            is_opsi_data_access: Optional[bool] = None,
            lifecycle_details: Optional[str] = None,
            name: Optional[str] = None,
            operations_insights_warehouse_id: Optional[str] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, Any]] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None) -> OperationsInsightsWarehouseUser
    func GetOperationsInsightsWarehouseUser(ctx *Context, name string, id IDInput, state *OperationsInsightsWarehouseUserState, opts ...ResourceOption) (*OperationsInsightsWarehouseUser, error)
    public static OperationsInsightsWarehouseUser Get(string name, Input<string> id, OperationsInsightsWarehouseUserState? state, CustomResourceOptions? opts = null)
    public static OperationsInsightsWarehouseUser get(String name, Output<String> id, OperationsInsightsWarehouseUserState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CompartmentId string
    The OCID of the compartment.
    ConnectionPassword string
    (Updatable) User provided connection password for the AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub.
    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    FreeformTags Dictionary<string, object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    IsAwrDataAccess bool
    (Updatable) Indicate whether user has access to AWR data.
    IsEmDataAccess bool
    (Updatable) Indicate whether user has access to EM data.
    IsOpsiDataAccess bool
    (Updatable) 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

    OPSI Warehouse OCID

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    State string
    Possible 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
    (Updatable) User provided connection password for the AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub.
    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    FreeformTags map[string]interface{}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    IsAwrDataAccess bool
    (Updatable) Indicate whether user has access to AWR data.
    IsEmDataAccess bool
    (Updatable) Indicate whether user has access to EM data.
    IsOpsiDataAccess bool
    (Updatable) 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

    OPSI Warehouse OCID

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    State string
    Possible 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
    (Updatable) User provided connection password for the AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub.
    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags Map<String,Object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    isAwrDataAccess Boolean
    (Updatable) Indicate whether user has access to AWR data.
    isEmDataAccess Boolean
    (Updatable) Indicate whether user has access to EM data.
    isOpsiDataAccess Boolean
    (Updatable) 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

    OPSI Warehouse OCID

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    state String
    Possible 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
    (Updatable) User provided connection password for the AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub.
    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags {[key: string]: any}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    isAwrDataAccess boolean
    (Updatable) Indicate whether user has access to AWR data.
    isEmDataAccess boolean
    (Updatable) Indicate whether user has access to EM data.
    isOpsiDataAccess boolean
    (Updatable) 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

    OPSI Warehouse OCID

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    state string
    Possible 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
    (Updatable) User provided connection password for the AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub.
    defined_tags Mapping[str, Any]
    (Updatable) 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]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    is_awr_data_access bool
    (Updatable) Indicate whether user has access to AWR data.
    is_em_data_access bool
    (Updatable) Indicate whether user has access to EM data.
    is_opsi_data_access bool
    (Updatable) 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

    OPSI Warehouse OCID

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    state str
    Possible 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
    (Updatable) User provided connection password for the AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub.
    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags Map<Any>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    isAwrDataAccess Boolean
    (Updatable) Indicate whether user has access to AWR data.
    isEmDataAccess Boolean
    (Updatable) Indicate whether user has access to EM data.
    isOpsiDataAccess Boolean
    (Updatable) 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

    OPSI Warehouse OCID

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    state String
    Possible 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

    Import

    OperationsInsightsWarehouseUsers can be imported using the id, e.g.

    $ pulumi import oci:Opsi/operationsInsightsWarehouseUser:OperationsInsightsWarehouseUser test_operations_insights_warehouse_user "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    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 v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi