1. Packages
  2. Flexibleengine Provider
  3. API Docs
  4. getDwsFlavors
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

flexibleengine.getDwsFlavors

Explore with Pulumi AI

flexibleengine logo
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 dictionary

    The following arguments are supported:

    AvailabilityZone string
    Specifies the availability zone name.
    DatastoreType 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.
    AvailabilityZone string
    Specifies the availability zone name.
    DatastoreType 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.
    availabilityZone String
    Specifies the availability zone name.
    datastoreType 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.
    availabilityZone string
    Specifies the availability zone name.
    datastoreType 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.
    availabilityZone String
    Specifies the availability zone name.
    datastoreType 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<GetDwsFlavorsFlavor>
    Indicates the flavors information. The flavors object structure is documented below.
    Id string
    Indicates a data source ID.
    Region string
    AvailabilityZone string
    DatastoreType 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 []GetDwsFlavorsFlavor
    Indicates the flavors information. The flavors object structure is documented below.
    Id string
    Indicates a data source ID.
    Region string
    AvailabilityZone string
    DatastoreType 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<GetDwsFlavorsFlavor>
    Indicates the flavors information. The flavors object structure is documented below.
    id String
    Indicates a data source ID.
    region String
    availabilityZone String
    datastoreType 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 GetDwsFlavorsFlavor[]
    Indicates the flavors information. The flavors object structure is documented below.
    id string
    Indicates a data source ID.
    region string
    availabilityZone string
    datastoreType 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[GetDwsFlavorsFlavor]
    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
    availabilityZone String
    datastoreType 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

    AvailabilityZones List<string>
    Indicates the availability zone where the node resides.
    DatastoreType 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.
    ElasticVolumeSpecs List<GetDwsFlavorsFlavorElasticVolumeSpec>
    The elastic_volume_specs object structure is documented below.
    FlavorId 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.
    AvailabilityZones []string
    Indicates the availability zone where the node resides.
    DatastoreType 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.
    ElasticVolumeSpecs []GetDwsFlavorsFlavorElasticVolumeSpec
    The elastic_volume_specs object structure is documented below.
    FlavorId 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.
    availabilityZones List<String>
    Indicates the availability zone where the node resides.
    datastoreType 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.
    elasticVolumeSpecs List<GetDwsFlavorsFlavorElasticVolumeSpec>
    The elastic_volume_specs object structure is documented below.
    flavorId 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.
    availabilityZones string[]
    Indicates the availability zone where the node resides.
    datastoreType 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.
    elasticVolumeSpecs GetDwsFlavorsFlavorElasticVolumeSpec[]
    The elastic_volume_specs object structure is documented below.
    flavorId 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_specs Sequence[GetDwsFlavorsFlavorElasticVolumeSpec]
    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.
    availabilityZones List<String>
    Indicates the availability zone where the node resides.
    datastoreType 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.
    elasticVolumeSpecs List<Property Map>
    The elastic_volume_specs object structure is documented below.
    flavorId 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

    MaxSize double
    Maximum disk size.
    MinSize double
    Minimum disk size.
    Step double
    Disk size increment step.
    MaxSize float64
    Maximum disk size.
    MinSize float64
    Minimum disk size.
    Step float64
    Disk size increment step.
    maxSize Double
    Maximum disk size.
    minSize Double
    Minimum disk size.
    step Double
    Disk size increment step.
    maxSize number
    Maximum disk size.
    minSize number
    Minimum disk size.
    step number
    Disk size increment step.
    max_size float
    Maximum disk size.
    min_size float
    Minimum disk size.
    step float
    Disk size increment step.
    maxSize Number
    Maximum disk size.
    minSize Number
    Minimum disk size.
    step Number
    Disk size increment step.

    Package Details

    Repository
    flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
    License
    Notes
    This Pulumi package is based on the flexibleengine Terraform Provider.
    flexibleengine logo
    flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud