flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
flexibleengine.getDdsFlavorsV3
Explore with Pulumi AI
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
Use this data source to get the details of available DDS flavors.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";
const flavor = flexibleengine.getDdsFlavorsV3({
engineName: "DDS-Community",
memory: "32",
vcpus: "8",
});
import pulumi
import pulumi_flexibleengine as flexibleengine
flavor = flexibleengine.get_dds_flavors_v3(engine_name="DDS-Community",
memory="32",
vcpus="8")
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.GetDdsFlavorsV3(ctx, &flexibleengine.GetDdsFlavorsV3Args{
EngineName: pulumi.StringRef("DDS-Community"),
Memory: pulumi.StringRef("32"),
Vcpus: pulumi.StringRef("8"),
}, 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.GetDdsFlavorsV3.Invoke(new()
{
EngineName = "DDS-Community",
Memory = "32",
Vcpus = "8",
});
});
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.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 = FlexibleengineFunctions.getDdsFlavorsV3(GetDdsFlavorsV3Args.builder()
.engineName("DDS-Community")
.memory(32)
.vcpus(8)
.build());
}
}
variables:
flavor:
fn::invoke:
function: flexibleengine:getDdsFlavorsV3
arguments:
engineName: DDS-Community
memory: 32
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,
region: 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,
region: 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: flexibleengine:index/getDdsFlavorsV3:getDdsFlavorsV3
arguments:
# arguments dictionary
The following arguments are supported:
- Engine
Name string - Specifies the engine name of the dds, the default value is "DDS-Community".
- Id string
- Specifies a data source ID.
- Memory string
- Specifies the ram of the dds flavor in GB.
- Region string
- The region in which to query the data source. If omitted, the provider-level region will be used.
- Type string
- Specifies the type of the dds falvor. "mongos", "shard", "config", "replica" and "single" are supported.
- Vcpus string
- Specifies the vcpus of the dds flavor.
- Engine
Name string - Specifies the engine name of the dds, the default value is "DDS-Community".
- Id string
- Specifies a data source ID.
- Memory string
- Specifies the ram of the dds flavor in GB.
- Region string
- The region in which to query the data source. If omitted, the provider-level region will be used.
- Type string
- Specifies the type of the dds falvor. "mongos", "shard", "config", "replica" and "single" are supported.
- Vcpus string
- Specifies the vcpus of the dds flavor.
- engine
Name String - Specifies the engine name of the dds, the default value is "DDS-Community".
- id String
- Specifies a data source ID.
- memory String
- Specifies the ram of the dds flavor in GB.
- region String
- The region in which to query the data source. If omitted, the provider-level region will be used.
- type String
- Specifies the type of the dds falvor. "mongos", "shard", "config", "replica" and "single" are supported.
- vcpus String
- Specifies the vcpus of the dds flavor.
- engine
Name string - Specifies the engine name of the dds, the default value is "DDS-Community".
- id string
- Specifies a data source ID.
- memory string
- Specifies the ram of the dds flavor in GB.
- region string
- The region in which to query the data source. If omitted, the provider-level region will be used.
- type string
- Specifies the type of the dds falvor. "mongos", "shard", "config", "replica" and "single" are supported.
- vcpus string
- Specifies the vcpus of the dds flavor.
- engine_
name str - Specifies the engine name of the dds, the default value is "DDS-Community".
- id str
- Specifies a data source ID.
- memory str
- Specifies the ram of the dds flavor in GB.
- region str
- The region in which to query the data source. If omitted, the provider-level region will be used.
- type str
- Specifies the type of the dds falvor. "mongos", "shard", "config", "replica" and "single" are supported.
- vcpus str
- Specifies the vcpus of the dds flavor.
- engine
Name String - Specifies the engine name of the dds, the default value is "DDS-Community".
- id String
- Specifies a data source ID.
- memory String
- Specifies the ram of the dds flavor in GB.
- region String
- The region in which to query the data source. If omitted, the provider-level region will be used.
- type String
- Specifies the type of the dds falvor. "mongos", "shard", "config", "replica" and "single" are supported.
- vcpus String
- Specifies the vcpus of the dds flavor.
getDdsFlavorsV3 Result
The following output properties are available:
- Flavors
List<Get
Dds Flavors V3Flavor> - Indicates the flavors information. The flavors object structure is documented below.
- Id string
- Specifies a data source ID.
- Region string
- Engine
Name string - Memory string
- See
memory
above. - Type string
- See
type
above. - Vcpus string
- See
vcpus
above.
- Flavors
[]Get
Dds Flavors V3Flavor - Indicates the flavors information. The flavors object structure is documented below.
- Id string
- Specifies a data source ID.
- Region string
- Engine
Name string - Memory string
- See
memory
above. - Type string
- See
type
above. - Vcpus string
- See
vcpus
above.
- flavors
List<Get
Dds Flavors V3Flavor> - Indicates the flavors information. The flavors object structure is documented below.
- id String
- Specifies a data source ID.
- region String
- engine
Name String - memory String
- See
memory
above. - type String
- See
type
above. - vcpus String
- See
vcpus
above.
- flavors
Get
Dds Flavors V3Flavor[] - Indicates the flavors information. The flavors object structure is documented below.
- id string
- Specifies a data source ID.
- region string
- engine
Name string - memory string
- See
memory
above. - type string
- See
type
above. - vcpus string
- See
vcpus
above.
- flavors
Sequence[Get
Dds Flavors V3Flavor] - Indicates the flavors information. The flavors object structure is documented below.
- id str
- Specifies a data source ID.
- region str
- engine_
name str - memory str
- See
memory
above. - type str
- See
type
above. - vcpus str
- See
vcpus
above.
- flavors List<Property Map>
- Indicates the flavors information. The flavors object structure is documented below.
- id String
- Specifies a data source ID.
- region String
- engine
Name String - memory String
- See
memory
above. - type String
- See
type
above. - vcpus String
- See
vcpus
above.
Supporting Types
GetDdsFlavorsV3Flavor
Package Details
- Repository
- flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
- License
- Notes
- This Pulumi package is based on the
flexibleengine
Terraform Provider.
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud