Oracle Cloud Infrastructure

Pulumi Official
Package maintained by Pulumi
v0.1.1 published on Tuesday, May 3, 2022 by Pulumi

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 Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testAnalyticsCluster = Output.Create(Oci.Mysql.GetAnalyticsCluster.InvokeAsync(new Oci.Mysql.GetAnalyticsClusterArgs
        {
            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
	})
}

Coming soon!

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,
});

Coming soon!

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
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.