1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. oci
  5. getResourceAnalyticsResourceAnalyticsInstance
Oracle Cloud Infrastructure v3.11.1 published on Friday, Nov 14, 2025 by Pulumi
oci logo
Oracle Cloud Infrastructure v3.11.1 published on Friday, Nov 14, 2025 by Pulumi

    This data source provides details about a specific Resource Analytics Instance resource in Oracle Cloud Infrastructure Resource Analytics service.

    Gets information about a ResourceAnalyticsInstance.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testResourceAnalyticsInstance = oci.oci.getResourceAnalyticsResourceAnalyticsInstance({
        resourceAnalyticsInstanceId: testResourceAnalyticsInstanceOciResourceAnalyticsResourceAnalyticsInstance.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_resource_analytics_instance = oci.oci.get_resource_analytics_resource_analytics_instance(resource_analytics_instance_id=test_resource_analytics_instance_oci_resource_analytics_resource_analytics_instance["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/oci"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := oci.LookupResourceAnalyticsResourceAnalyticsInstance(ctx, &oci.LookupResourceAnalyticsResourceAnalyticsInstanceArgs{
    			ResourceAnalyticsInstanceId: testResourceAnalyticsInstanceOciResourceAnalyticsResourceAnalyticsInstance.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 testResourceAnalyticsInstance = Oci.Oci.GetResourceAnalyticsResourceAnalyticsInstance.Invoke(new()
        {
            ResourceAnalyticsInstanceId = testResourceAnalyticsInstanceOciResourceAnalyticsResourceAnalyticsInstance.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.oci.OciFunctions;
    import com.pulumi.oci.oci.inputs.GetResourceAnalyticsResourceAnalyticsInstanceArgs;
    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 testResourceAnalyticsInstance = OciFunctions.getResourceAnalyticsResourceAnalyticsInstance(GetResourceAnalyticsResourceAnalyticsInstanceArgs.builder()
                .resourceAnalyticsInstanceId(testResourceAnalyticsInstanceOciResourceAnalyticsResourceAnalyticsInstance.id())
                .build());
    
        }
    }
    
    variables:
      testResourceAnalyticsInstance:
        fn::invoke:
          function: oci:oci:getResourceAnalyticsResourceAnalyticsInstance
          arguments:
            resourceAnalyticsInstanceId: ${testResourceAnalyticsInstanceOciResourceAnalyticsResourceAnalyticsInstance.id}
    

    Using getResourceAnalyticsResourceAnalyticsInstance

    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 getResourceAnalyticsResourceAnalyticsInstance(args: GetResourceAnalyticsResourceAnalyticsInstanceArgs, opts?: InvokeOptions): Promise<GetResourceAnalyticsResourceAnalyticsInstanceResult>
    function getResourceAnalyticsResourceAnalyticsInstanceOutput(args: GetResourceAnalyticsResourceAnalyticsInstanceOutputArgs, opts?: InvokeOptions): Output<GetResourceAnalyticsResourceAnalyticsInstanceResult>
    def get_resource_analytics_resource_analytics_instance(resource_analytics_instance_id: Optional[str] = None,
                                                           opts: Optional[InvokeOptions] = None) -> GetResourceAnalyticsResourceAnalyticsInstanceResult
    def get_resource_analytics_resource_analytics_instance_output(resource_analytics_instance_id: Optional[pulumi.Input[str]] = None,
                                                           opts: Optional[InvokeOptions] = None) -> Output[GetResourceAnalyticsResourceAnalyticsInstanceResult]
    func LookupResourceAnalyticsResourceAnalyticsInstance(ctx *Context, args *LookupResourceAnalyticsResourceAnalyticsInstanceArgs, opts ...InvokeOption) (*LookupResourceAnalyticsResourceAnalyticsInstanceResult, error)
    func LookupResourceAnalyticsResourceAnalyticsInstanceOutput(ctx *Context, args *LookupResourceAnalyticsResourceAnalyticsInstanceOutputArgs, opts ...InvokeOption) LookupResourceAnalyticsResourceAnalyticsInstanceResultOutput

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

    public static class GetResourceAnalyticsResourceAnalyticsInstance 
    {
        public static Task<GetResourceAnalyticsResourceAnalyticsInstanceResult> InvokeAsync(GetResourceAnalyticsResourceAnalyticsInstanceArgs args, InvokeOptions? opts = null)
        public static Output<GetResourceAnalyticsResourceAnalyticsInstanceResult> Invoke(GetResourceAnalyticsResourceAnalyticsInstanceInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetResourceAnalyticsResourceAnalyticsInstanceResult> getResourceAnalyticsResourceAnalyticsInstance(GetResourceAnalyticsResourceAnalyticsInstanceArgs args, InvokeOptions options)
    public static Output<GetResourceAnalyticsResourceAnalyticsInstanceResult> getResourceAnalyticsResourceAnalyticsInstance(GetResourceAnalyticsResourceAnalyticsInstanceArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:oci/getResourceAnalyticsResourceAnalyticsInstance:getResourceAnalyticsResourceAnalyticsInstance
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ResourceAnalyticsInstanceId string
    The OCID of the ResourceAnalyticsInstance.
    ResourceAnalyticsInstanceId string
    The OCID of the ResourceAnalyticsInstance.
    resourceAnalyticsInstanceId String
    The OCID of the ResourceAnalyticsInstance.
    resourceAnalyticsInstanceId string
    The OCID of the ResourceAnalyticsInstance.
    resource_analytics_instance_id str
    The OCID of the ResourceAnalyticsInstance.
    resourceAnalyticsInstanceId String
    The OCID of the ResourceAnalyticsInstance.

    getResourceAnalyticsResourceAnalyticsInstance Result

    The following output properties are available:

    AdwAdminPasswords List<GetResourceAnalyticsResourceAnalyticsInstanceAdwAdminPassword>
    AdwId string
    The OCID of the created ADW instance.
    CompartmentId string
    The OCID of the compartment.
    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    A description of the ResourceAnalyticsInstance instance.
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable.
    FreeformTags Dictionary<string, string>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    Id string
    The OCID of the ResourceAnalyticsInstance.
    IsMutualTlsRequired bool
    LicenseModel string
    LifecycleDetails string
    A message that describes the current state of the ResourceAnalyticsInstance in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    NsgIds List<string>
    OacId string
    The OCID of the OAC enabled for the ResourceAnalyticsInstance.
    ResourceAnalyticsInstanceId string
    State string
    The current state of the ResourceAnalyticsInstance.
    SubnetId string
    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 date and time the ResourceAnalyticsInstance was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time the ResourceAnalyticsInstance was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    AdwAdminPasswords []GetResourceAnalyticsResourceAnalyticsInstanceAdwAdminPassword
    AdwId string
    The OCID of the created ADW instance.
    CompartmentId string
    The OCID of the compartment.
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    A description of the ResourceAnalyticsInstance instance.
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable.
    FreeformTags map[string]string
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    Id string
    The OCID of the ResourceAnalyticsInstance.
    IsMutualTlsRequired bool
    LicenseModel string
    LifecycleDetails string
    A message that describes the current state of the ResourceAnalyticsInstance in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    NsgIds []string
    OacId string
    The OCID of the OAC enabled for the ResourceAnalyticsInstance.
    ResourceAnalyticsInstanceId string
    State string
    The current state of the ResourceAnalyticsInstance.
    SubnetId string
    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 date and time the ResourceAnalyticsInstance was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time the ResourceAnalyticsInstance was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    adwAdminPasswords List<GetResourceAnalyticsResourceAnalyticsInstanceAdwAdminPassword>
    adwId String
    The OCID of the created ADW instance.
    compartmentId String
    The OCID of the compartment.
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    A description of the ResourceAnalyticsInstance instance.
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable.
    freeformTags Map<String,String>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id String
    The OCID of the ResourceAnalyticsInstance.
    isMutualTlsRequired Boolean
    licenseModel String
    lifecycleDetails String
    A message that describes the current state of the ResourceAnalyticsInstance in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    nsgIds List<String>
    oacId String
    The OCID of the OAC enabled for the ResourceAnalyticsInstance.
    resourceAnalyticsInstanceId String
    state String
    The current state of the ResourceAnalyticsInstance.
    subnetId String
    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 date and time the ResourceAnalyticsInstance was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time the ResourceAnalyticsInstance was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    adwAdminPasswords GetResourceAnalyticsResourceAnalyticsInstanceAdwAdminPassword[]
    adwId string
    The OCID of the created ADW instance.
    compartmentId string
    The OCID of the compartment.
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description string
    A description of the ResourceAnalyticsInstance instance.
    displayName string
    A user-friendly name. Does not have to be unique, and it's changeable.
    freeformTags {[key: string]: string}
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id string
    The OCID of the ResourceAnalyticsInstance.
    isMutualTlsRequired boolean
    licenseModel string
    lifecycleDetails string
    A message that describes the current state of the ResourceAnalyticsInstance in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    nsgIds string[]
    oacId string
    The OCID of the OAC enabled for the ResourceAnalyticsInstance.
    resourceAnalyticsInstanceId string
    state string
    The current state of the ResourceAnalyticsInstance.
    subnetId string
    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 date and time the ResourceAnalyticsInstance was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated string
    The date and time the ResourceAnalyticsInstance was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    adw_admin_passwords Sequence[GetResourceAnalyticsResourceAnalyticsInstanceAdwAdminPassword]
    adw_id str
    The OCID of the created ADW instance.
    compartment_id str
    The OCID of the compartment.
    defined_tags Mapping[str, str]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description str
    A description of the ResourceAnalyticsInstance instance.
    display_name str
    A user-friendly name. Does not have to be unique, and it's changeable.
    freeform_tags Mapping[str, str]
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id str
    The OCID of the ResourceAnalyticsInstance.
    is_mutual_tls_required bool
    license_model str
    lifecycle_details str
    A message that describes the current state of the ResourceAnalyticsInstance in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    nsg_ids Sequence[str]
    oac_id str
    The OCID of the OAC enabled for the ResourceAnalyticsInstance.
    resource_analytics_instance_id str
    state str
    The current state of the ResourceAnalyticsInstance.
    subnet_id str
    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 date and time the ResourceAnalyticsInstance was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    time_updated str
    The date and time the ResourceAnalyticsInstance was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    adwAdminPasswords List<Property Map>
    adwId String
    The OCID of the created ADW instance.
    compartmentId String
    The OCID of the compartment.
    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    A description of the ResourceAnalyticsInstance instance.
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable.
    freeformTags Map<String>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id String
    The OCID of the ResourceAnalyticsInstance.
    isMutualTlsRequired Boolean
    licenseModel String
    lifecycleDetails String
    A message that describes the current state of the ResourceAnalyticsInstance in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    nsgIds List<String>
    oacId String
    The OCID of the OAC enabled for the ResourceAnalyticsInstance.
    resourceAnalyticsInstanceId String
    state String
    The current state of the ResourceAnalyticsInstance.
    subnetId String
    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 date and time the ResourceAnalyticsInstance was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time the ResourceAnalyticsInstance was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z

    Supporting Types

    GetResourceAnalyticsResourceAnalyticsInstanceAdwAdminPassword

    Password string
    PasswordType string
    SecretId string
    Password string
    PasswordType string
    SecretId string
    password String
    passwordType String
    secretId String
    password string
    passwordType string
    secretId string
    password String
    passwordType String
    secretId 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 v3.11.1 published on Friday, Nov 14, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate