1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. getDmsProductV1
opentelekomcloud 1.36.35 published on Monday, Apr 14, 2025 by opentelekomcloud

opentelekomcloud.getDmsProductV1

Explore with Pulumi AI

opentelekomcloud 1.36.35 published on Monday, Apr 14, 2025 by opentelekomcloud

Up-to-date reference of API arguments for DMS product you can get at documentation portal

Use this data source to get the ID of an available DMS product within OpenTelekomCloud.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";

const product1 = opentelekomcloud.getDmsProductV1({
    engine: "kafka",
    instanceType: "cluster",
    partitionNum: "300",
    storage: "600",
    storageSpecCode: "dms.physical.storage.high",
    version: "2.3.0",
});
Copy
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud

product1 = opentelekomcloud.get_dms_product_v1(engine="kafka",
    instance_type="cluster",
    partition_num="300",
    storage="600",
    storage_spec_code="dms.physical.storage.high",
    version="2.3.0")
Copy
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.GetDmsProductV1(ctx, &opentelekomcloud.GetDmsProductV1Args{
			Engine:          "kafka",
			InstanceType:    "cluster",
			PartitionNum:    pulumi.StringRef("300"),
			Storage:         pulumi.StringRef("600"),
			StorageSpecCode: pulumi.StringRef("dms.physical.storage.high"),
			Version:         pulumi.StringRef("2.3.0"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;

return await Deployment.RunAsync(() => 
{
    var product1 = Opentelekomcloud.GetDmsProductV1.Invoke(new()
    {
        Engine = "kafka",
        InstanceType = "cluster",
        PartitionNum = "300",
        Storage = "600",
        StorageSpecCode = "dms.physical.storage.high",
        Version = "2.3.0",
    });

});
Copy
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.GetDmsProductV1Args;
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 = OpentelekomcloudFunctions.getDmsProductV1(GetDmsProductV1Args.builder()
            .engine("kafka")
            .instanceType("cluster")
            .partitionNum(300)
            .storage(600)
            .storageSpecCode("dms.physical.storage.high")
            .version("2.3.0")
            .build());

    }
}
Copy
variables:
  product1:
    fn::invoke:
      function: opentelekomcloud:getDmsProductV1
      arguments:
        engine: kafka
        instanceType: cluster
        partitionNum: 300
        storage: 600
        storageSpecCode: dms.physical.storage.high
        version: 2.3.0
Copy

Using getDmsProductV1

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 getDmsProductV1(args: GetDmsProductV1Args, opts?: InvokeOptions): Promise<GetDmsProductV1Result>
function getDmsProductV1Output(args: GetDmsProductV1OutputArgs, opts?: InvokeOptions): Output<GetDmsProductV1Result>
Copy
def get_dms_product_v1(bandwidth: Optional[str] = None,
                       engine: Optional[str] = None,
                       id: Optional[str] = None,
                       instance_type: Optional[str] = None,
                       io_type: Optional[str] = None,
                       node_num: Optional[str] = None,
                       partition_num: Optional[str] = None,
                       storage: Optional[str] = None,
                       storage_spec_code: Optional[str] = None,
                       version: Optional[str] = None,
                       vm_specification: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetDmsProductV1Result
def get_dms_product_v1_output(bandwidth: Optional[pulumi.Input[str]] = None,
                       engine: Optional[pulumi.Input[str]] = None,
                       id: Optional[pulumi.Input[str]] = None,
                       instance_type: Optional[pulumi.Input[str]] = None,
                       io_type: Optional[pulumi.Input[str]] = None,
                       node_num: Optional[pulumi.Input[str]] = None,
                       partition_num: Optional[pulumi.Input[str]] = None,
                       storage: Optional[pulumi.Input[str]] = None,
                       storage_spec_code: Optional[pulumi.Input[str]] = None,
                       version: Optional[pulumi.Input[str]] = None,
                       vm_specification: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetDmsProductV1Result]
Copy
func GetDmsProductV1(ctx *Context, args *GetDmsProductV1Args, opts ...InvokeOption) (*GetDmsProductV1Result, error)
func GetDmsProductV1Output(ctx *Context, args *GetDmsProductV1OutputArgs, opts ...InvokeOption) GetDmsProductV1ResultOutput
Copy

> Note: This function is named GetDmsProductV1 in the Go SDK.

public static class GetDmsProductV1 
{
    public static Task<GetDmsProductV1Result> InvokeAsync(GetDmsProductV1Args args, InvokeOptions? opts = null)
    public static Output<GetDmsProductV1Result> Invoke(GetDmsProductV1InvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetDmsProductV1Result> getDmsProductV1(GetDmsProductV1Args args, InvokeOptions options)
public static Output<GetDmsProductV1Result> getDmsProductV1(GetDmsProductV1Args args, InvokeOptions options)
Copy
fn::invoke:
  function: opentelekomcloud:index/getDmsProductV1:getDmsProductV1
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Engine This property is required. string
Indicates the name of a message engine. Only "kafka" is supported now.
InstanceType This property is required. string
Indicates an instance type. Only "cluster" is supported now.
Bandwidth string
Indicates the baseline bandwidth of a Kafka instance.
Id string
IoType string
Indicates an I/O type.
NodeNum string
Indicates the number of nodes in a cluster.
PartitionNum string
Indicates the maximum number of topics that can be created for a Kafka instance.
Storage string
Indicates the message storage space.
StorageSpecCode string
Indicates an I/O specification.
Version string
Indicates the version of a message engine. Only "2.3.0" is supported now.
VmSpecification string
Indicates VM specifications.
Engine This property is required. string
Indicates the name of a message engine. Only "kafka" is supported now.
InstanceType This property is required. string
Indicates an instance type. Only "cluster" is supported now.
Bandwidth string
Indicates the baseline bandwidth of a Kafka instance.
Id string
IoType string
Indicates an I/O type.
NodeNum string
Indicates the number of nodes in a cluster.
PartitionNum string
Indicates the maximum number of topics that can be created for a Kafka instance.
Storage string
Indicates the message storage space.
StorageSpecCode string
Indicates an I/O specification.
Version string
Indicates the version of a message engine. Only "2.3.0" is supported now.
VmSpecification string
Indicates VM specifications.
engine This property is required. String
Indicates the name of a message engine. Only "kafka" is supported now.
instanceType This property is required. String
Indicates an instance type. Only "cluster" is supported now.
bandwidth String
Indicates the baseline bandwidth of a Kafka instance.
id String
ioType String
Indicates an I/O type.
nodeNum String
Indicates the number of nodes in a cluster.
partitionNum String
Indicates the maximum number of topics that can be created for a Kafka instance.
storage String
Indicates the message storage space.
storageSpecCode String
Indicates an I/O specification.
version String
Indicates the version of a message engine. Only "2.3.0" is supported now.
vmSpecification String
Indicates VM specifications.
engine This property is required. string
Indicates the name of a message engine. Only "kafka" is supported now.
instanceType This property is required. string
Indicates an instance type. Only "cluster" is supported now.
bandwidth string
Indicates the baseline bandwidth of a Kafka instance.
id string
ioType string
Indicates an I/O type.
nodeNum string
Indicates the number of nodes in a cluster.
partitionNum string
Indicates the maximum number of topics that can be created for a Kafka instance.
storage string
Indicates the message storage space.
storageSpecCode string
Indicates an I/O specification.
version string
Indicates the version of a message engine. Only "2.3.0" is supported now.
vmSpecification string
Indicates VM specifications.
engine This property is required. str
Indicates the name of a message engine. Only "kafka" is supported now.
instance_type This property is required. str
Indicates an instance type. Only "cluster" is supported now.
bandwidth str
Indicates the baseline bandwidth of a Kafka instance.
id str
io_type str
Indicates an I/O type.
node_num str
Indicates the number of nodes in a cluster.
partition_num str
Indicates the maximum number of topics that can be created for a Kafka instance.
storage str
Indicates the message storage space.
storage_spec_code str
Indicates an I/O specification.
version str
Indicates the version of a message engine. Only "2.3.0" is supported now.
vm_specification str
Indicates VM specifications.
engine This property is required. String
Indicates the name of a message engine. Only "kafka" is supported now.
instanceType This property is required. String
Indicates an instance type. Only "cluster" is supported now.
bandwidth String
Indicates the baseline bandwidth of a Kafka instance.
id String
ioType String
Indicates an I/O type.
nodeNum String
Indicates the number of nodes in a cluster.
partitionNum String
Indicates the maximum number of topics that can be created for a Kafka instance.
storage String
Indicates the message storage space.
storageSpecCode String
Indicates an I/O specification.
version String
Indicates the version of a message engine. Only "2.3.0" is supported now.
vmSpecification String
Indicates VM specifications.

getDmsProductV1 Result

The following output properties are available:

Engine string
See Argument Reference above.
Id string
InstanceType string
See Argument Reference above.
IoType string
See Argument Reference above.
NodeNum string
See Argument Reference above.
Storage string
StorageSpecCode string
See Argument Reference above.
Version string
See Argument Reference above.
VmSpecification string
See Argument Reference above.
Bandwidth string
See Argument Reference above.
PartitionNum string
See Argument Reference above.
Engine string
See Argument Reference above.
Id string
InstanceType string
See Argument Reference above.
IoType string
See Argument Reference above.
NodeNum string
See Argument Reference above.
Storage string
StorageSpecCode string
See Argument Reference above.
Version string
See Argument Reference above.
VmSpecification string
See Argument Reference above.
Bandwidth string
See Argument Reference above.
PartitionNum string
See Argument Reference above.
engine String
See Argument Reference above.
id String
instanceType String
See Argument Reference above.
ioType String
See Argument Reference above.
nodeNum String
See Argument Reference above.
storage String
storageSpecCode String
See Argument Reference above.
version String
See Argument Reference above.
vmSpecification String
See Argument Reference above.
bandwidth String
See Argument Reference above.
partitionNum String
See Argument Reference above.
engine string
See Argument Reference above.
id string
instanceType string
See Argument Reference above.
ioType string
See Argument Reference above.
nodeNum string
See Argument Reference above.
storage string
storageSpecCode string
See Argument Reference above.
version string
See Argument Reference above.
vmSpecification string
See Argument Reference above.
bandwidth string
See Argument Reference above.
partitionNum string
See Argument Reference above.
engine str
See Argument Reference above.
id str
instance_type str
See Argument Reference above.
io_type str
See Argument Reference above.
node_num str
See Argument Reference above.
storage str
storage_spec_code str
See Argument Reference above.
version str
See Argument Reference above.
vm_specification str
See Argument Reference above.
bandwidth str
See Argument Reference above.
partition_num str
See Argument Reference above.
engine String
See Argument Reference above.
id String
instanceType String
See Argument Reference above.
ioType String
See Argument Reference above.
nodeNum String
See Argument Reference above.
storage String
storageSpecCode String
See Argument Reference above.
version String
See Argument Reference above.
vmSpecification String
See Argument Reference above.
bandwidth String
See Argument Reference above.
partitionNum String
See Argument Reference above.

Package Details

Repository
opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
License
Notes
This Pulumi package is based on the opentelekomcloud Terraform Provider.
opentelekomcloud 1.36.35 published on Monday, Apr 14, 2025 by opentelekomcloud