opentelekomcloud.DmsInstanceV2
Explore with Pulumi AI
Up-to-date reference of API arguments for DMS instance you can get at documentation portal
Manages a DMS instance in the OpenTelekomCloud DMS Service (Kafka Premium/Platinum).
~>
Deprecated, use opentelekomcloud.DmsDedicatedInstanceV2
resource instead
Example Usage
Automatically detect the correct network
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const config = new pulumi.Config();
const vpcId = config.requireObject("vpcId");
const subnetId = config.requireObject("subnetId");
const accessUser = config.requireObject("accessUser");
const password = config.requireObject("password");
const secgroup1 = new opentelekomcloud.NetworkingSecgroupV2("secgroup1", {description: "secgroup_1"});
const az1 = opentelekomcloud.getDmsAzV1({
name: "eu-de-01",
});
const product1 = opentelekomcloud.getDmsProductV1({
engine: "kafka",
version: "2.3.0",
instanceType: "cluster",
partitionNum: "300",
storage: "600",
storageSpecCode: "dms.physical.storage.high",
});
const instance1 = new opentelekomcloud.DmsInstanceV2("instance1", {
engine: "kafka",
productId: product1.then(product1 => product1.id),
engineVersion: product1.then(product1 => product1.version),
specification: product1.then(product1 => product1.bandwidth),
partitionNum: product1.then(product1 => product1.partitionNum),
storageSpecCode: product1.then(product1 => product1.storageSpecCode),
storageSpace: product1.then(product1 => product1.storage),
availableZones: [az1.then(az1 => az1.id)],
securityGroupId: secgroup1.networkingSecgroupV2Id,
vpcId: vpcId,
subnetId: subnetId,
accessUser: accessUser,
password: password,
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
vpc_id = config.require_object("vpcId")
subnet_id = config.require_object("subnetId")
access_user = config.require_object("accessUser")
password = config.require_object("password")
secgroup1 = opentelekomcloud.NetworkingSecgroupV2("secgroup1", description="secgroup_1")
az1 = opentelekomcloud.get_dms_az_v1(name="eu-de-01")
product1 = opentelekomcloud.get_dms_product_v1(engine="kafka",
version="2.3.0",
instance_type="cluster",
partition_num="300",
storage="600",
storage_spec_code="dms.physical.storage.high")
instance1 = opentelekomcloud.DmsInstanceV2("instance1",
engine="kafka",
product_id=product1.id,
engine_version=product1.version,
specification=product1.bandwidth,
partition_num=product1.partition_num,
storage_spec_code=product1.storage_spec_code,
storage_space=product1.storage,
available_zones=[az1.id],
security_group_id=secgroup1.networking_secgroup_v2_id,
vpc_id=vpc_id,
subnet_id=subnet_id,
access_user=access_user,
password=password)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
vpcId := cfg.RequireObject("vpcId")
subnetId := cfg.RequireObject("subnetId")
accessUser := cfg.RequireObject("accessUser")
password := cfg.RequireObject("password")
secgroup1, err := opentelekomcloud.NewNetworkingSecgroupV2(ctx, "secgroup1", &opentelekomcloud.NetworkingSecgroupV2Args{
Description: pulumi.String("secgroup_1"),
})
if err != nil {
return err
}
az1, err := opentelekomcloud.GetDmsAzV1(ctx, &opentelekomcloud.GetDmsAzV1Args{
Name: pulumi.StringRef("eu-de-01"),
}, nil)
if err != nil {
return err
}
product1, err := opentelekomcloud.GetDmsProductV1(ctx, &opentelekomcloud.GetDmsProductV1Args{
Engine: "kafka",
Version: pulumi.StringRef("2.3.0"),
InstanceType: "cluster",
PartitionNum: pulumi.StringRef("300"),
Storage: pulumi.StringRef("600"),
StorageSpecCode: pulumi.StringRef("dms.physical.storage.high"),
}, nil)
if err != nil {
return err
}
_, err = opentelekomcloud.NewDmsInstanceV2(ctx, "instance1", &opentelekomcloud.DmsInstanceV2Args{
Engine: pulumi.String("kafka"),
ProductId: pulumi.String(product1.Id),
EngineVersion: pulumi.String(product1.Version),
Specification: pulumi.String(product1.Bandwidth),
PartitionNum: pulumi.String(product1.PartitionNum),
StorageSpecCode: pulumi.String(product1.StorageSpecCode),
StorageSpace: pulumi.String(product1.Storage),
AvailableZones: pulumi.StringArray{
pulumi.String(az1.Id),
},
SecurityGroupId: secgroup1.NetworkingSecgroupV2Id,
VpcId: pulumi.Any(vpcId),
SubnetId: pulumi.Any(subnetId),
AccessUser: pulumi.Any(accessUser),
Password: pulumi.Any(password),
})
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 config = new Config();
var vpcId = config.RequireObject<dynamic>("vpcId");
var subnetId = config.RequireObject<dynamic>("subnetId");
var accessUser = config.RequireObject<dynamic>("accessUser");
var password = config.RequireObject<dynamic>("password");
var secgroup1 = new Opentelekomcloud.NetworkingSecgroupV2("secgroup1", new()
{
Description = "secgroup_1",
});
var az1 = Opentelekomcloud.GetDmsAzV1.Invoke(new()
{
Name = "eu-de-01",
});
var product1 = Opentelekomcloud.GetDmsProductV1.Invoke(new()
{
Engine = "kafka",
Version = "2.3.0",
InstanceType = "cluster",
PartitionNum = "300",
Storage = "600",
StorageSpecCode = "dms.physical.storage.high",
});
var instance1 = new Opentelekomcloud.DmsInstanceV2("instance1", new()
{
Engine = "kafka",
ProductId = product1.Apply(getDmsProductV1Result => getDmsProductV1Result.Id),
EngineVersion = product1.Apply(getDmsProductV1Result => getDmsProductV1Result.Version),
Specification = product1.Apply(getDmsProductV1Result => getDmsProductV1Result.Bandwidth),
PartitionNum = product1.Apply(getDmsProductV1Result => getDmsProductV1Result.PartitionNum),
StorageSpecCode = product1.Apply(getDmsProductV1Result => getDmsProductV1Result.StorageSpecCode),
StorageSpace = product1.Apply(getDmsProductV1Result => getDmsProductV1Result.Storage),
AvailableZones = new[]
{
az1.Apply(getDmsAzV1Result => getDmsAzV1Result.Id),
},
SecurityGroupId = secgroup1.NetworkingSecgroupV2Id,
VpcId = vpcId,
SubnetId = subnetId,
AccessUser = accessUser,
Password = password,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.NetworkingSecgroupV2;
import com.pulumi.opentelekomcloud.NetworkingSecgroupV2Args;
import com.pulumi.opentelekomcloud.OpentelekomcloudFunctions;
import com.pulumi.opentelekomcloud.inputs.GetDmsAzV1Args;
import com.pulumi.opentelekomcloud.inputs.GetDmsProductV1Args;
import com.pulumi.opentelekomcloud.DmsInstanceV2;
import com.pulumi.opentelekomcloud.DmsInstanceV2Args;
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 config = ctx.config();
final var vpcId = config.get("vpcId");
final var subnetId = config.get("subnetId");
final var accessUser = config.get("accessUser");
final var password = config.get("password");
var secgroup1 = new NetworkingSecgroupV2("secgroup1", NetworkingSecgroupV2Args.builder()
.description("secgroup_1")
.build());
final var az1 = OpentelekomcloudFunctions.getDmsAzV1(GetDmsAzV1Args.builder()
.name("eu-de-01")
.build());
final var product1 = OpentelekomcloudFunctions.getDmsProductV1(GetDmsProductV1Args.builder()
.engine("kafka")
.version("2.3.0")
.instanceType("cluster")
.partitionNum(300)
.storage(600)
.storageSpecCode("dms.physical.storage.high")
.build());
var instance1 = new DmsInstanceV2("instance1", DmsInstanceV2Args.builder()
.engine("kafka")
.productId(product1.applyValue(getDmsProductV1Result -> getDmsProductV1Result.id()))
.engineVersion(product1.applyValue(getDmsProductV1Result -> getDmsProductV1Result.version()))
.specification(product1.applyValue(getDmsProductV1Result -> getDmsProductV1Result.bandwidth()))
.partitionNum(product1.applyValue(getDmsProductV1Result -> getDmsProductV1Result.partitionNum()))
.storageSpecCode(product1.applyValue(getDmsProductV1Result -> getDmsProductV1Result.storageSpecCode()))
.storageSpace(product1.applyValue(getDmsProductV1Result -> getDmsProductV1Result.storage()))
.availableZones(az1.applyValue(getDmsAzV1Result -> getDmsAzV1Result.id()))
.securityGroupId(secgroup1.networkingSecgroupV2Id())
.vpcId(vpcId)
.subnetId(subnetId)
.accessUser(accessUser)
.password(password)
.build());
}
}
configuration:
vpcId:
type: dynamic
subnetId:
type: dynamic
accessUser:
type: dynamic
password:
type: dynamic
resources:
secgroup1:
type: opentelekomcloud:NetworkingSecgroupV2
properties:
description: secgroup_1
instance1:
type: opentelekomcloud:DmsInstanceV2
properties:
engine: kafka
productId: ${product1.id}
engineVersion: ${product1.version}
specification: ${product1.bandwidth}
partitionNum: ${product1.partitionNum}
storageSpecCode: ${product1.storageSpecCode}
storageSpace: ${product1.storage}
availableZones:
- ${az1.id}
securityGroupId: ${secgroup1.networkingSecgroupV2Id}
vpcId: ${vpcId}
subnetId: ${subnetId}
accessUser: ${accessUser}
password: ${password}
variables:
az1:
fn::invoke:
function: opentelekomcloud:getDmsAzV1
arguments:
name: eu-de-01
product1:
fn::invoke:
function: opentelekomcloud:getDmsProductV1
arguments:
engine: kafka
version: 2.3.0
instanceType: cluster
partitionNum: 300
storage: 600
storageSpecCode: dms.physical.storage.high
DMS instance with assigned EIPs
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const config = new pulumi.Config();
const vpcId = config.requireObject("vpcId");
const subnetId = config.requireObject("subnetId");
const secgroup1 = new opentelekomcloud.NetworkingSecgroupV2("secgroup1", {description: "secgroup_1"});
const az1 = opentelekomcloud.getDmsAzV1({
name: "eu-de-01",
});
const product1 = opentelekomcloud.getDmsProductV1({
engine: "kafka",
instanceType: "cluster",
version: "2.7",
});
const fip1 = new opentelekomcloud.NetworkingFloatingipV2("fip1", {});
const fip2 = new opentelekomcloud.NetworkingFloatingipV2("fip2", {});
const fip3 = new opentelekomcloud.NetworkingFloatingipV2("fip3", {});
const instance1 = new opentelekomcloud.DmsInstanceV2("instance1", {
engine: "kafka",
storageSpace: product1.then(product1 => product1.storage),
availableZones: [az1.then(az1 => az1.id)],
productId: product1.then(product1 => product1.id),
engineVersion: product1.then(product1 => product1.version),
storageSpecCode: product1.then(product1 => product1.storageSpecCode),
securityGroupId: resource.opentelekomcloud_networking_secgroup_v2.secgroup_1.id,
vpcId: vpcId,
subnetId: subnetId,
enablePublicip: true,
publicipIds: [
fip1.networkingFloatingipV2Id,
fip2.networkingFloatingipV2Id,
fip3.networkingFloatingipV2Id,
],
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
vpc_id = config.require_object("vpcId")
subnet_id = config.require_object("subnetId")
secgroup1 = opentelekomcloud.NetworkingSecgroupV2("secgroup1", description="secgroup_1")
az1 = opentelekomcloud.get_dms_az_v1(name="eu-de-01")
product1 = opentelekomcloud.get_dms_product_v1(engine="kafka",
instance_type="cluster",
version="2.7")
fip1 = opentelekomcloud.NetworkingFloatingipV2("fip1")
fip2 = opentelekomcloud.NetworkingFloatingipV2("fip2")
fip3 = opentelekomcloud.NetworkingFloatingipV2("fip3")
instance1 = opentelekomcloud.DmsInstanceV2("instance1",
engine="kafka",
storage_space=product1.storage,
available_zones=[az1.id],
product_id=product1.id,
engine_version=product1.version,
storage_spec_code=product1.storage_spec_code,
security_group_id=resource["opentelekomcloud_networking_secgroup_v2"]["secgroup_1"]["id"],
vpc_id=vpc_id,
subnet_id=subnet_id,
enable_publicip=True,
publicip_ids=[
fip1.networking_floatingip_v2_id,
fip2.networking_floatingip_v2_id,
fip3.networking_floatingip_v2_id,
])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
vpcId := cfg.RequireObject("vpcId")
subnetId := cfg.RequireObject("subnetId")
_, err := opentelekomcloud.NewNetworkingSecgroupV2(ctx, "secgroup1", &opentelekomcloud.NetworkingSecgroupV2Args{
Description: pulumi.String("secgroup_1"),
})
if err != nil {
return err
}
az1, err := opentelekomcloud.GetDmsAzV1(ctx, &opentelekomcloud.GetDmsAzV1Args{
Name: pulumi.StringRef("eu-de-01"),
}, nil)
if err != nil {
return err
}
product1, err := opentelekomcloud.GetDmsProductV1(ctx, &opentelekomcloud.GetDmsProductV1Args{
Engine: "kafka",
InstanceType: "cluster",
Version: pulumi.StringRef("2.7"),
}, nil)
if err != nil {
return err
}
fip1, err := opentelekomcloud.NewNetworkingFloatingipV2(ctx, "fip1", nil)
if err != nil {
return err
}
fip2, err := opentelekomcloud.NewNetworkingFloatingipV2(ctx, "fip2", nil)
if err != nil {
return err
}
fip3, err := opentelekomcloud.NewNetworkingFloatingipV2(ctx, "fip3", nil)
if err != nil {
return err
}
_, err = opentelekomcloud.NewDmsInstanceV2(ctx, "instance1", &opentelekomcloud.DmsInstanceV2Args{
Engine: pulumi.String("kafka"),
StorageSpace: pulumi.String(product1.Storage),
AvailableZones: pulumi.StringArray{
pulumi.String(az1.Id),
},
ProductId: pulumi.String(product1.Id),
EngineVersion: pulumi.String(product1.Version),
StorageSpecCode: pulumi.String(product1.StorageSpecCode),
SecurityGroupId: pulumi.Any(resource.Opentelekomcloud_networking_secgroup_v2.Secgroup_1.Id),
VpcId: pulumi.Any(vpcId),
SubnetId: pulumi.Any(subnetId),
EnablePublicip: pulumi.Bool(true),
PublicipIds: pulumi.StringArray{
fip1.NetworkingFloatingipV2Id,
fip2.NetworkingFloatingipV2Id,
fip3.NetworkingFloatingipV2Id,
},
})
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 config = new Config();
var vpcId = config.RequireObject<dynamic>("vpcId");
var subnetId = config.RequireObject<dynamic>("subnetId");
var secgroup1 = new Opentelekomcloud.NetworkingSecgroupV2("secgroup1", new()
{
Description = "secgroup_1",
});
var az1 = Opentelekomcloud.GetDmsAzV1.Invoke(new()
{
Name = "eu-de-01",
});
var product1 = Opentelekomcloud.GetDmsProductV1.Invoke(new()
{
Engine = "kafka",
InstanceType = "cluster",
Version = "2.7",
});
var fip1 = new Opentelekomcloud.NetworkingFloatingipV2("fip1");
var fip2 = new Opentelekomcloud.NetworkingFloatingipV2("fip2");
var fip3 = new Opentelekomcloud.NetworkingFloatingipV2("fip3");
var instance1 = new Opentelekomcloud.DmsInstanceV2("instance1", new()
{
Engine = "kafka",
StorageSpace = product1.Apply(getDmsProductV1Result => getDmsProductV1Result.Storage),
AvailableZones = new[]
{
az1.Apply(getDmsAzV1Result => getDmsAzV1Result.Id),
},
ProductId = product1.Apply(getDmsProductV1Result => getDmsProductV1Result.Id),
EngineVersion = product1.Apply(getDmsProductV1Result => getDmsProductV1Result.Version),
StorageSpecCode = product1.Apply(getDmsProductV1Result => getDmsProductV1Result.StorageSpecCode),
SecurityGroupId = resource.Opentelekomcloud_networking_secgroup_v2.Secgroup_1.Id,
VpcId = vpcId,
SubnetId = subnetId,
EnablePublicip = true,
PublicipIds = new[]
{
fip1.NetworkingFloatingipV2Id,
fip2.NetworkingFloatingipV2Id,
fip3.NetworkingFloatingipV2Id,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.NetworkingSecgroupV2;
import com.pulumi.opentelekomcloud.NetworkingSecgroupV2Args;
import com.pulumi.opentelekomcloud.OpentelekomcloudFunctions;
import com.pulumi.opentelekomcloud.inputs.GetDmsAzV1Args;
import com.pulumi.opentelekomcloud.inputs.GetDmsProductV1Args;
import com.pulumi.opentelekomcloud.NetworkingFloatingipV2;
import com.pulumi.opentelekomcloud.DmsInstanceV2;
import com.pulumi.opentelekomcloud.DmsInstanceV2Args;
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 config = ctx.config();
final var vpcId = config.get("vpcId");
final var subnetId = config.get("subnetId");
var secgroup1 = new NetworkingSecgroupV2("secgroup1", NetworkingSecgroupV2Args.builder()
.description("secgroup_1")
.build());
final var az1 = OpentelekomcloudFunctions.getDmsAzV1(GetDmsAzV1Args.builder()
.name("eu-de-01")
.build());
final var product1 = OpentelekomcloudFunctions.getDmsProductV1(GetDmsProductV1Args.builder()
.engine("kafka")
.instanceType("cluster")
.version("2.7")
.build());
var fip1 = new NetworkingFloatingipV2("fip1");
var fip2 = new NetworkingFloatingipV2("fip2");
var fip3 = new NetworkingFloatingipV2("fip3");
var instance1 = new DmsInstanceV2("instance1", DmsInstanceV2Args.builder()
.engine("kafka")
.storageSpace(product1.applyValue(getDmsProductV1Result -> getDmsProductV1Result.storage()))
.availableZones(az1.applyValue(getDmsAzV1Result -> getDmsAzV1Result.id()))
.productId(product1.applyValue(getDmsProductV1Result -> getDmsProductV1Result.id()))
.engineVersion(product1.applyValue(getDmsProductV1Result -> getDmsProductV1Result.version()))
.storageSpecCode(product1.applyValue(getDmsProductV1Result -> getDmsProductV1Result.storageSpecCode()))
.securityGroupId(resource.opentelekomcloud_networking_secgroup_v2().secgroup_1().id())
.vpcId(vpcId)
.subnetId(subnetId)
.enablePublicip(true)
.publicipIds(
fip1.networkingFloatingipV2Id(),
fip2.networkingFloatingipV2Id(),
fip3.networkingFloatingipV2Id())
.build());
}
}
configuration:
vpcId:
type: dynamic
subnetId:
type: dynamic
resources:
secgroup1:
type: opentelekomcloud:NetworkingSecgroupV2
properties:
description: secgroup_1
fip1:
type: opentelekomcloud:NetworkingFloatingipV2
fip2:
type: opentelekomcloud:NetworkingFloatingipV2
fip3:
type: opentelekomcloud:NetworkingFloatingipV2
instance1:
type: opentelekomcloud:DmsInstanceV2
properties:
engine: kafka
storageSpace: ${product1.storage}
availableZones:
- ${az1.id}
productId: ${product1.id}
engineVersion: ${product1.version}
storageSpecCode: ${product1.storageSpecCode}
securityGroupId: ${resource.opentelekomcloud_networking_secgroup_v2.secgroup_1.id}
vpcId: ${vpcId}
subnetId: ${subnetId}
enablePublicip: true
publicipIds:
- ${fip1.networkingFloatingipV2Id}
- ${fip2.networkingFloatingipV2Id}
- ${fip3.networkingFloatingipV2Id}
variables:
az1:
fn::invoke:
function: opentelekomcloud:getDmsAzV1
arguments:
name: eu-de-01
product1:
fn::invoke:
function: opentelekomcloud:getDmsProductV1
arguments:
engine: kafka
instanceType: cluster
version: '2.7'
Create DmsInstanceV2 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DmsInstanceV2(name: string, args: DmsInstanceV2Args, opts?: CustomResourceOptions);
@overload
def DmsInstanceV2(resource_name: str,
args: DmsInstanceV2Args,
opts: Optional[ResourceOptions] = None)
@overload
def DmsInstanceV2(resource_name: str,
opts: Optional[ResourceOptions] = None,
product_id: Optional[str] = None,
available_zones: Optional[Sequence[str]] = None,
vpc_id: Optional[str] = None,
subnet_id: Optional[str] = None,
storage_spec_code: Optional[str] = None,
storage_space: Optional[float] = None,
security_group_id: Optional[str] = None,
engine: Optional[str] = None,
engine_version: Optional[str] = None,
enable_publicip: Optional[bool] = None,
access_user: Optional[str] = None,
name: Optional[str] = None,
partition_num: Optional[float] = None,
password: Optional[str] = None,
maintain_begin: Optional[str] = None,
public_bandwidth: Optional[float] = None,
publicip_ids: Optional[Sequence[str]] = None,
retention_policy: Optional[str] = None,
maintain_end: Optional[str] = None,
specification: Optional[str] = None,
dms_instance_v2_id: Optional[str] = None,
disk_encrypted_key: Optional[str] = None,
disk_encrypted_enable: Optional[bool] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[DmsInstanceV2TimeoutsArgs] = None,
description: Optional[str] = None)
func NewDmsInstanceV2(ctx *Context, name string, args DmsInstanceV2Args, opts ...ResourceOption) (*DmsInstanceV2, error)
public DmsInstanceV2(string name, DmsInstanceV2Args args, CustomResourceOptions? opts = null)
public DmsInstanceV2(String name, DmsInstanceV2Args args)
public DmsInstanceV2(String name, DmsInstanceV2Args args, CustomResourceOptions options)
type: opentelekomcloud:DmsInstanceV2
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DmsInstanceV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DmsInstanceV2Args
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DmsInstanceV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DmsInstanceV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DmsInstanceV2Args
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var dmsInstanceV2Resource = new Opentelekomcloud.DmsInstanceV2("dmsInstanceV2Resource", new()
{
ProductId = "string",
AvailableZones = new[]
{
"string",
},
VpcId = "string",
SubnetId = "string",
StorageSpecCode = "string",
StorageSpace = 0,
SecurityGroupId = "string",
Engine = "string",
EngineVersion = "string",
EnablePublicip = false,
AccessUser = "string",
Name = "string",
PartitionNum = 0,
Password = "string",
MaintainBegin = "string",
PublicBandwidth = 0,
PublicipIds = new[]
{
"string",
},
RetentionPolicy = "string",
MaintainEnd = "string",
Specification = "string",
DmsInstanceV2Id = "string",
DiskEncryptedKey = "string",
DiskEncryptedEnable = false,
Tags =
{
{ "string", "string" },
},
Timeouts = new Opentelekomcloud.Inputs.DmsInstanceV2TimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
Description = "string",
});
example, err := opentelekomcloud.NewDmsInstanceV2(ctx, "dmsInstanceV2Resource", &opentelekomcloud.DmsInstanceV2Args{
ProductId: pulumi.String("string"),
AvailableZones: pulumi.StringArray{
pulumi.String("string"),
},
VpcId: pulumi.String("string"),
SubnetId: pulumi.String("string"),
StorageSpecCode: pulumi.String("string"),
StorageSpace: pulumi.Float64(0),
SecurityGroupId: pulumi.String("string"),
Engine: pulumi.String("string"),
EngineVersion: pulumi.String("string"),
EnablePublicip: pulumi.Bool(false),
AccessUser: pulumi.String("string"),
Name: pulumi.String("string"),
PartitionNum: pulumi.Float64(0),
Password: pulumi.String("string"),
MaintainBegin: pulumi.String("string"),
PublicBandwidth: pulumi.Float64(0),
PublicipIds: pulumi.StringArray{
pulumi.String("string"),
},
RetentionPolicy: pulumi.String("string"),
MaintainEnd: pulumi.String("string"),
Specification: pulumi.String("string"),
DmsInstanceV2Id: pulumi.String("string"),
DiskEncryptedKey: pulumi.String("string"),
DiskEncryptedEnable: pulumi.Bool(false),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Timeouts: &opentelekomcloud.DmsInstanceV2TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
Description: pulumi.String("string"),
})
var dmsInstanceV2Resource = new DmsInstanceV2("dmsInstanceV2Resource", DmsInstanceV2Args.builder()
.productId("string")
.availableZones("string")
.vpcId("string")
.subnetId("string")
.storageSpecCode("string")
.storageSpace(0)
.securityGroupId("string")
.engine("string")
.engineVersion("string")
.enablePublicip(false)
.accessUser("string")
.name("string")
.partitionNum(0)
.password("string")
.maintainBegin("string")
.publicBandwidth(0)
.publicipIds("string")
.retentionPolicy("string")
.maintainEnd("string")
.specification("string")
.dmsInstanceV2Id("string")
.diskEncryptedKey("string")
.diskEncryptedEnable(false)
.tags(Map.of("string", "string"))
.timeouts(DmsInstanceV2TimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.description("string")
.build());
dms_instance_v2_resource = opentelekomcloud.DmsInstanceV2("dmsInstanceV2Resource",
product_id="string",
available_zones=["string"],
vpc_id="string",
subnet_id="string",
storage_spec_code="string",
storage_space=0,
security_group_id="string",
engine="string",
engine_version="string",
enable_publicip=False,
access_user="string",
name="string",
partition_num=0,
password="string",
maintain_begin="string",
public_bandwidth=0,
publicip_ids=["string"],
retention_policy="string",
maintain_end="string",
specification="string",
dms_instance_v2_id="string",
disk_encrypted_key="string",
disk_encrypted_enable=False,
tags={
"string": "string",
},
timeouts={
"create": "string",
"delete": "string",
"update": "string",
},
description="string")
const dmsInstanceV2Resource = new opentelekomcloud.DmsInstanceV2("dmsInstanceV2Resource", {
productId: "string",
availableZones: ["string"],
vpcId: "string",
subnetId: "string",
storageSpecCode: "string",
storageSpace: 0,
securityGroupId: "string",
engine: "string",
engineVersion: "string",
enablePublicip: false,
accessUser: "string",
name: "string",
partitionNum: 0,
password: "string",
maintainBegin: "string",
publicBandwidth: 0,
publicipIds: ["string"],
retentionPolicy: "string",
maintainEnd: "string",
specification: "string",
dmsInstanceV2Id: "string",
diskEncryptedKey: "string",
diskEncryptedEnable: false,
tags: {
string: "string",
},
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
description: "string",
});
type: opentelekomcloud:DmsInstanceV2
properties:
accessUser: string
availableZones:
- string
description: string
diskEncryptedEnable: false
diskEncryptedKey: string
dmsInstanceV2Id: string
enablePublicip: false
engine: string
engineVersion: string
maintainBegin: string
maintainEnd: string
name: string
partitionNum: 0
password: string
productId: string
publicBandwidth: 0
publicipIds:
- string
retentionPolicy: string
securityGroupId: string
specification: string
storageSpace: 0
storageSpecCode: string
subnetId: string
tags:
string: string
timeouts:
create: string
delete: string
update: string
vpcId: string
DmsInstanceV2 Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The DmsInstanceV2 resource accepts the following input properties:
- Available
Zones List<string> - Indicates the ID of an AZ. The parameter value can not be left blank or an empty array. For details, see section Querying AZ Information.
- Engine string
- Indicates a message engine. Only
kafka
is supported now. - Engine
Version string - Indicates the version of a message engine.
Options:
1.1.0
,2.3.0
,2.7
. - Product
Id string - Indicates a product ID.
- Security
Group stringId - Indicates the ID of a security group.
- Storage
Space double - Indicates the message storage space. Value range:
- Kafka instance with
specification
being100MB
:600
–90000
GB - Kafka instance with
specification
being300MB
:1200
–90000
GB - Kafka instance with
specification
being600MB
:2400
–90000
GB - Kafka instance with
specification
being1200MB
:4800
–90000
GB
- Kafka instance with
- Storage
Spec stringCode - Indicates the storage I/O specification. Options for a Kafka instance:
- When
specification
is100MB
:dms.physical.storage.high
ordms.physical.storage.ultra
- When
specification
is300MB
:dms.physical.storage.high
ordms.physical.storage.ultra
- When
specification
is600MB
:dms.physical.storage.ultra
- When
specification
is1200MB
:dms.physical.storage.ultra
- When
- Subnet
Id string - Indicates the ID of the subnet (OpenStack network ID).
- Vpc
Id string - Indicates the ID of a VPC (OpenStack router ID).
- Access
User string - Indicates a username. A username consists of 4 to 64 characters
and supports only letters, digits, and hyphens (-).
- Providing
access_user
andpassword
enablesssl
for the instance.
- Providing
- Description string
- Indicates the description of an instance. It is a character string containing not more than 1024 characters.
- Disk
Encrypted boolEnable - Indicates whether disk encryption is enabled.
- Disk
Encrypted stringKey - Disk encryption key. If disk encryption is not enabled, this parameter is left blank.
- Dms
Instance stringV2Id - Enable
Publicip bool - Whether to enable public access. By default, public access is disabled.
- Possible values:
true
,false
. - Default:
false
.
- Possible values:
- Maintain
Begin string - Indicates the time at which a maintenance time window starts.
Format:
HH:mm
.- The start time and end time of a maintenance time window must indicate the time segment of a supported maintenance time window.
- The start time must be set to
22:00
,02:00
,06:00
,10:00
,14:00
, or18:00
. - Parameters
maintain_begin
andmaintain_end
must be set in pairs. If parametermaintain_begin
is left blank, parametermaintain_end
is also blank. In this case, the system automatically allocates the default start time02:00
.
- Maintain
End string - Indicates the time at which a maintenance time window ends.
Format:
HH:mm
.- The start time and end time of a maintenance time window must indicate the time segment of a supported maintenance time window.
- The end time is four hours later than the start time. For example, if the start time is
22:00
, the end time is02:00
. - Parameters
maintain_begin
andmaintain_end
must be set in pairs. If parametermaintain_end
is left blank, parametermaintain_begin
is also blank. In this case, the system automatically allocates the default end time06:00
.
- Name string
- Indicates the name of an instance. An instance name starts with a letter, consists of 4 to 64 characters, and supports only letters, digits, and hyphens (-).
- Partition
Num double - This parameter is mandatory when a
kafka
instance is created. Indicates the maximum number of topics in a Kafka instance.- When
specification
is100MB
:300
- When
specification
is300MB
:900
- When
specification
is600MB
:1800
- When
specification
is1200MB
:1800
- When
- Password string
- Indicates the password of an instance. An instance password
must meet the following complexity requirements: Must be 8 to 32 characters long.
Must contain at least 2 of the following character types: lowercase letters, uppercase
letters, digits, and special characters (
~!@#$%^&*()-_=+\|[{}]:'",<.>/?
). - Public
Bandwidth double - Publicip
Ids List<string> - List of
public ip
IDs to be bound to DMS instance nodes.- Provided ip amount should be same as amount of DMS cluster nodes.
- Example:
["0f2a51dc-93ce-42af","d967d49b-6659-4052","002872f4-82a4-4f6e-9a4e"]
.
- Retention
Policy string - Indicates the action to be taken when the memory usage reaches the disk capacity threshold. The possible values are:
- Specification string
- This parameter is mandatory if the engine is
kafka
. Indicates the baseline bandwidth of a Kafka instance, that is, the maximum amount of data transferred per unit time. Unit:byte/s
. Options:100MB
,300MB
,600MB
,1200MB
. - Dictionary<string, string>
- Tags key/value pairs to associate with the instance.
- Timeouts
Dms
Instance V2Timeouts
- Available
Zones []string - Indicates the ID of an AZ. The parameter value can not be left blank or an empty array. For details, see section Querying AZ Information.
- Engine string
- Indicates a message engine. Only
kafka
is supported now. - Engine
Version string - Indicates the version of a message engine.
Options:
1.1.0
,2.3.0
,2.7
. - Product
Id string - Indicates a product ID.
- Security
Group stringId - Indicates the ID of a security group.
- Storage
Space float64 - Indicates the message storage space. Value range:
- Kafka instance with
specification
being100MB
:600
–90000
GB - Kafka instance with
specification
being300MB
:1200
–90000
GB - Kafka instance with
specification
being600MB
:2400
–90000
GB - Kafka instance with
specification
being1200MB
:4800
–90000
GB
- Kafka instance with
- Storage
Spec stringCode - Indicates the storage I/O specification. Options for a Kafka instance:
- When
specification
is100MB
:dms.physical.storage.high
ordms.physical.storage.ultra
- When
specification
is300MB
:dms.physical.storage.high
ordms.physical.storage.ultra
- When
specification
is600MB
:dms.physical.storage.ultra
- When
specification
is1200MB
:dms.physical.storage.ultra
- When
- Subnet
Id string - Indicates the ID of the subnet (OpenStack network ID).
- Vpc
Id string - Indicates the ID of a VPC (OpenStack router ID).
- Access
User string - Indicates a username. A username consists of 4 to 64 characters
and supports only letters, digits, and hyphens (-).
- Providing
access_user
andpassword
enablesssl
for the instance.
- Providing
- Description string
- Indicates the description of an instance. It is a character string containing not more than 1024 characters.
- Disk
Encrypted boolEnable - Indicates whether disk encryption is enabled.
- Disk
Encrypted stringKey - Disk encryption key. If disk encryption is not enabled, this parameter is left blank.
- Dms
Instance stringV2Id - Enable
Publicip bool - Whether to enable public access. By default, public access is disabled.
- Possible values:
true
,false
. - Default:
false
.
- Possible values:
- Maintain
Begin string - Indicates the time at which a maintenance time window starts.
Format:
HH:mm
.- The start time and end time of a maintenance time window must indicate the time segment of a supported maintenance time window.
- The start time must be set to
22:00
,02:00
,06:00
,10:00
,14:00
, or18:00
. - Parameters
maintain_begin
andmaintain_end
must be set in pairs. If parametermaintain_begin
is left blank, parametermaintain_end
is also blank. In this case, the system automatically allocates the default start time02:00
.
- Maintain
End string - Indicates the time at which a maintenance time window ends.
Format:
HH:mm
.- The start time and end time of a maintenance time window must indicate the time segment of a supported maintenance time window.
- The end time is four hours later than the start time. For example, if the start time is
22:00
, the end time is02:00
. - Parameters
maintain_begin
andmaintain_end
must be set in pairs. If parametermaintain_end
is left blank, parametermaintain_begin
is also blank. In this case, the system automatically allocates the default end time06:00
.
- Name string
- Indicates the name of an instance. An instance name starts with a letter, consists of 4 to 64 characters, and supports only letters, digits, and hyphens (-).
- Partition
Num float64 - This parameter is mandatory when a
kafka
instance is created. Indicates the maximum number of topics in a Kafka instance.- When
specification
is100MB
:300
- When
specification
is300MB
:900
- When
specification
is600MB
:1800
- When
specification
is1200MB
:1800
- When
- Password string
- Indicates the password of an instance. An instance password
must meet the following complexity requirements: Must be 8 to 32 characters long.
Must contain at least 2 of the following character types: lowercase letters, uppercase
letters, digits, and special characters (
~!@#$%^&*()-_=+\|[{}]:'",<.>/?
). - Public
Bandwidth float64 - Publicip
Ids []string - List of
public ip
IDs to be bound to DMS instance nodes.- Provided ip amount should be same as amount of DMS cluster nodes.
- Example:
["0f2a51dc-93ce-42af","d967d49b-6659-4052","002872f4-82a4-4f6e-9a4e"]
.
- Retention
Policy string - Indicates the action to be taken when the memory usage reaches the disk capacity threshold. The possible values are:
- Specification string
- This parameter is mandatory if the engine is
kafka
. Indicates the baseline bandwidth of a Kafka instance, that is, the maximum amount of data transferred per unit time. Unit:byte/s
. Options:100MB
,300MB
,600MB
,1200MB
. - map[string]string
- Tags key/value pairs to associate with the instance.
- Timeouts
Dms
Instance V2Timeouts Args
- available
Zones List<String> - Indicates the ID of an AZ. The parameter value can not be left blank or an empty array. For details, see section Querying AZ Information.
- engine String
- Indicates a message engine. Only
kafka
is supported now. - engine
Version String - Indicates the version of a message engine.
Options:
1.1.0
,2.3.0
,2.7
. - product
Id String - Indicates a product ID.
- security
Group StringId - Indicates the ID of a security group.
- storage
Space Double - Indicates the message storage space. Value range:
- Kafka instance with
specification
being100MB
:600
–90000
GB - Kafka instance with
specification
being300MB
:1200
–90000
GB - Kafka instance with
specification
being600MB
:2400
–90000
GB - Kafka instance with
specification
being1200MB
:4800
–90000
GB
- Kafka instance with
- storage
Spec StringCode - Indicates the storage I/O specification. Options for a Kafka instance:
- When
specification
is100MB
:dms.physical.storage.high
ordms.physical.storage.ultra
- When
specification
is300MB
:dms.physical.storage.high
ordms.physical.storage.ultra
- When
specification
is600MB
:dms.physical.storage.ultra
- When
specification
is1200MB
:dms.physical.storage.ultra
- When
- subnet
Id String - Indicates the ID of the subnet (OpenStack network ID).
- vpc
Id String - Indicates the ID of a VPC (OpenStack router ID).
- access
User String - Indicates a username. A username consists of 4 to 64 characters
and supports only letters, digits, and hyphens (-).
- Providing
access_user
andpassword
enablesssl
for the instance.
- Providing
- description String
- Indicates the description of an instance. It is a character string containing not more than 1024 characters.
- disk
Encrypted BooleanEnable - Indicates whether disk encryption is enabled.
- disk
Encrypted StringKey - Disk encryption key. If disk encryption is not enabled, this parameter is left blank.
- dms
Instance StringV2Id - enable
Publicip Boolean - Whether to enable public access. By default, public access is disabled.
- Possible values:
true
,false
. - Default:
false
.
- Possible values:
- maintain
Begin String - Indicates the time at which a maintenance time window starts.
Format:
HH:mm
.- The start time and end time of a maintenance time window must indicate the time segment of a supported maintenance time window.
- The start time must be set to
22:00
,02:00
,06:00
,10:00
,14:00
, or18:00
. - Parameters
maintain_begin
andmaintain_end
must be set in pairs. If parametermaintain_begin
is left blank, parametermaintain_end
is also blank. In this case, the system automatically allocates the default start time02:00
.
- maintain
End String - Indicates the time at which a maintenance time window ends.
Format:
HH:mm
.- The start time and end time of a maintenance time window must indicate the time segment of a supported maintenance time window.
- The end time is four hours later than the start time. For example, if the start time is
22:00
, the end time is02:00
. - Parameters
maintain_begin
andmaintain_end
must be set in pairs. If parametermaintain_end
is left blank, parametermaintain_begin
is also blank. In this case, the system automatically allocates the default end time06:00
.
- name String
- Indicates the name of an instance. An instance name starts with a letter, consists of 4 to 64 characters, and supports only letters, digits, and hyphens (-).
- partition
Num Double - This parameter is mandatory when a
kafka
instance is created. Indicates the maximum number of topics in a Kafka instance.- When
specification
is100MB
:300
- When
specification
is300MB
:900
- When
specification
is600MB
:1800
- When
specification
is1200MB
:1800
- When
- password String
- Indicates the password of an instance. An instance password
must meet the following complexity requirements: Must be 8 to 32 characters long.
Must contain at least 2 of the following character types: lowercase letters, uppercase
letters, digits, and special characters (
~!@#$%^&*()-_=+\|[{}]:'",<.>/?
). - public
Bandwidth Double - publicip
Ids List<String> - List of
public ip
IDs to be bound to DMS instance nodes.- Provided ip amount should be same as amount of DMS cluster nodes.
- Example:
["0f2a51dc-93ce-42af","d967d49b-6659-4052","002872f4-82a4-4f6e-9a4e"]
.
- retention
Policy String - Indicates the action to be taken when the memory usage reaches the disk capacity threshold. The possible values are:
- specification String
- This parameter is mandatory if the engine is
kafka
. Indicates the baseline bandwidth of a Kafka instance, that is, the maximum amount of data transferred per unit time. Unit:byte/s
. Options:100MB
,300MB
,600MB
,1200MB
. - Map<String,String>
- Tags key/value pairs to associate with the instance.
- timeouts
Dms
Instance V2Timeouts
- available
Zones string[] - Indicates the ID of an AZ. The parameter value can not be left blank or an empty array. For details, see section Querying AZ Information.
- engine string
- Indicates a message engine. Only
kafka
is supported now. - engine
Version string - Indicates the version of a message engine.
Options:
1.1.0
,2.3.0
,2.7
. - product
Id string - Indicates a product ID.
- security
Group stringId - Indicates the ID of a security group.
- storage
Space number - Indicates the message storage space. Value range:
- Kafka instance with
specification
being100MB
:600
–90000
GB - Kafka instance with
specification
being300MB
:1200
–90000
GB - Kafka instance with
specification
being600MB
:2400
–90000
GB - Kafka instance with
specification
being1200MB
:4800
–90000
GB
- Kafka instance with
- storage
Spec stringCode - Indicates the storage I/O specification. Options for a Kafka instance:
- When
specification
is100MB
:dms.physical.storage.high
ordms.physical.storage.ultra
- When
specification
is300MB
:dms.physical.storage.high
ordms.physical.storage.ultra
- When
specification
is600MB
:dms.physical.storage.ultra
- When
specification
is1200MB
:dms.physical.storage.ultra
- When
- subnet
Id string - Indicates the ID of the subnet (OpenStack network ID).
- vpc
Id string - Indicates the ID of a VPC (OpenStack router ID).
- access
User string - Indicates a username. A username consists of 4 to 64 characters
and supports only letters, digits, and hyphens (-).
- Providing
access_user
andpassword
enablesssl
for the instance.
- Providing
- description string
- Indicates the description of an instance. It is a character string containing not more than 1024 characters.
- disk
Encrypted booleanEnable - Indicates whether disk encryption is enabled.
- disk
Encrypted stringKey - Disk encryption key. If disk encryption is not enabled, this parameter is left blank.
- dms
Instance stringV2Id - enable
Publicip boolean - Whether to enable public access. By default, public access is disabled.
- Possible values:
true
,false
. - Default:
false
.
- Possible values:
- maintain
Begin string - Indicates the time at which a maintenance time window starts.
Format:
HH:mm
.- The start time and end time of a maintenance time window must indicate the time segment of a supported maintenance time window.
- The start time must be set to
22:00
,02:00
,06:00
,10:00
,14:00
, or18:00
. - Parameters
maintain_begin
andmaintain_end
must be set in pairs. If parametermaintain_begin
is left blank, parametermaintain_end
is also blank. In this case, the system automatically allocates the default start time02:00
.
- maintain
End string - Indicates the time at which a maintenance time window ends.
Format:
HH:mm
.- The start time and end time of a maintenance time window must indicate the time segment of a supported maintenance time window.
- The end time is four hours later than the start time. For example, if the start time is
22:00
, the end time is02:00
. - Parameters
maintain_begin
andmaintain_end
must be set in pairs. If parametermaintain_end
is left blank, parametermaintain_begin
is also blank. In this case, the system automatically allocates the default end time06:00
.
- name string
- Indicates the name of an instance. An instance name starts with a letter, consists of 4 to 64 characters, and supports only letters, digits, and hyphens (-).
- partition
Num number - This parameter is mandatory when a
kafka
instance is created. Indicates the maximum number of topics in a Kafka instance.- When
specification
is100MB
:300
- When
specification
is300MB
:900
- When
specification
is600MB
:1800
- When
specification
is1200MB
:1800
- When
- password string
- Indicates the password of an instance. An instance password
must meet the following complexity requirements: Must be 8 to 32 characters long.
Must contain at least 2 of the following character types: lowercase letters, uppercase
letters, digits, and special characters (
~!@#$%^&*()-_=+\|[{}]:'",<.>/?
). - public
Bandwidth number - publicip
Ids string[] - List of
public ip
IDs to be bound to DMS instance nodes.- Provided ip amount should be same as amount of DMS cluster nodes.
- Example:
["0f2a51dc-93ce-42af","d967d49b-6659-4052","002872f4-82a4-4f6e-9a4e"]
.
- retention
Policy string - Indicates the action to be taken when the memory usage reaches the disk capacity threshold. The possible values are:
- specification string
- This parameter is mandatory if the engine is
kafka
. Indicates the baseline bandwidth of a Kafka instance, that is, the maximum amount of data transferred per unit time. Unit:byte/s
. Options:100MB
,300MB
,600MB
,1200MB
. - {[key: string]: string}
- Tags key/value pairs to associate with the instance.
- timeouts
Dms
Instance V2Timeouts
- available_
zones Sequence[str] - Indicates the ID of an AZ. The parameter value can not be left blank or an empty array. For details, see section Querying AZ Information.
- engine str
- Indicates a message engine. Only
kafka
is supported now. - engine_
version str - Indicates the version of a message engine.
Options:
1.1.0
,2.3.0
,2.7
. - product_
id str - Indicates a product ID.
- security_
group_ strid - Indicates the ID of a security group.
- storage_
space float - Indicates the message storage space. Value range:
- Kafka instance with
specification
being100MB
:600
–90000
GB - Kafka instance with
specification
being300MB
:1200
–90000
GB - Kafka instance with
specification
being600MB
:2400
–90000
GB - Kafka instance with
specification
being1200MB
:4800
–90000
GB
- Kafka instance with
- storage_
spec_ strcode - Indicates the storage I/O specification. Options for a Kafka instance:
- When
specification
is100MB
:dms.physical.storage.high
ordms.physical.storage.ultra
- When
specification
is300MB
:dms.physical.storage.high
ordms.physical.storage.ultra
- When
specification
is600MB
:dms.physical.storage.ultra
- When
specification
is1200MB
:dms.physical.storage.ultra
- When
- subnet_
id str - Indicates the ID of the subnet (OpenStack network ID).
- vpc_
id str - Indicates the ID of a VPC (OpenStack router ID).
- access_
user str - Indicates a username. A username consists of 4 to 64 characters
and supports only letters, digits, and hyphens (-).
- Providing
access_user
andpassword
enablesssl
for the instance.
- Providing
- description str
- Indicates the description of an instance. It is a character string containing not more than 1024 characters.
- disk_
encrypted_ boolenable - Indicates whether disk encryption is enabled.
- disk_
encrypted_ strkey - Disk encryption key. If disk encryption is not enabled, this parameter is left blank.
- dms_
instance_ strv2_ id - enable_
publicip bool - Whether to enable public access. By default, public access is disabled.
- Possible values:
true
,false
. - Default:
false
.
- Possible values:
- maintain_
begin str - Indicates the time at which a maintenance time window starts.
Format:
HH:mm
.- The start time and end time of a maintenance time window must indicate the time segment of a supported maintenance time window.
- The start time must be set to
22:00
,02:00
,06:00
,10:00
,14:00
, or18:00
. - Parameters
maintain_begin
andmaintain_end
must be set in pairs. If parametermaintain_begin
is left blank, parametermaintain_end
is also blank. In this case, the system automatically allocates the default start time02:00
.
- maintain_
end str - Indicates the time at which a maintenance time window ends.
Format:
HH:mm
.- The start time and end time of a maintenance time window must indicate the time segment of a supported maintenance time window.
- The end time is four hours later than the start time. For example, if the start time is
22:00
, the end time is02:00
. - Parameters
maintain_begin
andmaintain_end
must be set in pairs. If parametermaintain_end
is left blank, parametermaintain_begin
is also blank. In this case, the system automatically allocates the default end time06:00
.
- name str
- Indicates the name of an instance. An instance name starts with a letter, consists of 4 to 64 characters, and supports only letters, digits, and hyphens (-).
- partition_
num float - This parameter is mandatory when a
kafka
instance is created. Indicates the maximum number of topics in a Kafka instance.- When
specification
is100MB
:300
- When
specification
is300MB
:900
- When
specification
is600MB
:1800
- When
specification
is1200MB
:1800
- When
- password str
- Indicates the password of an instance. An instance password
must meet the following complexity requirements: Must be 8 to 32 characters long.
Must contain at least 2 of the following character types: lowercase letters, uppercase
letters, digits, and special characters (
~!@#$%^&*()-_=+\|[{}]:'",<.>/?
). - public_
bandwidth float - publicip_
ids Sequence[str] - List of
public ip
IDs to be bound to DMS instance nodes.- Provided ip amount should be same as amount of DMS cluster nodes.
- Example:
["0f2a51dc-93ce-42af","d967d49b-6659-4052","002872f4-82a4-4f6e-9a4e"]
.
- retention_
policy str - Indicates the action to be taken when the memory usage reaches the disk capacity threshold. The possible values are:
- specification str
- This parameter is mandatory if the engine is
kafka
. Indicates the baseline bandwidth of a Kafka instance, that is, the maximum amount of data transferred per unit time. Unit:byte/s
. Options:100MB
,300MB
,600MB
,1200MB
. - Mapping[str, str]
- Tags key/value pairs to associate with the instance.
- timeouts
Dms
Instance V2Timeouts Args
- available
Zones List<String> - Indicates the ID of an AZ. The parameter value can not be left blank or an empty array. For details, see section Querying AZ Information.
- engine String
- Indicates a message engine. Only
kafka
is supported now. - engine
Version String - Indicates the version of a message engine.
Options:
1.1.0
,2.3.0
,2.7
. - product
Id String - Indicates a product ID.
- security
Group StringId - Indicates the ID of a security group.
- storage
Space Number - Indicates the message storage space. Value range:
- Kafka instance with
specification
being100MB
:600
–90000
GB - Kafka instance with
specification
being300MB
:1200
–90000
GB - Kafka instance with
specification
being600MB
:2400
–90000
GB - Kafka instance with
specification
being1200MB
:4800
–90000
GB
- Kafka instance with
- storage
Spec StringCode - Indicates the storage I/O specification. Options for a Kafka instance:
- When
specification
is100MB
:dms.physical.storage.high
ordms.physical.storage.ultra
- When
specification
is300MB
:dms.physical.storage.high
ordms.physical.storage.ultra
- When
specification
is600MB
:dms.physical.storage.ultra
- When
specification
is1200MB
:dms.physical.storage.ultra
- When
- subnet
Id String - Indicates the ID of the subnet (OpenStack network ID).
- vpc
Id String - Indicates the ID of a VPC (OpenStack router ID).
- access
User String - Indicates a username. A username consists of 4 to 64 characters
and supports only letters, digits, and hyphens (-).
- Providing
access_user
andpassword
enablesssl
for the instance.
- Providing
- description String
- Indicates the description of an instance. It is a character string containing not more than 1024 characters.
- disk
Encrypted BooleanEnable - Indicates whether disk encryption is enabled.
- disk
Encrypted StringKey - Disk encryption key. If disk encryption is not enabled, this parameter is left blank.
- dms
Instance StringV2Id - enable
Publicip Boolean - Whether to enable public access. By default, public access is disabled.
- Possible values:
true
,false
. - Default:
false
.
- Possible values:
- maintain
Begin String - Indicates the time at which a maintenance time window starts.
Format:
HH:mm
.- The start time and end time of a maintenance time window must indicate the time segment of a supported maintenance time window.
- The start time must be set to
22:00
,02:00
,06:00
,10:00
,14:00
, or18:00
. - Parameters
maintain_begin
andmaintain_end
must be set in pairs. If parametermaintain_begin
is left blank, parametermaintain_end
is also blank. In this case, the system automatically allocates the default start time02:00
.
- maintain
End String - Indicates the time at which a maintenance time window ends.
Format:
HH:mm
.- The start time and end time of a maintenance time window must indicate the time segment of a supported maintenance time window.
- The end time is four hours later than the start time. For example, if the start time is
22:00
, the end time is02:00
. - Parameters
maintain_begin
andmaintain_end
must be set in pairs. If parametermaintain_end
is left blank, parametermaintain_begin
is also blank. In this case, the system automatically allocates the default end time06:00
.
- name String
- Indicates the name of an instance. An instance name starts with a letter, consists of 4 to 64 characters, and supports only letters, digits, and hyphens (-).
- partition
Num Number - This parameter is mandatory when a
kafka
instance is created. Indicates the maximum number of topics in a Kafka instance.- When
specification
is100MB
:300
- When
specification
is300MB
:900
- When
specification
is600MB
:1800
- When
specification
is1200MB
:1800
- When
- password String
- Indicates the password of an instance. An instance password
must meet the following complexity requirements: Must be 8 to 32 characters long.
Must contain at least 2 of the following character types: lowercase letters, uppercase
letters, digits, and special characters (
~!@#$%^&*()-_=+\|[{}]:'",<.>/?
). - public
Bandwidth Number - publicip
Ids List<String> - List of
public ip
IDs to be bound to DMS instance nodes.- Provided ip amount should be same as amount of DMS cluster nodes.
- Example:
["0f2a51dc-93ce-42af","d967d49b-6659-4052","002872f4-82a4-4f6e-9a4e"]
.
- retention
Policy String - Indicates the action to be taken when the memory usage reaches the disk capacity threshold. The possible values are:
- specification String
- This parameter is mandatory if the engine is
kafka
. Indicates the baseline bandwidth of a Kafka instance, that is, the maximum amount of data transferred per unit time. Unit:byte/s
. Options:100MB
,300MB
,600MB
,1200MB
. - Map<String>
- Tags key/value pairs to associate with the instance.
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the DmsInstanceV2 resource produces the following output properties:
- Connect
Address string - Indicates the IP address of an instance.
- Created
At string - Indicates the time when an instance is created. The time is in the format of timestamp, that is, the offset milliseconds from 1970-01-01 00:00:00 UTC to the specified time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Node
Num double - Node quantity.
- Port double
- Indicates the port number of an instance.
- Public
Access stringEnabled - Time when public access was enabled for an instance.
The value can be
true
,actived
,closed
, orfalse
. - Public
Connect List<string>Addresses - List of Public IPs bound to DMS instance with specified port.
- Resource
Spec stringCode - Indicates a resource specifications identifier.
- Security
Group stringName - Indicates the name of a security group.
- Ssl
Enable bool - Indicates whether security authentication is enabled.
Possible values:
true
,false
. - Status string
- Indicates the status of an instance. For details, see section Instance Status.
- Storage
Resource stringId - Storage resource ID.
- Subnet
Cidr string - Indicates subnet CIDR block.
- Subnet
Name string - Indicates the name of a subnet.
- Total
Storage doubleSpace - Total message storage space in GB.
- Type string
- Indicates an instance type. Options:
single
andcluster
. - Used
Storage doubleSpace - Indicates the used message storage space. Unit: GB
- User
Id string - Indicates a user ID.
- User
Name string - Indicates a username.
- Vpc
Name string
- Connect
Address string - Indicates the IP address of an instance.
- Created
At string - Indicates the time when an instance is created. The time is in the format of timestamp, that is, the offset milliseconds from 1970-01-01 00:00:00 UTC to the specified time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Node
Num float64 - Node quantity.
- Port float64
- Indicates the port number of an instance.
- Public
Access stringEnabled - Time when public access was enabled for an instance.
The value can be
true
,actived
,closed
, orfalse
. - Public
Connect []stringAddresses - List of Public IPs bound to DMS instance with specified port.
- Resource
Spec stringCode - Indicates a resource specifications identifier.
- Security
Group stringName - Indicates the name of a security group.
- Ssl
Enable bool - Indicates whether security authentication is enabled.
Possible values:
true
,false
. - Status string
- Indicates the status of an instance. For details, see section Instance Status.
- Storage
Resource stringId - Storage resource ID.
- Subnet
Cidr string - Indicates subnet CIDR block.
- Subnet
Name string - Indicates the name of a subnet.
- Total
Storage float64Space - Total message storage space in GB.
- Type string
- Indicates an instance type. Options:
single
andcluster
. - Used
Storage float64Space - Indicates the used message storage space. Unit: GB
- User
Id string - Indicates a user ID.
- User
Name string - Indicates a username.
- Vpc
Name string
- connect
Address String - Indicates the IP address of an instance.
- created
At String - Indicates the time when an instance is created. The time is in the format of timestamp, that is, the offset milliseconds from 1970-01-01 00:00:00 UTC to the specified time.
- id String
- The provider-assigned unique ID for this managed resource.
- node
Num Double - Node quantity.
- port Double
- Indicates the port number of an instance.
- public
Access StringEnabled - Time when public access was enabled for an instance.
The value can be
true
,actived
,closed
, orfalse
. - public
Connect List<String>Addresses - List of Public IPs bound to DMS instance with specified port.
- resource
Spec StringCode - Indicates a resource specifications identifier.
- security
Group StringName - Indicates the name of a security group.
- ssl
Enable Boolean - Indicates whether security authentication is enabled.
Possible values:
true
,false
. - status String
- Indicates the status of an instance. For details, see section Instance Status.
- storage
Resource StringId - Storage resource ID.
- subnet
Cidr String - Indicates subnet CIDR block.
- subnet
Name String - Indicates the name of a subnet.
- total
Storage DoubleSpace - Total message storage space in GB.
- type String
- Indicates an instance type. Options:
single
andcluster
. - used
Storage DoubleSpace - Indicates the used message storage space. Unit: GB
- user
Id String - Indicates a user ID.
- user
Name String - Indicates a username.
- vpc
Name String
- connect
Address string - Indicates the IP address of an instance.
- created
At string - Indicates the time when an instance is created. The time is in the format of timestamp, that is, the offset milliseconds from 1970-01-01 00:00:00 UTC to the specified time.
- id string
- The provider-assigned unique ID for this managed resource.
- node
Num number - Node quantity.
- port number
- Indicates the port number of an instance.
- public
Access stringEnabled - Time when public access was enabled for an instance.
The value can be
true
,actived
,closed
, orfalse
. - public
Connect string[]Addresses - List of Public IPs bound to DMS instance with specified port.
- resource
Spec stringCode - Indicates a resource specifications identifier.
- security
Group stringName - Indicates the name of a security group.
- ssl
Enable boolean - Indicates whether security authentication is enabled.
Possible values:
true
,false
. - status string
- Indicates the status of an instance. For details, see section Instance Status.
- storage
Resource stringId - Storage resource ID.
- subnet
Cidr string - Indicates subnet CIDR block.
- subnet
Name string - Indicates the name of a subnet.
- total
Storage numberSpace - Total message storage space in GB.
- type string
- Indicates an instance type. Options:
single
andcluster
. - used
Storage numberSpace - Indicates the used message storage space. Unit: GB
- user
Id string - Indicates a user ID.
- user
Name string - Indicates a username.
- vpc
Name string
- connect_
address str - Indicates the IP address of an instance.
- created_
at str - Indicates the time when an instance is created. The time is in the format of timestamp, that is, the offset milliseconds from 1970-01-01 00:00:00 UTC to the specified time.
- id str
- The provider-assigned unique ID for this managed resource.
- node_
num float - Node quantity.
- port float
- Indicates the port number of an instance.
- public_
access_ strenabled - Time when public access was enabled for an instance.
The value can be
true
,actived
,closed
, orfalse
. - public_
connect_ Sequence[str]addresses - List of Public IPs bound to DMS instance with specified port.
- resource_
spec_ strcode - Indicates a resource specifications identifier.
- security_
group_ strname - Indicates the name of a security group.
- ssl_
enable bool - Indicates whether security authentication is enabled.
Possible values:
true
,false
. - status str
- Indicates the status of an instance. For details, see section Instance Status.
- storage_
resource_ strid - Storage resource ID.
- subnet_
cidr str - Indicates subnet CIDR block.
- subnet_
name str - Indicates the name of a subnet.
- total_
storage_ floatspace - Total message storage space in GB.
- type str
- Indicates an instance type. Options:
single
andcluster
. - used_
storage_ floatspace - Indicates the used message storage space. Unit: GB
- user_
id str - Indicates a user ID.
- user_
name str - Indicates a username.
- vpc_
name str
- connect
Address String - Indicates the IP address of an instance.
- created
At String - Indicates the time when an instance is created. The time is in the format of timestamp, that is, the offset milliseconds from 1970-01-01 00:00:00 UTC to the specified time.
- id String
- The provider-assigned unique ID for this managed resource.
- node
Num Number - Node quantity.
- port Number
- Indicates the port number of an instance.
- public
Access StringEnabled - Time when public access was enabled for an instance.
The value can be
true
,actived
,closed
, orfalse
. - public
Connect List<String>Addresses - List of Public IPs bound to DMS instance with specified port.
- resource
Spec StringCode - Indicates a resource specifications identifier.
- security
Group StringName - Indicates the name of a security group.
- ssl
Enable Boolean - Indicates whether security authentication is enabled.
Possible values:
true
,false
. - status String
- Indicates the status of an instance. For details, see section Instance Status.
- storage
Resource StringId - Storage resource ID.
- subnet
Cidr String - Indicates subnet CIDR block.
- subnet
Name String - Indicates the name of a subnet.
- total
Storage NumberSpace - Total message storage space in GB.
- type String
- Indicates an instance type. Options:
single
andcluster
. - used
Storage NumberSpace - Indicates the used message storage space. Unit: GB
- user
Id String - Indicates a user ID.
- user
Name String - Indicates a username.
- vpc
Name String
Look up Existing DmsInstanceV2 Resource
Get an existing DmsInstanceV2 resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: DmsInstanceV2State, opts?: CustomResourceOptions): DmsInstanceV2
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access_user: Optional[str] = None,
available_zones: Optional[Sequence[str]] = None,
connect_address: Optional[str] = None,
created_at: Optional[str] = None,
description: Optional[str] = None,
disk_encrypted_enable: Optional[bool] = None,
disk_encrypted_key: Optional[str] = None,
dms_instance_v2_id: Optional[str] = None,
enable_publicip: Optional[bool] = None,
engine: Optional[str] = None,
engine_version: Optional[str] = None,
maintain_begin: Optional[str] = None,
maintain_end: Optional[str] = None,
name: Optional[str] = None,
node_num: Optional[float] = None,
partition_num: Optional[float] = None,
password: Optional[str] = None,
port: Optional[float] = None,
product_id: Optional[str] = None,
public_access_enabled: Optional[str] = None,
public_bandwidth: Optional[float] = None,
public_connect_addresses: Optional[Sequence[str]] = None,
publicip_ids: Optional[Sequence[str]] = None,
resource_spec_code: Optional[str] = None,
retention_policy: Optional[str] = None,
security_group_id: Optional[str] = None,
security_group_name: Optional[str] = None,
specification: Optional[str] = None,
ssl_enable: Optional[bool] = None,
status: Optional[str] = None,
storage_resource_id: Optional[str] = None,
storage_space: Optional[float] = None,
storage_spec_code: Optional[str] = None,
subnet_cidr: Optional[str] = None,
subnet_id: Optional[str] = None,
subnet_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[DmsInstanceV2TimeoutsArgs] = None,
total_storage_space: Optional[float] = None,
type: Optional[str] = None,
used_storage_space: Optional[float] = None,
user_id: Optional[str] = None,
user_name: Optional[str] = None,
vpc_id: Optional[str] = None,
vpc_name: Optional[str] = None) -> DmsInstanceV2
func GetDmsInstanceV2(ctx *Context, name string, id IDInput, state *DmsInstanceV2State, opts ...ResourceOption) (*DmsInstanceV2, error)
public static DmsInstanceV2 Get(string name, Input<string> id, DmsInstanceV2State? state, CustomResourceOptions? opts = null)
public static DmsInstanceV2 get(String name, Output<String> id, DmsInstanceV2State state, CustomResourceOptions options)
resources: _: type: opentelekomcloud:DmsInstanceV2 get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Access
User string - Indicates a username. A username consists of 4 to 64 characters
and supports only letters, digits, and hyphens (-).
- Providing
access_user
andpassword
enablesssl
for the instance.
- Providing
- Available
Zones List<string> - Indicates the ID of an AZ. The parameter value can not be left blank or an empty array. For details, see section Querying AZ Information.
- Connect
Address string - Indicates the IP address of an instance.
- Created
At string - Indicates the time when an instance is created. The time is in the format of timestamp, that is, the offset milliseconds from 1970-01-01 00:00:00 UTC to the specified time.
- Description string
- Indicates the description of an instance. It is a character string containing not more than 1024 characters.
- Disk
Encrypted boolEnable - Indicates whether disk encryption is enabled.
- Disk
Encrypted stringKey - Disk encryption key. If disk encryption is not enabled, this parameter is left blank.
- Dms
Instance stringV2Id - Enable
Publicip bool - Whether to enable public access. By default, public access is disabled.
- Possible values:
true
,false
. - Default:
false
.
- Possible values:
- Engine string
- Indicates a message engine. Only
kafka
is supported now. - Engine
Version string - Indicates the version of a message engine.
Options:
1.1.0
,2.3.0
,2.7
. - Maintain
Begin string - Indicates the time at which a maintenance time window starts.
Format:
HH:mm
.- The start time and end time of a maintenance time window must indicate the time segment of a supported maintenance time window.
- The start time must be set to
22:00
,02:00
,06:00
,10:00
,14:00
, or18:00
. - Parameters
maintain_begin
andmaintain_end
must be set in pairs. If parametermaintain_begin
is left blank, parametermaintain_end
is also blank. In this case, the system automatically allocates the default start time02:00
.
- Maintain
End string - Indicates the time at which a maintenance time window ends.
Format:
HH:mm
.- The start time and end time of a maintenance time window must indicate the time segment of a supported maintenance time window.
- The end time is four hours later than the start time. For example, if the start time is
22:00
, the end time is02:00
. - Parameters
maintain_begin
andmaintain_end
must be set in pairs. If parametermaintain_end
is left blank, parametermaintain_begin
is also blank. In this case, the system automatically allocates the default end time06:00
.
- Name string
- Indicates the name of an instance. An instance name starts with a letter, consists of 4 to 64 characters, and supports only letters, digits, and hyphens (-).
- Node
Num double - Node quantity.
- Partition
Num double - This parameter is mandatory when a
kafka
instance is created. Indicates the maximum number of topics in a Kafka instance.- When
specification
is100MB
:300
- When
specification
is300MB
:900
- When
specification
is600MB
:1800
- When
specification
is1200MB
:1800
- When
- Password string
- Indicates the password of an instance. An instance password
must meet the following complexity requirements: Must be 8 to 32 characters long.
Must contain at least 2 of the following character types: lowercase letters, uppercase
letters, digits, and special characters (
~!@#$%^&*()-_=+\|[{}]:'",<.>/?
). - Port double
- Indicates the port number of an instance.
- Product
Id string - Indicates a product ID.
- Public
Access stringEnabled - Time when public access was enabled for an instance.
The value can be
true
,actived
,closed
, orfalse
. - Public
Bandwidth double - Public
Connect List<string>Addresses - List of Public IPs bound to DMS instance with specified port.
- Publicip
Ids List<string> - List of
public ip
IDs to be bound to DMS instance nodes.- Provided ip amount should be same as amount of DMS cluster nodes.
- Example:
["0f2a51dc-93ce-42af","d967d49b-6659-4052","002872f4-82a4-4f6e-9a4e"]
.
- Resource
Spec stringCode - Indicates a resource specifications identifier.
- Retention
Policy string - Indicates the action to be taken when the memory usage reaches the disk capacity threshold. The possible values are:
- Security
Group stringId - Indicates the ID of a security group.
- Security
Group stringName - Indicates the name of a security group.
- Specification string
- This parameter is mandatory if the engine is
kafka
. Indicates the baseline bandwidth of a Kafka instance, that is, the maximum amount of data transferred per unit time. Unit:byte/s
. Options:100MB
,300MB
,600MB
,1200MB
. - Ssl
Enable bool - Indicates whether security authentication is enabled.
Possible values:
true
,false
. - Status string
- Indicates the status of an instance. For details, see section Instance Status.
- Storage
Resource stringId - Storage resource ID.
- Storage
Space double - Indicates the message storage space. Value range:
- Kafka instance with
specification
being100MB
:600
–90000
GB - Kafka instance with
specification
being300MB
:1200
–90000
GB - Kafka instance with
specification
being600MB
:2400
–90000
GB - Kafka instance with
specification
being1200MB
:4800
–90000
GB
- Kafka instance with
- Storage
Spec stringCode - Indicates the storage I/O specification. Options for a Kafka instance:
- When
specification
is100MB
:dms.physical.storage.high
ordms.physical.storage.ultra
- When
specification
is300MB
:dms.physical.storage.high
ordms.physical.storage.ultra
- When
specification
is600MB
:dms.physical.storage.ultra
- When
specification
is1200MB
:dms.physical.storage.ultra
- When
- Subnet
Cidr string - Indicates subnet CIDR block.
- Subnet
Id string - Indicates the ID of the subnet (OpenStack network ID).
- Subnet
Name string - Indicates the name of a subnet.
- Dictionary<string, string>
- Tags key/value pairs to associate with the instance.
- Timeouts
Dms
Instance V2Timeouts - Total
Storage doubleSpace - Total message storage space in GB.
- Type string
- Indicates an instance type. Options:
single
andcluster
. - Used
Storage doubleSpace - Indicates the used message storage space. Unit: GB
- User
Id string - Indicates a user ID.
- User
Name string - Indicates a username.
- Vpc
Id string - Indicates the ID of a VPC (OpenStack router ID).
- Vpc
Name string
- Access
User string - Indicates a username. A username consists of 4 to 64 characters
and supports only letters, digits, and hyphens (-).
- Providing
access_user
andpassword
enablesssl
for the instance.
- Providing
- Available
Zones []string - Indicates the ID of an AZ. The parameter value can not be left blank or an empty array. For details, see section Querying AZ Information.
- Connect
Address string - Indicates the IP address of an instance.
- Created
At string - Indicates the time when an instance is created. The time is in the format of timestamp, that is, the offset milliseconds from 1970-01-01 00:00:00 UTC to the specified time.
- Description string
- Indicates the description of an instance. It is a character string containing not more than 1024 characters.
- Disk
Encrypted boolEnable - Indicates whether disk encryption is enabled.
- Disk
Encrypted stringKey - Disk encryption key. If disk encryption is not enabled, this parameter is left blank.
- Dms
Instance stringV2Id - Enable
Publicip bool - Whether to enable public access. By default, public access is disabled.
- Possible values:
true
,false
. - Default:
false
.
- Possible values:
- Engine string
- Indicates a message engine. Only
kafka
is supported now. - Engine
Version string - Indicates the version of a message engine.
Options:
1.1.0
,2.3.0
,2.7
. - Maintain
Begin string - Indicates the time at which a maintenance time window starts.
Format:
HH:mm
.- The start time and end time of a maintenance time window must indicate the time segment of a supported maintenance time window.
- The start time must be set to
22:00
,02:00
,06:00
,10:00
,14:00
, or18:00
. - Parameters
maintain_begin
andmaintain_end
must be set in pairs. If parametermaintain_begin
is left blank, parametermaintain_end
is also blank. In this case, the system automatically allocates the default start time02:00
.
- Maintain
End string - Indicates the time at which a maintenance time window ends.
Format:
HH:mm
.- The start time and end time of a maintenance time window must indicate the time segment of a supported maintenance time window.
- The end time is four hours later than the start time. For example, if the start time is
22:00
, the end time is02:00
. - Parameters
maintain_begin
andmaintain_end
must be set in pairs. If parametermaintain_end
is left blank, parametermaintain_begin
is also blank. In this case, the system automatically allocates the default end time06:00
.
- Name string
- Indicates the name of an instance. An instance name starts with a letter, consists of 4 to 64 characters, and supports only letters, digits, and hyphens (-).
- Node
Num float64 - Node quantity.
- Partition
Num float64 - This parameter is mandatory when a
kafka
instance is created. Indicates the maximum number of topics in a Kafka instance.- When
specification
is100MB
:300
- When
specification
is300MB
:900
- When
specification
is600MB
:1800
- When
specification
is1200MB
:1800
- When
- Password string
- Indicates the password of an instance. An instance password
must meet the following complexity requirements: Must be 8 to 32 characters long.
Must contain at least 2 of the following character types: lowercase letters, uppercase
letters, digits, and special characters (
~!@#$%^&*()-_=+\|[{}]:'",<.>/?
). - Port float64
- Indicates the port number of an instance.
- Product
Id string - Indicates a product ID.
- Public
Access stringEnabled - Time when public access was enabled for an instance.
The value can be
true
,actived
,closed
, orfalse
. - Public
Bandwidth float64 - Public
Connect []stringAddresses - List of Public IPs bound to DMS instance with specified port.
- Publicip
Ids []string - List of
public ip
IDs to be bound to DMS instance nodes.- Provided ip amount should be same as amount of DMS cluster nodes.
- Example:
["0f2a51dc-93ce-42af","d967d49b-6659-4052","002872f4-82a4-4f6e-9a4e"]
.
- Resource
Spec stringCode - Indicates a resource specifications identifier.
- Retention
Policy string - Indicates the action to be taken when the memory usage reaches the disk capacity threshold. The possible values are:
- Security
Group stringId - Indicates the ID of a security group.
- Security
Group stringName - Indicates the name of a security group.
- Specification string
- This parameter is mandatory if the engine is
kafka
. Indicates the baseline bandwidth of a Kafka instance, that is, the maximum amount of data transferred per unit time. Unit:byte/s
. Options:100MB
,300MB
,600MB
,1200MB
. - Ssl
Enable bool - Indicates whether security authentication is enabled.
Possible values:
true
,false
. - Status string
- Indicates the status of an instance. For details, see section Instance Status.
- Storage
Resource stringId - Storage resource ID.
- Storage
Space float64 - Indicates the message storage space. Value range:
- Kafka instance with
specification
being100MB
:600
–90000
GB - Kafka instance with
specification
being300MB
:1200
–90000
GB - Kafka instance with
specification
being600MB
:2400
–90000
GB - Kafka instance with
specification
being1200MB
:4800
–90000
GB
- Kafka instance with
- Storage
Spec stringCode - Indicates the storage I/O specification. Options for a Kafka instance:
- When
specification
is100MB
:dms.physical.storage.high
ordms.physical.storage.ultra
- When
specification
is300MB
:dms.physical.storage.high
ordms.physical.storage.ultra
- When
specification
is600MB
:dms.physical.storage.ultra
- When
specification
is1200MB
:dms.physical.storage.ultra
- When
- Subnet
Cidr string - Indicates subnet CIDR block.
- Subnet
Id string - Indicates the ID of the subnet (OpenStack network ID).
- Subnet
Name string - Indicates the name of a subnet.
- map[string]string
- Tags key/value pairs to associate with the instance.
- Timeouts
Dms
Instance V2Timeouts Args - Total
Storage float64Space - Total message storage space in GB.
- Type string
- Indicates an instance type. Options:
single
andcluster
. - Used
Storage float64Space - Indicates the used message storage space. Unit: GB
- User
Id string - Indicates a user ID.
- User
Name string - Indicates a username.
- Vpc
Id string - Indicates the ID of a VPC (OpenStack router ID).
- Vpc
Name string
- access
User String - Indicates a username. A username consists of 4 to 64 characters
and supports only letters, digits, and hyphens (-).
- Providing
access_user
andpassword
enablesssl
for the instance.
- Providing
- available
Zones List<String> - Indicates the ID of an AZ. The parameter value can not be left blank or an empty array. For details, see section Querying AZ Information.
- connect
Address String - Indicates the IP address of an instance.
- created
At String - Indicates the time when an instance is created. The time is in the format of timestamp, that is, the offset milliseconds from 1970-01-01 00:00:00 UTC to the specified time.
- description String
- Indicates the description of an instance. It is a character string containing not more than 1024 characters.
- disk
Encrypted BooleanEnable - Indicates whether disk encryption is enabled.
- disk
Encrypted StringKey - Disk encryption key. If disk encryption is not enabled, this parameter is left blank.
- dms
Instance StringV2Id - enable
Publicip Boolean - Whether to enable public access. By default, public access is disabled.
- Possible values:
true
,false
. - Default:
false
.
- Possible values:
- engine String
- Indicates a message engine. Only
kafka
is supported now. - engine
Version String - Indicates the version of a message engine.
Options:
1.1.0
,2.3.0
,2.7
. - maintain
Begin String - Indicates the time at which a maintenance time window starts.
Format:
HH:mm
.- The start time and end time of a maintenance time window must indicate the time segment of a supported maintenance time window.
- The start time must be set to
22:00
,02:00
,06:00
,10:00
,14:00
, or18:00
. - Parameters
maintain_begin
andmaintain_end
must be set in pairs. If parametermaintain_begin
is left blank, parametermaintain_end
is also blank. In this case, the system automatically allocates the default start time02:00
.
- maintain
End String - Indicates the time at which a maintenance time window ends.
Format:
HH:mm
.- The start time and end time of a maintenance time window must indicate the time segment of a supported maintenance time window.
- The end time is four hours later than the start time. For example, if the start time is
22:00
, the end time is02:00
. - Parameters
maintain_begin
andmaintain_end
must be set in pairs. If parametermaintain_end
is left blank, parametermaintain_begin
is also blank. In this case, the system automatically allocates the default end time06:00
.
- name String
- Indicates the name of an instance. An instance name starts with a letter, consists of 4 to 64 characters, and supports only letters, digits, and hyphens (-).
- node
Num Double - Node quantity.
- partition
Num Double - This parameter is mandatory when a
kafka
instance is created. Indicates the maximum number of topics in a Kafka instance.- When
specification
is100MB
:300
- When
specification
is300MB
:900
- When
specification
is600MB
:1800
- When
specification
is1200MB
:1800
- When
- password String
- Indicates the password of an instance. An instance password
must meet the following complexity requirements: Must be 8 to 32 characters long.
Must contain at least 2 of the following character types: lowercase letters, uppercase
letters, digits, and special characters (
~!@#$%^&*()-_=+\|[{}]:'",<.>/?
). - port Double
- Indicates the port number of an instance.
- product
Id String - Indicates a product ID.
- public
Access StringEnabled - Time when public access was enabled for an instance.
The value can be
true
,actived
,closed
, orfalse
. - public
Bandwidth Double - public
Connect List<String>Addresses - List of Public IPs bound to DMS instance with specified port.
- publicip
Ids List<String> - List of
public ip
IDs to be bound to DMS instance nodes.- Provided ip amount should be same as amount of DMS cluster nodes.
- Example:
["0f2a51dc-93ce-42af","d967d49b-6659-4052","002872f4-82a4-4f6e-9a4e"]
.
- resource
Spec StringCode - Indicates a resource specifications identifier.
- retention
Policy String - Indicates the action to be taken when the memory usage reaches the disk capacity threshold. The possible values are:
- security
Group StringId - Indicates the ID of a security group.
- security
Group StringName - Indicates the name of a security group.
- specification String
- This parameter is mandatory if the engine is
kafka
. Indicates the baseline bandwidth of a Kafka instance, that is, the maximum amount of data transferred per unit time. Unit:byte/s
. Options:100MB
,300MB
,600MB
,1200MB
. - ssl
Enable Boolean - Indicates whether security authentication is enabled.
Possible values:
true
,false
. - status String
- Indicates the status of an instance. For details, see section Instance Status.
- storage
Resource StringId - Storage resource ID.
- storage
Space Double - Indicates the message storage space. Value range:
- Kafka instance with
specification
being100MB
:600
–90000
GB - Kafka instance with
specification
being300MB
:1200
–90000
GB - Kafka instance with
specification
being600MB
:2400
–90000
GB - Kafka instance with
specification
being1200MB
:4800
–90000
GB
- Kafka instance with
- storage
Spec StringCode - Indicates the storage I/O specification. Options for a Kafka instance:
- When
specification
is100MB
:dms.physical.storage.high
ordms.physical.storage.ultra
- When
specification
is300MB
:dms.physical.storage.high
ordms.physical.storage.ultra
- When
specification
is600MB
:dms.physical.storage.ultra
- When
specification
is1200MB
:dms.physical.storage.ultra
- When
- subnet
Cidr String - Indicates subnet CIDR block.
- subnet
Id String - Indicates the ID of the subnet (OpenStack network ID).
- subnet
Name String - Indicates the name of a subnet.
- Map<String,String>
- Tags key/value pairs to associate with the instance.
- timeouts
Dms
Instance V2Timeouts - total
Storage DoubleSpace - Total message storage space in GB.
- type String
- Indicates an instance type. Options:
single
andcluster
. - used
Storage DoubleSpace - Indicates the used message storage space. Unit: GB
- user
Id String - Indicates a user ID.
- user
Name String - Indicates a username.
- vpc
Id String - Indicates the ID of a VPC (OpenStack router ID).
- vpc
Name String
- access
User string - Indicates a username. A username consists of 4 to 64 characters
and supports only letters, digits, and hyphens (-).
- Providing
access_user
andpassword
enablesssl
for the instance.
- Providing
- available
Zones string[] - Indicates the ID of an AZ. The parameter value can not be left blank or an empty array. For details, see section Querying AZ Information.
- connect
Address string - Indicates the IP address of an instance.
- created
At string - Indicates the time when an instance is created. The time is in the format of timestamp, that is, the offset milliseconds from 1970-01-01 00:00:00 UTC to the specified time.
- description string
- Indicates the description of an instance. It is a character string containing not more than 1024 characters.
- disk
Encrypted booleanEnable - Indicates whether disk encryption is enabled.
- disk
Encrypted stringKey - Disk encryption key. If disk encryption is not enabled, this parameter is left blank.
- dms
Instance stringV2Id - enable
Publicip boolean - Whether to enable public access. By default, public access is disabled.
- Possible values:
true
,false
. - Default:
false
.
- Possible values:
- engine string
- Indicates a message engine. Only
kafka
is supported now. - engine
Version string - Indicates the version of a message engine.
Options:
1.1.0
,2.3.0
,2.7
. - maintain
Begin string - Indicates the time at which a maintenance time window starts.
Format:
HH:mm
.- The start time and end time of a maintenance time window must indicate the time segment of a supported maintenance time window.
- The start time must be set to
22:00
,02:00
,06:00
,10:00
,14:00
, or18:00
. - Parameters
maintain_begin
andmaintain_end
must be set in pairs. If parametermaintain_begin
is left blank, parametermaintain_end
is also blank. In this case, the system automatically allocates the default start time02:00
.
- maintain
End string - Indicates the time at which a maintenance time window ends.
Format:
HH:mm
.- The start time and end time of a maintenance time window must indicate the time segment of a supported maintenance time window.
- The end time is four hours later than the start time. For example, if the start time is
22:00
, the end time is02:00
. - Parameters
maintain_begin
andmaintain_end
must be set in pairs. If parametermaintain_end
is left blank, parametermaintain_begin
is also blank. In this case, the system automatically allocates the default end time06:00
.
- name string
- Indicates the name of an instance. An instance name starts with a letter, consists of 4 to 64 characters, and supports only letters, digits, and hyphens (-).
- node
Num number - Node quantity.
- partition
Num number - This parameter is mandatory when a
kafka
instance is created. Indicates the maximum number of topics in a Kafka instance.- When
specification
is100MB
:300
- When
specification
is300MB
:900
- When
specification
is600MB
:1800
- When
specification
is1200MB
:1800
- When
- password string
- Indicates the password of an instance. An instance password
must meet the following complexity requirements: Must be 8 to 32 characters long.
Must contain at least 2 of the following character types: lowercase letters, uppercase
letters, digits, and special characters (
~!@#$%^&*()-_=+\|[{}]:'",<.>/?
). - port number
- Indicates the port number of an instance.
- product
Id string - Indicates a product ID.
- public
Access stringEnabled - Time when public access was enabled for an instance.
The value can be
true
,actived
,closed
, orfalse
. - public
Bandwidth number - public
Connect string[]Addresses - List of Public IPs bound to DMS instance with specified port.
- publicip
Ids string[] - List of
public ip
IDs to be bound to DMS instance nodes.- Provided ip amount should be same as amount of DMS cluster nodes.
- Example:
["0f2a51dc-93ce-42af","d967d49b-6659-4052","002872f4-82a4-4f6e-9a4e"]
.
- resource
Spec stringCode - Indicates a resource specifications identifier.
- retention
Policy string - Indicates the action to be taken when the memory usage reaches the disk capacity threshold. The possible values are:
- security
Group stringId - Indicates the ID of a security group.
- security
Group stringName - Indicates the name of a security group.
- specification string
- This parameter is mandatory if the engine is
kafka
. Indicates the baseline bandwidth of a Kafka instance, that is, the maximum amount of data transferred per unit time. Unit:byte/s
. Options:100MB
,300MB
,600MB
,1200MB
. - ssl
Enable boolean - Indicates whether security authentication is enabled.
Possible values:
true
,false
. - status string
- Indicates the status of an instance. For details, see section Instance Status.
- storage
Resource stringId - Storage resource ID.
- storage
Space number - Indicates the message storage space. Value range:
- Kafka instance with
specification
being100MB
:600
–90000
GB - Kafka instance with
specification
being300MB
:1200
–90000
GB - Kafka instance with
specification
being600MB
:2400
–90000
GB - Kafka instance with
specification
being1200MB
:4800
–90000
GB
- Kafka instance with
- storage
Spec stringCode - Indicates the storage I/O specification. Options for a Kafka instance:
- When
specification
is100MB
:dms.physical.storage.high
ordms.physical.storage.ultra
- When
specification
is300MB
:dms.physical.storage.high
ordms.physical.storage.ultra
- When
specification
is600MB
:dms.physical.storage.ultra
- When
specification
is1200MB
:dms.physical.storage.ultra
- When
- subnet
Cidr string - Indicates subnet CIDR block.
- subnet
Id string - Indicates the ID of the subnet (OpenStack network ID).
- subnet
Name string - Indicates the name of a subnet.
- {[key: string]: string}
- Tags key/value pairs to associate with the instance.
- timeouts
Dms
Instance V2Timeouts - total
Storage numberSpace - Total message storage space in GB.
- type string
- Indicates an instance type. Options:
single
andcluster
. - used
Storage numberSpace - Indicates the used message storage space. Unit: GB
- user
Id string - Indicates a user ID.
- user
Name string - Indicates a username.
- vpc
Id string - Indicates the ID of a VPC (OpenStack router ID).
- vpc
Name string
- access_
user str - Indicates a username. A username consists of 4 to 64 characters
and supports only letters, digits, and hyphens (-).
- Providing
access_user
andpassword
enablesssl
for the instance.
- Providing
- available_
zones Sequence[str] - Indicates the ID of an AZ. The parameter value can not be left blank or an empty array. For details, see section Querying AZ Information.
- connect_
address str - Indicates the IP address of an instance.
- created_
at str - Indicates the time when an instance is created. The time is in the format of timestamp, that is, the offset milliseconds from 1970-01-01 00:00:00 UTC to the specified time.
- description str
- Indicates the description of an instance. It is a character string containing not more than 1024 characters.
- disk_
encrypted_ boolenable - Indicates whether disk encryption is enabled.
- disk_
encrypted_ strkey - Disk encryption key. If disk encryption is not enabled, this parameter is left blank.
- dms_
instance_ strv2_ id - enable_
publicip bool - Whether to enable public access. By default, public access is disabled.
- Possible values:
true
,false
. - Default:
false
.
- Possible values:
- engine str
- Indicates a message engine. Only
kafka
is supported now. - engine_
version str - Indicates the version of a message engine.
Options:
1.1.0
,2.3.0
,2.7
. - maintain_
begin str - Indicates the time at which a maintenance time window starts.
Format:
HH:mm
.- The start time and end time of a maintenance time window must indicate the time segment of a supported maintenance time window.
- The start time must be set to
22:00
,02:00
,06:00
,10:00
,14:00
, or18:00
. - Parameters
maintain_begin
andmaintain_end
must be set in pairs. If parametermaintain_begin
is left blank, parametermaintain_end
is also blank. In this case, the system automatically allocates the default start time02:00
.
- maintain_
end str - Indicates the time at which a maintenance time window ends.
Format:
HH:mm
.- The start time and end time of a maintenance time window must indicate the time segment of a supported maintenance time window.
- The end time is four hours later than the start time. For example, if the start time is
22:00
, the end time is02:00
. - Parameters
maintain_begin
andmaintain_end
must be set in pairs. If parametermaintain_end
is left blank, parametermaintain_begin
is also blank. In this case, the system automatically allocates the default end time06:00
.
- name str
- Indicates the name of an instance. An instance name starts with a letter, consists of 4 to 64 characters, and supports only letters, digits, and hyphens (-).
- node_
num float - Node quantity.
- partition_
num float - This parameter is mandatory when a
kafka
instance is created. Indicates the maximum number of topics in a Kafka instance.- When
specification
is100MB
:300
- When
specification
is300MB
:900
- When
specification
is600MB
:1800
- When
specification
is1200MB
:1800
- When
- password str
- Indicates the password of an instance. An instance password
must meet the following complexity requirements: Must be 8 to 32 characters long.
Must contain at least 2 of the following character types: lowercase letters, uppercase
letters, digits, and special characters (
~!@#$%^&*()-_=+\|[{}]:'",<.>/?
). - port float
- Indicates the port number of an instance.
- product_
id str - Indicates a product ID.
- public_
access_ strenabled - Time when public access was enabled for an instance.
The value can be
true
,actived
,closed
, orfalse
. - public_
bandwidth float - public_
connect_ Sequence[str]addresses - List of Public IPs bound to DMS instance with specified port.
- publicip_
ids Sequence[str] - List of
public ip
IDs to be bound to DMS instance nodes.- Provided ip amount should be same as amount of DMS cluster nodes.
- Example:
["0f2a51dc-93ce-42af","d967d49b-6659-4052","002872f4-82a4-4f6e-9a4e"]
.
- resource_
spec_ strcode - Indicates a resource specifications identifier.
- retention_
policy str - Indicates the action to be taken when the memory usage reaches the disk capacity threshold. The possible values are:
- security_
group_ strid - Indicates the ID of a security group.
- security_
group_ strname - Indicates the name of a security group.
- specification str
- This parameter is mandatory if the engine is
kafka
. Indicates the baseline bandwidth of a Kafka instance, that is, the maximum amount of data transferred per unit time. Unit:byte/s
. Options:100MB
,300MB
,600MB
,1200MB
. - ssl_
enable bool - Indicates whether security authentication is enabled.
Possible values:
true
,false
. - status str
- Indicates the status of an instance. For details, see section Instance Status.
- storage_
resource_ strid - Storage resource ID.
- storage_
space float - Indicates the message storage space. Value range:
- Kafka instance with
specification
being100MB
:600
–90000
GB - Kafka instance with
specification
being300MB
:1200
–90000
GB - Kafka instance with
specification
being600MB
:2400
–90000
GB - Kafka instance with
specification
being1200MB
:4800
–90000
GB
- Kafka instance with
- storage_
spec_ strcode - Indicates the storage I/O specification. Options for a Kafka instance:
- When
specification
is100MB
:dms.physical.storage.high
ordms.physical.storage.ultra
- When
specification
is300MB
:dms.physical.storage.high
ordms.physical.storage.ultra
- When
specification
is600MB
:dms.physical.storage.ultra
- When
specification
is1200MB
:dms.physical.storage.ultra
- When
- subnet_
cidr str - Indicates subnet CIDR block.
- subnet_
id str - Indicates the ID of the subnet (OpenStack network ID).
- subnet_
name str - Indicates the name of a subnet.
- Mapping[str, str]
- Tags key/value pairs to associate with the instance.
- timeouts
Dms
Instance V2Timeouts Args - total_
storage_ floatspace - Total message storage space in GB.
- type str
- Indicates an instance type. Options:
single
andcluster
. - used_
storage_ floatspace - Indicates the used message storage space. Unit: GB
- user_
id str - Indicates a user ID.
- user_
name str - Indicates a username.
- vpc_
id str - Indicates the ID of a VPC (OpenStack router ID).
- vpc_
name str
- access
User String - Indicates a username. A username consists of 4 to 64 characters
and supports only letters, digits, and hyphens (-).
- Providing
access_user
andpassword
enablesssl
for the instance.
- Providing
- available
Zones List<String> - Indicates the ID of an AZ. The parameter value can not be left blank or an empty array. For details, see section Querying AZ Information.
- connect
Address String - Indicates the IP address of an instance.
- created
At String - Indicates the time when an instance is created. The time is in the format of timestamp, that is, the offset milliseconds from 1970-01-01 00:00:00 UTC to the specified time.
- description String
- Indicates the description of an instance. It is a character string containing not more than 1024 characters.
- disk
Encrypted BooleanEnable - Indicates whether disk encryption is enabled.
- disk
Encrypted StringKey - Disk encryption key. If disk encryption is not enabled, this parameter is left blank.
- dms
Instance StringV2Id - enable
Publicip Boolean - Whether to enable public access. By default, public access is disabled.
- Possible values:
true
,false
. - Default:
false
.
- Possible values:
- engine String
- Indicates a message engine. Only
kafka
is supported now. - engine
Version String - Indicates the version of a message engine.
Options:
1.1.0
,2.3.0
,2.7
. - maintain
Begin String - Indicates the time at which a maintenance time window starts.
Format:
HH:mm
.- The start time and end time of a maintenance time window must indicate the time segment of a supported maintenance time window.
- The start time must be set to
22:00
,02:00
,06:00
,10:00
,14:00
, or18:00
. - Parameters
maintain_begin
andmaintain_end
must be set in pairs. If parametermaintain_begin
is left blank, parametermaintain_end
is also blank. In this case, the system automatically allocates the default start time02:00
.
- maintain
End String - Indicates the time at which a maintenance time window ends.
Format:
HH:mm
.- The start time and end time of a maintenance time window must indicate the time segment of a supported maintenance time window.
- The end time is four hours later than the start time. For example, if the start time is
22:00
, the end time is02:00
. - Parameters
maintain_begin
andmaintain_end
must be set in pairs. If parametermaintain_end
is left blank, parametermaintain_begin
is also blank. In this case, the system automatically allocates the default end time06:00
.
- name String
- Indicates the name of an instance. An instance name starts with a letter, consists of 4 to 64 characters, and supports only letters, digits, and hyphens (-).
- node
Num Number - Node quantity.
- partition
Num Number - This parameter is mandatory when a
kafka
instance is created. Indicates the maximum number of topics in a Kafka instance.- When
specification
is100MB
:300
- When
specification
is300MB
:900
- When
specification
is600MB
:1800
- When
specification
is1200MB
:1800
- When
- password String
- Indicates the password of an instance. An instance password
must meet the following complexity requirements: Must be 8 to 32 characters long.
Must contain at least 2 of the following character types: lowercase letters, uppercase
letters, digits, and special characters (
~!@#$%^&*()-_=+\|[{}]:'",<.>/?
). - port Number
- Indicates the port number of an instance.
- product
Id String - Indicates a product ID.
- public
Access StringEnabled - Time when public access was enabled for an instance.
The value can be
true
,actived
,closed
, orfalse
. - public
Bandwidth Number - public
Connect List<String>Addresses - List of Public IPs bound to DMS instance with specified port.
- publicip
Ids List<String> - List of
public ip
IDs to be bound to DMS instance nodes.- Provided ip amount should be same as amount of DMS cluster nodes.
- Example:
["0f2a51dc-93ce-42af","d967d49b-6659-4052","002872f4-82a4-4f6e-9a4e"]
.
- resource
Spec StringCode - Indicates a resource specifications identifier.
- retention
Policy String - Indicates the action to be taken when the memory usage reaches the disk capacity threshold. The possible values are:
- security
Group StringId - Indicates the ID of a security group.
- security
Group StringName - Indicates the name of a security group.
- specification String
- This parameter is mandatory if the engine is
kafka
. Indicates the baseline bandwidth of a Kafka instance, that is, the maximum amount of data transferred per unit time. Unit:byte/s
. Options:100MB
,300MB
,600MB
,1200MB
. - ssl
Enable Boolean - Indicates whether security authentication is enabled.
Possible values:
true
,false
. - status String
- Indicates the status of an instance. For details, see section Instance Status.
- storage
Resource StringId - Storage resource ID.
- storage
Space Number - Indicates the message storage space. Value range:
- Kafka instance with
specification
being100MB
:600
–90000
GB - Kafka instance with
specification
being300MB
:1200
–90000
GB - Kafka instance with
specification
being600MB
:2400
–90000
GB - Kafka instance with
specification
being1200MB
:4800
–90000
GB
- Kafka instance with
- storage
Spec StringCode - Indicates the storage I/O specification. Options for a Kafka instance:
- When
specification
is100MB
:dms.physical.storage.high
ordms.physical.storage.ultra
- When
specification
is300MB
:dms.physical.storage.high
ordms.physical.storage.ultra
- When
specification
is600MB
:dms.physical.storage.ultra
- When
specification
is1200MB
:dms.physical.storage.ultra
- When
- subnet
Cidr String - Indicates subnet CIDR block.
- subnet
Id String - Indicates the ID of the subnet (OpenStack network ID).
- subnet
Name String - Indicates the name of a subnet.
- Map<String>
- Tags key/value pairs to associate with the instance.
- timeouts Property Map
- total
Storage NumberSpace - Total message storage space in GB.
- type String
- Indicates an instance type. Options:
single
andcluster
. - used
Storage NumberSpace - Indicates the used message storage space. Unit: GB
- user
Id String - Indicates a user ID.
- user
Name String - Indicates a username.
- vpc
Id String - Indicates the ID of a VPC (OpenStack router ID).
- vpc
Name String
Supporting Types
DmsInstanceV2Timeouts, DmsInstanceV2TimeoutsArgs
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloud
Terraform Provider.