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

flexibleengine.getDmsProduct

Explore with Pulumi AI

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",
});
Copy
import pulumi
import pulumi_flexibleengine as flexibleengine

product1 = flexibleengine.get_dms_product(bandwidth="300MB",
    engine="kafka")
Copy
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
	})
}
Copy
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",
    });

});
Copy
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());

    }
}
Copy
variables:
  product1:
    fn::invoke:
      function: flexibleengine:getDmsProduct
      arguments:
        bandwidth: 300MB
        engine: kafka
Copy

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>
Copy
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]
Copy
func GetDmsProduct(ctx *Context, args *GetDmsProductArgs, opts ...InvokeOption) (*GetDmsProductResult, error)
func GetDmsProductOutput(ctx *Context, args *GetDmsProductOutputArgs, opts ...InvokeOption) GetDmsProductResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetDmsProductResult> getDmsProduct(GetDmsProductArgs args, InvokeOptions options)
public static Output<GetDmsProductResult> getDmsProduct(GetDmsProductArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: flexibleengine:index/getDmsProduct:getDmsProduct
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Bandwidth This property is required. 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.
EngineVersion 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 This property is required. 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.
EngineVersion 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 This property is required. 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.
engineVersion 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 This property is required. 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.
engineVersion 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 This property is required. 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 This property is required. 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.
engineVersion 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:

AvailabilityZones List<string>
The list of availability zones where there are available resources.
Bandwidth string
CpuArch string
The CPU architecture of a DMS instance.
EcsFlavorId string
The flavor of the corresponding ECS.
Id string
The DMS product ID.
MaxTps double
The maximum number of messages per unit time.
PartitionNum double
The maximum number of topics in a Kafka instance.
Region string
SpecCode string
The DMS product specification, for example, dms.instance.kafka.cluster.c3.small.2.
StorageSpace double
The minimum storage capacity of the DMS product.
StorageSpecCodes List<string>
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
EngineVersion string
AvailabilityZones []string
The list of availability zones where there are available resources.
Bandwidth string
CpuArch string
The CPU architecture of a DMS instance.
EcsFlavorId string
The flavor of the corresponding ECS.
Id string
The DMS product ID.
MaxTps float64
The maximum number of messages per unit time.
PartitionNum float64
The maximum number of topics in a Kafka instance.
Region string
SpecCode string
The DMS product specification, for example, dms.instance.kafka.cluster.c3.small.2.
StorageSpace float64
The minimum storage capacity of the DMS product.
StorageSpecCodes []string
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
EngineVersion string
availabilityZones List<String>
The list of availability zones where there are available resources.
bandwidth String
cpuArch String
The CPU architecture of a DMS instance.
ecsFlavorId String
The flavor of the corresponding ECS.
id String
The DMS product ID.
maxTps Double
The maximum number of messages per unit time.
partitionNum Double
The maximum number of topics in a Kafka instance.
region String
specCode String
The DMS product specification, for example, dms.instance.kafka.cluster.c3.small.2.
storageSpace Double
The minimum storage capacity of the DMS product.
storageSpecCodes List<String>
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
engineVersion String
availabilityZones string[]
The list of availability zones where there are available resources.
bandwidth string
cpuArch string
The CPU architecture of a DMS instance.
ecsFlavorId string
The flavor of the corresponding ECS.
id string
The DMS product ID.
maxTps number
The maximum number of messages per unit time.
partitionNum number
The maximum number of topics in a Kafka instance.
region string
specCode string
The DMS product specification, for example, dms.instance.kafka.cluster.c3.small.2.
storageSpace number
The minimum storage capacity of the DMS product.
storageSpecCodes string[]
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
engineVersion 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_id str
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_codes Sequence[str]
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
availabilityZones List<String>
The list of availability zones where there are available resources.
bandwidth String
cpuArch String
The CPU architecture of a DMS instance.
ecsFlavorId String
The flavor of the corresponding ECS.
id String
The DMS product ID.
maxTps Number
The maximum number of messages per unit time.
partitionNum Number
The maximum number of topics in a Kafka instance.
region String
specCode String
The DMS product specification, for example, dms.instance.kafka.cluster.c3.small.2.
storageSpace Number
The minimum storage capacity of the DMS product.
storageSpecCodes List<String>
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
engineVersion String

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