flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
flexibleengine.getDmsProduct
Start a Neo task
Explain and create a flexibleengine.getDmsProduct resource
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
Use this data source to get details about an available FlexibleEngine DMS product.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";
const product1 = flexibleengine.getDmsProduct({
bandwidth: "300MB",
engine: "kafka",
});
import pulumi
import pulumi_flexibleengine as flexibleengine
product1 = flexibleengine.get_dms_product(bandwidth="300MB",
engine="kafka")
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.GetDmsProduct(ctx, &flexibleengine.GetDmsProductArgs{
Bandwidth: "300MB",
Engine: pulumi.StringRef("kafka"),
}, 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 product1 = Flexibleengine.GetDmsProduct.Invoke(new()
{
Bandwidth = "300MB",
Engine = "kafka",
});
});
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.GetDmsProductArgs;
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 product1 = FlexibleengineFunctions.getDmsProduct(GetDmsProductArgs.builder()
.bandwidth("300MB")
.engine("kafka")
.build());
}
}
variables:
product1:
fn::invoke:
function: flexibleengine:getDmsProduct
arguments:
bandwidth: 300MB
engine: kafka
Using getDmsProduct
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 getDmsProduct(args: GetDmsProductArgs, opts?: InvokeOptions): Promise<GetDmsProductResult>
function getDmsProductOutput(args: GetDmsProductOutputArgs, opts?: InvokeOptions): Output<GetDmsProductResult>def get_dms_product(bandwidth: Optional[str] = None,
engine: Optional[str] = None,
engine_version: Optional[str] = None,
id: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDmsProductResult
def get_dms_product_output(bandwidth: Optional[pulumi.Input[str]] = None,
engine: Optional[pulumi.Input[str]] = None,
engine_version: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDmsProductResult]func GetDmsProduct(ctx *Context, args *GetDmsProductArgs, opts ...InvokeOption) (*GetDmsProductResult, error)
func GetDmsProductOutput(ctx *Context, args *GetDmsProductOutputArgs, opts ...InvokeOption) GetDmsProductResultOutput> Note: This function is named GetDmsProduct in the Go SDK.
public static class GetDmsProduct
{
public static Task<GetDmsProductResult> InvokeAsync(GetDmsProductArgs args, InvokeOptions? opts = null)
public static Output<GetDmsProductResult> Invoke(GetDmsProductInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDmsProductResult> getDmsProduct(GetDmsProductArgs args, InvokeOptions options)
public static Output<GetDmsProductResult> getDmsProduct(GetDmsProductArgs args, InvokeOptions options)
fn::invoke:
function: flexibleengine:index/getDmsProduct:getDmsProduct
arguments:
# arguments dictionaryThe following arguments are supported:
- Bandwidth string
- Specifies the bandwidth of a DMS instance. The valid values are 100MB, 300MB, 600MB and 1200MB.
- Engine string
- Specifies the name of a message engine. Only kafka is supported.
- Engine
Version string - Specifies the version of a message engine. The default value is 2.3.0.
- Id string
- The DMS product ID.
- Region string
- Specifies the region in which to obtain the DMS products. If omitted, the provider-level region will be used.
- Bandwidth string
- Specifies the bandwidth of a DMS instance. The valid values are 100MB, 300MB, 600MB and 1200MB.
- Engine string
- Specifies the name of a message engine. Only kafka is supported.
- Engine
Version string - Specifies the version of a message engine. The default value is 2.3.0.
- Id string
- The DMS product ID.
- Region string
- Specifies the region in which to obtain the DMS products. If omitted, the provider-level region will be used.
- bandwidth String
- Specifies the bandwidth of a DMS instance. The valid values are 100MB, 300MB, 600MB and 1200MB.
- engine String
- Specifies the name of a message engine. Only kafka is supported.
- engine
Version String - Specifies the version of a message engine. The default value is 2.3.0.
- id String
- The DMS product ID.
- region String
- Specifies the region in which to obtain the DMS products. If omitted, the provider-level region will be used.
- bandwidth string
- Specifies the bandwidth of a DMS instance. The valid values are 100MB, 300MB, 600MB and 1200MB.
- engine string
- Specifies the name of a message engine. Only kafka is supported.
- engine
Version string - Specifies the version of a message engine. The default value is 2.3.0.
- id string
- The DMS product ID.
- region string
- Specifies the region in which to obtain the DMS products. If omitted, the provider-level region will be used.
- bandwidth str
- Specifies the bandwidth of a DMS instance. The valid values are 100MB, 300MB, 600MB and 1200MB.
- engine str
- Specifies the name of a message engine. Only kafka is supported.
- engine_
version str - Specifies the version of a message engine. The default value is 2.3.0.
- id str
- The DMS product ID.
- region str
- Specifies the region in which to obtain the DMS products. If omitted, the provider-level region will be used.
- bandwidth String
- Specifies the bandwidth of a DMS instance. The valid values are 100MB, 300MB, 600MB and 1200MB.
- engine String
- Specifies the name of a message engine. Only kafka is supported.
- engine
Version String - Specifies the version of a message engine. The default value is 2.3.0.
- id String
- The DMS product ID.
- region String
- Specifies the region in which to obtain the DMS products. If omitted, the provider-level region will be used.
getDmsProduct Result
The following output properties are available:
- Availability
Zones List<string> - The list of availability zones where there are available resources.
- Bandwidth string
- Cpu
Arch string - The CPU architecture of a DMS instance.
- Ecs
Flavor stringId - The flavor of the corresponding ECS.
- Id string
- The DMS product ID.
- Max
Tps double - The maximum number of messages per unit time.
- Partition
Num double - The maximum number of topics in a Kafka instance.
- Region string
- Spec
Code string - The DMS product specification, for example, dms.instance.kafka.cluster.c3.small.2.
- Storage
Space double - The minimum storage capacity of the DMS product.
- Storage
Spec List<string>Codes - The list of supported storage specification. The item of the list can be one of dms.physical.storage.ultra and dms.physical.storage.high.
- Engine string
- Engine
Version string
- Availability
Zones []string - The list of availability zones where there are available resources.
- Bandwidth string
- Cpu
Arch string - The CPU architecture of a DMS instance.
- Ecs
Flavor stringId - The flavor of the corresponding ECS.
- Id string
- The DMS product ID.
- Max
Tps float64 - The maximum number of messages per unit time.
- Partition
Num float64 - The maximum number of topics in a Kafka instance.
- Region string
- Spec
Code string - The DMS product specification, for example, dms.instance.kafka.cluster.c3.small.2.
- Storage
Space float64 - The minimum storage capacity of the DMS product.
- Storage
Spec []stringCodes - The list of supported storage specification. The item of the list can be one of dms.physical.storage.ultra and dms.physical.storage.high.
- Engine string
- Engine
Version string
- availability
Zones List<String> - The list of availability zones where there are available resources.
- bandwidth String
- cpu
Arch String - The CPU architecture of a DMS instance.
- ecs
Flavor StringId - The flavor of the corresponding ECS.
- id String
- The DMS product ID.
- max
Tps Double - The maximum number of messages per unit time.
- partition
Num Double - The maximum number of topics in a Kafka instance.
- region String
- spec
Code String - The DMS product specification, for example, dms.instance.kafka.cluster.c3.small.2.
- storage
Space Double - The minimum storage capacity of the DMS product.
- storage
Spec List<String>Codes - The list of supported storage specification. The item of the list can be one of dms.physical.storage.ultra and dms.physical.storage.high.
- engine String
- engine
Version String
- availability
Zones string[] - The list of availability zones where there are available resources.
- bandwidth string
- cpu
Arch string - The CPU architecture of a DMS instance.
- ecs
Flavor stringId - The flavor of the corresponding ECS.
- id string
- The DMS product ID.
- max
Tps number - The maximum number of messages per unit time.
- partition
Num number - The maximum number of topics in a Kafka instance.
- region string
- spec
Code string - The DMS product specification, for example, dms.instance.kafka.cluster.c3.small.2.
- storage
Space number - The minimum storage capacity of the DMS product.
- storage
Spec string[]Codes - The list of supported storage specification. The item of the list can be one of dms.physical.storage.ultra and dms.physical.storage.high.
- engine string
- engine
Version string
- availability_
zones Sequence[str] - The list of availability zones where there are available resources.
- bandwidth str
- cpu_
arch str - The CPU architecture of a DMS instance.
- ecs_
flavor_ strid - The flavor of the corresponding ECS.
- id str
- The DMS product ID.
- max_
tps float - The maximum number of messages per unit time.
- partition_
num float - The maximum number of topics in a Kafka instance.
- region str
- spec_
code str - The DMS product specification, for example, dms.instance.kafka.cluster.c3.small.2.
- storage_
space float - The minimum storage capacity of the DMS product.
- storage_
spec_ Sequence[str]codes - The list of supported storage specification. The item of the list can be one of dms.physical.storage.ultra and dms.physical.storage.high.
- engine str
- engine_
version str
- availability
Zones List<String> - The list of availability zones where there are available resources.
- bandwidth String
- cpu
Arch String - The CPU architecture of a DMS instance.
- ecs
Flavor StringId - The flavor of the corresponding ECS.
- id String
- The DMS product ID.
- max
Tps Number - The maximum number of messages per unit time.
- partition
Num Number - The maximum number of topics in a Kafka instance.
- region String
- spec
Code String - The DMS product specification, for example, dms.instance.kafka.cluster.c3.small.2.
- storage
Space Number - The minimum storage capacity of the DMS product.
- storage
Spec List<String>Codes - The list of supported storage specification. The item of the list can be one of dms.physical.storage.ultra and dms.physical.storage.high.
- engine String
- engine
Version String
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
