flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
flexibleengine.getDwsFlavors
Start a Neo task
Explain and create a flexibleengine.getDwsFlavors resource
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
Use this data source to get available flavors of FlexibleEngine DWS cluster node.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";
const flavor = flexibleengine.getDwsFlavors({
availabilityZone: "eu-west-0a",
});
import pulumi
import pulumi_flexibleengine as flexibleengine
flavor = flexibleengine.get_dws_flavors(availability_zone="eu-west-0a")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := flexibleengine.GetDwsFlavors(ctx, &flexibleengine.GetDwsFlavorsArgs{
AvailabilityZone: pulumi.StringRef("eu-west-0a"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Flexibleengine = Pulumi.Flexibleengine;
return await Deployment.RunAsync(() =>
{
var flavor = Flexibleengine.GetDwsFlavors.Invoke(new()
{
AvailabilityZone = "eu-west-0a",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.flexibleengine.FlexibleengineFunctions;
import com.pulumi.flexibleengine.inputs.GetDwsFlavorsArgs;
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 flavor = FlexibleengineFunctions.getDwsFlavors(GetDwsFlavorsArgs.builder()
.availabilityZone("eu-west-0a")
.build());
}
}
variables:
flavor:
fn::invoke:
function: flexibleengine:getDwsFlavors
arguments:
availabilityZone: eu-west-0a
Using getDwsFlavors
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 getDwsFlavors(args: GetDwsFlavorsArgs, opts?: InvokeOptions): Promise<GetDwsFlavorsResult>
function getDwsFlavorsOutput(args: GetDwsFlavorsOutputArgs, opts?: InvokeOptions): Output<GetDwsFlavorsResult>def get_dws_flavors(availability_zone: Optional[str] = None,
datastore_type: Optional[str] = None,
id: Optional[str] = None,
memory: Optional[float] = None,
region: Optional[str] = None,
vcpus: Optional[float] = None,
opts: Optional[InvokeOptions] = None) -> GetDwsFlavorsResult
def get_dws_flavors_output(availability_zone: Optional[pulumi.Input[str]] = None,
datastore_type: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
memory: Optional[pulumi.Input[float]] = None,
region: Optional[pulumi.Input[str]] = None,
vcpus: Optional[pulumi.Input[float]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDwsFlavorsResult]func GetDwsFlavors(ctx *Context, args *GetDwsFlavorsArgs, opts ...InvokeOption) (*GetDwsFlavorsResult, error)
func GetDwsFlavorsOutput(ctx *Context, args *GetDwsFlavorsOutputArgs, opts ...InvokeOption) GetDwsFlavorsResultOutput> Note: This function is named GetDwsFlavors in the Go SDK.
public static class GetDwsFlavors
{
public static Task<GetDwsFlavorsResult> InvokeAsync(GetDwsFlavorsArgs args, InvokeOptions? opts = null)
public static Output<GetDwsFlavorsResult> Invoke(GetDwsFlavorsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDwsFlavorsResult> getDwsFlavors(GetDwsFlavorsArgs args, InvokeOptions options)
public static Output<GetDwsFlavorsResult> getDwsFlavors(GetDwsFlavorsArgs args, InvokeOptions options)
fn::invoke:
function: flexibleengine:index/getDwsFlavors:getDwsFlavors
arguments:
# arguments dictionaryThe following arguments are supported:
- Availability
Zone string - Specifies the availability zone name.
- Datastore
Type string - The type of datastore. The options are as follows:
- dws: OLAP, elastic scaling, unlimited scaling of compute and storage capacity.
- hybrid: a single data warehouse used for transaction and analytics workloads, in single-node or cluster mode.
- stream: built-in time series operators; up to 40:1 compression ratio; applicable to IoT services.
- Id string
- Indicates a data source ID.
- Memory double
- Specifies the ram of the DWS node flavor in GB.
- Region string
- Specifies the region in which to obtain the DWS cluster client. If omitted, the provider-level region will be used.
- Vcpus double
- Specifies the vcpus of the DWS node flavor.
- Availability
Zone string - Specifies the availability zone name.
- Datastore
Type string - The type of datastore. The options are as follows:
- dws: OLAP, elastic scaling, unlimited scaling of compute and storage capacity.
- hybrid: a single data warehouse used for transaction and analytics workloads, in single-node or cluster mode.
- stream: built-in time series operators; up to 40:1 compression ratio; applicable to IoT services.
- Id string
- Indicates a data source ID.
- Memory float64
- Specifies the ram of the DWS node flavor in GB.
- Region string
- Specifies the region in which to obtain the DWS cluster client. If omitted, the provider-level region will be used.
- Vcpus float64
- Specifies the vcpus of the DWS node flavor.
- availability
Zone String - Specifies the availability zone name.
- datastore
Type String - The type of datastore. The options are as follows:
- dws: OLAP, elastic scaling, unlimited scaling of compute and storage capacity.
- hybrid: a single data warehouse used for transaction and analytics workloads, in single-node or cluster mode.
- stream: built-in time series operators; up to 40:1 compression ratio; applicable to IoT services.
- id String
- Indicates a data source ID.
- memory Double
- Specifies the ram of the DWS node flavor in GB.
- region String
- Specifies the region in which to obtain the DWS cluster client. If omitted, the provider-level region will be used.
- vcpus Double
- Specifies the vcpus of the DWS node flavor.
- availability
Zone string - Specifies the availability zone name.
- datastore
Type string - The type of datastore. The options are as follows:
- dws: OLAP, elastic scaling, unlimited scaling of compute and storage capacity.
- hybrid: a single data warehouse used for transaction and analytics workloads, in single-node or cluster mode.
- stream: built-in time series operators; up to 40:1 compression ratio; applicable to IoT services.
- id string
- Indicates a data source ID.
- memory number
- Specifies the ram of the DWS node flavor in GB.
- region string
- Specifies the region in which to obtain the DWS cluster client. If omitted, the provider-level region will be used.
- vcpus number
- Specifies the vcpus of the DWS node flavor.
- availability_
zone str - Specifies the availability zone name.
- datastore_
type str - The type of datastore. The options are as follows:
- dws: OLAP, elastic scaling, unlimited scaling of compute and storage capacity.
- hybrid: a single data warehouse used for transaction and analytics workloads, in single-node or cluster mode.
- stream: built-in time series operators; up to 40:1 compression ratio; applicable to IoT services.
- id str
- Indicates a data source ID.
- memory float
- Specifies the ram of the DWS node flavor in GB.
- region str
- Specifies the region in which to obtain the DWS cluster client. If omitted, the provider-level region will be used.
- vcpus float
- Specifies the vcpus of the DWS node flavor.
- availability
Zone String - Specifies the availability zone name.
- datastore
Type String - The type of datastore. The options are as follows:
- dws: OLAP, elastic scaling, unlimited scaling of compute and storage capacity.
- hybrid: a single data warehouse used for transaction and analytics workloads, in single-node or cluster mode.
- stream: built-in time series operators; up to 40:1 compression ratio; applicable to IoT services.
- id String
- Indicates a data source ID.
- memory Number
- Specifies the ram of the DWS node flavor in GB.
- region String
- Specifies the region in which to obtain the DWS cluster client. If omitted, the provider-level region will be used.
- vcpus Number
- Specifies the vcpus of the DWS node flavor.
getDwsFlavors Result
The following output properties are available:
- Flavors
List<Get
Dws Flavors Flavor> - Indicates the flavors information. The flavors object structure is documented below.
- Id string
- Indicates a data source ID.
- Region string
- Availability
Zone string - Datastore
Type string - The type of datastore.The options are as follows:
- dws: OLAP, elastic scaling, unlimited scaling of compute and storage capacity.
- hybrid: a single data warehouse used for transaction and analytics workloads, in single-node or cluster mode.
- stream: built-in time series operators; up to 40:1 compression ratio; applicable to IoT services.
- Memory double
- Indicates the ram of the DWS node flavor in GB.
- Vcpus double
- Indicates the vcpus of the DWS node flavor.
- Flavors
[]Get
Dws Flavors Flavor - Indicates the flavors information. The flavors object structure is documented below.
- Id string
- Indicates a data source ID.
- Region string
- Availability
Zone string - Datastore
Type string - The type of datastore.The options are as follows:
- dws: OLAP, elastic scaling, unlimited scaling of compute and storage capacity.
- hybrid: a single data warehouse used for transaction and analytics workloads, in single-node or cluster mode.
- stream: built-in time series operators; up to 40:1 compression ratio; applicable to IoT services.
- Memory float64
- Indicates the ram of the DWS node flavor in GB.
- Vcpus float64
- Indicates the vcpus of the DWS node flavor.
- flavors
List<Get
Dws Flavors Flavor> - Indicates the flavors information. The flavors object structure is documented below.
- id String
- Indicates a data source ID.
- region String
- availability
Zone String - datastore
Type String - The type of datastore.The options are as follows:
- dws: OLAP, elastic scaling, unlimited scaling of compute and storage capacity.
- hybrid: a single data warehouse used for transaction and analytics workloads, in single-node or cluster mode.
- stream: built-in time series operators; up to 40:1 compression ratio; applicable to IoT services.
- memory Double
- Indicates the ram of the DWS node flavor in GB.
- vcpus Double
- Indicates the vcpus of the DWS node flavor.
- flavors
Get
Dws Flavors Flavor[] - Indicates the flavors information. The flavors object structure is documented below.
- id string
- Indicates a data source ID.
- region string
- availability
Zone string - datastore
Type string - The type of datastore.The options are as follows:
- dws: OLAP, elastic scaling, unlimited scaling of compute and storage capacity.
- hybrid: a single data warehouse used for transaction and analytics workloads, in single-node or cluster mode.
- stream: built-in time series operators; up to 40:1 compression ratio; applicable to IoT services.
- memory number
- Indicates the ram of the DWS node flavor in GB.
- vcpus number
- Indicates the vcpus of the DWS node flavor.
- flavors
Sequence[Get
Dws Flavors Flavor] - Indicates the flavors information. The flavors object structure is documented below.
- id str
- Indicates a data source ID.
- region str
- availability_
zone str - datastore_
type str - The type of datastore.The options are as follows:
- dws: OLAP, elastic scaling, unlimited scaling of compute and storage capacity.
- hybrid: a single data warehouse used for transaction and analytics workloads, in single-node or cluster mode.
- stream: built-in time series operators; up to 40:1 compression ratio; applicable to IoT services.
- memory float
- Indicates the ram of the DWS node flavor in GB.
- vcpus float
- Indicates the vcpus of the DWS node flavor.
- flavors List<Property Map>
- Indicates the flavors information. The flavors object structure is documented below.
- id String
- Indicates a data source ID.
- region String
- availability
Zone String - datastore
Type String - The type of datastore.The options are as follows:
- dws: OLAP, elastic scaling, unlimited scaling of compute and storage capacity.
- hybrid: a single data warehouse used for transaction and analytics workloads, in single-node or cluster mode.
- stream: built-in time series operators; up to 40:1 compression ratio; applicable to IoT services.
- memory Number
- Indicates the ram of the DWS node flavor in GB.
- vcpus Number
- Indicates the vcpus of the DWS node flavor.
Supporting Types
GetDwsFlavorsFlavor
- Availability
Zones List<string> - Indicates the availability zone where the node resides.
- Datastore
Type string - The type of datastore. The options are as follows:
- dws: OLAP, elastic scaling, unlimited scaling of compute and storage capacity.
- hybrid: a single data warehouse used for transaction and analytics workloads, in single-node or cluster mode.
- stream: built-in time series operators; up to 40:1 compression ratio; applicable to IoT services.
- Elastic
Volume List<GetSpecs Dws Flavors Flavor Elastic Volume Spec> - The elastic_volume_specs object structure is documented below.
- Flavor
Id string - The name of the DWS node flavor. It is referenced by node_type in
flexibleengine.DwsClusterV1. - Memory double
- Specifies the ram of the DWS node flavor in GB.
- Size double
- Indicates the Disk size in GB.
- Vcpus double
- Specifies the vcpus of the DWS node flavor.
- Volumetype string
- Indicates Disk type.
- Availability
Zones []string - Indicates the availability zone where the node resides.
- Datastore
Type string - The type of datastore. The options are as follows:
- dws: OLAP, elastic scaling, unlimited scaling of compute and storage capacity.
- hybrid: a single data warehouse used for transaction and analytics workloads, in single-node or cluster mode.
- stream: built-in time series operators; up to 40:1 compression ratio; applicable to IoT services.
- Elastic
Volume []GetSpecs Dws Flavors Flavor Elastic Volume Spec - The elastic_volume_specs object structure is documented below.
- Flavor
Id string - The name of the DWS node flavor. It is referenced by node_type in
flexibleengine.DwsClusterV1. - Memory float64
- Specifies the ram of the DWS node flavor in GB.
- Size float64
- Indicates the Disk size in GB.
- Vcpus float64
- Specifies the vcpus of the DWS node flavor.
- Volumetype string
- Indicates Disk type.
- availability
Zones List<String> - Indicates the availability zone where the node resides.
- datastore
Type String - The type of datastore. The options are as follows:
- dws: OLAP, elastic scaling, unlimited scaling of compute and storage capacity.
- hybrid: a single data warehouse used for transaction and analytics workloads, in single-node or cluster mode.
- stream: built-in time series operators; up to 40:1 compression ratio; applicable to IoT services.
- elastic
Volume List<GetSpecs Dws Flavors Flavor Elastic Volume Spec> - The elastic_volume_specs object structure is documented below.
- flavor
Id String - The name of the DWS node flavor. It is referenced by node_type in
flexibleengine.DwsClusterV1. - memory Double
- Specifies the ram of the DWS node flavor in GB.
- size Double
- Indicates the Disk size in GB.
- vcpus Double
- Specifies the vcpus of the DWS node flavor.
- volumetype String
- Indicates Disk type.
- availability
Zones string[] - Indicates the availability zone where the node resides.
- datastore
Type string - The type of datastore. The options are as follows:
- dws: OLAP, elastic scaling, unlimited scaling of compute and storage capacity.
- hybrid: a single data warehouse used for transaction and analytics workloads, in single-node or cluster mode.
- stream: built-in time series operators; up to 40:1 compression ratio; applicable to IoT services.
- elastic
Volume GetSpecs Dws Flavors Flavor Elastic Volume Spec[] - The elastic_volume_specs object structure is documented below.
- flavor
Id string - The name of the DWS node flavor. It is referenced by node_type in
flexibleengine.DwsClusterV1. - memory number
- Specifies the ram of the DWS node flavor in GB.
- size number
- Indicates the Disk size in GB.
- vcpus number
- Specifies the vcpus of the DWS node flavor.
- volumetype string
- Indicates Disk type.
- availability_
zones Sequence[str] - Indicates the availability zone where the node resides.
- datastore_
type str - The type of datastore. The options are as follows:
- dws: OLAP, elastic scaling, unlimited scaling of compute and storage capacity.
- hybrid: a single data warehouse used for transaction and analytics workloads, in single-node or cluster mode.
- stream: built-in time series operators; up to 40:1 compression ratio; applicable to IoT services.
- elastic_
volume_ Sequence[Getspecs Dws Flavors Flavor Elastic Volume Spec] - The elastic_volume_specs object structure is documented below.
- flavor_
id str - The name of the DWS node flavor. It is referenced by node_type in
flexibleengine.DwsClusterV1. - memory float
- Specifies the ram of the DWS node flavor in GB.
- size float
- Indicates the Disk size in GB.
- vcpus float
- Specifies the vcpus of the DWS node flavor.
- volumetype str
- Indicates Disk type.
- availability
Zones List<String> - Indicates the availability zone where the node resides.
- datastore
Type String - The type of datastore. The options are as follows:
- dws: OLAP, elastic scaling, unlimited scaling of compute and storage capacity.
- hybrid: a single data warehouse used for transaction and analytics workloads, in single-node or cluster mode.
- stream: built-in time series operators; up to 40:1 compression ratio; applicable to IoT services.
- elastic
Volume List<Property Map>Specs - The elastic_volume_specs object structure is documented below.
- flavor
Id String - The name of the DWS node flavor. It is referenced by node_type in
flexibleengine.DwsClusterV1. - memory Number
- Specifies the ram of the DWS node flavor in GB.
- size Number
- Indicates the Disk size in GB.
- vcpus Number
- Specifies the vcpus of the DWS node flavor.
- volumetype String
- Indicates Disk type.
GetDwsFlavorsFlavorElasticVolumeSpec
Package Details
- Repository
- flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
- License
- Notes
- This Pulumi package is based on the
flexibleengineTerraform Provider.
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
