opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud
opentelekomcloud.getDwsFlavorsV2
Explore with Pulumi AI
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud
Use this data source to get details about flavors from OpenTelekomCloud.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const flavor = opentelekomcloud.getDwsFlavorsV2({
vcpus: 32,
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
flavor = opentelekomcloud.get_dws_flavors_v2(vcpus=32)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := opentelekomcloud.GetDwsFlavorsV2(ctx, &opentelekomcloud.GetDwsFlavorsV2Args{
Vcpus: pulumi.Float64Ref(32),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;
return await Deployment.RunAsync(() =>
{
var flavor = Opentelekomcloud.GetDwsFlavorsV2.Invoke(new()
{
Vcpus = 32,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.OpentelekomcloudFunctions;
import com.pulumi.opentelekomcloud.inputs.GetDwsFlavorsV2Args;
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 = OpentelekomcloudFunctions.getDwsFlavorsV2(GetDwsFlavorsV2Args.builder()
.vcpus(32)
.build());
}
}
variables:
flavor:
fn::invoke:
function: opentelekomcloud:getDwsFlavorsV2
arguments:
vcpus: 32
Using getDwsFlavorsV2
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 getDwsFlavorsV2(args: GetDwsFlavorsV2Args, opts?: InvokeOptions): Promise<GetDwsFlavorsV2Result>
function getDwsFlavorsV2Output(args: GetDwsFlavorsV2OutputArgs, opts?: InvokeOptions): Output<GetDwsFlavorsV2Result>
def get_dws_flavors_v2(availability_zone: Optional[str] = None,
id: Optional[str] = None,
memory: Optional[float] = None,
region: Optional[str] = None,
vcpus: Optional[float] = None,
opts: Optional[InvokeOptions] = None) -> GetDwsFlavorsV2Result
def get_dws_flavors_v2_output(availability_zone: 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[GetDwsFlavorsV2Result]
func GetDwsFlavorsV2(ctx *Context, args *GetDwsFlavorsV2Args, opts ...InvokeOption) (*GetDwsFlavorsV2Result, error)
func GetDwsFlavorsV2Output(ctx *Context, args *GetDwsFlavorsV2OutputArgs, opts ...InvokeOption) GetDwsFlavorsV2ResultOutput
> Note: This function is named GetDwsFlavorsV2
in the Go SDK.
public static class GetDwsFlavorsV2
{
public static Task<GetDwsFlavorsV2Result> InvokeAsync(GetDwsFlavorsV2Args args, InvokeOptions? opts = null)
public static Output<GetDwsFlavorsV2Result> Invoke(GetDwsFlavorsV2InvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDwsFlavorsV2Result> getDwsFlavorsV2(GetDwsFlavorsV2Args args, InvokeOptions options)
public static Output<GetDwsFlavorsV2Result> getDwsFlavorsV2(GetDwsFlavorsV2Args args, InvokeOptions options)
fn::invoke:
function: opentelekomcloud:index/getDwsFlavorsV2:getDwsFlavorsV2
arguments:
# arguments dictionary
The following arguments are supported:
- Availability
Zone string - Specifies the availability zone name.
- Id string
- Indicates a data source ID in UUID format.
- 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.
- Id string
- Indicates a data source ID in UUID format.
- 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.
- id String
- Indicates a data source ID in UUID format.
- 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.
- id string
- Indicates a data source ID in UUID format.
- 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.
- id str
- Indicates a data source ID in UUID format.
- 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.
- id String
- Indicates a data source ID in UUID format.
- 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.
getDwsFlavorsV2 Result
The following output properties are available:
- Flavors
List<Get
Dws Flavors V2Flavor> - Indicates the flavors information. Structure is documented below.
- Id string
- Indicates a data source ID in UUID format.
- Region string
- Availability
Zone string - Indicates the availability zone where the node resides.
- 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 V2Flavor - Indicates the flavors information. Structure is documented below.
- Id string
- Indicates a data source ID in UUID format.
- Region string
- Availability
Zone string - Indicates the availability zone where the node resides.
- 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 V2Flavor> - Indicates the flavors information. Structure is documented below.
- id String
- Indicates a data source ID in UUID format.
- region String
- availability
Zone String - Indicates the availability zone where the node resides.
- 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 V2Flavor[] - Indicates the flavors information. Structure is documented below.
- id string
- Indicates a data source ID in UUID format.
- region string
- availability
Zone string - Indicates the availability zone where the node resides.
- 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 V2Flavor] - Indicates the flavors information. Structure is documented below.
- id str
- Indicates a data source ID in UUID format.
- region str
- availability_
zone str - Indicates the availability zone where the node resides.
- 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. Structure is documented below.
- id String
- Indicates a data source ID in UUID format.
- region String
- availability
Zone String - Indicates the availability zone where the node resides.
- memory Number
- Indicates the ram of the dws node flavor in GB.
- vcpus Number
- Indicates the vcpus of the dws node flavor.
Supporting Types
GetDwsFlavorsV2Flavor
- Availability
Zone string - Specifies the availability zone name.
- Flavor
Id string - The name of the dws node flavor. It is referenced by
node_type
inopentelekomcloud.getDwsFlavorsV2
. - 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.
- LOCAL_DISK: common I/O disk
- SSD: ultra-high I/O disk
- Availability
Zone string - Specifies the availability zone name.
- Flavor
Id string - The name of the dws node flavor. It is referenced by
node_type
inopentelekomcloud.getDwsFlavorsV2
. - 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.
- LOCAL_DISK: common I/O disk
- SSD: ultra-high I/O disk
- availability
Zone String - Specifies the availability zone name.
- flavor
Id String - The name of the dws node flavor. It is referenced by
node_type
inopentelekomcloud.getDwsFlavorsV2
. - 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.
- LOCAL_DISK: common I/O disk
- SSD: ultra-high I/O disk
- availability
Zone string - Specifies the availability zone name.
- flavor
Id string - The name of the dws node flavor. It is referenced by
node_type
inopentelekomcloud.getDwsFlavorsV2
. - 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.
- LOCAL_DISK: common I/O disk
- SSD: ultra-high I/O disk
- availability_
zone str - Specifies the availability zone name.
- flavor_
id str - The name of the dws node flavor. It is referenced by
node_type
inopentelekomcloud.getDwsFlavorsV2
. - 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.
- LOCAL_DISK: common I/O disk
- SSD: ultra-high I/O disk
- availability
Zone String - Specifies the availability zone name.
- flavor
Id String - The name of the dws node flavor. It is referenced by
node_type
inopentelekomcloud.getDwsFlavorsV2
. - 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.
- LOCAL_DISK: common I/O disk
- SSD: ultra-high I/O disk
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloud
Terraform Provider.
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud