opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud
opentelekomcloud.getDmsProductV1
Explore with Pulumi AI
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 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",
});
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")
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
})
}
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",
});
});
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());
}
}
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
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>
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]
func GetDmsProductV1(ctx *Context, args *GetDmsProductV1Args, opts ...InvokeOption) (*GetDmsProductV1Result, error)
func GetDmsProductV1Output(ctx *Context, args *GetDmsProductV1OutputArgs, opts ...InvokeOption) GetDmsProductV1ResultOutput
> 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)
}
public static CompletableFuture<GetDmsProductV1Result> getDmsProductV1(GetDmsProductV1Args args, InvokeOptions options)
public static Output<GetDmsProductV1Result> getDmsProductV1(GetDmsProductV1Args args, InvokeOptions options)
fn::invoke:
function: opentelekomcloud:index/getDmsProductV1:getDmsProductV1
arguments:
# arguments dictionary
The following arguments are supported:
- Engine string
- Indicates the name of a message engine. Only "kafka" is supported now.
- Instance
Type string - Indicates an instance type. Only "cluster" is supported now.
- Bandwidth string
- Indicates the baseline bandwidth of a Kafka instance.
- Id string
- Io
Type string - Indicates an I/O type.
- Node
Num string - Indicates the number of nodes in a cluster.
- Partition
Num string - Indicates the maximum number of topics that can be created for a Kafka instance.
- Storage string
- Indicates the message storage space.
- Storage
Spec stringCode - Indicates an I/O specification.
- Version string
- Indicates the version of a message engine. Only "2.3.0" is supported now.
- Vm
Specification string - Indicates VM specifications.
- Engine string
- Indicates the name of a message engine. Only "kafka" is supported now.
- Instance
Type string - Indicates an instance type. Only "cluster" is supported now.
- Bandwidth string
- Indicates the baseline bandwidth of a Kafka instance.
- Id string
- Io
Type string - Indicates an I/O type.
- Node
Num string - Indicates the number of nodes in a cluster.
- Partition
Num string - Indicates the maximum number of topics that can be created for a Kafka instance.
- Storage string
- Indicates the message storage space.
- Storage
Spec stringCode - Indicates an I/O specification.
- Version string
- Indicates the version of a message engine. Only "2.3.0" is supported now.
- Vm
Specification string - Indicates VM specifications.
- engine String
- Indicates the name of a message engine. Only "kafka" is supported now.
- instance
Type String - Indicates an instance type. Only "cluster" is supported now.
- bandwidth String
- Indicates the baseline bandwidth of a Kafka instance.
- id String
- io
Type String - Indicates an I/O type.
- node
Num String - Indicates the number of nodes in a cluster.
- partition
Num String - Indicates the maximum number of topics that can be created for a Kafka instance.
- storage String
- Indicates the message storage space.
- storage
Spec StringCode - Indicates an I/O specification.
- version String
- Indicates the version of a message engine. Only "2.3.0" is supported now.
- vm
Specification String - Indicates VM specifications.
- engine string
- Indicates the name of a message engine. Only "kafka" is supported now.
- instance
Type string - Indicates an instance type. Only "cluster" is supported now.
- bandwidth string
- Indicates the baseline bandwidth of a Kafka instance.
- id string
- io
Type string - Indicates an I/O type.
- node
Num string - Indicates the number of nodes in a cluster.
- partition
Num string - Indicates the maximum number of topics that can be created for a Kafka instance.
- storage string
- Indicates the message storage space.
- storage
Spec stringCode - Indicates an I/O specification.
- version string
- Indicates the version of a message engine. Only "2.3.0" is supported now.
- vm
Specification string - Indicates VM specifications.
- engine str
- Indicates the name of a message engine. Only "kafka" is supported now.
- instance_
type 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_ strcode - 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 String
- Indicates the name of a message engine. Only "kafka" is supported now.
- instance
Type String - Indicates an instance type. Only "cluster" is supported now.
- bandwidth String
- Indicates the baseline bandwidth of a Kafka instance.
- id String
- io
Type String - Indicates an I/O type.
- node
Num String - Indicates the number of nodes in a cluster.
- partition
Num String - Indicates the maximum number of topics that can be created for a Kafka instance.
- storage String
- Indicates the message storage space.
- storage
Spec StringCode - Indicates an I/O specification.
- version String
- Indicates the version of a message engine. Only "2.3.0" is supported now.
- vm
Specification String - Indicates VM specifications.
getDmsProductV1 Result
The following output properties are available:
- Engine string
- See Argument Reference above.
- Id string
- Instance
Type string - See Argument Reference above.
- Io
Type string - See Argument Reference above.
- Node
Num string - See Argument Reference above.
- Storage string
- Storage
Spec stringCode - See Argument Reference above.
- Version string
- See Argument Reference above.
- Vm
Specification string - See Argument Reference above.
- Bandwidth string
- See Argument Reference above.
- Partition
Num string - See Argument Reference above.
- Engine string
- See Argument Reference above.
- Id string
- Instance
Type string - See Argument Reference above.
- Io
Type string - See Argument Reference above.
- Node
Num string - See Argument Reference above.
- Storage string
- Storage
Spec stringCode - See Argument Reference above.
- Version string
- See Argument Reference above.
- Vm
Specification string - See Argument Reference above.
- Bandwidth string
- See Argument Reference above.
- Partition
Num string - See Argument Reference above.
- engine String
- See Argument Reference above.
- id String
- instance
Type String - See Argument Reference above.
- io
Type String - See Argument Reference above.
- node
Num String - See Argument Reference above.
- storage String
- storage
Spec StringCode - See Argument Reference above.
- version String
- See Argument Reference above.
- vm
Specification String - See Argument Reference above.
- bandwidth String
- See Argument Reference above.
- partition
Num String - See Argument Reference above.
- engine string
- See Argument Reference above.
- id string
- instance
Type string - See Argument Reference above.
- io
Type string - See Argument Reference above.
- node
Num string - See Argument Reference above.
- storage string
- storage
Spec stringCode - See Argument Reference above.
- version string
- See Argument Reference above.
- vm
Specification string - See Argument Reference above.
- bandwidth string
- See Argument Reference above.
- partition
Num 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_ strcode - 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
- instance
Type String - See Argument Reference above.
- io
Type String - See Argument Reference above.
- node
Num String - See Argument Reference above.
- storage String
- storage
Spec StringCode - See Argument Reference above.
- version String
- See Argument Reference above.
- vm
Specification String - See Argument Reference above.
- bandwidth String
- See Argument Reference above.
- partition
Num 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.37 published on Thursday, Apr 24, 2025 by opentelekomcloud