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:
- Db
System stringId The DB System OCID.
- Db
System stringId The DB System OCID.
- db
System StringId The DB System OCID.
- db
System stringId The DB System OCID.
- db_
system_ strid The DB System OCID.
- db
System StringId The DB System OCID.
getAnalyticsCluster Result
The following output properties are available:
- Cluster
Nodes List<GetAnalytics Cluster Cluster Node> 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 stringId The OCID of the parent DB System this Analytics Cluster is attached to.
- Id string
- Lifecycle
Details string Additional information about the current lifecycleState.
- Shape
Name string The shape determines resources to allocate to the Analytics Cluster nodes - CPU cores, memory.
- State string
The current state of the Analytics Cluster.
- Time
Created string The date and time the Analytics Cluster was created, as described by RFC 3339.
- Time
Updated string The time the Analytics Cluster was last updated, as described by RFC 3339.
- Cluster
Nodes []GetAnalytics Cluster Cluster Node 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 stringId The OCID of the parent DB System this Analytics Cluster is attached to.
- Id string
- Lifecycle
Details string Additional information about the current lifecycleState.
- Shape
Name string The shape determines resources to allocate to the Analytics Cluster nodes - CPU cores, memory.
- State string
The current state of the Analytics Cluster.
- Time
Created string The date and time the Analytics Cluster was created, as described by RFC 3339.
- Time
Updated string The time the Analytics Cluster was last updated, as described by RFC 3339.
- cluster
Nodes List<GetAnalytics Cluster Cluster Node> An Analytics Cluster Node is a compute host that is part of an Analytics Cluster.
- cluster
Size Integer The number of analytics-processing compute instances, of the specified shape, in the Analytics Cluster.
- db
System StringId The OCID of the parent DB System this Analytics Cluster is attached to.
- id String
- lifecycle
Details String Additional information about the current lifecycleState.
- shape
Name String The shape determines resources to allocate to the Analytics Cluster nodes - CPU cores, memory.
- state String
The current state of the Analytics Cluster.
- time
Created String The date and time the Analytics Cluster was created, as described by RFC 3339.
- time
Updated String The time the Analytics Cluster was last updated, as described by RFC 3339.
- cluster
Nodes GetAnalytics Cluster Cluster Node[] An Analytics Cluster Node is a compute host that is part of an Analytics Cluster.
- cluster
Size number The number of analytics-processing compute instances, of the specified shape, in the Analytics Cluster.
- db
System stringId The OCID of the parent DB System this Analytics Cluster is attached to.
- id string
- lifecycle
Details string Additional information about the current lifecycleState.
- shape
Name string The shape determines resources to allocate to the Analytics Cluster nodes - CPU cores, memory.
- state string
The current state of the Analytics Cluster.
- time
Created string The date and time the Analytics Cluster was created, as described by RFC 3339.
- time
Updated string The time the Analytics Cluster was last updated, as described by RFC 3339.
- cluster_
nodes GetAnalytics Cluster Cluster Node] 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_ strid 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.
- cluster
Nodes List<Property Map> An Analytics Cluster Node is a compute host that is part of an Analytics Cluster.
- cluster
Size Number The number of analytics-processing compute instances, of the specified shape, in the Analytics Cluster.
- db
System StringId The OCID of the parent DB System this Analytics Cluster is attached to.
- id String
- lifecycle
Details String Additional information about the current lifecycleState.
- shape
Name String The shape determines resources to allocate to the Analytics Cluster nodes - CPU cores, memory.
- state String
The current state of the Analytics Cluster.
- time
Created String The date and time the Analytics Cluster was created, as described by RFC 3339.
- time
Updated String The time the Analytics Cluster was last updated, as described by RFC 3339.
Supporting Types
GetAnalyticsClusterClusterNode
- Node
Id string The ID of the node within MySQL Analytics Cluster.
- State string
The current state of the Analytics Cluster.
- Time
Created string The date and time the Analytics Cluster was created, as described by RFC 3339.
- Time
Updated string The time the Analytics Cluster was last updated, as described by RFC 3339.
- Node
Id string The ID of the node within MySQL Analytics Cluster.
- State string
The current state of the Analytics Cluster.
- Time
Created string The date and time the Analytics Cluster was created, as described by RFC 3339.
- Time
Updated string The time the Analytics Cluster was last updated, as described by RFC 3339.
- node
Id String The ID of the node within MySQL Analytics Cluster.
- state String
The current state of the Analytics Cluster.
- time
Created String The date and time the Analytics Cluster was created, as described by RFC 3339.
- time
Updated String The time the Analytics Cluster was last updated, as described by RFC 3339.
- node
Id string The ID of the node within MySQL Analytics Cluster.
- state string
The current state of the Analytics Cluster.
- time
Created string The date and time the Analytics Cluster was created, as described by RFC 3339.
- time
Updated 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.
- node
Id String The ID of the node within MySQL Analytics Cluster.
- state String
The current state of the Analytics Cluster.
- time
Created String The date and time the Analytics Cluster was created, as described by RFC 3339.
- time
Updated 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.