opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud
opentelekomcloud.getDdsFlavorsV3
Explore with Pulumi AI
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud
Up-to-date reference of API arguments for DDS flavors you can get at documentation portal
Use this data source to get info of available OpenTelekomCloud DDS flavors.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const flavor = opentelekomcloud.getDdsFlavorsV3({
engineName: "DDS-Community",
vcpus: "8",
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
flavor = opentelekomcloud.get_dds_flavors_v3(engine_name="DDS-Community",
vcpus="8")
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.GetDdsFlavorsV3(ctx, &opentelekomcloud.GetDdsFlavorsV3Args{
EngineName: "DDS-Community",
Vcpus: pulumi.StringRef("8"),
}, 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.GetDdsFlavorsV3.Invoke(new()
{
EngineName = "DDS-Community",
Vcpus = "8",
});
});
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.GetDdsFlavorsV3Args;
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.getDdsFlavorsV3(GetDdsFlavorsV3Args.builder()
.engineName("DDS-Community")
.vcpus(8)
.build());
}
}
variables:
flavor:
fn::invoke:
function: opentelekomcloud:getDdsFlavorsV3
arguments:
engineName: DDS-Community
vcpus: 8
Using getDdsFlavorsV3
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 getDdsFlavorsV3(args: GetDdsFlavorsV3Args, opts?: InvokeOptions): Promise<GetDdsFlavorsV3Result>
function getDdsFlavorsV3Output(args: GetDdsFlavorsV3OutputArgs, opts?: InvokeOptions): Output<GetDdsFlavorsV3Result>
def get_dds_flavors_v3(engine_name: Optional[str] = None,
id: Optional[str] = None,
memory: Optional[str] = None,
type: Optional[str] = None,
vcpus: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDdsFlavorsV3Result
def get_dds_flavors_v3_output(engine_name: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
memory: Optional[pulumi.Input[str]] = None,
type: Optional[pulumi.Input[str]] = None,
vcpus: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDdsFlavorsV3Result]
func GetDdsFlavorsV3(ctx *Context, args *GetDdsFlavorsV3Args, opts ...InvokeOption) (*GetDdsFlavorsV3Result, error)
func GetDdsFlavorsV3Output(ctx *Context, args *GetDdsFlavorsV3OutputArgs, opts ...InvokeOption) GetDdsFlavorsV3ResultOutput
> Note: This function is named GetDdsFlavorsV3
in the Go SDK.
public static class GetDdsFlavorsV3
{
public static Task<GetDdsFlavorsV3Result> InvokeAsync(GetDdsFlavorsV3Args args, InvokeOptions? opts = null)
public static Output<GetDdsFlavorsV3Result> Invoke(GetDdsFlavorsV3InvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDdsFlavorsV3Result> getDdsFlavorsV3(GetDdsFlavorsV3Args args, InvokeOptions options)
public static Output<GetDdsFlavorsV3Result> getDdsFlavorsV3(GetDdsFlavorsV3Args args, InvokeOptions options)
fn::invoke:
function: opentelekomcloud:index/getDdsFlavorsV3:getDdsFlavorsV3
arguments:
# arguments dictionary
The following arguments are supported:
- Engine
Name string - Specifies the engine name of the DDS,
DDS-Community
is supported. - Id string
- Memory string
- Specifies the RAM of the DDS flavor in GB.
- Type string
- Specifies the type of the DDS flavor.
mongos
,shard
,config
andreplica
are supported. - Vcpus string
- Specifies the vCPUs of the DDS flavor.
- Engine
Name string - Specifies the engine name of the DDS,
DDS-Community
is supported. - Id string
- Memory string
- Specifies the RAM of the DDS flavor in GB.
- Type string
- Specifies the type of the DDS flavor.
mongos
,shard
,config
andreplica
are supported. - Vcpus string
- Specifies the vCPUs of the DDS flavor.
- engine
Name String - Specifies the engine name of the DDS,
DDS-Community
is supported. - id String
- memory String
- Specifies the RAM of the DDS flavor in GB.
- type String
- Specifies the type of the DDS flavor.
mongos
,shard
,config
andreplica
are supported. - vcpus String
- Specifies the vCPUs of the DDS flavor.
- engine
Name string - Specifies the engine name of the DDS,
DDS-Community
is supported. - id string
- memory string
- Specifies the RAM of the DDS flavor in GB.
- type string
- Specifies the type of the DDS flavor.
mongos
,shard
,config
andreplica
are supported. - vcpus string
- Specifies the vCPUs of the DDS flavor.
- engine_
name str - Specifies the engine name of the DDS,
DDS-Community
is supported. - id str
- memory str
- Specifies the RAM of the DDS flavor in GB.
- type str
- Specifies the type of the DDS flavor.
mongos
,shard
,config
andreplica
are supported. - vcpus str
- Specifies the vCPUs of the DDS flavor.
- engine
Name String - Specifies the engine name of the DDS,
DDS-Community
is supported. - id String
- memory String
- Specifies the RAM of the DDS flavor in GB.
- type String
- Specifies the type of the DDS flavor.
mongos
,shard
,config
andreplica
are supported. - vcpus String
- Specifies the vCPUs of the DDS flavor.
getDdsFlavorsV3 Result
The following output properties are available:
- Engine
Name string - Flavors
List<Get
Dds Flavors V3Flavor> - Indicates the flavors information. Structure is documented below.
- Id string
- Region string
- See Argument Reference above.
- Memory string
- See
memory
above. - Type string
- See
type
above. - Vcpus string
- See
vcpus
above.
- Engine
Name string - Flavors
[]Get
Dds Flavors V3Flavor - Indicates the flavors information. Structure is documented below.
- Id string
- Region string
- See Argument Reference above.
- Memory string
- See
memory
above. - Type string
- See
type
above. - Vcpus string
- See
vcpus
above.
- engine
Name String - flavors
List<Get
Dds Flavors V3Flavor> - Indicates the flavors information. Structure is documented below.
- id String
- region String
- See Argument Reference above.
- memory String
- See
memory
above. - type String
- See
type
above. - vcpus String
- See
vcpus
above.
- engine
Name string - flavors
Get
Dds Flavors V3Flavor[] - Indicates the flavors information. Structure is documented below.
- id string
- region string
- See Argument Reference above.
- memory string
- See
memory
above. - type string
- See
type
above. - vcpus string
- See
vcpus
above.
- engine_
name str - flavors
Sequence[Get
Dds Flavors V3Flavor] - Indicates the flavors information. Structure is documented below.
- id str
- region str
- See Argument Reference above.
- memory str
- See
memory
above. - type str
- See
type
above. - vcpus str
- See
vcpus
above.
- engine
Name String - flavors List<Property Map>
- Indicates the flavors information. Structure is documented below.
- id String
- region String
- See Argument Reference above.
- memory String
- See
memory
above. - type String
- See
type
above. - vcpus String
- See
vcpus
above.
Supporting Types
GetDdsFlavorsV3Flavor
- Az
Status Dictionary<string, string> - Indicates the status of specifications in an AZ.
- Memory string
- Specifies the RAM of the DDS flavor in GB.
- Spec
Code string - The name of the DDS flavor.
- Type string
- Specifies the type of the DDS flavor.
mongos
,shard
,config
andreplica
are supported. - Vcpus string
- Specifies the vCPUs of the DDS flavor.
- Az
Status map[string]string - Indicates the status of specifications in an AZ.
- Memory string
- Specifies the RAM of the DDS flavor in GB.
- Spec
Code string - The name of the DDS flavor.
- Type string
- Specifies the type of the DDS flavor.
mongos
,shard
,config
andreplica
are supported. - Vcpus string
- Specifies the vCPUs of the DDS flavor.
- az
Status Map<String,String> - Indicates the status of specifications in an AZ.
- memory String
- Specifies the RAM of the DDS flavor in GB.
- spec
Code String - The name of the DDS flavor.
- type String
- Specifies the type of the DDS flavor.
mongos
,shard
,config
andreplica
are supported. - vcpus String
- Specifies the vCPUs of the DDS flavor.
- az
Status {[key: string]: string} - Indicates the status of specifications in an AZ.
- memory string
- Specifies the RAM of the DDS flavor in GB.
- spec
Code string - The name of the DDS flavor.
- type string
- Specifies the type of the DDS flavor.
mongos
,shard
,config
andreplica
are supported. - vcpus string
- Specifies the vCPUs of the DDS flavor.
- az_
status Mapping[str, str] - Indicates the status of specifications in an AZ.
- memory str
- Specifies the RAM of the DDS flavor in GB.
- spec_
code str - The name of the DDS flavor.
- type str
- Specifies the type of the DDS flavor.
mongos
,shard
,config
andreplica
are supported. - vcpus str
- Specifies the vCPUs of the DDS flavor.
- az
Status Map<String> - Indicates the status of specifications in an AZ.
- memory String
- Specifies the RAM of the DDS flavor in GB.
- spec
Code String - The name of the DDS flavor.
- type String
- Specifies the type of the DDS flavor.
mongos
,shard
,config
andreplica
are supported. - vcpus String
- Specifies the vCPUs of the DDS flavor.
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