InstanceArgs

data class InstanceArgs(val config: Output<String>? = null, val defaultTopicPartitionNum: Output<Int>? = null, val deployType: Output<Int>? = null, val diskSize: Output<Int>? = null, val diskType: Output<Int>? = null, val eipMax: Output<Int>? = null, val enableAutoGroup: Output<Boolean>? = null, val enableAutoTopic: Output<String>? = null, val ioMax: Output<Int>? = null, val ioMaxSpec: Output<String>? = null, val kmsKeyId: Output<String>? = null, val name: Output<String>? = null, val paidType: Output<String>? = null, val partitionNum: Output<Int>? = null, val resourceGroupId: Output<String>? = null, val securityGroup: Output<String>? = null, val selectedZones: Output<List<String>>? = null, val serviceVersion: Output<String>? = null, val specType: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val topicQuota: Output<Int>? = null, val vpcId: Output<String>? = null, val vswitchId: Output<String>? = null, val vswitchIds: Output<List<String>>? = null, val zoneId: Output<String>? = null) : ConvertibleToJava<InstanceArgs>

Import

AliKafka instance can be imported using the id, e.g.

$ pulumi import alicloud:alikafka/instance:Instance instance <id>

Constructors

Link copied to clipboard
constructor(config: Output<String>? = null, defaultTopicPartitionNum: Output<Int>? = null, deployType: Output<Int>? = null, diskSize: Output<Int>? = null, diskType: Output<Int>? = null, eipMax: Output<Int>? = null, enableAutoGroup: Output<Boolean>? = null, enableAutoTopic: Output<String>? = null, ioMax: Output<Int>? = null, ioMaxSpec: Output<String>? = null, kmsKeyId: Output<String>? = null, name: Output<String>? = null, paidType: Output<String>? = null, partitionNum: Output<Int>? = null, resourceGroupId: Output<String>? = null, securityGroup: Output<String>? = null, selectedZones: Output<List<String>>? = null, serviceVersion: Output<String>? = null, specType: Output<String>? = null, tags: Output<Map<String, String>>? = null, topicQuota: Output<Int>? = null, vpcId: Output<String>? = null, vswitchId: Output<String>? = null, vswitchIds: Output<List<String>>? = null, zoneId: Output<String>? = null)

Properties

Link copied to clipboard
val config: Output<String>? = null

The initial configurations of the ApsaraMQ for Kafka instance. The values must be valid JSON strings. The config supports the following parameters:

Link copied to clipboard
val defaultTopicPartitionNum: Output<Int>? = null

The number of partitions in a topic that is automatically created.

Link copied to clipboard
val deployType: Output<Int>? = null

The deployment type of the instance. NOTE: From version 1.161.0, this attribute supports to be updated. Valid values:

Link copied to clipboard
val diskSize: Output<Int>? = null

The disk size of the instance. When modify this value, it only supports adjust to a greater value.

Link copied to clipboard
val diskType: Output<Int>? = null

The disk type of the instance. 0: efficient cloud disk , 1: SSD.

Link copied to clipboard
val eipMax: Output<Int>? = null

The max bandwidth of the instance. It will be ignored when deploy_type = 5. When modify this value, it only supports adjust to a greater value.

Link copied to clipboard
val enableAutoGroup: Output<Boolean>? = null

Specify whether to enable the flexible group creation feature. Default value: false. Valid values:

Link copied to clipboard
val enableAutoTopic: Output<String>? = null

Specify whether to enable the automatic topic creation feature. Default value: disable. Valid values:

Link copied to clipboard
val ioMax: Output<Int>? = null

The max value of io of the instance. When modify this value, it only support adjust to a greater value.

Link copied to clipboard
val ioMaxSpec: Output<String>? = null

The traffic specification of the instance. We recommend that you configure this parameter.

Link copied to clipboard
val kmsKeyId: Output<String>? = null

The ID of the key that is used to encrypt data on standard SSDs in the region of the instance.

Link copied to clipboard
val name: Output<String>? = null

Name of your Kafka instance. The length should between 3 and 64 characters. If not set, will use instance id as instance name.

Link copied to clipboard
val paidType: Output<String>? = null

The paid type of the instance. Support two type, "PrePaid": pre paid type instance, "PostPaid": post paid type instance. Default is PostPaid. When modify this value, it only support adjust from post pay to pre pay.

Link copied to clipboard
val partitionNum: Output<Int>? = null

The number of partitions.

Link copied to clipboard
val resourceGroupId: Output<String>? = null

The ID of the resource group. Note: Once you set a value of this property, you cannot set it to an empty string anymore.

Link copied to clipboard
val securityGroup: Output<String>? = null

The ID of security group for this instance. If the security group is empty, system will create a default one.

Link copied to clipboard
val selectedZones: Output<List<String>>? = null

The zones among which you want to deploy the instance.

Link copied to clipboard
val serviceVersion: Output<String>? = null

The version of the ApsaraMQ for Kafka instance. Default value: 2.2.0. Valid values: 2.2.0, 2.6.2.

Link copied to clipboard
val specType: Output<String>? = null

The spec type of the instance. Support two type, "normal": normal version instance, "professional": professional version instance. Default is normal. When modify this value, it only support adjust from normal to professional. Note only pre paid type instance support professional specific type.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

A mapping of tags to assign to the resource.

Link copied to clipboard
val topicQuota: Output<Int>? = null

The max num of topic can be creation of the instance. It has been deprecated since version 1.194.0 and using partition_num instead. Currently, its value only can be set to 50 when creating it, and finally depends on partition_num value: <topic_quota> = 1000 + <partition_num>. Therefore, you can update it by updating the partition_num, and it is the only updating path.

Link copied to clipboard
val vpcId: Output<String>? = null

The VPC ID of the instance.

Link copied to clipboard
val vswitchId: Output<String>? = null

The ID of attaching vswitch to instance.

Link copied to clipboard
val vswitchIds: Output<List<String>>? = null

The IDs of the vSwitches with which the instance is associated.

Link copied to clipboard
val zoneId: Output<String>? = null

The zone ID of the instance. The value can be in zone x or region id-x format. NOTE: When the available zone is insufficient, another availability zone may be deployed.

Functions

Link copied to clipboard
open override fun toJava(): InstanceArgs