oci logo
Oracle Cloud Infrastructure v0.13.0, Mar 28 23

oci.Mysql.getAnalyticsCluster

This data source provides details about a specific Analytics Cluster resource in Oracle Cloud Infrastructure MySQL Database service.

DEPRECATED – please use HeatWave API instead. Gets information about the Analytics Cluster.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testAnalyticsCluster = Oci.Mysql.GetAnalyticsCluster.Invoke(new()
    {
        DbSystemId = oci_database_db_system.Test_db_system.Id,
    });

});
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/Mysql"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Mysql.GetAnalyticsCluster(ctx, &mysql.GetAnalyticsClusterArgs{
			DbSystemId: oci_database_db_system.Test_db_system.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Mysql.MysqlFunctions;
import com.pulumi.oci.Mysql.inputs.GetAnalyticsClusterArgs;
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 testAnalyticsCluster = MysqlFunctions.getAnalyticsCluster(GetAnalyticsClusterArgs.builder()
            .dbSystemId(oci_database_db_system.test_db_system().id())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_analytics_cluster = oci.Mysql.get_analytics_cluster(db_system_id=oci_database_db_system["test_db_system"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testAnalyticsCluster = oci.Mysql.getAnalyticsCluster({
    dbSystemId: oci_database_db_system.test_db_system.id,
});
variables:
  testAnalyticsCluster:
    fn::invoke:
      Function: oci:Mysql:getAnalyticsCluster
      Arguments:
        dbSystemId: ${oci_database_db_system.test_db_system.id}

Using getAnalyticsCluster

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 getAnalyticsCluster(args: GetAnalyticsClusterArgs, opts?: InvokeOptions): Promise<GetAnalyticsClusterResult>
function getAnalyticsClusterOutput(args: GetAnalyticsClusterOutputArgs, opts?: InvokeOptions): Output<GetAnalyticsClusterResult>
def get_analytics_cluster(db_system_id: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetAnalyticsClusterResult
def get_analytics_cluster_output(db_system_id: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetAnalyticsClusterResult]
func GetAnalyticsCluster(ctx *Context, args *GetAnalyticsClusterArgs, opts ...InvokeOption) (*GetAnalyticsClusterResult, error)
func GetAnalyticsClusterOutput(ctx *Context, args *GetAnalyticsClusterOutputArgs, opts ...InvokeOption) GetAnalyticsClusterResultOutput

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

public static class GetAnalyticsCluster 
{
    public static Task<GetAnalyticsClusterResult> InvokeAsync(GetAnalyticsClusterArgs args, InvokeOptions? opts = null)
    public static Output<GetAnalyticsClusterResult> Invoke(GetAnalyticsClusterInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAnalyticsClusterResult> getAnalyticsCluster(GetAnalyticsClusterArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: oci:Mysql/getAnalyticsCluster:getAnalyticsCluster
  arguments:
    # arguments dictionary

The following arguments are supported:

DbSystemId string

The DB System OCID.

DbSystemId string

The DB System OCID.

dbSystemId String

The DB System OCID.

dbSystemId string

The DB System OCID.

db_system_id str

The DB System OCID.

dbSystemId String

The DB System OCID.

getAnalyticsCluster Result

The following output properties are available:

ClusterNodes List<GetAnalyticsClusterClusterNode>

An Analytics Cluster Node is a compute host that is part of an Analytics Cluster.

ClusterSize int

The number of analytics-processing compute instances, of the specified shape, in the Analytics Cluster.

DbSystemId string

The OCID of the parent DB System this Analytics Cluster is attached to.

Id string
LifecycleDetails string

Additional information about the current lifecycleState.

ShapeName string

The shape determines resources to allocate to the Analytics Cluster nodes - CPU cores, memory.

State string

The current state of the Analytics Cluster.

TimeCreated string

The date and time the Analytics Cluster was created, as described by RFC 3339.

TimeUpdated string

The time the Analytics Cluster was last updated, as described by RFC 3339.

ClusterNodes []GetAnalyticsClusterClusterNode

An Analytics Cluster Node is a compute host that is part of an Analytics Cluster.

ClusterSize int

The number of analytics-processing compute instances, of the specified shape, in the Analytics Cluster.

DbSystemId string

The OCID of the parent DB System this Analytics Cluster is attached to.

Id string
LifecycleDetails string

Additional information about the current lifecycleState.

ShapeName string

The shape determines resources to allocate to the Analytics Cluster nodes - CPU cores, memory.

State string

The current state of the Analytics Cluster.

TimeCreated string

The date and time the Analytics Cluster was created, as described by RFC 3339.

TimeUpdated string

The time the Analytics Cluster was last updated, as described by RFC 3339.

clusterNodes List<GetAnalyticsClusterClusterNode>

An Analytics Cluster Node is a compute host that is part of an Analytics Cluster.

clusterSize Integer

The number of analytics-processing compute instances, of the specified shape, in the Analytics Cluster.

dbSystemId String

The OCID of the parent DB System this Analytics Cluster is attached to.

id String
lifecycleDetails String

Additional information about the current lifecycleState.

shapeName String

The shape determines resources to allocate to the Analytics Cluster nodes - CPU cores, memory.

state String

The current state of the Analytics Cluster.

timeCreated String

The date and time the Analytics Cluster was created, as described by RFC 3339.

timeUpdated String

The time the Analytics Cluster was last updated, as described by RFC 3339.

clusterNodes GetAnalyticsClusterClusterNode[]

An Analytics Cluster Node is a compute host that is part of an Analytics Cluster.

clusterSize number

The number of analytics-processing compute instances, of the specified shape, in the Analytics Cluster.

dbSystemId string

The OCID of the parent DB System this Analytics Cluster is attached to.

id string
lifecycleDetails string

Additional information about the current lifecycleState.

shapeName string

The shape determines resources to allocate to the Analytics Cluster nodes - CPU cores, memory.

state string

The current state of the Analytics Cluster.

timeCreated string

The date and time the Analytics Cluster was created, as described by RFC 3339.

timeUpdated string

The time the Analytics Cluster was last updated, as described by RFC 3339.

cluster_nodes GetAnalyticsClusterClusterNode]

An Analytics Cluster Node is a compute host that is part of an Analytics Cluster.

cluster_size int

The number of analytics-processing compute instances, of the specified shape, in the Analytics Cluster.

db_system_id str

The OCID of the parent DB System this Analytics Cluster is attached to.

id str
lifecycle_details str

Additional information about the current lifecycleState.

shape_name str

The shape determines resources to allocate to the Analytics Cluster nodes - CPU cores, memory.

state str

The current state of the Analytics Cluster.

time_created str

The date and time the Analytics Cluster was created, as described by RFC 3339.

time_updated str

The time the Analytics Cluster was last updated, as described by RFC 3339.

clusterNodes List<Property Map>

An Analytics Cluster Node is a compute host that is part of an Analytics Cluster.

clusterSize Number

The number of analytics-processing compute instances, of the specified shape, in the Analytics Cluster.

dbSystemId String

The OCID of the parent DB System this Analytics Cluster is attached to.

id String
lifecycleDetails String

Additional information about the current lifecycleState.

shapeName String

The shape determines resources to allocate to the Analytics Cluster nodes - CPU cores, memory.

state String

The current state of the Analytics Cluster.

timeCreated String

The date and time the Analytics Cluster was created, as described by RFC 3339.

timeUpdated String

The time the Analytics Cluster was last updated, as described by RFC 3339.

Supporting Types

GetAnalyticsClusterClusterNode

NodeId string

The ID of the node within MySQL Analytics Cluster.

State string

The current state of the Analytics Cluster.

TimeCreated string

The date and time the Analytics Cluster was created, as described by RFC 3339.

TimeUpdated string

The time the Analytics Cluster was last updated, as described by RFC 3339.

NodeId string

The ID of the node within MySQL Analytics Cluster.

State string

The current state of the Analytics Cluster.

TimeCreated string

The date and time the Analytics Cluster was created, as described by RFC 3339.

TimeUpdated string

The time the Analytics Cluster was last updated, as described by RFC 3339.

nodeId String

The ID of the node within MySQL Analytics Cluster.

state String

The current state of the Analytics Cluster.

timeCreated String

The date and time the Analytics Cluster was created, as described by RFC 3339.

timeUpdated String

The time the Analytics Cluster was last updated, as described by RFC 3339.

nodeId string

The ID of the node within MySQL Analytics Cluster.

state string

The current state of the Analytics Cluster.

timeCreated string

The date and time the Analytics Cluster was created, as described by RFC 3339.

timeUpdated string

The time the Analytics Cluster was last updated, as described by RFC 3339.

node_id str

The ID of the node within MySQL Analytics Cluster.

state str

The current state of the Analytics Cluster.

time_created str

The date and time the Analytics Cluster was created, as described by RFC 3339.

time_updated str

The time the Analytics Cluster was last updated, as described by RFC 3339.

nodeId String

The ID of the node within MySQL Analytics Cluster.

state String

The current state of the Analytics Cluster.

timeCreated String

The date and time the Analytics Cluster was created, as described by RFC 3339.

timeUpdated String

The time the Analytics Cluster was last updated, as described by RFC 3339.

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.