import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Heat Wave Cluster resource in Oracle Cloud Infrastructure MySQL Database service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/mysql/latest/HeatWaveCluster * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/mysql * * Updates the HeatWave cluster. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testHeatWaveCluster = new oci.mysql.HeatWaveCluster("test_heat_wave_cluster", { * dbSystemId: testDbSystem.id, * clusterSize: Number(heatWaveClusterClusterSize), * isLakehouseEnabled: heatWaveClusterIsLakehouseEnabled === "true", * shapeName: testShape.name, * }); * ``` * * ## Import * * HeatWaveCluster can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:Mysql/heatWaveCluster:HeatWaveCluster test_heat_wave_cluster "dbSystem/{dbSystemId}/heatWaveCluster" * ``` */ export declare class HeatWaveCluster extends pulumi.CustomResource { /** * Get an existing HeatWaveCluster resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: HeatWaveClusterState, opts?: pulumi.CustomResourceOptions): HeatWaveCluster; /** * Returns true if the given object is an instance of HeatWaveCluster. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is HeatWaveCluster; /** * A HeatWave node is a compute host that is part of a HeatWave cluster. */ readonly clusterNodes: pulumi.Output; /** * (Updatable) A change to the number of nodes in the HeatWave cluster will result in the entire cluster being torn down and re-created with the new cluster of nodes. This may result in a significant downtime for the analytics capability while the HeatWave cluster is re-provisioned. */ readonly clusterSize: pulumi.Output; /** * The DB System [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ readonly dbSystemId: pulumi.Output; /** * (Updatable) Enable/disable Lakehouse for the HeatWave cluster. */ readonly isLakehouseEnabled: pulumi.Output; /** * Additional information about the current lifecycleState. */ readonly lifecycleDetails: pulumi.Output; /** * (Updatable) A change to the shape of the nodes in the HeatWave cluster will result in the entire cluster being torn down and re-created with Compute instances of the new Shape. This may result in significant downtime for the analytics capability while the HeatWave cluster is re-provisioned. */ readonly shapeName: pulumi.Output; /** * (Updatable) The target state for the HeatWave cluster. Could be set to `ACTIVE` or `INACTIVE`. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly state: pulumi.Output; /** * The date and time the HeatWave cluster was created, as described by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). */ readonly timeCreated: pulumi.Output; /** * The time the HeatWave cluster was last updated, as described by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). */ readonly timeUpdated: pulumi.Output; /** * Create a HeatWaveCluster resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: HeatWaveClusterArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering HeatWaveCluster resources. */ export interface HeatWaveClusterState { /** * A HeatWave node is a compute host that is part of a HeatWave cluster. */ clusterNodes?: pulumi.Input[] | undefined>; /** * (Updatable) A change to the number of nodes in the HeatWave cluster will result in the entire cluster being torn down and re-created with the new cluster of nodes. This may result in a significant downtime for the analytics capability while the HeatWave cluster is re-provisioned. */ clusterSize?: pulumi.Input; /** * The DB System [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ dbSystemId?: pulumi.Input; /** * (Updatable) Enable/disable Lakehouse for the HeatWave cluster. */ isLakehouseEnabled?: pulumi.Input; /** * Additional information about the current lifecycleState. */ lifecycleDetails?: pulumi.Input; /** * (Updatable) A change to the shape of the nodes in the HeatWave cluster will result in the entire cluster being torn down and re-created with Compute instances of the new Shape. This may result in significant downtime for the analytics capability while the HeatWave cluster is re-provisioned. */ shapeName?: pulumi.Input; /** * (Updatable) The target state for the HeatWave cluster. Could be set to `ACTIVE` or `INACTIVE`. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ state?: pulumi.Input; /** * The date and time the HeatWave cluster was created, as described by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). */ timeCreated?: pulumi.Input; /** * The time the HeatWave cluster was last updated, as described by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). */ timeUpdated?: pulumi.Input; } /** * The set of arguments for constructing a HeatWaveCluster resource. */ export interface HeatWaveClusterArgs { /** * (Updatable) A change to the number of nodes in the HeatWave cluster will result in the entire cluster being torn down and re-created with the new cluster of nodes. This may result in a significant downtime for the analytics capability while the HeatWave cluster is re-provisioned. */ clusterSize: pulumi.Input; /** * The DB System [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ dbSystemId: pulumi.Input; /** * (Updatable) Enable/disable Lakehouse for the HeatWave cluster. */ isLakehouseEnabled?: pulumi.Input; /** * (Updatable) A change to the shape of the nodes in the HeatWave cluster will result in the entire cluster being torn down and re-created with Compute instances of the new Shape. This may result in significant downtime for the analytics capability while the HeatWave cluster is re-provisioned. */ shapeName: pulumi.Input; /** * (Updatable) The target state for the HeatWave cluster. Could be set to `ACTIVE` or `INACTIVE`. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ state?: pulumi.Input; } //# sourceMappingURL=heatWaveCluster.d.ts.map