opentelekomcloud.DmsDedicatedInstanceV2
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).
Example Usage
Create DmsDedicatedInstanceV2 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DmsDedicatedInstanceV2(name: string, args: DmsDedicatedInstanceV2Args, opts?: CustomResourceOptions);
@overload
def DmsDedicatedInstanceV2(resource_name: str,
args: DmsDedicatedInstanceV2Args,
opts: Optional[ResourceOptions] = None)
@overload
def DmsDedicatedInstanceV2(resource_name: str,
opts: Optional[ResourceOptions] = None,
engine_version: Optional[str] = None,
vpc_id: Optional[str] = None,
storage_spec_code: Optional[str] = None,
broker_num: Optional[float] = None,
storage_space: Optional[float] = None,
security_group_id: Optional[str] = None,
network_id: Optional[str] = None,
flavor_id: Optional[str] = None,
maintain_begin: Optional[str] = None,
password: Optional[str] = None,
enabled_mechanisms: Optional[Sequence[str]] = None,
dms_dedicated_instance_v2_id: Optional[str] = None,
disk_encrypted_key: Optional[str] = None,
ipv6_enable: Optional[bool] = None,
access_user: Optional[str] = None,
maintain_end: Optional[str] = None,
name: Optional[str] = None,
disk_encrypted_enable: Optional[bool] = None,
new_tenant_ips: Optional[Sequence[str]] = None,
enable_publicip: Optional[bool] = None,
publicip_ids: Optional[Sequence[str]] = None,
retention_policy: Optional[str] = None,
description: Optional[str] = None,
security_protocol: Optional[str] = None,
ssl_enable: Optional[bool] = None,
cross_vpc_accesses: Optional[Sequence[DmsDedicatedInstanceV2CrossVpcAccessArgs]] = None,
available_zones: Optional[Sequence[str]] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[DmsDedicatedInstanceV2TimeoutsArgs] = None,
arch_type: Optional[str] = None)
func NewDmsDedicatedInstanceV2(ctx *Context, name string, args DmsDedicatedInstanceV2Args, opts ...ResourceOption) (*DmsDedicatedInstanceV2, error)
public DmsDedicatedInstanceV2(string name, DmsDedicatedInstanceV2Args args, CustomResourceOptions? opts = null)
public DmsDedicatedInstanceV2(String name, DmsDedicatedInstanceV2Args args)
public DmsDedicatedInstanceV2(String name, DmsDedicatedInstanceV2Args args, CustomResourceOptions options)
type: opentelekomcloud:DmsDedicatedInstanceV2
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 DmsDedicatedInstanceV2Args
- 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 DmsDedicatedInstanceV2Args
- 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 DmsDedicatedInstanceV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DmsDedicatedInstanceV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DmsDedicatedInstanceV2Args
- 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 dmsDedicatedInstanceV2Resource = new Opentelekomcloud.DmsDedicatedInstanceV2("dmsDedicatedInstanceV2Resource", new()
{
EngineVersion = "string",
VpcId = "string",
StorageSpecCode = "string",
BrokerNum = 0,
StorageSpace = 0,
SecurityGroupId = "string",
NetworkId = "string",
FlavorId = "string",
MaintainBegin = "string",
Password = "string",
EnabledMechanisms = new[]
{
"string",
},
DmsDedicatedInstanceV2Id = "string",
DiskEncryptedKey = "string",
Ipv6Enable = false,
AccessUser = "string",
MaintainEnd = "string",
Name = "string",
DiskEncryptedEnable = false,
NewTenantIps = new[]
{
"string",
},
EnablePublicip = false,
PublicipIds = new[]
{
"string",
},
RetentionPolicy = "string",
Description = "string",
SecurityProtocol = "string",
SslEnable = false,
CrossVpcAccesses = new[]
{
new Opentelekomcloud.Inputs.DmsDedicatedInstanceV2CrossVpcAccessArgs
{
AdvertisedIp = "string",
ListenerIp = "string",
Port = 0,
PortId = "string",
},
},
AvailableZones = new[]
{
"string",
},
Tags =
{
{ "string", "string" },
},
Timeouts = new Opentelekomcloud.Inputs.DmsDedicatedInstanceV2TimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
ArchType = "string",
});
example, err := opentelekomcloud.NewDmsDedicatedInstanceV2(ctx, "dmsDedicatedInstanceV2Resource", &opentelekomcloud.DmsDedicatedInstanceV2Args{
EngineVersion: pulumi.String("string"),
VpcId: pulumi.String("string"),
StorageSpecCode: pulumi.String("string"),
BrokerNum: pulumi.Float64(0),
StorageSpace: pulumi.Float64(0),
SecurityGroupId: pulumi.String("string"),
NetworkId: pulumi.String("string"),
FlavorId: pulumi.String("string"),
MaintainBegin: pulumi.String("string"),
Password: pulumi.String("string"),
EnabledMechanisms: pulumi.StringArray{
pulumi.String("string"),
},
DmsDedicatedInstanceV2Id: pulumi.String("string"),
DiskEncryptedKey: pulumi.String("string"),
Ipv6Enable: pulumi.Bool(false),
AccessUser: pulumi.String("string"),
MaintainEnd: pulumi.String("string"),
Name: pulumi.String("string"),
DiskEncryptedEnable: pulumi.Bool(false),
NewTenantIps: pulumi.StringArray{
pulumi.String("string"),
},
EnablePublicip: pulumi.Bool(false),
PublicipIds: pulumi.StringArray{
pulumi.String("string"),
},
RetentionPolicy: pulumi.String("string"),
Description: pulumi.String("string"),
SecurityProtocol: pulumi.String("string"),
SslEnable: pulumi.Bool(false),
CrossVpcAccesses: opentelekomcloud.DmsDedicatedInstanceV2CrossVpcAccessArray{
&opentelekomcloud.DmsDedicatedInstanceV2CrossVpcAccessArgs{
AdvertisedIp: pulumi.String("string"),
ListenerIp: pulumi.String("string"),
Port: pulumi.Float64(0),
PortId: pulumi.String("string"),
},
},
AvailableZones: pulumi.StringArray{
pulumi.String("string"),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Timeouts: &opentelekomcloud.DmsDedicatedInstanceV2TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
ArchType: pulumi.String("string"),
})
var dmsDedicatedInstanceV2Resource = new DmsDedicatedInstanceV2("dmsDedicatedInstanceV2Resource", DmsDedicatedInstanceV2Args.builder()
.engineVersion("string")
.vpcId("string")
.storageSpecCode("string")
.brokerNum(0)
.storageSpace(0)
.securityGroupId("string")
.networkId("string")
.flavorId("string")
.maintainBegin("string")
.password("string")
.enabledMechanisms("string")
.dmsDedicatedInstanceV2Id("string")
.diskEncryptedKey("string")
.ipv6Enable(false)
.accessUser("string")
.maintainEnd("string")
.name("string")
.diskEncryptedEnable(false)
.newTenantIps("string")
.enablePublicip(false)
.publicipIds("string")
.retentionPolicy("string")
.description("string")
.securityProtocol("string")
.sslEnable(false)
.crossVpcAccesses(DmsDedicatedInstanceV2CrossVpcAccessArgs.builder()
.advertisedIp("string")
.listenerIp("string")
.port(0)
.portId("string")
.build())
.availableZones("string")
.tags(Map.of("string", "string"))
.timeouts(DmsDedicatedInstanceV2TimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.archType("string")
.build());
dms_dedicated_instance_v2_resource = opentelekomcloud.DmsDedicatedInstanceV2("dmsDedicatedInstanceV2Resource",
engine_version="string",
vpc_id="string",
storage_spec_code="string",
broker_num=0,
storage_space=0,
security_group_id="string",
network_id="string",
flavor_id="string",
maintain_begin="string",
password="string",
enabled_mechanisms=["string"],
dms_dedicated_instance_v2_id="string",
disk_encrypted_key="string",
ipv6_enable=False,
access_user="string",
maintain_end="string",
name="string",
disk_encrypted_enable=False,
new_tenant_ips=["string"],
enable_publicip=False,
publicip_ids=["string"],
retention_policy="string",
description="string",
security_protocol="string",
ssl_enable=False,
cross_vpc_accesses=[{
"advertised_ip": "string",
"listener_ip": "string",
"port": 0,
"port_id": "string",
}],
available_zones=["string"],
tags={
"string": "string",
},
timeouts={
"create": "string",
"delete": "string",
"update": "string",
},
arch_type="string")
const dmsDedicatedInstanceV2Resource = new opentelekomcloud.DmsDedicatedInstanceV2("dmsDedicatedInstanceV2Resource", {
engineVersion: "string",
vpcId: "string",
storageSpecCode: "string",
brokerNum: 0,
storageSpace: 0,
securityGroupId: "string",
networkId: "string",
flavorId: "string",
maintainBegin: "string",
password: "string",
enabledMechanisms: ["string"],
dmsDedicatedInstanceV2Id: "string",
diskEncryptedKey: "string",
ipv6Enable: false,
accessUser: "string",
maintainEnd: "string",
name: "string",
diskEncryptedEnable: false,
newTenantIps: ["string"],
enablePublicip: false,
publicipIds: ["string"],
retentionPolicy: "string",
description: "string",
securityProtocol: "string",
sslEnable: false,
crossVpcAccesses: [{
advertisedIp: "string",
listenerIp: "string",
port: 0,
portId: "string",
}],
availableZones: ["string"],
tags: {
string: "string",
},
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
archType: "string",
});
type: opentelekomcloud:DmsDedicatedInstanceV2
properties:
accessUser: string
archType: string
availableZones:
- string
brokerNum: 0
crossVpcAccesses:
- advertisedIp: string
listenerIp: string
port: 0
portId: string
description: string
diskEncryptedEnable: false
diskEncryptedKey: string
dmsDedicatedInstanceV2Id: string
enablePublicip: false
enabledMechanisms:
- string
engineVersion: string
flavorId: string
ipv6Enable: false
maintainBegin: string
maintainEnd: string
name: string
networkId: string
newTenantIps:
- string
password: string
publicipIds:
- string
retentionPolicy: string
securityGroupId: string
securityProtocol: string
sslEnable: false
storageSpace: 0
storageSpecCode: string
tags:
string: string
timeouts:
create: string
delete: string
update: string
vpcId: string
DmsDedicatedInstanceV2 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 DmsDedicatedInstanceV2 resource accepts the following input properties:
- Broker
Num double - Specifies the broker numbers.
- Engine
Version string - Specifies the version of the Kafka engine, such as 1.1.0, 2.3.0, 2.7 or other supported versions. Changing this creates a new instance resource.
- Flavor
Id string - Specifies the Kafka [flavor ID](https://docs.otc.t-systems.com/distributed-message-service/api-ref/apis_v2_recommended/other_apis/querying_product_specifications_list.html#listengineproducts, e.g. c6.2u4g.cluster.
- Network
Id string - Specifies the ID of a subnet. Changing this creates a new instance resource.
- Security
Group stringId - Specifies the ID of a security group.
- Storage
Space double - Specifies the message storage capacity, the unit is GB.
The storage spaces corresponding to the product IDs are as follows:
- c6.2u4g.cluster (100MB bandwidth):
300
to300,000
GB - c6.4u8g.cluster (300MB bandwidth):
300
to600,000
GB - c6.8u16g.cluster (600MB bandwidth):
300
to900,000
GB - c6.12u12g.cluster:
300
to900,000
GB - c6.16u32g.cluster (1,200MB bandwidth):
300
to900,000
GB
- c6.2u4g.cluster (100MB bandwidth):
- Storage
Spec stringCode - Specifies the storage I/O specification.
The valid values are as follows:
- dms.physical.storage.high.v2: Type of the disk that uses high I/O.
- dms.physical.storage.ultra.v2: Type of the disk that uses ultra-high I/O.
- Vpc
Id string - Specifies the ID of a VPC. Changing this creates a new instance resource.
- Access
User string - Specifies the username of SASL_SSL user. A username consists of 4 to 64 characters and supports only letters, digits, and hyphens (-). Changing this creates a new instance resource.
- Arch
Type string - Specifies the CPU architecture. Valid value is X86. Changing this creates a new instance resource.
- 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.
- Cross
Vpc List<DmsAccesses Dedicated Instance V2Cross Vpc Access> Specifies the cross-VPC access information. The object structure is documented below.
The
cross_vpc_accesses
block supports:- Description string
- Specifies the description of the DMS Kafka instance. It is a character string containing not more than 1,024 characters.
- Disk
Encrypted boolEnable - Indicates whether to enable disk encryption.
- Disk
Encrypted stringKey - Disk encryption key. If disk encryption is not enabled, this parameter is left blank.
- Dms
Dedicated stringInstance V2Id - Specifies a resource ID in UUID format.
- Enable
Publicip bool - A list of IDs of the EIP bound to the instance.
This parameter is mandatory if
enable_publicip
is set totrue
. - Enabled
Mechanisms List<string> Specifies the authentication mechanisms to use after SASL is enabled. Value options:
- PLAIN: Simple username and password verification.
- SCRAM-SHA-512: User credential verification, which is more secure than PLAIN.
Defaults to [PLAIN]. Changing this creates a new instance resource.
- Ipv6Enable bool
- Specifies whether to enable IPv6. Defaults to false. Changing this creates a new instance resource.
- Maintain
Begin string - Specifies 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, or 18: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 time 02:00. - Maintain
End string - Specifies 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 is
02: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 time 06:00. - Name string
- Specifies the name of the DMS Kafka instance. An instance name starts with a letter, consists of 4 to 64 characters, and supports only letters, digits, hyphens (-) and underscores (_).
- New
Tenant List<string>Ips Specifies the IPv4 private IP addresses for the new brokers.
The number of specified IP addresses must be less than or equal to the number of new brokers.
- Password string
Specifies the password of SASL_SSL user. A 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 (`~!@#$%^&*()-_=+\|[{}]:'",<.>/?).
NOTE:
access_user
andpassword
is mandatory and available whenssl_enable
is true.- Publicip
Ids List<string> - Retention
Policy string - Specifies the action to be taken when the memory usage reaches the disk
capacity threshold. The valid values are as follows:
- time_base: Automatically delete the earliest messages.
- produce_reject: Stop producing new messages.
- Security
Protocol string Specifies the protocol to use after SASL is enabled. Value options:
- SASL_SSL: Data is encrypted with SSL certificates for high-security transmission.
- SASL_PLAINTEXT: Data is transmitted in plaintext with username and password authentication. This protocol only uses the SCRAM-SHA-512 mechanism and delivers high performance.
Defaults to SASL_SSL. Changing this creates a new instance resource.
- Ssl
Enable bool - Specifies whether the Kafka SASL_SSL is enabled. Changing this creates a new resource.
- Dictionary<string, string>
- The key/value pairs to associate with the DMS Kafka instance.
- Timeouts
Dms
Dedicated Instance V2Timeouts
- Broker
Num float64 - Specifies the broker numbers.
- Engine
Version string - Specifies the version of the Kafka engine, such as 1.1.0, 2.3.0, 2.7 or other supported versions. Changing this creates a new instance resource.
- Flavor
Id string - Specifies the Kafka [flavor ID](https://docs.otc.t-systems.com/distributed-message-service/api-ref/apis_v2_recommended/other_apis/querying_product_specifications_list.html#listengineproducts, e.g. c6.2u4g.cluster.
- Network
Id string - Specifies the ID of a subnet. Changing this creates a new instance resource.
- Security
Group stringId - Specifies the ID of a security group.
- Storage
Space float64 - Specifies the message storage capacity, the unit is GB.
The storage spaces corresponding to the product IDs are as follows:
- c6.2u4g.cluster (100MB bandwidth):
300
to300,000
GB - c6.4u8g.cluster (300MB bandwidth):
300
to600,000
GB - c6.8u16g.cluster (600MB bandwidth):
300
to900,000
GB - c6.12u12g.cluster:
300
to900,000
GB - c6.16u32g.cluster (1,200MB bandwidth):
300
to900,000
GB
- c6.2u4g.cluster (100MB bandwidth):
- Storage
Spec stringCode - Specifies the storage I/O specification.
The valid values are as follows:
- dms.physical.storage.high.v2: Type of the disk that uses high I/O.
- dms.physical.storage.ultra.v2: Type of the disk that uses ultra-high I/O.
- Vpc
Id string - Specifies the ID of a VPC. Changing this creates a new instance resource.
- Access
User string - Specifies the username of SASL_SSL user. A username consists of 4 to 64 characters and supports only letters, digits, and hyphens (-). Changing this creates a new instance resource.
- Arch
Type string - Specifies the CPU architecture. Valid value is X86. Changing this creates a new instance resource.
- 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.
- Cross
Vpc []DmsAccesses Dedicated Instance V2Cross Vpc Access Args Specifies the cross-VPC access information. The object structure is documented below.
The
cross_vpc_accesses
block supports:- Description string
- Specifies the description of the DMS Kafka instance. It is a character string containing not more than 1,024 characters.
- Disk
Encrypted boolEnable - Indicates whether to enable disk encryption.
- Disk
Encrypted stringKey - Disk encryption key. If disk encryption is not enabled, this parameter is left blank.
- Dms
Dedicated stringInstance V2Id - Specifies a resource ID in UUID format.
- Enable
Publicip bool - A list of IDs of the EIP bound to the instance.
This parameter is mandatory if
enable_publicip
is set totrue
. - Enabled
Mechanisms []string Specifies the authentication mechanisms to use after SASL is enabled. Value options:
- PLAIN: Simple username and password verification.
- SCRAM-SHA-512: User credential verification, which is more secure than PLAIN.
Defaults to [PLAIN]. Changing this creates a new instance resource.
- Ipv6Enable bool
- Specifies whether to enable IPv6. Defaults to false. Changing this creates a new instance resource.
- Maintain
Begin string - Specifies 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, or 18: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 time 02:00. - Maintain
End string - Specifies 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 is
02: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 time 06:00. - Name string
- Specifies the name of the DMS Kafka instance. An instance name starts with a letter, consists of 4 to 64 characters, and supports only letters, digits, hyphens (-) and underscores (_).
- New
Tenant []stringIps Specifies the IPv4 private IP addresses for the new brokers.
The number of specified IP addresses must be less than or equal to the number of new brokers.
- Password string
Specifies the password of SASL_SSL user. A 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 (`~!@#$%^&*()-_=+\|[{}]:'",<.>/?).
NOTE:
access_user
andpassword
is mandatory and available whenssl_enable
is true.- Publicip
Ids []string - Retention
Policy string - Specifies the action to be taken when the memory usage reaches the disk
capacity threshold. The valid values are as follows:
- time_base: Automatically delete the earliest messages.
- produce_reject: Stop producing new messages.
- Security
Protocol string Specifies the protocol to use after SASL is enabled. Value options:
- SASL_SSL: Data is encrypted with SSL certificates for high-security transmission.
- SASL_PLAINTEXT: Data is transmitted in plaintext with username and password authentication. This protocol only uses the SCRAM-SHA-512 mechanism and delivers high performance.
Defaults to SASL_SSL. Changing this creates a new instance resource.
- Ssl
Enable bool - Specifies whether the Kafka SASL_SSL is enabled. Changing this creates a new resource.
- map[string]string
- The key/value pairs to associate with the DMS Kafka instance.
- Timeouts
Dms
Dedicated Instance V2Timeouts Args
- broker
Num Double - Specifies the broker numbers.
- engine
Version String - Specifies the version of the Kafka engine, such as 1.1.0, 2.3.0, 2.7 or other supported versions. Changing this creates a new instance resource.
- flavor
Id String - Specifies the Kafka [flavor ID](https://docs.otc.t-systems.com/distributed-message-service/api-ref/apis_v2_recommended/other_apis/querying_product_specifications_list.html#listengineproducts, e.g. c6.2u4g.cluster.
- network
Id String - Specifies the ID of a subnet. Changing this creates a new instance resource.
- security
Group StringId - Specifies the ID of a security group.
- storage
Space Double - Specifies the message storage capacity, the unit is GB.
The storage spaces corresponding to the product IDs are as follows:
- c6.2u4g.cluster (100MB bandwidth):
300
to300,000
GB - c6.4u8g.cluster (300MB bandwidth):
300
to600,000
GB - c6.8u16g.cluster (600MB bandwidth):
300
to900,000
GB - c6.12u12g.cluster:
300
to900,000
GB - c6.16u32g.cluster (1,200MB bandwidth):
300
to900,000
GB
- c6.2u4g.cluster (100MB bandwidth):
- storage
Spec StringCode - Specifies the storage I/O specification.
The valid values are as follows:
- dms.physical.storage.high.v2: Type of the disk that uses high I/O.
- dms.physical.storage.ultra.v2: Type of the disk that uses ultra-high I/O.
- vpc
Id String - Specifies the ID of a VPC. Changing this creates a new instance resource.
- access
User String - Specifies the username of SASL_SSL user. A username consists of 4 to 64 characters and supports only letters, digits, and hyphens (-). Changing this creates a new instance resource.
- arch
Type String - Specifies the CPU architecture. Valid value is X86. Changing this creates a new instance resource.
- 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.
- cross
Vpc List<DmsAccesses Dedicated Instance V2Cross Vpc Access> Specifies the cross-VPC access information. The object structure is documented below.
The
cross_vpc_accesses
block supports:- description String
- Specifies the description of the DMS Kafka instance. It is a character string containing not more than 1,024 characters.
- disk
Encrypted BooleanEnable - Indicates whether to enable disk encryption.
- disk
Encrypted StringKey - Disk encryption key. If disk encryption is not enabled, this parameter is left blank.
- dms
Dedicated StringInstance V2Id - Specifies a resource ID in UUID format.
- enable
Publicip Boolean - A list of IDs of the EIP bound to the instance.
This parameter is mandatory if
enable_publicip
is set totrue
. - enabled
Mechanisms List<String> Specifies the authentication mechanisms to use after SASL is enabled. Value options:
- PLAIN: Simple username and password verification.
- SCRAM-SHA-512: User credential verification, which is more secure than PLAIN.
Defaults to [PLAIN]. Changing this creates a new instance resource.
- ipv6Enable Boolean
- Specifies whether to enable IPv6. Defaults to false. Changing this creates a new instance resource.
- maintain
Begin String - Specifies 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, or 18: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 time 02:00. - maintain
End String - Specifies 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 is
02: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 time 06:00. - name String
- Specifies the name of the DMS Kafka instance. An instance name starts with a letter, consists of 4 to 64 characters, and supports only letters, digits, hyphens (-) and underscores (_).
- new
Tenant List<String>Ips Specifies the IPv4 private IP addresses for the new brokers.
The number of specified IP addresses must be less than or equal to the number of new brokers.
- password String
Specifies the password of SASL_SSL user. A 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 (`~!@#$%^&*()-_=+\|[{}]:'",<.>/?).
NOTE:
access_user
andpassword
is mandatory and available whenssl_enable
is true.- publicip
Ids List<String> - retention
Policy String - Specifies the action to be taken when the memory usage reaches the disk
capacity threshold. The valid values are as follows:
- time_base: Automatically delete the earliest messages.
- produce_reject: Stop producing new messages.
- security
Protocol String Specifies the protocol to use after SASL is enabled. Value options:
- SASL_SSL: Data is encrypted with SSL certificates for high-security transmission.
- SASL_PLAINTEXT: Data is transmitted in plaintext with username and password authentication. This protocol only uses the SCRAM-SHA-512 mechanism and delivers high performance.
Defaults to SASL_SSL. Changing this creates a new instance resource.
- ssl
Enable Boolean - Specifies whether the Kafka SASL_SSL is enabled. Changing this creates a new resource.
- Map<String,String>
- The key/value pairs to associate with the DMS Kafka instance.
- timeouts
Dms
Dedicated Instance V2Timeouts
- broker
Num number - Specifies the broker numbers.
- engine
Version string - Specifies the version of the Kafka engine, such as 1.1.0, 2.3.0, 2.7 or other supported versions. Changing this creates a new instance resource.
- flavor
Id string - Specifies the Kafka [flavor ID](https://docs.otc.t-systems.com/distributed-message-service/api-ref/apis_v2_recommended/other_apis/querying_product_specifications_list.html#listengineproducts, e.g. c6.2u4g.cluster.
- network
Id string - Specifies the ID of a subnet. Changing this creates a new instance resource.
- security
Group stringId - Specifies the ID of a security group.
- storage
Space number - Specifies the message storage capacity, the unit is GB.
The storage spaces corresponding to the product IDs are as follows:
- c6.2u4g.cluster (100MB bandwidth):
300
to300,000
GB - c6.4u8g.cluster (300MB bandwidth):
300
to600,000
GB - c6.8u16g.cluster (600MB bandwidth):
300
to900,000
GB - c6.12u12g.cluster:
300
to900,000
GB - c6.16u32g.cluster (1,200MB bandwidth):
300
to900,000
GB
- c6.2u4g.cluster (100MB bandwidth):
- storage
Spec stringCode - Specifies the storage I/O specification.
The valid values are as follows:
- dms.physical.storage.high.v2: Type of the disk that uses high I/O.
- dms.physical.storage.ultra.v2: Type of the disk that uses ultra-high I/O.
- vpc
Id string - Specifies the ID of a VPC. Changing this creates a new instance resource.
- access
User string - Specifies the username of SASL_SSL user. A username consists of 4 to 64 characters and supports only letters, digits, and hyphens (-). Changing this creates a new instance resource.
- arch
Type string - Specifies the CPU architecture. Valid value is X86. Changing this creates a new instance resource.
- 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.
- cross
Vpc DmsAccesses Dedicated Instance V2Cross Vpc Access[] Specifies the cross-VPC access information. The object structure is documented below.
The
cross_vpc_accesses
block supports:- description string
- Specifies the description of the DMS Kafka instance. It is a character string containing not more than 1,024 characters.
- disk
Encrypted booleanEnable - Indicates whether to enable disk encryption.
- disk
Encrypted stringKey - Disk encryption key. If disk encryption is not enabled, this parameter is left blank.
- dms
Dedicated stringInstance V2Id - Specifies a resource ID in UUID format.
- enable
Publicip boolean - A list of IDs of the EIP bound to the instance.
This parameter is mandatory if
enable_publicip
is set totrue
. - enabled
Mechanisms string[] Specifies the authentication mechanisms to use after SASL is enabled. Value options:
- PLAIN: Simple username and password verification.
- SCRAM-SHA-512: User credential verification, which is more secure than PLAIN.
Defaults to [PLAIN]. Changing this creates a new instance resource.
- ipv6Enable boolean
- Specifies whether to enable IPv6. Defaults to false. Changing this creates a new instance resource.
- maintain
Begin string - Specifies 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, or 18: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 time 02:00. - maintain
End string - Specifies 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 is
02: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 time 06:00. - name string
- Specifies the name of the DMS Kafka instance. An instance name starts with a letter, consists of 4 to 64 characters, and supports only letters, digits, hyphens (-) and underscores (_).
- new
Tenant string[]Ips Specifies the IPv4 private IP addresses for the new brokers.
The number of specified IP addresses must be less than or equal to the number of new brokers.
- password string
Specifies the password of SASL_SSL user. A 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 (`~!@#$%^&*()-_=+\|[{}]:'",<.>/?).
NOTE:
access_user
andpassword
is mandatory and available whenssl_enable
is true.- publicip
Ids string[] - retention
Policy string - Specifies the action to be taken when the memory usage reaches the disk
capacity threshold. The valid values are as follows:
- time_base: Automatically delete the earliest messages.
- produce_reject: Stop producing new messages.
- security
Protocol string Specifies the protocol to use after SASL is enabled. Value options:
- SASL_SSL: Data is encrypted with SSL certificates for high-security transmission.
- SASL_PLAINTEXT: Data is transmitted in plaintext with username and password authentication. This protocol only uses the SCRAM-SHA-512 mechanism and delivers high performance.
Defaults to SASL_SSL. Changing this creates a new instance resource.
- ssl
Enable boolean - Specifies whether the Kafka SASL_SSL is enabled. Changing this creates a new resource.
- {[key: string]: string}
- The key/value pairs to associate with the DMS Kafka instance.
- timeouts
Dms
Dedicated Instance V2Timeouts
- broker_
num float - Specifies the broker numbers.
- engine_
version str - Specifies the version of the Kafka engine, such as 1.1.0, 2.3.0, 2.7 or other supported versions. Changing this creates a new instance resource.
- flavor_
id str - Specifies the Kafka [flavor ID](https://docs.otc.t-systems.com/distributed-message-service/api-ref/apis_v2_recommended/other_apis/querying_product_specifications_list.html#listengineproducts, e.g. c6.2u4g.cluster.
- network_
id str - Specifies the ID of a subnet. Changing this creates a new instance resource.
- security_
group_ strid - Specifies the ID of a security group.
- storage_
space float - Specifies the message storage capacity, the unit is GB.
The storage spaces corresponding to the product IDs are as follows:
- c6.2u4g.cluster (100MB bandwidth):
300
to300,000
GB - c6.4u8g.cluster (300MB bandwidth):
300
to600,000
GB - c6.8u16g.cluster (600MB bandwidth):
300
to900,000
GB - c6.12u12g.cluster:
300
to900,000
GB - c6.16u32g.cluster (1,200MB bandwidth):
300
to900,000
GB
- c6.2u4g.cluster (100MB bandwidth):
- storage_
spec_ strcode - Specifies the storage I/O specification.
The valid values are as follows:
- dms.physical.storage.high.v2: Type of the disk that uses high I/O.
- dms.physical.storage.ultra.v2: Type of the disk that uses ultra-high I/O.
- vpc_
id str - Specifies the ID of a VPC. Changing this creates a new instance resource.
- access_
user str - Specifies the username of SASL_SSL user. A username consists of 4 to 64 characters and supports only letters, digits, and hyphens (-). Changing this creates a new instance resource.
- arch_
type str - Specifies the CPU architecture. Valid value is X86. Changing this creates a new instance resource.
- 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.
- cross_
vpc_ Sequence[Dmsaccesses Dedicated Instance V2Cross Vpc Access Args] Specifies the cross-VPC access information. The object structure is documented below.
The
cross_vpc_accesses
block supports:- description str
- Specifies the description of the DMS Kafka instance. It is a character string containing not more than 1,024 characters.
- disk_
encrypted_ boolenable - Indicates whether to enable disk encryption.
- disk_
encrypted_ strkey - Disk encryption key. If disk encryption is not enabled, this parameter is left blank.
- dms_
dedicated_ strinstance_ v2_ id - Specifies a resource ID in UUID format.
- enable_
publicip bool - A list of IDs of the EIP bound to the instance.
This parameter is mandatory if
enable_publicip
is set totrue
. - enabled_
mechanisms Sequence[str] Specifies the authentication mechanisms to use after SASL is enabled. Value options:
- PLAIN: Simple username and password verification.
- SCRAM-SHA-512: User credential verification, which is more secure than PLAIN.
Defaults to [PLAIN]. Changing this creates a new instance resource.
- ipv6_
enable bool - Specifies whether to enable IPv6. Defaults to false. Changing this creates a new instance resource.
- maintain_
begin str - Specifies 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, or 18: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 time 02:00. - maintain_
end str - Specifies 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 is
02: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 time 06:00. - name str
- Specifies the name of the DMS Kafka instance. An instance name starts with a letter, consists of 4 to 64 characters, and supports only letters, digits, hyphens (-) and underscores (_).
- new_
tenant_ Sequence[str]ips Specifies the IPv4 private IP addresses for the new brokers.
The number of specified IP addresses must be less than or equal to the number of new brokers.
- password str
Specifies the password of SASL_SSL user. A 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 (`~!@#$%^&*()-_=+\|[{}]:'",<.>/?).
NOTE:
access_user
andpassword
is mandatory and available whenssl_enable
is true.- publicip_
ids Sequence[str] - retention_
policy str - Specifies the action to be taken when the memory usage reaches the disk
capacity threshold. The valid values are as follows:
- time_base: Automatically delete the earliest messages.
- produce_reject: Stop producing new messages.
- security_
protocol str Specifies the protocol to use after SASL is enabled. Value options:
- SASL_SSL: Data is encrypted with SSL certificates for high-security transmission.
- SASL_PLAINTEXT: Data is transmitted in plaintext with username and password authentication. This protocol only uses the SCRAM-SHA-512 mechanism and delivers high performance.
Defaults to SASL_SSL. Changing this creates a new instance resource.
- ssl_
enable bool - Specifies whether the Kafka SASL_SSL is enabled. Changing this creates a new resource.
- Mapping[str, str]
- The key/value pairs to associate with the DMS Kafka instance.
- timeouts
Dms
Dedicated Instance V2Timeouts Args
- broker
Num Number - Specifies the broker numbers.
- engine
Version String - Specifies the version of the Kafka engine, such as 1.1.0, 2.3.0, 2.7 or other supported versions. Changing this creates a new instance resource.
- flavor
Id String - Specifies the Kafka [flavor ID](https://docs.otc.t-systems.com/distributed-message-service/api-ref/apis_v2_recommended/other_apis/querying_product_specifications_list.html#listengineproducts, e.g. c6.2u4g.cluster.
- network
Id String - Specifies the ID of a subnet. Changing this creates a new instance resource.
- security
Group StringId - Specifies the ID of a security group.
- storage
Space Number - Specifies the message storage capacity, the unit is GB.
The storage spaces corresponding to the product IDs are as follows:
- c6.2u4g.cluster (100MB bandwidth):
300
to300,000
GB - c6.4u8g.cluster (300MB bandwidth):
300
to600,000
GB - c6.8u16g.cluster (600MB bandwidth):
300
to900,000
GB - c6.12u12g.cluster:
300
to900,000
GB - c6.16u32g.cluster (1,200MB bandwidth):
300
to900,000
GB
- c6.2u4g.cluster (100MB bandwidth):
- storage
Spec StringCode - Specifies the storage I/O specification.
The valid values are as follows:
- dms.physical.storage.high.v2: Type of the disk that uses high I/O.
- dms.physical.storage.ultra.v2: Type of the disk that uses ultra-high I/O.
- vpc
Id String - Specifies the ID of a VPC. Changing this creates a new instance resource.
- access
User String - Specifies the username of SASL_SSL user. A username consists of 4 to 64 characters and supports only letters, digits, and hyphens (-). Changing this creates a new instance resource.
- arch
Type String - Specifies the CPU architecture. Valid value is X86. Changing this creates a new instance resource.
- 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.
- cross
Vpc List<Property Map>Accesses Specifies the cross-VPC access information. The object structure is documented below.
The
cross_vpc_accesses
block supports:- description String
- Specifies the description of the DMS Kafka instance. It is a character string containing not more than 1,024 characters.
- disk
Encrypted BooleanEnable - Indicates whether to enable disk encryption.
- disk
Encrypted StringKey - Disk encryption key. If disk encryption is not enabled, this parameter is left blank.
- dms
Dedicated StringInstance V2Id - Specifies a resource ID in UUID format.
- enable
Publicip Boolean - A list of IDs of the EIP bound to the instance.
This parameter is mandatory if
enable_publicip
is set totrue
. - enabled
Mechanisms List<String> Specifies the authentication mechanisms to use after SASL is enabled. Value options:
- PLAIN: Simple username and password verification.
- SCRAM-SHA-512: User credential verification, which is more secure than PLAIN.
Defaults to [PLAIN]. Changing this creates a new instance resource.
- ipv6Enable Boolean
- Specifies whether to enable IPv6. Defaults to false. Changing this creates a new instance resource.
- maintain
Begin String - Specifies 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, or 18: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 time 02:00. - maintain
End String - Specifies 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 is
02: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 time 06:00. - name String
- Specifies the name of the DMS Kafka instance. An instance name starts with a letter, consists of 4 to 64 characters, and supports only letters, digits, hyphens (-) and underscores (_).
- new
Tenant List<String>Ips Specifies the IPv4 private IP addresses for the new brokers.
The number of specified IP addresses must be less than or equal to the number of new brokers.
- password String
Specifies the password of SASL_SSL user. A 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 (`~!@#$%^&*()-_=+\|[{}]:'",<.>/?).
NOTE:
access_user
andpassword
is mandatory and available whenssl_enable
is true.- publicip
Ids List<String> - retention
Policy String - Specifies the action to be taken when the memory usage reaches the disk
capacity threshold. The valid values are as follows:
- time_base: Automatically delete the earliest messages.
- produce_reject: Stop producing new messages.
- security
Protocol String Specifies the protocol to use after SASL is enabled. Value options:
- SASL_SSL: Data is encrypted with SSL certificates for high-security transmission.
- SASL_PLAINTEXT: Data is transmitted in plaintext with username and password authentication. This protocol only uses the SCRAM-SHA-512 mechanism and delivers high performance.
Defaults to SASL_SSL. Changing this creates a new instance resource.
- ssl
Enable Boolean - Specifies whether the Kafka SASL_SSL is enabled. Changing this creates a new resource.
- Map<String>
- The key/value pairs to associate with the DMS Kafka instance.
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the DmsDedicatedInstanceV2 resource produces the following output properties:
- Bandwidth string
- Cert
Replaced bool - Indicates whether the certificate can be replaced.
- Connect
Address string - Indicates the IP address of the DMS Kafka instance.
- Connector
Node doubleNum - Indicates the number of connector node.
- Created
At string - Indicates the create time.
- Dumping bool
- Whether message dumping(smart connect) is enabled.
- Engine string
- Indicates the message engine.
- Id string
- The provider-assigned unique ID for this managed resource.
- Node
Num double - Indicates the node quantity.
- Partition
Num double - Indicates the number of partitions in Kafka instance.
- Pod
Connect stringAddress - Indicates the connection address on the tenant side.
- Port double
- The port number.
- Public
Bandwidth double - Indicates the public network access bandwidth.
- Public
Ip stringAddress - Indicates the public IP addresses list of the instance.
- Region string
- The region in which DMS Kafka instance is created.
- Resource
Spec stringCode - Indicates a resource specifications identifier.
- Ssl
Two boolWay Enable - Indicates whether to enable two-way authentication.
- Status string
- Indicates the status of the DMS Kafka instance.
- Storage
Resource stringId - Indicates the storage resource ID.
- Storage
Type string - Indicates the storage type.
- Type string
- Indicates the DMS Kafka instance type.
- Used
Storage doubleSpace - Indicates the used message storage space. Unit: GB
- User
Id string - Indicates the ID of the user who created the DMS Kafka instance
- User
Name string - Indicates the name of the user who created the DMS Kafka instance
- Bandwidth string
- Cert
Replaced bool - Indicates whether the certificate can be replaced.
- Connect
Address string - Indicates the IP address of the DMS Kafka instance.
- Connector
Node float64Num - Indicates the number of connector node.
- Created
At string - Indicates the create time.
- Dumping bool
- Whether message dumping(smart connect) is enabled.
- Engine string
- Indicates the message engine.
- Id string
- The provider-assigned unique ID for this managed resource.
- Node
Num float64 - Indicates the node quantity.
- Partition
Num float64 - Indicates the number of partitions in Kafka instance.
- Pod
Connect stringAddress - Indicates the connection address on the tenant side.
- Port float64
- The port number.
- Public
Bandwidth float64 - Indicates the public network access bandwidth.
- Public
Ip stringAddress - Indicates the public IP addresses list of the instance.
- Region string
- The region in which DMS Kafka instance is created.
- Resource
Spec stringCode - Indicates a resource specifications identifier.
- Ssl
Two boolWay Enable - Indicates whether to enable two-way authentication.
- Status string
- Indicates the status of the DMS Kafka instance.
- Storage
Resource stringId - Indicates the storage resource ID.
- Storage
Type string - Indicates the storage type.
- Type string
- Indicates the DMS Kafka instance type.
- Used
Storage float64Space - Indicates the used message storage space. Unit: GB
- User
Id string - Indicates the ID of the user who created the DMS Kafka instance
- User
Name string - Indicates the name of the user who created the DMS Kafka instance
- bandwidth String
- cert
Replaced Boolean - Indicates whether the certificate can be replaced.
- connect
Address String - Indicates the IP address of the DMS Kafka instance.
- connector
Node DoubleNum - Indicates the number of connector node.
- created
At String - Indicates the create time.
- dumping Boolean
- Whether message dumping(smart connect) is enabled.
- engine String
- Indicates the message engine.
- id String
- The provider-assigned unique ID for this managed resource.
- node
Num Double - Indicates the node quantity.
- partition
Num Double - Indicates the number of partitions in Kafka instance.
- pod
Connect StringAddress - Indicates the connection address on the tenant side.
- port Double
- The port number.
- public
Bandwidth Double - Indicates the public network access bandwidth.
- public
Ip StringAddress - Indicates the public IP addresses list of the instance.
- region String
- The region in which DMS Kafka instance is created.
- resource
Spec StringCode - Indicates a resource specifications identifier.
- ssl
Two BooleanWay Enable - Indicates whether to enable two-way authentication.
- status String
- Indicates the status of the DMS Kafka instance.
- storage
Resource StringId - Indicates the storage resource ID.
- storage
Type String - Indicates the storage type.
- type String
- Indicates the DMS Kafka instance type.
- used
Storage DoubleSpace - Indicates the used message storage space. Unit: GB
- user
Id String - Indicates the ID of the user who created the DMS Kafka instance
- user
Name String - Indicates the name of the user who created the DMS Kafka instance
- bandwidth string
- cert
Replaced boolean - Indicates whether the certificate can be replaced.
- connect
Address string - Indicates the IP address of the DMS Kafka instance.
- connector
Node numberNum - Indicates the number of connector node.
- created
At string - Indicates the create time.
- dumping boolean
- Whether message dumping(smart connect) is enabled.
- engine string
- Indicates the message engine.
- id string
- The provider-assigned unique ID for this managed resource.
- node
Num number - Indicates the node quantity.
- partition
Num number - Indicates the number of partitions in Kafka instance.
- pod
Connect stringAddress - Indicates the connection address on the tenant side.
- port number
- The port number.
- public
Bandwidth number - Indicates the public network access bandwidth.
- public
Ip stringAddress - Indicates the public IP addresses list of the instance.
- region string
- The region in which DMS Kafka instance is created.
- resource
Spec stringCode - Indicates a resource specifications identifier.
- ssl
Two booleanWay Enable - Indicates whether to enable two-way authentication.
- status string
- Indicates the status of the DMS Kafka instance.
- storage
Resource stringId - Indicates the storage resource ID.
- storage
Type string - Indicates the storage type.
- type string
- Indicates the DMS Kafka instance type.
- used
Storage numberSpace - Indicates the used message storage space. Unit: GB
- user
Id string - Indicates the ID of the user who created the DMS Kafka instance
- user
Name string - Indicates the name of the user who created the DMS Kafka instance
- bandwidth str
- cert_
replaced bool - Indicates whether the certificate can be replaced.
- connect_
address str - Indicates the IP address of the DMS Kafka instance.
- connector_
node_ floatnum - Indicates the number of connector node.
- created_
at str - Indicates the create time.
- dumping bool
- Whether message dumping(smart connect) is enabled.
- engine str
- Indicates the message engine.
- id str
- The provider-assigned unique ID for this managed resource.
- node_
num float - Indicates the node quantity.
- partition_
num float - Indicates the number of partitions in Kafka instance.
- pod_
connect_ straddress - Indicates the connection address on the tenant side.
- port float
- The port number.
- public_
bandwidth float - Indicates the public network access bandwidth.
- public_
ip_ straddress - Indicates the public IP addresses list of the instance.
- region str
- The region in which DMS Kafka instance is created.
- resource_
spec_ strcode - Indicates a resource specifications identifier.
- ssl_
two_ boolway_ enable - Indicates whether to enable two-way authentication.
- status str
- Indicates the status of the DMS Kafka instance.
- storage_
resource_ strid - Indicates the storage resource ID.
- storage_
type str - Indicates the storage type.
- type str
- Indicates the DMS Kafka instance type.
- used_
storage_ floatspace - Indicates the used message storage space. Unit: GB
- user_
id str - Indicates the ID of the user who created the DMS Kafka instance
- user_
name str - Indicates the name of the user who created the DMS Kafka instance
- bandwidth String
- cert
Replaced Boolean - Indicates whether the certificate can be replaced.
- connect
Address String - Indicates the IP address of the DMS Kafka instance.
- connector
Node NumberNum - Indicates the number of connector node.
- created
At String - Indicates the create time.
- dumping Boolean
- Whether message dumping(smart connect) is enabled.
- engine String
- Indicates the message engine.
- id String
- The provider-assigned unique ID for this managed resource.
- node
Num Number - Indicates the node quantity.
- partition
Num Number - Indicates the number of partitions in Kafka instance.
- pod
Connect StringAddress - Indicates the connection address on the tenant side.
- port Number
- The port number.
- public
Bandwidth Number - Indicates the public network access bandwidth.
- public
Ip StringAddress - Indicates the public IP addresses list of the instance.
- region String
- The region in which DMS Kafka instance is created.
- resource
Spec StringCode - Indicates a resource specifications identifier.
- ssl
Two BooleanWay Enable - Indicates whether to enable two-way authentication.
- status String
- Indicates the status of the DMS Kafka instance.
- storage
Resource StringId - Indicates the storage resource ID.
- storage
Type String - Indicates the storage type.
- type String
- Indicates the DMS Kafka instance type.
- used
Storage NumberSpace - Indicates the used message storage space. Unit: GB
- user
Id String - Indicates the ID of the user who created the DMS Kafka instance
- user
Name String - Indicates the name of the user who created the DMS Kafka instance
Look up Existing DmsDedicatedInstanceV2 Resource
Get an existing DmsDedicatedInstanceV2 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?: DmsDedicatedInstanceV2State, opts?: CustomResourceOptions): DmsDedicatedInstanceV2
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access_user: Optional[str] = None,
arch_type: Optional[str] = None,
available_zones: Optional[Sequence[str]] = None,
bandwidth: Optional[str] = None,
broker_num: Optional[float] = None,
cert_replaced: Optional[bool] = None,
connect_address: Optional[str] = None,
connector_node_num: Optional[float] = None,
created_at: Optional[str] = None,
cross_vpc_accesses: Optional[Sequence[DmsDedicatedInstanceV2CrossVpcAccessArgs]] = None,
description: Optional[str] = None,
disk_encrypted_enable: Optional[bool] = None,
disk_encrypted_key: Optional[str] = None,
dms_dedicated_instance_v2_id: Optional[str] = None,
dumping: Optional[bool] = None,
enable_publicip: Optional[bool] = None,
enabled_mechanisms: Optional[Sequence[str]] = None,
engine: Optional[str] = None,
engine_version: Optional[str] = None,
flavor_id: Optional[str] = None,
ipv6_enable: Optional[bool] = None,
maintain_begin: Optional[str] = None,
maintain_end: Optional[str] = None,
name: Optional[str] = None,
network_id: Optional[str] = None,
new_tenant_ips: Optional[Sequence[str]] = None,
node_num: Optional[float] = None,
partition_num: Optional[float] = None,
password: Optional[str] = None,
pod_connect_address: Optional[str] = None,
port: Optional[float] = None,
public_bandwidth: Optional[float] = None,
public_ip_address: Optional[str] = None,
publicip_ids: Optional[Sequence[str]] = None,
region: Optional[str] = None,
resource_spec_code: Optional[str] = None,
retention_policy: Optional[str] = None,
security_group_id: Optional[str] = None,
security_protocol: Optional[str] = None,
ssl_enable: Optional[bool] = None,
ssl_two_way_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,
storage_type: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[DmsDedicatedInstanceV2TimeoutsArgs] = 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) -> DmsDedicatedInstanceV2
func GetDmsDedicatedInstanceV2(ctx *Context, name string, id IDInput, state *DmsDedicatedInstanceV2State, opts ...ResourceOption) (*DmsDedicatedInstanceV2, error)
public static DmsDedicatedInstanceV2 Get(string name, Input<string> id, DmsDedicatedInstanceV2State? state, CustomResourceOptions? opts = null)
public static DmsDedicatedInstanceV2 get(String name, Output<String> id, DmsDedicatedInstanceV2State state, CustomResourceOptions options)
resources: _: type: opentelekomcloud:DmsDedicatedInstanceV2 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 - Specifies the username of SASL_SSL user. A username consists of 4 to 64 characters and supports only letters, digits, and hyphens (-). Changing this creates a new instance resource.
- Arch
Type string - Specifies the CPU architecture. Valid value is X86. Changing this creates a new instance resource.
- 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.
- Bandwidth string
- Broker
Num double - Specifies the broker numbers.
- Cert
Replaced bool - Indicates whether the certificate can be replaced.
- Connect
Address string - Indicates the IP address of the DMS Kafka instance.
- Connector
Node doubleNum - Indicates the number of connector node.
- Created
At string - Indicates the create time.
- Cross
Vpc List<DmsAccesses Dedicated Instance V2Cross Vpc Access> Specifies the cross-VPC access information. The object structure is documented below.
The
cross_vpc_accesses
block supports:- Description string
- Specifies the description of the DMS Kafka instance. It is a character string containing not more than 1,024 characters.
- Disk
Encrypted boolEnable - Indicates whether to enable disk encryption.
- Disk
Encrypted stringKey - Disk encryption key. If disk encryption is not enabled, this parameter is left blank.
- Dms
Dedicated stringInstance V2Id - Specifies a resource ID in UUID format.
- Dumping bool
- Whether message dumping(smart connect) is enabled.
- Enable
Publicip bool - A list of IDs of the EIP bound to the instance.
This parameter is mandatory if
enable_publicip
is set totrue
. - Enabled
Mechanisms List<string> Specifies the authentication mechanisms to use after SASL is enabled. Value options:
- PLAIN: Simple username and password verification.
- SCRAM-SHA-512: User credential verification, which is more secure than PLAIN.
Defaults to [PLAIN]. Changing this creates a new instance resource.
- Engine string
- Indicates the message engine.
- Engine
Version string - Specifies the version of the Kafka engine, such as 1.1.0, 2.3.0, 2.7 or other supported versions. Changing this creates a new instance resource.
- Flavor
Id string - Specifies the Kafka [flavor ID](https://docs.otc.t-systems.com/distributed-message-service/api-ref/apis_v2_recommended/other_apis/querying_product_specifications_list.html#listengineproducts, e.g. c6.2u4g.cluster.
- Ipv6Enable bool
- Specifies whether to enable IPv6. Defaults to false. Changing this creates a new instance resource.
- Maintain
Begin string - Specifies 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, or 18: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 time 02:00. - Maintain
End string - Specifies 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 is
02: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 time 06:00. - Name string
- Specifies the name of the DMS Kafka instance. An instance name starts with a letter, consists of 4 to 64 characters, and supports only letters, digits, hyphens (-) and underscores (_).
- Network
Id string - Specifies the ID of a subnet. Changing this creates a new instance resource.
- New
Tenant List<string>Ips Specifies the IPv4 private IP addresses for the new brokers.
The number of specified IP addresses must be less than or equal to the number of new brokers.
- Node
Num double - Indicates the node quantity.
- Partition
Num double - Indicates the number of partitions in Kafka instance.
- Password string
Specifies the password of SASL_SSL user. A 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 (`~!@#$%^&*()-_=+\|[{}]:'",<.>/?).
NOTE:
access_user
andpassword
is mandatory and available whenssl_enable
is true.- Pod
Connect stringAddress - Indicates the connection address on the tenant side.
- Port double
- The port number.
- Public
Bandwidth double - Indicates the public network access bandwidth.
- Public
Ip stringAddress - Indicates the public IP addresses list of the instance.
- Publicip
Ids List<string> - Region string
- The region in which DMS Kafka instance is created.
- Resource
Spec stringCode - Indicates a resource specifications identifier.
- Retention
Policy string - Specifies the action to be taken when the memory usage reaches the disk
capacity threshold. The valid values are as follows:
- time_base: Automatically delete the earliest messages.
- produce_reject: Stop producing new messages.
- Security
Group stringId - Specifies the ID of a security group.
- Security
Protocol string Specifies the protocol to use after SASL is enabled. Value options:
- SASL_SSL: Data is encrypted with SSL certificates for high-security transmission.
- SASL_PLAINTEXT: Data is transmitted in plaintext with username and password authentication. This protocol only uses the SCRAM-SHA-512 mechanism and delivers high performance.
Defaults to SASL_SSL. Changing this creates a new instance resource.
- Ssl
Enable bool - Specifies whether the Kafka SASL_SSL is enabled. Changing this creates a new resource.
- Ssl
Two boolWay Enable - Indicates whether to enable two-way authentication.
- Status string
- Indicates the status of the DMS Kafka instance.
- Storage
Resource stringId - Indicates the storage resource ID.
- Storage
Space double - Specifies the message storage capacity, the unit is GB.
The storage spaces corresponding to the product IDs are as follows:
- c6.2u4g.cluster (100MB bandwidth):
300
to300,000
GB - c6.4u8g.cluster (300MB bandwidth):
300
to600,000
GB - c6.8u16g.cluster (600MB bandwidth):
300
to900,000
GB - c6.12u12g.cluster:
300
to900,000
GB - c6.16u32g.cluster (1,200MB bandwidth):
300
to900,000
GB
- c6.2u4g.cluster (100MB bandwidth):
- Storage
Spec stringCode - Specifies the storage I/O specification.
The valid values are as follows:
- dms.physical.storage.high.v2: Type of the disk that uses high I/O.
- dms.physical.storage.ultra.v2: Type of the disk that uses ultra-high I/O.
- Storage
Type string - Indicates the storage type.
- Dictionary<string, string>
- The key/value pairs to associate with the DMS Kafka instance.
- Timeouts
Dms
Dedicated Instance V2Timeouts - Type string
- Indicates the DMS Kafka instance type.
- Used
Storage doubleSpace - Indicates the used message storage space. Unit: GB
- User
Id string - Indicates the ID of the user who created the DMS Kafka instance
- User
Name string - Indicates the name of the user who created the DMS Kafka instance
- Vpc
Id string - Specifies the ID of a VPC. Changing this creates a new instance resource.
- Access
User string - Specifies the username of SASL_SSL user. A username consists of 4 to 64 characters and supports only letters, digits, and hyphens (-). Changing this creates a new instance resource.
- Arch
Type string - Specifies the CPU architecture. Valid value is X86. Changing this creates a new instance resource.
- 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.
- Bandwidth string
- Broker
Num float64 - Specifies the broker numbers.
- Cert
Replaced bool - Indicates whether the certificate can be replaced.
- Connect
Address string - Indicates the IP address of the DMS Kafka instance.
- Connector
Node float64Num - Indicates the number of connector node.
- Created
At string - Indicates the create time.
- Cross
Vpc []DmsAccesses Dedicated Instance V2Cross Vpc Access Args Specifies the cross-VPC access information. The object structure is documented below.
The
cross_vpc_accesses
block supports:- Description string
- Specifies the description of the DMS Kafka instance. It is a character string containing not more than 1,024 characters.
- Disk
Encrypted boolEnable - Indicates whether to enable disk encryption.
- Disk
Encrypted stringKey - Disk encryption key. If disk encryption is not enabled, this parameter is left blank.
- Dms
Dedicated stringInstance V2Id - Specifies a resource ID in UUID format.
- Dumping bool
- Whether message dumping(smart connect) is enabled.
- Enable
Publicip bool - A list of IDs of the EIP bound to the instance.
This parameter is mandatory if
enable_publicip
is set totrue
. - Enabled
Mechanisms []string Specifies the authentication mechanisms to use after SASL is enabled. Value options:
- PLAIN: Simple username and password verification.
- SCRAM-SHA-512: User credential verification, which is more secure than PLAIN.
Defaults to [PLAIN]. Changing this creates a new instance resource.
- Engine string
- Indicates the message engine.
- Engine
Version string - Specifies the version of the Kafka engine, such as 1.1.0, 2.3.0, 2.7 or other supported versions. Changing this creates a new instance resource.
- Flavor
Id string - Specifies the Kafka [flavor ID](https://docs.otc.t-systems.com/distributed-message-service/api-ref/apis_v2_recommended/other_apis/querying_product_specifications_list.html#listengineproducts, e.g. c6.2u4g.cluster.
- Ipv6Enable bool
- Specifies whether to enable IPv6. Defaults to false. Changing this creates a new instance resource.
- Maintain
Begin string - Specifies 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, or 18: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 time 02:00. - Maintain
End string - Specifies 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 is
02: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 time 06:00. - Name string
- Specifies the name of the DMS Kafka instance. An instance name starts with a letter, consists of 4 to 64 characters, and supports only letters, digits, hyphens (-) and underscores (_).
- Network
Id string - Specifies the ID of a subnet. Changing this creates a new instance resource.
- New
Tenant []stringIps Specifies the IPv4 private IP addresses for the new brokers.
The number of specified IP addresses must be less than or equal to the number of new brokers.
- Node
Num float64 - Indicates the node quantity.
- Partition
Num float64 - Indicates the number of partitions in Kafka instance.
- Password string
Specifies the password of SASL_SSL user. A 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 (`~!@#$%^&*()-_=+\|[{}]:'",<.>/?).
NOTE:
access_user
andpassword
is mandatory and available whenssl_enable
is true.- Pod
Connect stringAddress - Indicates the connection address on the tenant side.
- Port float64
- The port number.
- Public
Bandwidth float64 - Indicates the public network access bandwidth.
- Public
Ip stringAddress - Indicates the public IP addresses list of the instance.
- Publicip
Ids []string - Region string
- The region in which DMS Kafka instance is created.
- Resource
Spec stringCode - Indicates a resource specifications identifier.
- Retention
Policy string - Specifies the action to be taken when the memory usage reaches the disk
capacity threshold. The valid values are as follows:
- time_base: Automatically delete the earliest messages.
- produce_reject: Stop producing new messages.
- Security
Group stringId - Specifies the ID of a security group.
- Security
Protocol string Specifies the protocol to use after SASL is enabled. Value options:
- SASL_SSL: Data is encrypted with SSL certificates for high-security transmission.
- SASL_PLAINTEXT: Data is transmitted in plaintext with username and password authentication. This protocol only uses the SCRAM-SHA-512 mechanism and delivers high performance.
Defaults to SASL_SSL. Changing this creates a new instance resource.
- Ssl
Enable bool - Specifies whether the Kafka SASL_SSL is enabled. Changing this creates a new resource.
- Ssl
Two boolWay Enable - Indicates whether to enable two-way authentication.
- Status string
- Indicates the status of the DMS Kafka instance.
- Storage
Resource stringId - Indicates the storage resource ID.
- Storage
Space float64 - Specifies the message storage capacity, the unit is GB.
The storage spaces corresponding to the product IDs are as follows:
- c6.2u4g.cluster (100MB bandwidth):
300
to300,000
GB - c6.4u8g.cluster (300MB bandwidth):
300
to600,000
GB - c6.8u16g.cluster (600MB bandwidth):
300
to900,000
GB - c6.12u12g.cluster:
300
to900,000
GB - c6.16u32g.cluster (1,200MB bandwidth):
300
to900,000
GB
- c6.2u4g.cluster (100MB bandwidth):
- Storage
Spec stringCode - Specifies the storage I/O specification.
The valid values are as follows:
- dms.physical.storage.high.v2: Type of the disk that uses high I/O.
- dms.physical.storage.ultra.v2: Type of the disk that uses ultra-high I/O.
- Storage
Type string - Indicates the storage type.
- map[string]string
- The key/value pairs to associate with the DMS Kafka instance.
- Timeouts
Dms
Dedicated Instance V2Timeouts Args - Type string
- Indicates the DMS Kafka instance type.
- Used
Storage float64Space - Indicates the used message storage space. Unit: GB
- User
Id string - Indicates the ID of the user who created the DMS Kafka instance
- User
Name string - Indicates the name of the user who created the DMS Kafka instance
- Vpc
Id string - Specifies the ID of a VPC. Changing this creates a new instance resource.
- access
User String - Specifies the username of SASL_SSL user. A username consists of 4 to 64 characters and supports only letters, digits, and hyphens (-). Changing this creates a new instance resource.
- arch
Type String - Specifies the CPU architecture. Valid value is X86. Changing this creates a new instance resource.
- 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.
- bandwidth String
- broker
Num Double - Specifies the broker numbers.
- cert
Replaced Boolean - Indicates whether the certificate can be replaced.
- connect
Address String - Indicates the IP address of the DMS Kafka instance.
- connector
Node DoubleNum - Indicates the number of connector node.
- created
At String - Indicates the create time.
- cross
Vpc List<DmsAccesses Dedicated Instance V2Cross Vpc Access> Specifies the cross-VPC access information. The object structure is documented below.
The
cross_vpc_accesses
block supports:- description String
- Specifies the description of the DMS Kafka instance. It is a character string containing not more than 1,024 characters.
- disk
Encrypted BooleanEnable - Indicates whether to enable disk encryption.
- disk
Encrypted StringKey - Disk encryption key. If disk encryption is not enabled, this parameter is left blank.
- dms
Dedicated StringInstance V2Id - Specifies a resource ID in UUID format.
- dumping Boolean
- Whether message dumping(smart connect) is enabled.
- enable
Publicip Boolean - A list of IDs of the EIP bound to the instance.
This parameter is mandatory if
enable_publicip
is set totrue
. - enabled
Mechanisms List<String> Specifies the authentication mechanisms to use after SASL is enabled. Value options:
- PLAIN: Simple username and password verification.
- SCRAM-SHA-512: User credential verification, which is more secure than PLAIN.
Defaults to [PLAIN]. Changing this creates a new instance resource.
- engine String
- Indicates the message engine.
- engine
Version String - Specifies the version of the Kafka engine, such as 1.1.0, 2.3.0, 2.7 or other supported versions. Changing this creates a new instance resource.
- flavor
Id String - Specifies the Kafka [flavor ID](https://docs.otc.t-systems.com/distributed-message-service/api-ref/apis_v2_recommended/other_apis/querying_product_specifications_list.html#listengineproducts, e.g. c6.2u4g.cluster.
- ipv6Enable Boolean
- Specifies whether to enable IPv6. Defaults to false. Changing this creates a new instance resource.
- maintain
Begin String - Specifies 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, or 18: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 time 02:00. - maintain
End String - Specifies 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 is
02: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 time 06:00. - name String
- Specifies the name of the DMS Kafka instance. An instance name starts with a letter, consists of 4 to 64 characters, and supports only letters, digits, hyphens (-) and underscores (_).
- network
Id String - Specifies the ID of a subnet. Changing this creates a new instance resource.
- new
Tenant List<String>Ips Specifies the IPv4 private IP addresses for the new brokers.
The number of specified IP addresses must be less than or equal to the number of new brokers.
- node
Num Double - Indicates the node quantity.
- partition
Num Double - Indicates the number of partitions in Kafka instance.
- password String
Specifies the password of SASL_SSL user. A 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 (`~!@#$%^&*()-_=+\|[{}]:'",<.>/?).
NOTE:
access_user
andpassword
is mandatory and available whenssl_enable
is true.- pod
Connect StringAddress - Indicates the connection address on the tenant side.
- port Double
- The port number.
- public
Bandwidth Double - Indicates the public network access bandwidth.
- public
Ip StringAddress - Indicates the public IP addresses list of the instance.
- publicip
Ids List<String> - region String
- The region in which DMS Kafka instance is created.
- resource
Spec StringCode - Indicates a resource specifications identifier.
- retention
Policy String - Specifies the action to be taken when the memory usage reaches the disk
capacity threshold. The valid values are as follows:
- time_base: Automatically delete the earliest messages.
- produce_reject: Stop producing new messages.
- security
Group StringId - Specifies the ID of a security group.
- security
Protocol String Specifies the protocol to use after SASL is enabled. Value options:
- SASL_SSL: Data is encrypted with SSL certificates for high-security transmission.
- SASL_PLAINTEXT: Data is transmitted in plaintext with username and password authentication. This protocol only uses the SCRAM-SHA-512 mechanism and delivers high performance.
Defaults to SASL_SSL. Changing this creates a new instance resource.
- ssl
Enable Boolean - Specifies whether the Kafka SASL_SSL is enabled. Changing this creates a new resource.
- ssl
Two BooleanWay Enable - Indicates whether to enable two-way authentication.
- status String
- Indicates the status of the DMS Kafka instance.
- storage
Resource StringId - Indicates the storage resource ID.
- storage
Space Double - Specifies the message storage capacity, the unit is GB.
The storage spaces corresponding to the product IDs are as follows:
- c6.2u4g.cluster (100MB bandwidth):
300
to300,000
GB - c6.4u8g.cluster (300MB bandwidth):
300
to600,000
GB - c6.8u16g.cluster (600MB bandwidth):
300
to900,000
GB - c6.12u12g.cluster:
300
to900,000
GB - c6.16u32g.cluster (1,200MB bandwidth):
300
to900,000
GB
- c6.2u4g.cluster (100MB bandwidth):
- storage
Spec StringCode - Specifies the storage I/O specification.
The valid values are as follows:
- dms.physical.storage.high.v2: Type of the disk that uses high I/O.
- dms.physical.storage.ultra.v2: Type of the disk that uses ultra-high I/O.
- storage
Type String - Indicates the storage type.
- Map<String,String>
- The key/value pairs to associate with the DMS Kafka instance.
- timeouts
Dms
Dedicated Instance V2Timeouts - type String
- Indicates the DMS Kafka instance type.
- used
Storage DoubleSpace - Indicates the used message storage space. Unit: GB
- user
Id String - Indicates the ID of the user who created the DMS Kafka instance
- user
Name String - Indicates the name of the user who created the DMS Kafka instance
- vpc
Id String - Specifies the ID of a VPC. Changing this creates a new instance resource.
- access
User string - Specifies the username of SASL_SSL user. A username consists of 4 to 64 characters and supports only letters, digits, and hyphens (-). Changing this creates a new instance resource.
- arch
Type string - Specifies the CPU architecture. Valid value is X86. Changing this creates a new instance resource.
- 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.
- bandwidth string
- broker
Num number - Specifies the broker numbers.
- cert
Replaced boolean - Indicates whether the certificate can be replaced.
- connect
Address string - Indicates the IP address of the DMS Kafka instance.
- connector
Node numberNum - Indicates the number of connector node.
- created
At string - Indicates the create time.
- cross
Vpc DmsAccesses Dedicated Instance V2Cross Vpc Access[] Specifies the cross-VPC access information. The object structure is documented below.
The
cross_vpc_accesses
block supports:- description string
- Specifies the description of the DMS Kafka instance. It is a character string containing not more than 1,024 characters.
- disk
Encrypted booleanEnable - Indicates whether to enable disk encryption.
- disk
Encrypted stringKey - Disk encryption key. If disk encryption is not enabled, this parameter is left blank.
- dms
Dedicated stringInstance V2Id - Specifies a resource ID in UUID format.
- dumping boolean
- Whether message dumping(smart connect) is enabled.
- enable
Publicip boolean - A list of IDs of the EIP bound to the instance.
This parameter is mandatory if
enable_publicip
is set totrue
. - enabled
Mechanisms string[] Specifies the authentication mechanisms to use after SASL is enabled. Value options:
- PLAIN: Simple username and password verification.
- SCRAM-SHA-512: User credential verification, which is more secure than PLAIN.
Defaults to [PLAIN]. Changing this creates a new instance resource.
- engine string
- Indicates the message engine.
- engine
Version string - Specifies the version of the Kafka engine, such as 1.1.0, 2.3.0, 2.7 or other supported versions. Changing this creates a new instance resource.
- flavor
Id string - Specifies the Kafka [flavor ID](https://docs.otc.t-systems.com/distributed-message-service/api-ref/apis_v2_recommended/other_apis/querying_product_specifications_list.html#listengineproducts, e.g. c6.2u4g.cluster.
- ipv6Enable boolean
- Specifies whether to enable IPv6. Defaults to false. Changing this creates a new instance resource.
- maintain
Begin string - Specifies 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, or 18: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 time 02:00. - maintain
End string - Specifies 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 is
02: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 time 06:00. - name string
- Specifies the name of the DMS Kafka instance. An instance name starts with a letter, consists of 4 to 64 characters, and supports only letters, digits, hyphens (-) and underscores (_).
- network
Id string - Specifies the ID of a subnet. Changing this creates a new instance resource.
- new
Tenant string[]Ips Specifies the IPv4 private IP addresses for the new brokers.
The number of specified IP addresses must be less than or equal to the number of new brokers.
- node
Num number - Indicates the node quantity.
- partition
Num number - Indicates the number of partitions in Kafka instance.
- password string
Specifies the password of SASL_SSL user. A 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 (`~!@#$%^&*()-_=+\|[{}]:'",<.>/?).
NOTE:
access_user
andpassword
is mandatory and available whenssl_enable
is true.- pod
Connect stringAddress - Indicates the connection address on the tenant side.
- port number
- The port number.
- public
Bandwidth number - Indicates the public network access bandwidth.
- public
Ip stringAddress - Indicates the public IP addresses list of the instance.
- publicip
Ids string[] - region string
- The region in which DMS Kafka instance is created.
- resource
Spec stringCode - Indicates a resource specifications identifier.
- retention
Policy string - Specifies the action to be taken when the memory usage reaches the disk
capacity threshold. The valid values are as follows:
- time_base: Automatically delete the earliest messages.
- produce_reject: Stop producing new messages.
- security
Group stringId - Specifies the ID of a security group.
- security
Protocol string Specifies the protocol to use after SASL is enabled. Value options:
- SASL_SSL: Data is encrypted with SSL certificates for high-security transmission.
- SASL_PLAINTEXT: Data is transmitted in plaintext with username and password authentication. This protocol only uses the SCRAM-SHA-512 mechanism and delivers high performance.
Defaults to SASL_SSL. Changing this creates a new instance resource.
- ssl
Enable boolean - Specifies whether the Kafka SASL_SSL is enabled. Changing this creates a new resource.
- ssl
Two booleanWay Enable - Indicates whether to enable two-way authentication.
- status string
- Indicates the status of the DMS Kafka instance.
- storage
Resource stringId - Indicates the storage resource ID.
- storage
Space number - Specifies the message storage capacity, the unit is GB.
The storage spaces corresponding to the product IDs are as follows:
- c6.2u4g.cluster (100MB bandwidth):
300
to300,000
GB - c6.4u8g.cluster (300MB bandwidth):
300
to600,000
GB - c6.8u16g.cluster (600MB bandwidth):
300
to900,000
GB - c6.12u12g.cluster:
300
to900,000
GB - c6.16u32g.cluster (1,200MB bandwidth):
300
to900,000
GB
- c6.2u4g.cluster (100MB bandwidth):
- storage
Spec stringCode - Specifies the storage I/O specification.
The valid values are as follows:
- dms.physical.storage.high.v2: Type of the disk that uses high I/O.
- dms.physical.storage.ultra.v2: Type of the disk that uses ultra-high I/O.
- storage
Type string - Indicates the storage type.
- {[key: string]: string}
- The key/value pairs to associate with the DMS Kafka instance.
- timeouts
Dms
Dedicated Instance V2Timeouts - type string
- Indicates the DMS Kafka instance type.
- used
Storage numberSpace - Indicates the used message storage space. Unit: GB
- user
Id string - Indicates the ID of the user who created the DMS Kafka instance
- user
Name string - Indicates the name of the user who created the DMS Kafka instance
- vpc
Id string - Specifies the ID of a VPC. Changing this creates a new instance resource.
- access_
user str - Specifies the username of SASL_SSL user. A username consists of 4 to 64 characters and supports only letters, digits, and hyphens (-). Changing this creates a new instance resource.
- arch_
type str - Specifies the CPU architecture. Valid value is X86. Changing this creates a new instance resource.
- 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.
- bandwidth str
- broker_
num float - Specifies the broker numbers.
- cert_
replaced bool - Indicates whether the certificate can be replaced.
- connect_
address str - Indicates the IP address of the DMS Kafka instance.
- connector_
node_ floatnum - Indicates the number of connector node.
- created_
at str - Indicates the create time.
- cross_
vpc_ Sequence[Dmsaccesses Dedicated Instance V2Cross Vpc Access Args] Specifies the cross-VPC access information. The object structure is documented below.
The
cross_vpc_accesses
block supports:- description str
- Specifies the description of the DMS Kafka instance. It is a character string containing not more than 1,024 characters.
- disk_
encrypted_ boolenable - Indicates whether to enable disk encryption.
- disk_
encrypted_ strkey - Disk encryption key. If disk encryption is not enabled, this parameter is left blank.
- dms_
dedicated_ strinstance_ v2_ id - Specifies a resource ID in UUID format.
- dumping bool
- Whether message dumping(smart connect) is enabled.
- enable_
publicip bool - A list of IDs of the EIP bound to the instance.
This parameter is mandatory if
enable_publicip
is set totrue
. - enabled_
mechanisms Sequence[str] Specifies the authentication mechanisms to use after SASL is enabled. Value options:
- PLAIN: Simple username and password verification.
- SCRAM-SHA-512: User credential verification, which is more secure than PLAIN.
Defaults to [PLAIN]. Changing this creates a new instance resource.
- engine str
- Indicates the message engine.
- engine_
version str - Specifies the version of the Kafka engine, such as 1.1.0, 2.3.0, 2.7 or other supported versions. Changing this creates a new instance resource.
- flavor_
id str - Specifies the Kafka [flavor ID](https://docs.otc.t-systems.com/distributed-message-service/api-ref/apis_v2_recommended/other_apis/querying_product_specifications_list.html#listengineproducts, e.g. c6.2u4g.cluster.
- ipv6_
enable bool - Specifies whether to enable IPv6. Defaults to false. Changing this creates a new instance resource.
- maintain_
begin str - Specifies 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, or 18: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 time 02:00. - maintain_
end str - Specifies 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 is
02: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 time 06:00. - name str
- Specifies the name of the DMS Kafka instance. An instance name starts with a letter, consists of 4 to 64 characters, and supports only letters, digits, hyphens (-) and underscores (_).
- network_
id str - Specifies the ID of a subnet. Changing this creates a new instance resource.
- new_
tenant_ Sequence[str]ips Specifies the IPv4 private IP addresses for the new brokers.
The number of specified IP addresses must be less than or equal to the number of new brokers.
- node_
num float - Indicates the node quantity.
- partition_
num float - Indicates the number of partitions in Kafka instance.
- password str
Specifies the password of SASL_SSL user. A 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 (`~!@#$%^&*()-_=+\|[{}]:'",<.>/?).
NOTE:
access_user
andpassword
is mandatory and available whenssl_enable
is true.- pod_
connect_ straddress - Indicates the connection address on the tenant side.
- port float
- The port number.
- public_
bandwidth float - Indicates the public network access bandwidth.
- public_
ip_ straddress - Indicates the public IP addresses list of the instance.
- publicip_
ids Sequence[str] - region str
- The region in which DMS Kafka instance is created.
- resource_
spec_ strcode - Indicates a resource specifications identifier.
- retention_
policy str - Specifies the action to be taken when the memory usage reaches the disk
capacity threshold. The valid values are as follows:
- time_base: Automatically delete the earliest messages.
- produce_reject: Stop producing new messages.
- security_
group_ strid - Specifies the ID of a security group.
- security_
protocol str Specifies the protocol to use after SASL is enabled. Value options:
- SASL_SSL: Data is encrypted with SSL certificates for high-security transmission.
- SASL_PLAINTEXT: Data is transmitted in plaintext with username and password authentication. This protocol only uses the SCRAM-SHA-512 mechanism and delivers high performance.
Defaults to SASL_SSL. Changing this creates a new instance resource.
- ssl_
enable bool - Specifies whether the Kafka SASL_SSL is enabled. Changing this creates a new resource.
- ssl_
two_ boolway_ enable - Indicates whether to enable two-way authentication.
- status str
- Indicates the status of the DMS Kafka instance.
- storage_
resource_ strid - Indicates the storage resource ID.
- storage_
space float - Specifies the message storage capacity, the unit is GB.
The storage spaces corresponding to the product IDs are as follows:
- c6.2u4g.cluster (100MB bandwidth):
300
to300,000
GB - c6.4u8g.cluster (300MB bandwidth):
300
to600,000
GB - c6.8u16g.cluster (600MB bandwidth):
300
to900,000
GB - c6.12u12g.cluster:
300
to900,000
GB - c6.16u32g.cluster (1,200MB bandwidth):
300
to900,000
GB
- c6.2u4g.cluster (100MB bandwidth):
- storage_
spec_ strcode - Specifies the storage I/O specification.
The valid values are as follows:
- dms.physical.storage.high.v2: Type of the disk that uses high I/O.
- dms.physical.storage.ultra.v2: Type of the disk that uses ultra-high I/O.
- storage_
type str - Indicates the storage type.
- Mapping[str, str]
- The key/value pairs to associate with the DMS Kafka instance.
- timeouts
Dms
Dedicated Instance V2Timeouts Args - type str
- Indicates the DMS Kafka instance type.
- used_
storage_ floatspace - Indicates the used message storage space. Unit: GB
- user_
id str - Indicates the ID of the user who created the DMS Kafka instance
- user_
name str - Indicates the name of the user who created the DMS Kafka instance
- vpc_
id str - Specifies the ID of a VPC. Changing this creates a new instance resource.
- access
User String - Specifies the username of SASL_SSL user. A username consists of 4 to 64 characters and supports only letters, digits, and hyphens (-). Changing this creates a new instance resource.
- arch
Type String - Specifies the CPU architecture. Valid value is X86. Changing this creates a new instance resource.
- 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.
- bandwidth String
- broker
Num Number - Specifies the broker numbers.
- cert
Replaced Boolean - Indicates whether the certificate can be replaced.
- connect
Address String - Indicates the IP address of the DMS Kafka instance.
- connector
Node NumberNum - Indicates the number of connector node.
- created
At String - Indicates the create time.
- cross
Vpc List<Property Map>Accesses Specifies the cross-VPC access information. The object structure is documented below.
The
cross_vpc_accesses
block supports:- description String
- Specifies the description of the DMS Kafka instance. It is a character string containing not more than 1,024 characters.
- disk
Encrypted BooleanEnable - Indicates whether to enable disk encryption.
- disk
Encrypted StringKey - Disk encryption key. If disk encryption is not enabled, this parameter is left blank.
- dms
Dedicated StringInstance V2Id - Specifies a resource ID in UUID format.
- dumping Boolean
- Whether message dumping(smart connect) is enabled.
- enable
Publicip Boolean - A list of IDs of the EIP bound to the instance.
This parameter is mandatory if
enable_publicip
is set totrue
. - enabled
Mechanisms List<String> Specifies the authentication mechanisms to use after SASL is enabled. Value options:
- PLAIN: Simple username and password verification.
- SCRAM-SHA-512: User credential verification, which is more secure than PLAIN.
Defaults to [PLAIN]. Changing this creates a new instance resource.
- engine String
- Indicates the message engine.
- engine
Version String - Specifies the version of the Kafka engine, such as 1.1.0, 2.3.0, 2.7 or other supported versions. Changing this creates a new instance resource.
- flavor
Id String - Specifies the Kafka [flavor ID](https://docs.otc.t-systems.com/distributed-message-service/api-ref/apis_v2_recommended/other_apis/querying_product_specifications_list.html#listengineproducts, e.g. c6.2u4g.cluster.
- ipv6Enable Boolean
- Specifies whether to enable IPv6. Defaults to false. Changing this creates a new instance resource.
- maintain
Begin String - Specifies 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, or 18: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 time 02:00. - maintain
End String - Specifies 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 is
02: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 time 06:00. - name String
- Specifies the name of the DMS Kafka instance. An instance name starts with a letter, consists of 4 to 64 characters, and supports only letters, digits, hyphens (-) and underscores (_).
- network
Id String - Specifies the ID of a subnet. Changing this creates a new instance resource.
- new
Tenant List<String>Ips Specifies the IPv4 private IP addresses for the new brokers.
The number of specified IP addresses must be less than or equal to the number of new brokers.
- node
Num Number - Indicates the node quantity.
- partition
Num Number - Indicates the number of partitions in Kafka instance.
- password String
Specifies the password of SASL_SSL user. A 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 (`~!@#$%^&*()-_=+\|[{}]:'",<.>/?).
NOTE:
access_user
andpassword
is mandatory and available whenssl_enable
is true.- pod
Connect StringAddress - Indicates the connection address on the tenant side.
- port Number
- The port number.
- public
Bandwidth Number - Indicates the public network access bandwidth.
- public
Ip StringAddress - Indicates the public IP addresses list of the instance.
- publicip
Ids List<String> - region String
- The region in which DMS Kafka instance is created.
- resource
Spec StringCode - Indicates a resource specifications identifier.
- retention
Policy String - Specifies the action to be taken when the memory usage reaches the disk
capacity threshold. The valid values are as follows:
- time_base: Automatically delete the earliest messages.
- produce_reject: Stop producing new messages.
- security
Group StringId - Specifies the ID of a security group.
- security
Protocol String Specifies the protocol to use after SASL is enabled. Value options:
- SASL_SSL: Data is encrypted with SSL certificates for high-security transmission.
- SASL_PLAINTEXT: Data is transmitted in plaintext with username and password authentication. This protocol only uses the SCRAM-SHA-512 mechanism and delivers high performance.
Defaults to SASL_SSL. Changing this creates a new instance resource.
- ssl
Enable Boolean - Specifies whether the Kafka SASL_SSL is enabled. Changing this creates a new resource.
- ssl
Two BooleanWay Enable - Indicates whether to enable two-way authentication.
- status String
- Indicates the status of the DMS Kafka instance.
- storage
Resource StringId - Indicates the storage resource ID.
- storage
Space Number - Specifies the message storage capacity, the unit is GB.
The storage spaces corresponding to the product IDs are as follows:
- c6.2u4g.cluster (100MB bandwidth):
300
to300,000
GB - c6.4u8g.cluster (300MB bandwidth):
300
to600,000
GB - c6.8u16g.cluster (600MB bandwidth):
300
to900,000
GB - c6.12u12g.cluster:
300
to900,000
GB - c6.16u32g.cluster (1,200MB bandwidth):
300
to900,000
GB
- c6.2u4g.cluster (100MB bandwidth):
- storage
Spec StringCode - Specifies the storage I/O specification.
The valid values are as follows:
- dms.physical.storage.high.v2: Type of the disk that uses high I/O.
- dms.physical.storage.ultra.v2: Type of the disk that uses ultra-high I/O.
- storage
Type String - Indicates the storage type.
- Map<String>
- The key/value pairs to associate with the DMS Kafka instance.
- timeouts Property Map
- type String
- Indicates the DMS Kafka instance type.
- used
Storage NumberSpace - Indicates the used message storage space. Unit: GB
- user
Id String - Indicates the ID of the user who created the DMS Kafka instance
- user
Name String - Indicates the name of the user who created the DMS Kafka instance
- vpc
Id String - Specifies the ID of a VPC. Changing this creates a new instance resource.
Supporting Types
DmsDedicatedInstanceV2CrossVpcAccess, DmsDedicatedInstanceV2CrossVpcAccessArgs
- Advertised
Ip string - The advertised IP Address or domain name.
- Listener
Ip string - The listener IP address.
- Port double
- The port number.
- Port
Id string - The port ID associated with the address.
- Advertised
Ip string - The advertised IP Address or domain name.
- Listener
Ip string - The listener IP address.
- Port float64
- The port number.
- Port
Id string - The port ID associated with the address.
- advertised
Ip String - The advertised IP Address or domain name.
- listener
Ip String - The listener IP address.
- port Double
- The port number.
- port
Id String - The port ID associated with the address.
- advertised
Ip string - The advertised IP Address or domain name.
- listener
Ip string - The listener IP address.
- port number
- The port number.
- port
Id string - The port ID associated with the address.
- advertised_
ip str - The advertised IP Address or domain name.
- listener_
ip str - The listener IP address.
- port float
- The port number.
- port_
id str - The port ID associated with the address.
- advertised
Ip String - The advertised IP Address or domain name.
- listener
Ip String - The listener IP address.
- port Number
- The port number.
- port
Id String - The port ID associated with the address.
DmsDedicatedInstanceV2Timeouts, DmsDedicatedInstanceV2TimeoutsArgs
Import
DMS Kafka instance can be imported using the instance id, e.g.
$ pulumi import opentelekomcloud:index/dmsDedicatedInstanceV2:DmsDedicatedInstanceV2 opentelekomcloud_dms_dedicated_instance_v2.instance_1 8d3c7938-dc47-4937-a30f-c80de381c5e3
Note that the imported state may not be identical to your resource definition, due to some attributes missing from the
API response, security or some other reason. The missing attributes include:
password
, manager_password
, public_ip_ids
, security_protocol
, enabled_mechanisms
and arch_type
.
It is generally recommended running pulumi preview
after importing
a DMS Kafka instance. You can then decide if changes should be applied to the instance, or the resource definition
should be updated to align with the instance. Also, you can ignore changes as below.
hcl
resource “opentelekomcloud_dms_dedicated_instance_v2” “instance_1” {
lifecycle {
ignore_changes = [
"password",
"used_storage_space",
"cross_vpc_accesses",
"publicip_id",
]
}
}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloud
Terraform Provider.