Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.Mysql.getHeatWaveCluster
Explore with Pulumi AI
This data source provides details about a specific HeatWave cluster resource in Oracle Cloud Infrastructure MySQL Database service.
Gets information about the HeatWave cluster.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testHeatWaveCluster = oci.Mysql.getHeatWaveCluster({
dbSystemId: testDbSystem.id,
});
import pulumi
import pulumi_oci as oci
test_heat_wave_cluster = oci.Mysql.get_heat_wave_cluster(db_system_id=test_db_system["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Mysql"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := Mysql.GetHeatWaveCluster(ctx, &mysql.GetHeatWaveClusterArgs{
DbSystemId: testDbSystem.Id,
}, 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 testHeatWaveCluster = Oci.Mysql.GetHeatWaveCluster.Invoke(new()
{
DbSystemId = testDbSystem.Id,
});
});
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.GetHeatWaveClusterArgs;
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 testHeatWaveCluster = MysqlFunctions.getHeatWaveCluster(GetHeatWaveClusterArgs.builder()
.dbSystemId(testDbSystem.id())
.build());
}
}
variables:
testHeatWaveCluster:
fn::invoke:
Function: oci:Mysql:getHeatWaveCluster
Arguments:
dbSystemId: ${testDbSystem.id}
Using getHeatWaveCluster
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 getHeatWaveCluster(args: GetHeatWaveClusterArgs, opts?: InvokeOptions): Promise<GetHeatWaveClusterResult>
function getHeatWaveClusterOutput(args: GetHeatWaveClusterOutputArgs, opts?: InvokeOptions): Output<GetHeatWaveClusterResult>
def get_heat_wave_cluster(db_system_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetHeatWaveClusterResult
def get_heat_wave_cluster_output(db_system_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetHeatWaveClusterResult]
func GetHeatWaveCluster(ctx *Context, args *GetHeatWaveClusterArgs, opts ...InvokeOption) (*GetHeatWaveClusterResult, error)
func GetHeatWaveClusterOutput(ctx *Context, args *GetHeatWaveClusterOutputArgs, opts ...InvokeOption) GetHeatWaveClusterResultOutput
> Note: This function is named GetHeatWaveCluster
in the Go SDK.
public static class GetHeatWaveCluster
{
public static Task<GetHeatWaveClusterResult> InvokeAsync(GetHeatWaveClusterArgs args, InvokeOptions? opts = null)
public static Output<GetHeatWaveClusterResult> Invoke(GetHeatWaveClusterInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetHeatWaveClusterResult> getHeatWaveCluster(GetHeatWaveClusterArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Mysql/getHeatWaveCluster:getHeatWaveCluster
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.
getHeatWaveCluster Result
The following output properties are available:
- Cluster
Nodes List<GetHeat Wave Cluster Cluster Node> - A HeatWave node is a compute host that is part of a HeatWave cluster.
- Cluster
Size int - The number of analytics-processing compute instances, of the specified shape, in the HeatWave cluster.
- Db
System stringId - The OCID of the parent DB System this HeatWave cluster is attached to.
- Id string
- Is
Lakehouse boolEnabled - Lakehouse enabled status for the HeatWave cluster.
- Lifecycle
Details string - Additional information about the current lifecycleState.
- Shape
Name string - The shape determines resources to allocate to the HeatWave nodes - CPU cores, memory.
- State string
- The current state of the HeatWave cluster.
- Time
Created string - The date and time the HeatWave cluster was created, as described by RFC 3339.
- Time
Updated string - The time the HeatWave cluster was last updated, as described by RFC 3339.
- Cluster
Nodes []GetHeat Wave Cluster Cluster Node - A HeatWave node is a compute host that is part of a HeatWave cluster.
- Cluster
Size int - The number of analytics-processing compute instances, of the specified shape, in the HeatWave cluster.
- Db
System stringId - The OCID of the parent DB System this HeatWave cluster is attached to.
- Id string
- Is
Lakehouse boolEnabled - Lakehouse enabled status for the HeatWave cluster.
- Lifecycle
Details string - Additional information about the current lifecycleState.
- Shape
Name string - The shape determines resources to allocate to the HeatWave nodes - CPU cores, memory.
- State string
- The current state of the HeatWave cluster.
- Time
Created string - The date and time the HeatWave cluster was created, as described by RFC 3339.
- Time
Updated string - The time the HeatWave cluster was last updated, as described by RFC 3339.
- cluster
Nodes List<GetHeat Wave Cluster Cluster Node> - A HeatWave node is a compute host that is part of a HeatWave cluster.
- cluster
Size Integer - The number of analytics-processing compute instances, of the specified shape, in the HeatWave cluster.
- db
System StringId - The OCID of the parent DB System this HeatWave cluster is attached to.
- id String
- is
Lakehouse BooleanEnabled - Lakehouse enabled status for the HeatWave cluster.
- lifecycle
Details String - Additional information about the current lifecycleState.
- shape
Name String - The shape determines resources to allocate to the HeatWave nodes - CPU cores, memory.
- state String
- The current state of the HeatWave cluster.
- time
Created String - The date and time the HeatWave cluster was created, as described by RFC 3339.
- time
Updated String - The time the HeatWave cluster was last updated, as described by RFC 3339.
- cluster
Nodes GetHeat Wave Cluster Cluster Node[] - A HeatWave node is a compute host that is part of a HeatWave cluster.
- cluster
Size number - The number of analytics-processing compute instances, of the specified shape, in the HeatWave cluster.
- db
System stringId - The OCID of the parent DB System this HeatWave cluster is attached to.
- id string
- is
Lakehouse booleanEnabled - Lakehouse enabled status for the HeatWave cluster.
- lifecycle
Details string - Additional information about the current lifecycleState.
- shape
Name string - The shape determines resources to allocate to the HeatWave nodes - CPU cores, memory.
- state string
- The current state of the HeatWave cluster.
- time
Created string - The date and time the HeatWave cluster was created, as described by RFC 3339.
- time
Updated string - The time the HeatWave cluster was last updated, as described by RFC 3339.
- cluster_
nodes Sequence[mysql.Get Heat Wave Cluster Cluster Node] - A HeatWave node is a compute host that is part of a HeatWave cluster.
- cluster_
size int - The number of analytics-processing compute instances, of the specified shape, in the HeatWave cluster.
- db_
system_ strid - The OCID of the parent DB System this HeatWave cluster is attached to.
- id str
- is_
lakehouse_ boolenabled - Lakehouse enabled status for the HeatWave cluster.
- lifecycle_
details str - Additional information about the current lifecycleState.
- shape_
name str - The shape determines resources to allocate to the HeatWave nodes - CPU cores, memory.
- state str
- The current state of the HeatWave cluster.
- time_
created str - The date and time the HeatWave cluster was created, as described by RFC 3339.
- time_
updated str - The time the HeatWave cluster was last updated, as described by RFC 3339.
- cluster
Nodes List<Property Map> - A HeatWave node is a compute host that is part of a HeatWave cluster.
- cluster
Size Number - The number of analytics-processing compute instances, of the specified shape, in the HeatWave cluster.
- db
System StringId - The OCID of the parent DB System this HeatWave cluster is attached to.
- id String
- is
Lakehouse BooleanEnabled - Lakehouse enabled status for the HeatWave cluster.
- lifecycle
Details String - Additional information about the current lifecycleState.
- shape
Name String - The shape determines resources to allocate to the HeatWave nodes - CPU cores, memory.
- state String
- The current state of the HeatWave cluster.
- time
Created String - The date and time the HeatWave cluster was created, as described by RFC 3339.
- time
Updated String - The time the HeatWave cluster was last updated, as described by RFC 3339.
Supporting Types
GetHeatWaveClusterClusterNode
- Node
Id string - The ID of the node within MySQL HeatWave cluster.
- State string
- The current state of the HeatWave cluster.
- Time
Created string - The date and time the HeatWave cluster was created, as described by RFC 3339.
- Time
Updated string - The time the HeatWave cluster was last updated, as described by RFC 3339.
- Node
Id string - The ID of the node within MySQL HeatWave cluster.
- State string
- The current state of the HeatWave cluster.
- Time
Created string - The date and time the HeatWave cluster was created, as described by RFC 3339.
- Time
Updated string - The time the HeatWave cluster was last updated, as described by RFC 3339.
- node
Id String - The ID of the node within MySQL HeatWave cluster.
- state String
- The current state of the HeatWave cluster.
- time
Created String - The date and time the HeatWave cluster was created, as described by RFC 3339.
- time
Updated String - The time the HeatWave cluster was last updated, as described by RFC 3339.
- node
Id string - The ID of the node within MySQL HeatWave cluster.
- state string
- The current state of the HeatWave cluster.
- time
Created string - The date and time the HeatWave cluster was created, as described by RFC 3339.
- time
Updated string - The time the HeatWave cluster was last updated, as described by RFC 3339.
- node_
id str - The ID of the node within MySQL HeatWave cluster.
- state str
- The current state of the HeatWave cluster.
- time_
created str - The date and time the HeatWave cluster was created, as described by RFC 3339.
- time_
updated str - The time the HeatWave cluster was last updated, as described by RFC 3339.
- node
Id String - The ID of the node within MySQL HeatWave cluster.
- state String
- The current state of the HeatWave cluster.
- time
Created String - The date and time the HeatWave cluster was created, as described by RFC 3339.
- time
Updated String - The time the HeatWave 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.