Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi
oci.oci.getResourceAnalyticsResourceAnalyticsInstances
Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi
This data source provides the list of Resource Analytics Instances in Oracle Cloud Infrastructure Resource Analytics service.
Gets a list of ResourceAnalyticsInstances.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testResourceAnalyticsInstances = oci.oci.getResourceAnalyticsResourceAnalyticsInstances({
compartmentId: compartmentId,
displayName: resourceAnalyticsInstanceDisplayName,
id: resourceAnalyticsInstanceId,
state: resourceAnalyticsInstanceState,
});
import pulumi
import pulumi_oci as oci
test_resource_analytics_instances = oci.oci.get_resource_analytics_resource_analytics_instances(compartment_id=compartment_id,
display_name=resource_analytics_instance_display_name,
id=resource_analytics_instance_id,
state=resource_analytics_instance_state)
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.GetResourceAnalyticsResourceAnalyticsInstances(ctx, &oci.GetResourceAnalyticsResourceAnalyticsInstancesArgs{
CompartmentId: pulumi.StringRef(compartmentId),
DisplayName: pulumi.StringRef(resourceAnalyticsInstanceDisplayName),
Id: pulumi.StringRef(resourceAnalyticsInstanceId),
State: pulumi.StringRef(resourceAnalyticsInstanceState),
}, 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 testResourceAnalyticsInstances = Oci.Oci.GetResourceAnalyticsResourceAnalyticsInstances.Invoke(new()
{
CompartmentId = compartmentId,
DisplayName = resourceAnalyticsInstanceDisplayName,
Id = resourceAnalyticsInstanceId,
State = resourceAnalyticsInstanceState,
});
});
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.GetResourceAnalyticsResourceAnalyticsInstancesArgs;
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 testResourceAnalyticsInstances = OciFunctions.getResourceAnalyticsResourceAnalyticsInstances(GetResourceAnalyticsResourceAnalyticsInstancesArgs.builder()
.compartmentId(compartmentId)
.displayName(resourceAnalyticsInstanceDisplayName)
.id(resourceAnalyticsInstanceId)
.state(resourceAnalyticsInstanceState)
.build());
}
}
variables:
testResourceAnalyticsInstances:
fn::invoke:
function: oci:oci:getResourceAnalyticsResourceAnalyticsInstances
arguments:
compartmentId: ${compartmentId}
displayName: ${resourceAnalyticsInstanceDisplayName}
id: ${resourceAnalyticsInstanceId}
state: ${resourceAnalyticsInstanceState}
Using getResourceAnalyticsResourceAnalyticsInstances
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 getResourceAnalyticsResourceAnalyticsInstances(args: GetResourceAnalyticsResourceAnalyticsInstancesArgs, opts?: InvokeOptions): Promise<GetResourceAnalyticsResourceAnalyticsInstancesResult>
function getResourceAnalyticsResourceAnalyticsInstancesOutput(args: GetResourceAnalyticsResourceAnalyticsInstancesOutputArgs, opts?: InvokeOptions): Output<GetResourceAnalyticsResourceAnalyticsInstancesResult>def get_resource_analytics_resource_analytics_instances(compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
filters: Optional[Sequence[GetResourceAnalyticsResourceAnalyticsInstancesFilter]] = None,
id: Optional[str] = None,
state: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetResourceAnalyticsResourceAnalyticsInstancesResult
def get_resource_analytics_resource_analytics_instances_output(compartment_id: Optional[pulumi.Input[str]] = None,
display_name: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetResourceAnalyticsResourceAnalyticsInstancesFilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
state: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetResourceAnalyticsResourceAnalyticsInstancesResult]func GetResourceAnalyticsResourceAnalyticsInstances(ctx *Context, args *GetResourceAnalyticsResourceAnalyticsInstancesArgs, opts ...InvokeOption) (*GetResourceAnalyticsResourceAnalyticsInstancesResult, error)
func GetResourceAnalyticsResourceAnalyticsInstancesOutput(ctx *Context, args *GetResourceAnalyticsResourceAnalyticsInstancesOutputArgs, opts ...InvokeOption) GetResourceAnalyticsResourceAnalyticsInstancesResultOutput> Note: This function is named GetResourceAnalyticsResourceAnalyticsInstances in the Go SDK.
public static class GetResourceAnalyticsResourceAnalyticsInstances
{
public static Task<GetResourceAnalyticsResourceAnalyticsInstancesResult> InvokeAsync(GetResourceAnalyticsResourceAnalyticsInstancesArgs args, InvokeOptions? opts = null)
public static Output<GetResourceAnalyticsResourceAnalyticsInstancesResult> Invoke(GetResourceAnalyticsResourceAnalyticsInstancesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetResourceAnalyticsResourceAnalyticsInstancesResult> getResourceAnalyticsResourceAnalyticsInstances(GetResourceAnalyticsResourceAnalyticsInstancesArgs args, InvokeOptions options)
public static Output<GetResourceAnalyticsResourceAnalyticsInstancesResult> getResourceAnalyticsResourceAnalyticsInstances(GetResourceAnalyticsResourceAnalyticsInstancesArgs args, InvokeOptions options)
fn::invoke:
function: oci:oci/getResourceAnalyticsResourceAnalyticsInstances:getResourceAnalyticsResourceAnalyticsInstances
arguments:
# arguments dictionaryThe following arguments are supported:
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Display
Name string - A filter to return only resources that match the given display name exactly.
- Filters
List<Get
Resource Analytics Resource Analytics Instances Filter> - Id string
- The OCID of the ResourceAnalyticsInstance.
- State string
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Display
Name string - A filter to return only resources that match the given display name exactly.
- Filters
[]Get
Resource Analytics Resource Analytics Instances Filter - Id string
- The OCID of the ResourceAnalyticsInstance.
- State string
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- compartment
Id String - The OCID of the compartment in which to list resources.
- display
Name String - A filter to return only resources that match the given display name exactly.
- filters
List<Get
Resource Analytics Resource Analytics Instances Filter> - id String
- The OCID of the ResourceAnalyticsInstance.
- state String
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- compartment
Id string - The OCID of the compartment in which to list resources.
- display
Name string - A filter to return only resources that match the given display name exactly.
- filters
Get
Resource Analytics Resource Analytics Instances Filter[] - id string
- The OCID of the ResourceAnalyticsInstance.
- state string
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- compartment_
id str - The OCID of the compartment in which to list resources.
- display_
name str - A filter to return only resources that match the given display name exactly.
- filters
Sequence[Get
Resource Analytics Resource Analytics Instances Filter] - id str
- The OCID of the ResourceAnalyticsInstance.
- state str
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- compartment
Id String - The OCID of the compartment in which to list resources.
- display
Name String - A filter to return only resources that match the given display name exactly.
- filters List<Property Map>
- id String
- The OCID of the ResourceAnalyticsInstance.
- state String
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
getResourceAnalyticsResourceAnalyticsInstances Result
The following output properties are available:
- Resource
Analytics List<GetInstance Collections Resource Analytics Resource Analytics Instances Resource Analytics Instance Collection> - The list of resource_analytics_instance_collection.
- Compartment
Id string - The OCID of the compartment.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable.
- Filters
List<Get
Resource Analytics Resource Analytics Instances Filter> - Id string
- The OCID of the ResourceAnalyticsInstance.
- State string
- The current state of the ResourceAnalyticsInstance.
- Resource
Analytics []GetInstance Collections Resource Analytics Resource Analytics Instances Resource Analytics Instance Collection - The list of resource_analytics_instance_collection.
- Compartment
Id string - The OCID of the compartment.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable.
- Filters
[]Get
Resource Analytics Resource Analytics Instances Filter - Id string
- The OCID of the ResourceAnalyticsInstance.
- State string
- The current state of the ResourceAnalyticsInstance.
- resource
Analytics List<GetInstance Collections Resource Analytics Resource Analytics Instances Resource Analytics Instance Collection> - The list of resource_analytics_instance_collection.
- compartment
Id String - The OCID of the compartment.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable.
- filters
List<Get
Resource Analytics Resource Analytics Instances Filter> - id String
- The OCID of the ResourceAnalyticsInstance.
- state String
- The current state of the ResourceAnalyticsInstance.
- resource
Analytics GetInstance Collections Resource Analytics Resource Analytics Instances Resource Analytics Instance Collection[] - The list of resource_analytics_instance_collection.
- compartment
Id string - The OCID of the compartment.
- display
Name string - A user-friendly name. Does not have to be unique, and it's changeable.
- filters
Get
Resource Analytics Resource Analytics Instances Filter[] - id string
- The OCID of the ResourceAnalyticsInstance.
- state string
- The current state of the ResourceAnalyticsInstance.
- resource_
analytics_ Sequence[Getinstance_ collections Resource Analytics Resource Analytics Instances Resource Analytics Instance Collection] - The list of resource_analytics_instance_collection.
- compartment_
id str - The OCID of the compartment.
- display_
name str - A user-friendly name. Does not have to be unique, and it's changeable.
- filters
Sequence[Get
Resource Analytics Resource Analytics Instances Filter] - id str
- The OCID of the ResourceAnalyticsInstance.
- state str
- The current state of the ResourceAnalyticsInstance.
- resource
Analytics List<Property Map>Instance Collections - The list of resource_analytics_instance_collection.
- compartment
Id String - The OCID of the compartment.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable.
- filters List<Property Map>
- id String
- The OCID of the ResourceAnalyticsInstance.
- state String
- The current state of the ResourceAnalyticsInstance.
Supporting Types
GetResourceAnalyticsResourceAnalyticsInstancesFilter
GetResourceAnalyticsResourceAnalyticsInstancesResourceAnalyticsInstanceCollection
GetResourceAnalyticsResourceAnalyticsInstancesResourceAnalyticsInstanceCollectionItem
- Adw
Admin List<GetPasswords Resource Analytics Resource Analytics Instances Resource Analytics Instance Collection Item Adw Admin Password> - Adw
Id string - The OCID of the created ADW instance.
- Compartment
Id string - The OCID of the compartment in which to list resources.
- 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.
- Display
Name string - A filter to return only resources that match the given display name exactly.
- 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.
- Is
Mutual boolTls Required - License
Model string - Lifecycle
Details 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.
- Nsg
Ids List<string> - Oac
Id string - The OCID of the OAC enabled for the ResourceAnalyticsInstance.
- State string
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- Subnet
Id string - 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 date and time the ResourceAnalyticsInstance was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - Time
Updated 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 []GetPasswords Resource Analytics Resource Analytics Instances Resource Analytics Instance Collection Item Adw Admin Password - Adw
Id string - The OCID of the created ADW instance.
- Compartment
Id string - The OCID of the compartment in which to list resources.
- 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.
- Display
Name string - A filter to return only resources that match the given display name exactly.
- 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.
- Is
Mutual boolTls Required - License
Model string - Lifecycle
Details 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.
- Nsg
Ids []string - Oac
Id string - The OCID of the OAC enabled for the ResourceAnalyticsInstance.
- State string
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- Subnet
Id string - 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 date and time the ResourceAnalyticsInstance was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - Time
Updated 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 List<GetPasswords Resource Analytics Resource Analytics Instances Resource Analytics Instance Collection Item Adw Admin Password> - adw
Id String - The OCID of the created ADW instance.
- compartment
Id String - The OCID of the compartment in which to list resources.
- 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.
- display
Name String - A filter to return only resources that match the given display name exactly.
- 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.
- is
Mutual BooleanTls Required - license
Model String - lifecycle
Details 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.
- nsg
Ids List<String> - oac
Id String - The OCID of the OAC enabled for the ResourceAnalyticsInstance.
- state String
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- subnet
Id String - 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 date and time the ResourceAnalyticsInstance was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time
Updated 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 GetPasswords Resource Analytics Resource Analytics Instances Resource Analytics Instance Collection Item Adw Admin Password[] - adw
Id string - The OCID of the created ADW instance.
- compartment
Id string - The OCID of the compartment in which to list resources.
- {[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.
- display
Name string - A filter to return only resources that match the given display name exactly.
- {[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.
- is
Mutual booleanTls Required - license
Model string - lifecycle
Details 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.
- nsg
Ids string[] - oac
Id string - The OCID of the OAC enabled for the ResourceAnalyticsInstance.
- state string
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- subnet
Id string - {[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 date and time the ResourceAnalyticsInstance was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time
Updated 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_ Sequence[Getpasswords Resource Analytics Resource Analytics Instances Resource Analytics Instance Collection Item Adw Admin Password] - adw_
id str - The OCID of the created ADW instance.
- compartment_
id str - The OCID of the compartment in which to list resources.
- 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 filter to return only resources that match the given display name exactly.
- 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_ booltls_ required - 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.
- state str
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- subnet_
id str - 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
- adw
Admin List<Property Map>Passwords - adw
Id String - The OCID of the created ADW instance.
- compartment
Id String - The OCID of the compartment in which to list resources.
- 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.
- display
Name String - A filter to return only resources that match the given display name exactly.
- 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.
- is
Mutual BooleanTls Required - license
Model String - lifecycle
Details 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.
- nsg
Ids List<String> - oac
Id String - The OCID of the OAC enabled for the ResourceAnalyticsInstance.
- state String
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- subnet
Id String - 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 date and time the ResourceAnalyticsInstance was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time
Updated String - The date and time the ResourceAnalyticsInstance was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
GetResourceAnalyticsResourceAnalyticsInstancesResourceAnalyticsInstanceCollectionItemAdwAdminPassword
- Password string
- Password
Type string - Secret
Id string
- Password string
- Password
Type string - Secret
Id string
- password String
- password
Type String - secret
Id String
- password string
- password
Type string - secret
Id string
- password str
- password_
type str - secret_
id str
- password String
- password
Type String - secret
Id String
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi
