Viewing docs for Oracle Cloud Infrastructure v4.21.0
published on Monday, Aug 24, 2026 by Pulumi
published on Monday, Aug 24, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v4.21.0
published on Monday, Aug 24, 2026 by Pulumi
published on Monday, Aug 24, 2026 by Pulumi
This data source provides the list of Analytics Instance Resource Groups in Oracle Cloud Infrastructure Analytics service.
List resource groups associated with an instance.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testAnalyticsInstanceResourceGroups = oci.analytics.getAnalyticsInstanceResourceGroups({
analyticsInstanceId: testAnalyticsInstance.id,
name: analyticsInstanceResourceGroupName,
});
import pulumi
import pulumi_oci as oci
test_analytics_instance_resource_groups = oci.analytics.get_analytics_instance_resource_groups(analytics_instance_id=test_analytics_instance["id"],
name=analytics_instance_resource_group_name)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/analytics"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := analytics.GetAnalyticsInstanceResourceGroups(ctx, &analytics.GetAnalyticsInstanceResourceGroupsArgs{
AnalyticsInstanceId: testAnalyticsInstance.Id,
Name: pulumi.StringRef(analyticsInstanceResourceGroupName),
}, 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 testAnalyticsInstanceResourceGroups = Oci.Analytics.GetAnalyticsInstanceResourceGroups.Invoke(new()
{
AnalyticsInstanceId = testAnalyticsInstance.Id,
Name = analyticsInstanceResourceGroupName,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Analytics.AnalyticsFunctions;
import com.pulumi.oci.Analytics.inputs.GetAnalyticsInstanceResourceGroupsArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 testAnalyticsInstanceResourceGroups = AnalyticsFunctions.getAnalyticsInstanceResourceGroups(GetAnalyticsInstanceResourceGroupsArgs.builder()
.analyticsInstanceId(testAnalyticsInstance.id())
.name(analyticsInstanceResourceGroupName)
.build());
}
}
variables:
testAnalyticsInstanceResourceGroups:
fn::invoke:
function: oci:Analytics:getAnalyticsInstanceResourceGroups
arguments:
analyticsInstanceId: ${testAnalyticsInstance.id}
name: ${analyticsInstanceResourceGroupName}
pulumi {
required_providers {
oci = {
source = "pulumi/oci"
}
}
}
data "oci_analytics_getanalyticsinstanceresourcegroups" "testAnalyticsInstanceResourceGroups" {
analytics_instance_id = testAnalyticsInstance.id
name = analyticsInstanceResourceGroupName
}
Using getAnalyticsInstanceResourceGroups
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 getAnalyticsInstanceResourceGroups(args: GetAnalyticsInstanceResourceGroupsArgs, opts?: InvokeOptions): Promise<GetAnalyticsInstanceResourceGroupsResult>
function getAnalyticsInstanceResourceGroupsOutput(args: GetAnalyticsInstanceResourceGroupsOutputArgs, opts?: InvokeOutputOptions): Output<GetAnalyticsInstanceResourceGroupsResult>def get_analytics_instance_resource_groups(analytics_instance_id: Optional[str] = None,
filters: Optional[Sequence[GetAnalyticsInstanceResourceGroupsFilter]] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAnalyticsInstanceResourceGroupsResult
def get_analytics_instance_resource_groups_output(analytics_instance_id: pulumi.Input[Optional[str]] = None,
filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetAnalyticsInstanceResourceGroupsFilterArgs]]]] = None,
name: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetAnalyticsInstanceResourceGroupsResult]func GetAnalyticsInstanceResourceGroups(ctx *Context, args *GetAnalyticsInstanceResourceGroupsArgs, opts ...InvokeOption) (*GetAnalyticsInstanceResourceGroupsResult, error)
func GetAnalyticsInstanceResourceGroupsOutput(ctx *Context, args *GetAnalyticsInstanceResourceGroupsOutputArgs, opts ...InvokeOption) GetAnalyticsInstanceResourceGroupsResultOutput> Note: This function is named GetAnalyticsInstanceResourceGroups in the Go SDK.
public static class GetAnalyticsInstanceResourceGroups
{
public static Task<GetAnalyticsInstanceResourceGroupsResult> InvokeAsync(GetAnalyticsInstanceResourceGroupsArgs args, InvokeOptions? opts = null)
public static Output<GetAnalyticsInstanceResourceGroupsResult> Invoke(GetAnalyticsInstanceResourceGroupsInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetAnalyticsInstanceResourceGroupsResult> Invoke(GetAnalyticsInstanceResourceGroupsInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetAnalyticsInstanceResourceGroupsResult> getAnalyticsInstanceResourceGroups(GetAnalyticsInstanceResourceGroupsArgs args, InvokeOptions options)
public static Output<GetAnalyticsInstanceResourceGroupsResult> getAnalyticsInstanceResourceGroups(GetAnalyticsInstanceResourceGroupsArgs args, InvokeOptions options)
public static Output<GetAnalyticsInstanceResourceGroupsResult> getAnalyticsInstanceResourceGroups(GetAnalyticsInstanceResourceGroupsArgs args, InvokeOutputOptions options)
fn::invoke:
function: oci:Analytics/getAnalyticsInstanceResourceGroups:getAnalyticsInstanceResourceGroups
arguments:
# arguments dictionarydata "oci_analytics_get_analytics_instance_resource_groups" "name" {
# arguments
}The following arguments are supported:
- Analytics
Instance stringId - The OCID of the Analytics instance.
- Filters
List<Get
Analytics Instance Resource Groups Filter> - Name string
- A filter to return only resources that match the given name exactly.
- Analytics
Instance stringId - The OCID of the Analytics instance.
- Filters
[]Get
Analytics Instance Resource Groups Filter - Name string
- A filter to return only resources that match the given name exactly.
- analytics_
instance_ stringid - The OCID of the Analytics instance.
- filters list(object)
- name string
- A filter to return only resources that match the given name exactly.
- analytics
Instance StringId - The OCID of the Analytics instance.
- filters
List<Get
Instance Resource Groups Filter> - name String
- A filter to return only resources that match the given name exactly.
- analytics
Instance stringId - The OCID of the Analytics instance.
- filters
Get
Analytics Instance Resource Groups Filter[] - name string
- A filter to return only resources that match the given name exactly.
- analytics_
instance_ strid - The OCID of the Analytics instance.
- filters
Sequence[Get
Analytics Instance Resource Groups Filter] - name str
- A filter to return only resources that match the given name exactly.
- analytics
Instance StringId - The OCID of the Analytics instance.
- filters List<Property Map>
- name String
- A filter to return only resources that match the given name exactly.
getAnalyticsInstanceResourceGroups Result
The following output properties are available:
- Analytics
Instance stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Resource List<GetGroups Analytics Instance Resource Groups Instance Resource Group> - The list of instance_resource_groups.
- Filters
List<Get
Analytics Instance Resource Groups Filter> - Name string
- Analytics
Instance stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Resource []GetGroups Analytics Instance Resource Groups Instance Resource Group - The list of instance_resource_groups.
- Filters
[]Get
Analytics Instance Resource Groups Filter - Name string
- analytics_
instance_ stringid - id string
- The provider-assigned unique ID for this managed resource.
- instance_
resource_ list(object)groups - The list of instance_resource_groups.
- filters list(object)
- name string
- analytics
Instance StringId - id String
- The provider-assigned unique ID for this managed resource.
- instance
Resource List<GetGroups Instance Resource Groups Instance Resource Group> - The list of instance_resource_groups.
- filters
List<Get
Instance Resource Groups Filter> - name String
- analytics
Instance stringId - id string
- The provider-assigned unique ID for this managed resource.
- instance
Resource GetGroups Analytics Instance Resource Groups Instance Resource Group[] - The list of instance_resource_groups.
- filters
Get
Analytics Instance Resource Groups Filter[] - name string
- analytics_
instance_ strid - id str
- The provider-assigned unique ID for this managed resource.
- instance_
resource_ Sequence[Getgroups Analytics Instance Resource Groups Instance Resource Group] - The list of instance_resource_groups.
- filters
Sequence[Get
Analytics Instance Resource Groups Filter] - name str
- analytics
Instance StringId - id String
- The provider-assigned unique ID for this managed resource.
- instance
Resource List<Property Map>Groups - The list of instance_resource_groups.
- filters List<Property Map>
- name String
Supporting Types
GetAnalyticsInstanceResourceGroupsFilter
GetAnalyticsInstanceResourceGroupsInstanceResourceGroup
- Analytics
Instance stringId - The OCID of the Analytics instance.
- Capacity int
- The capacity (in OCPU's) to be allocated for this resource.
- Description string
- Optional description of the resource group
- Display
Name string - Meaningful name of resource group for end user
- Id string
- Unique identifier and name of resource group. Must be unique within the instance
- Resource
Name string - Meaningful name of resource group for end user
- Analytics
Instance stringId - The OCID of the Analytics instance.
- Capacity int
- The capacity (in OCPU's) to be allocated for this resource.
- Description string
- Optional description of the resource group
- Display
Name string - Meaningful name of resource group for end user
- Id string
- Unique identifier and name of resource group. Must be unique within the instance
- Resource
Name string - Meaningful name of resource group for end user
- analytics_
instance_ stringid - The OCID of the Analytics instance.
- capacity number
- The capacity (in OCPU's) to be allocated for this resource.
- description string
- Optional description of the resource group
- display_
name string - Meaningful name of resource group for end user
- id string
- Unique identifier and name of resource group. Must be unique within the instance
- resource_
name string - Meaningful name of resource group for end user
- analytics
Instance StringId - The OCID of the Analytics instance.
- capacity Integer
- The capacity (in OCPU's) to be allocated for this resource.
- description String
- Optional description of the resource group
- display
Name String - Meaningful name of resource group for end user
- id String
- Unique identifier and name of resource group. Must be unique within the instance
- resource
Name String - Meaningful name of resource group for end user
- analytics
Instance stringId - The OCID of the Analytics instance.
- capacity number
- The capacity (in OCPU's) to be allocated for this resource.
- description string
- Optional description of the resource group
- display
Name string - Meaningful name of resource group for end user
- id string
- Unique identifier and name of resource group. Must be unique within the instance
- resource
Name string - Meaningful name of resource group for end user
- analytics_
instance_ strid - The OCID of the Analytics instance.
- capacity int
- The capacity (in OCPU's) to be allocated for this resource.
- description str
- Optional description of the resource group
- display_
name str - Meaningful name of resource group for end user
- id str
- Unique identifier and name of resource group. Must be unique within the instance
- resource_
name str - Meaningful name of resource group for end user
- analytics
Instance StringId - The OCID of the Analytics instance.
- capacity Number
- The capacity (in OCPU's) to be allocated for this resource.
- description String
- Optional description of the resource group
- display
Name String - Meaningful name of resource group for end user
- id String
- Unique identifier and name of resource group. Must be unique within the instance
- resource
Name String - Meaningful name of resource group for end user
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Viewing docs for Oracle Cloud Infrastructure v4.21.0
published on Monday, Aug 24, 2026 by Pulumi
published on Monday, Aug 24, 2026 by Pulumi