Instance

class Instance : KotlinCustomResource

Import

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

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

Properties

Link copied to clipboard
val config: Output<String>

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

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

Link copied to clipboard
val deployType: Output<Int>

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>

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>

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

Link copied to clipboard
val domainEndpoint: Output<String>

(Available since v1.234.0) The default endpoint of the instance in domain name mode.

Link copied to clipboard
val eipMax: Output<Int>

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>?

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

Link copied to clipboard
val enableAutoTopic: Output<String>

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

Link copied to clipboard
val endPoint: Output<String>

The EndPoint to access the kafka instance.

Link copied to clipboard
val groupLeft: Output<Int>

(Available since v1.214.1) The number of available groups.

Link copied to clipboard
val groupUsed: Output<Int>

(Available since v1.214.1) The number of used groups.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val ioMax: Output<Int>

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>

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

Link copied to clipboard
val isPartitionBuy: Output<Int>

(Available since v1.214.1) The method that you use to purchase partitions.

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

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>

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>?

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 partitionLeft: Output<Int>

(Available since v1.214.1) The number of available partitions.

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

The number of partitions.

Link copied to clipboard
val partitionUsed: Output<Int>

(Available since v1.214.1) The number of used partitions.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val resourceGroupId: Output<String>

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

(Available since v1.234.0) The Simple Authentication and Security Layer (SASL) endpoint of the instance in domain name mode.

Link copied to clipboard
val securityGroup: Output<String>

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>>?

The zones among which you want to deploy the instance.

Link copied to clipboard
val serviceVersion: Output<String>

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>?

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

(Available since v1.234.0) The SSL endpoint of the instance in domain name mode.

Link copied to clipboard
val sslEndpoint: Output<String>

(Available since v1.234.0) The Secure Sockets Layer (SSL) endpoint of the instance in IP address mode.

Link copied to clipboard
val status: Output<Int>

The status of the instance.

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

A mapping of tags to assign to the resource.

Link copied to clipboard
val topicLeft: Output<Int>

(Available since v1.214.1) The number of available topics.

Link copied to clipboard
val topicNumOfBuy: Output<Int>

(Available since v1.214.1) The number of purchased topics.

Link copied to clipboard
val topicQuota: Output<Int>

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 topicUsed: Output<Int>

(Available since v1.214.1) The number of used topics.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val vpcId: Output<String>

The VPC ID of the instance.

Link copied to clipboard
val vswitchId: Output<String>

The ID of attaching vswitch to instance.

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

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

Link copied to clipboard
val zoneId: Output<String>

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.