1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. alikafka
  5. Instance
Alibaba Cloud v3.51.0 published on Saturday, Mar 23, 2024 by Pulumi

alicloud.alikafka.Instance

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.51.0 published on Saturday, Mar 23, 2024 by Pulumi

    Import

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

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

    Create Instance Resource

    new Instance(name: string, args: InstanceArgs, opts?: CustomResourceOptions);
    @overload
    def Instance(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 config: Optional[str] = None,
                 deploy_type: Optional[int] = None,
                 disk_size: Optional[int] = None,
                 disk_type: Optional[int] = None,
                 eip_max: Optional[int] = None,
                 io_max: Optional[int] = None,
                 io_max_spec: Optional[str] = None,
                 kms_key_id: Optional[str] = None,
                 name: Optional[str] = None,
                 paid_type: Optional[str] = None,
                 partition_num: Optional[int] = None,
                 security_group: Optional[str] = None,
                 selected_zones: Optional[Sequence[str]] = None,
                 service_version: Optional[str] = None,
                 spec_type: Optional[str] = None,
                 tags: Optional[Mapping[str, Any]] = None,
                 topic_quota: Optional[int] = None,
                 vpc_id: Optional[str] = None,
                 vswitch_id: Optional[str] = None,
                 zone_id: Optional[str] = None)
    @overload
    def Instance(resource_name: str,
                 args: InstanceArgs,
                 opts: Optional[ResourceOptions] = None)
    func NewInstance(ctx *Context, name string, args InstanceArgs, opts ...ResourceOption) (*Instance, error)
    public Instance(string name, InstanceArgs args, CustomResourceOptions? opts = null)
    public Instance(String name, InstanceArgs args)
    public Instance(String name, InstanceArgs args, CustomResourceOptions options)
    
    type: alicloud:alikafka:Instance
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args InstanceArgs
    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 InstanceArgs
    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 InstanceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args InstanceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args InstanceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Instance Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Instance resource accepts the following input properties:

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

    • 4: eip/vpc instance
    • 5: vpc instance.
    DiskSize int
    The disk size of the instance. When modify this value, it only supports adjust to a greater value.
    DiskType int
    The disk type of the instance. 0: efficient cloud disk , 1: SSD.
    VswitchId string
    The ID of attaching vswitch to instance.
    Config string
    The basic config for this instance. The input should be json type, only the following key allowed: enable.acl, enable.vpc_sasl_ssl, kafka.log.retention.hours, kafka.message.max.bytes.
    EipMax 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.
    IoMax int
    The max value of io of the instance. When modify this value, it only support adjust to a greater value.
    IoMaxSpec string
    The traffic specification of the instance. We recommend that you configure this parameter.

    • You should specify one of the io_max and io_max_spec parameters, and io_max_spec is recommended.
    • For more information about the valid values, see Billing.
    KmsKeyId string
    The ID of the key that is used to encrypt data on standard SSDs in the region of the instance.
    Name string
    Name of your Kafka instance. The length should between 3 and 64 characters. If not set, will use instance id as instance name.
    PaidType 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.
    PartitionNum int
    The number of partitions.
    SecurityGroup string
    The ID of security group for this instance. If the security group is empty, system will create a default one.
    SelectedZones List<string>

    The zones among which you want to deploy the instance.

    NOTE: Arguments io_max, disk_size, topic_quota, eip_max should follow the following constraints.

    | io_max | disk_size(min-max:lag) | topic_quota(min-max:lag) | eip_max(min-max:lag) | |------|-------------|:----:|:-----:| |20 | 500-6100:100 | 50-450:1 | 1-160:1 | |30 | 800-6100:100 | 50-450:1 | 1-240:1 | |60 | 1400-6100:100 | 80-450:1 | 1-500:1 | |90 | 2100-6100:100 | 100-450:1 | 1-500:1 | |120 | 2700-6100:100 | 150-450:1 | 1-500:1 |

    ServiceVersion string
    The kafka openSource version for this instance. Only 0.10.2 or 2.2.0 is allowed, default is 0.10.2.
    SpecType 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.
    Tags Dictionary<string, object>
    A mapping of tags to assign to the resource.
    TopicQuota 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.

    Deprecated:Attribute topic_quota has been deprecated since 1.194.0 and it will be removed in the next future. Using new attribute partition_num instead.

    VpcId string
    The VPC ID of the instance.
    ZoneId string
    The zone ID of the instance.
    DeployType int
    The deployment type of the instance. NOTE: From version 1.161.0, this attribute supports to be updated. Valid values:

    • 4: eip/vpc instance
    • 5: vpc instance.
    DiskSize int
    The disk size of the instance. When modify this value, it only supports adjust to a greater value.
    DiskType int
    The disk type of the instance. 0: efficient cloud disk , 1: SSD.
    VswitchId string
    The ID of attaching vswitch to instance.
    Config string
    The basic config for this instance. The input should be json type, only the following key allowed: enable.acl, enable.vpc_sasl_ssl, kafka.log.retention.hours, kafka.message.max.bytes.
    EipMax 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.
    IoMax int
    The max value of io of the instance. When modify this value, it only support adjust to a greater value.
    IoMaxSpec string
    The traffic specification of the instance. We recommend that you configure this parameter.

    • You should specify one of the io_max and io_max_spec parameters, and io_max_spec is recommended.
    • For more information about the valid values, see Billing.
    KmsKeyId string
    The ID of the key that is used to encrypt data on standard SSDs in the region of the instance.
    Name string
    Name of your Kafka instance. The length should between 3 and 64 characters. If not set, will use instance id as instance name.
    PaidType 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.
    PartitionNum int
    The number of partitions.
    SecurityGroup string
    The ID of security group for this instance. If the security group is empty, system will create a default one.
    SelectedZones []string

    The zones among which you want to deploy the instance.

    NOTE: Arguments io_max, disk_size, topic_quota, eip_max should follow the following constraints.

    | io_max | disk_size(min-max:lag) | topic_quota(min-max:lag) | eip_max(min-max:lag) | |------|-------------|:----:|:-----:| |20 | 500-6100:100 | 50-450:1 | 1-160:1 | |30 | 800-6100:100 | 50-450:1 | 1-240:1 | |60 | 1400-6100:100 | 80-450:1 | 1-500:1 | |90 | 2100-6100:100 | 100-450:1 | 1-500:1 | |120 | 2700-6100:100 | 150-450:1 | 1-500:1 |

    ServiceVersion string
    The kafka openSource version for this instance. Only 0.10.2 or 2.2.0 is allowed, default is 0.10.2.
    SpecType 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.
    Tags map[string]interface{}
    A mapping of tags to assign to the resource.
    TopicQuota 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.

    Deprecated:Attribute topic_quota has been deprecated since 1.194.0 and it will be removed in the next future. Using new attribute partition_num instead.

    VpcId string
    The VPC ID of the instance.
    ZoneId string
    The zone ID of the instance.
    deployType Integer
    The deployment type of the instance. NOTE: From version 1.161.0, this attribute supports to be updated. Valid values:

    • 4: eip/vpc instance
    • 5: vpc instance.
    diskSize Integer
    The disk size of the instance. When modify this value, it only supports adjust to a greater value.
    diskType Integer
    The disk type of the instance. 0: efficient cloud disk , 1: SSD.
    vswitchId String
    The ID of attaching vswitch to instance.
    config String
    The basic config for this instance. The input should be json type, only the following key allowed: enable.acl, enable.vpc_sasl_ssl, kafka.log.retention.hours, kafka.message.max.bytes.
    eipMax Integer
    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.
    ioMax Integer
    The max value of io of the instance. When modify this value, it only support adjust to a greater value.
    ioMaxSpec String
    The traffic specification of the instance. We recommend that you configure this parameter.

    • You should specify one of the io_max and io_max_spec parameters, and io_max_spec is recommended.
    • For more information about the valid values, see Billing.
    kmsKeyId String
    The ID of the key that is used to encrypt data on standard SSDs in the region of the instance.
    name String
    Name of your Kafka instance. The length should between 3 and 64 characters. If not set, will use instance id as instance name.
    paidType 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.
    partitionNum Integer
    The number of partitions.
    securityGroup String
    The ID of security group for this instance. If the security group is empty, system will create a default one.
    selectedZones List<String>

    The zones among which you want to deploy the instance.

    NOTE: Arguments io_max, disk_size, topic_quota, eip_max should follow the following constraints.

    | io_max | disk_size(min-max:lag) | topic_quota(min-max:lag) | eip_max(min-max:lag) | |------|-------------|:----:|:-----:| |20 | 500-6100:100 | 50-450:1 | 1-160:1 | |30 | 800-6100:100 | 50-450:1 | 1-240:1 | |60 | 1400-6100:100 | 80-450:1 | 1-500:1 | |90 | 2100-6100:100 | 100-450:1 | 1-500:1 | |120 | 2700-6100:100 | 150-450:1 | 1-500:1 |

    serviceVersion String
    The kafka openSource version for this instance. Only 0.10.2 or 2.2.0 is allowed, default is 0.10.2.
    specType 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.
    tags Map<String,Object>
    A mapping of tags to assign to the resource.
    topicQuota Integer
    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.

    Deprecated:Attribute topic_quota has been deprecated since 1.194.0 and it will be removed in the next future. Using new attribute partition_num instead.

    vpcId String
    The VPC ID of the instance.
    zoneId String
    The zone ID of the instance.
    deployType number
    The deployment type of the instance. NOTE: From version 1.161.0, this attribute supports to be updated. Valid values:

    • 4: eip/vpc instance
    • 5: vpc instance.
    diskSize number
    The disk size of the instance. When modify this value, it only supports adjust to a greater value.
    diskType number
    The disk type of the instance. 0: efficient cloud disk , 1: SSD.
    vswitchId string
    The ID of attaching vswitch to instance.
    config string
    The basic config for this instance. The input should be json type, only the following key allowed: enable.acl, enable.vpc_sasl_ssl, kafka.log.retention.hours, kafka.message.max.bytes.
    eipMax number
    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.
    ioMax number
    The max value of io of the instance. When modify this value, it only support adjust to a greater value.
    ioMaxSpec string
    The traffic specification of the instance. We recommend that you configure this parameter.

    • You should specify one of the io_max and io_max_spec parameters, and io_max_spec is recommended.
    • For more information about the valid values, see Billing.
    kmsKeyId string
    The ID of the key that is used to encrypt data on standard SSDs in the region of the instance.
    name string
    Name of your Kafka instance. The length should between 3 and 64 characters. If not set, will use instance id as instance name.
    paidType 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.
    partitionNum number
    The number of partitions.
    securityGroup string
    The ID of security group for this instance. If the security group is empty, system will create a default one.
    selectedZones string[]

    The zones among which you want to deploy the instance.

    NOTE: Arguments io_max, disk_size, topic_quota, eip_max should follow the following constraints.

    | io_max | disk_size(min-max:lag) | topic_quota(min-max:lag) | eip_max(min-max:lag) | |------|-------------|:----:|:-----:| |20 | 500-6100:100 | 50-450:1 | 1-160:1 | |30 | 800-6100:100 | 50-450:1 | 1-240:1 | |60 | 1400-6100:100 | 80-450:1 | 1-500:1 | |90 | 2100-6100:100 | 100-450:1 | 1-500:1 | |120 | 2700-6100:100 | 150-450:1 | 1-500:1 |

    serviceVersion string
    The kafka openSource version for this instance. Only 0.10.2 or 2.2.0 is allowed, default is 0.10.2.
    specType 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.
    tags {[key: string]: any}
    A mapping of tags to assign to the resource.
    topicQuota number
    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.

    Deprecated:Attribute topic_quota has been deprecated since 1.194.0 and it will be removed in the next future. Using new attribute partition_num instead.

    vpcId string
    The VPC ID of the instance.
    zoneId string
    The zone ID of the instance.
    deploy_type int
    The deployment type of the instance. NOTE: From version 1.161.0, this attribute supports to be updated. Valid values:

    • 4: eip/vpc instance
    • 5: vpc instance.
    disk_size int
    The disk size of the instance. When modify this value, it only supports adjust to a greater value.
    disk_type int
    The disk type of the instance. 0: efficient cloud disk , 1: SSD.
    vswitch_id str
    The ID of attaching vswitch to instance.
    config str
    The basic config for this instance. The input should be json type, only the following key allowed: enable.acl, enable.vpc_sasl_ssl, kafka.log.retention.hours, kafka.message.max.bytes.
    eip_max 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.
    io_max int
    The max value of io of the instance. When modify this value, it only support adjust to a greater value.
    io_max_spec str
    The traffic specification of the instance. We recommend that you configure this parameter.

    • You should specify one of the io_max and io_max_spec parameters, and io_max_spec is recommended.
    • For more information about the valid values, see Billing.
    kms_key_id str
    The ID of the key that is used to encrypt data on standard SSDs in the region of the instance.
    name str
    Name of your Kafka instance. The length should between 3 and 64 characters. If not set, will use instance id as instance name.
    str
    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.
    partition_num int
    The number of partitions.
    security_group str
    The ID of security group for this instance. If the security group is empty, system will create a default one.
    selected_zones Sequence[str]

    The zones among which you want to deploy the instance.

    NOTE: Arguments io_max, disk_size, topic_quota, eip_max should follow the following constraints.

    | io_max | disk_size(min-max:lag) | topic_quota(min-max:lag) | eip_max(min-max:lag) | |------|-------------|:----:|:-----:| |20 | 500-6100:100 | 50-450:1 | 1-160:1 | |30 | 800-6100:100 | 50-450:1 | 1-240:1 | |60 | 1400-6100:100 | 80-450:1 | 1-500:1 | |90 | 2100-6100:100 | 100-450:1 | 1-500:1 | |120 | 2700-6100:100 | 150-450:1 | 1-500:1 |

    service_version str
    The kafka openSource version for this instance. Only 0.10.2 or 2.2.0 is allowed, default is 0.10.2.
    spec_type str
    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.
    tags Mapping[str, Any]
    A mapping of tags to assign to the resource.
    topic_quota 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.

    Deprecated:Attribute topic_quota has been deprecated since 1.194.0 and it will be removed in the next future. Using new attribute partition_num instead.

    vpc_id str
    The VPC ID of the instance.
    zone_id str
    The zone ID of the instance.
    deployType Number
    The deployment type of the instance. NOTE: From version 1.161.0, this attribute supports to be updated. Valid values:

    • 4: eip/vpc instance
    • 5: vpc instance.
    diskSize Number
    The disk size of the instance. When modify this value, it only supports adjust to a greater value.
    diskType Number
    The disk type of the instance. 0: efficient cloud disk , 1: SSD.
    vswitchId String
    The ID of attaching vswitch to instance.
    config String
    The basic config for this instance. The input should be json type, only the following key allowed: enable.acl, enable.vpc_sasl_ssl, kafka.log.retention.hours, kafka.message.max.bytes.
    eipMax Number
    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.
    ioMax Number
    The max value of io of the instance. When modify this value, it only support adjust to a greater value.
    ioMaxSpec String
    The traffic specification of the instance. We recommend that you configure this parameter.

    • You should specify one of the io_max and io_max_spec parameters, and io_max_spec is recommended.
    • For more information about the valid values, see Billing.
    kmsKeyId String
    The ID of the key that is used to encrypt data on standard SSDs in the region of the instance.
    name String
    Name of your Kafka instance. The length should between 3 and 64 characters. If not set, will use instance id as instance name.
    paidType 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.
    partitionNum Number
    The number of partitions.
    securityGroup String
    The ID of security group for this instance. If the security group is empty, system will create a default one.
    selectedZones List<String>

    The zones among which you want to deploy the instance.

    NOTE: Arguments io_max, disk_size, topic_quota, eip_max should follow the following constraints.

    | io_max | disk_size(min-max:lag) | topic_quota(min-max:lag) | eip_max(min-max:lag) | |------|-------------|:----:|:-----:| |20 | 500-6100:100 | 50-450:1 | 1-160:1 | |30 | 800-6100:100 | 50-450:1 | 1-240:1 | |60 | 1400-6100:100 | 80-450:1 | 1-500:1 | |90 | 2100-6100:100 | 100-450:1 | 1-500:1 | |120 | 2700-6100:100 | 150-450:1 | 1-500:1 |

    serviceVersion String
    The kafka openSource version for this instance. Only 0.10.2 or 2.2.0 is allowed, default is 0.10.2.
    specType 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.
    tags Map<Any>
    A mapping of tags to assign to the resource.
    topicQuota Number
    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.

    Deprecated:Attribute topic_quota has been deprecated since 1.194.0 and it will be removed in the next future. Using new attribute partition_num instead.

    vpcId String
    The VPC ID of the instance.
    zoneId String
    The zone ID of the instance.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Instance resource produces the following output properties:

    EndPoint string
    The EndPoint to access the kafka instance.
    GroupLeft int
    (Available since v1.214.1) The number of available groups.
    GroupUsed int
    (Available since v1.214.1) The number of used groups.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsPartitionBuy int
    (Available since v1.214.1) The method that you use to purchase partitions.
    PartitionLeft int
    (Available since v1.214.1) The number of available partitions.
    PartitionUsed int
    (Available since v1.214.1) The number of used partitions.
    Status int
    The status of the instance.
    TopicLeft int
    (Available since v1.214.1) The number of available topics.
    TopicNumOfBuy int
    (Available since v1.214.1) The number of purchased topics.
    TopicUsed int
    (Available since v1.214.1) The number of used topics.
    EndPoint string
    The EndPoint to access the kafka instance.
    GroupLeft int
    (Available since v1.214.1) The number of available groups.
    GroupUsed int
    (Available since v1.214.1) The number of used groups.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsPartitionBuy int
    (Available since v1.214.1) The method that you use to purchase partitions.
    PartitionLeft int
    (Available since v1.214.1) The number of available partitions.
    PartitionUsed int
    (Available since v1.214.1) The number of used partitions.
    Status int
    The status of the instance.
    TopicLeft int
    (Available since v1.214.1) The number of available topics.
    TopicNumOfBuy int
    (Available since v1.214.1) The number of purchased topics.
    TopicUsed int
    (Available since v1.214.1) The number of used topics.
    endPoint String
    The EndPoint to access the kafka instance.
    groupLeft Integer
    (Available since v1.214.1) The number of available groups.
    groupUsed Integer
    (Available since v1.214.1) The number of used groups.
    id String
    The provider-assigned unique ID for this managed resource.
    isPartitionBuy Integer
    (Available since v1.214.1) The method that you use to purchase partitions.
    partitionLeft Integer
    (Available since v1.214.1) The number of available partitions.
    partitionUsed Integer
    (Available since v1.214.1) The number of used partitions.
    status Integer
    The status of the instance.
    topicLeft Integer
    (Available since v1.214.1) The number of available topics.
    topicNumOfBuy Integer
    (Available since v1.214.1) The number of purchased topics.
    topicUsed Integer
    (Available since v1.214.1) The number of used topics.
    endPoint string
    The EndPoint to access the kafka instance.
    groupLeft number
    (Available since v1.214.1) The number of available groups.
    groupUsed number
    (Available since v1.214.1) The number of used groups.
    id string
    The provider-assigned unique ID for this managed resource.
    isPartitionBuy number
    (Available since v1.214.1) The method that you use to purchase partitions.
    partitionLeft number
    (Available since v1.214.1) The number of available partitions.
    partitionUsed number
    (Available since v1.214.1) The number of used partitions.
    status number
    The status of the instance.
    topicLeft number
    (Available since v1.214.1) The number of available topics.
    topicNumOfBuy number
    (Available since v1.214.1) The number of purchased topics.
    topicUsed number
    (Available since v1.214.1) The number of used topics.
    end_point str
    The EndPoint to access the kafka instance.
    group_left int
    (Available since v1.214.1) The number of available groups.
    group_used int
    (Available since v1.214.1) The number of used groups.
    id str
    The provider-assigned unique ID for this managed resource.
    is_partition_buy int
    (Available since v1.214.1) The method that you use to purchase partitions.
    partition_left int
    (Available since v1.214.1) The number of available partitions.
    partition_used int
    (Available since v1.214.1) The number of used partitions.
    status int
    The status of the instance.
    topic_left int
    (Available since v1.214.1) The number of available topics.
    topic_num_of_buy int
    (Available since v1.214.1) The number of purchased topics.
    topic_used int
    (Available since v1.214.1) The number of used topics.
    endPoint String
    The EndPoint to access the kafka instance.
    groupLeft Number
    (Available since v1.214.1) The number of available groups.
    groupUsed Number
    (Available since v1.214.1) The number of used groups.
    id String
    The provider-assigned unique ID for this managed resource.
    isPartitionBuy Number
    (Available since v1.214.1) The method that you use to purchase partitions.
    partitionLeft Number
    (Available since v1.214.1) The number of available partitions.
    partitionUsed Number
    (Available since v1.214.1) The number of used partitions.
    status Number
    The status of the instance.
    topicLeft Number
    (Available since v1.214.1) The number of available topics.
    topicNumOfBuy Number
    (Available since v1.214.1) The number of purchased topics.
    topicUsed Number
    (Available since v1.214.1) The number of used topics.

    Look up Existing Instance Resource

    Get an existing Instance 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?: InstanceState, opts?: CustomResourceOptions): Instance
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            config: Optional[str] = None,
            deploy_type: Optional[int] = None,
            disk_size: Optional[int] = None,
            disk_type: Optional[int] = None,
            eip_max: Optional[int] = None,
            end_point: Optional[str] = None,
            group_left: Optional[int] = None,
            group_used: Optional[int] = None,
            io_max: Optional[int] = None,
            io_max_spec: Optional[str] = None,
            is_partition_buy: Optional[int] = None,
            kms_key_id: Optional[str] = None,
            name: Optional[str] = None,
            paid_type: Optional[str] = None,
            partition_left: Optional[int] = None,
            partition_num: Optional[int] = None,
            partition_used: Optional[int] = None,
            security_group: Optional[str] = None,
            selected_zones: Optional[Sequence[str]] = None,
            service_version: Optional[str] = None,
            spec_type: Optional[str] = None,
            status: Optional[int] = None,
            tags: Optional[Mapping[str, Any]] = None,
            topic_left: Optional[int] = None,
            topic_num_of_buy: Optional[int] = None,
            topic_quota: Optional[int] = None,
            topic_used: Optional[int] = None,
            vpc_id: Optional[str] = None,
            vswitch_id: Optional[str] = None,
            zone_id: Optional[str] = None) -> Instance
    func GetInstance(ctx *Context, name string, id IDInput, state *InstanceState, opts ...ResourceOption) (*Instance, error)
    public static Instance Get(string name, Input<string> id, InstanceState? state, CustomResourceOptions? opts = null)
    public static Instance get(String name, Output<String> id, InstanceState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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.
    The following state arguments are supported:
    Config string
    The basic config for this instance. The input should be json type, only the following key allowed: enable.acl, enable.vpc_sasl_ssl, kafka.log.retention.hours, kafka.message.max.bytes.
    DeployType int
    The deployment type of the instance. NOTE: From version 1.161.0, this attribute supports to be updated. Valid values:

    • 4: eip/vpc instance
    • 5: vpc instance.
    DiskSize int
    The disk size of the instance. When modify this value, it only supports adjust to a greater value.
    DiskType int
    The disk type of the instance. 0: efficient cloud disk , 1: SSD.
    EipMax 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.
    EndPoint string
    The EndPoint to access the kafka instance.
    GroupLeft int
    (Available since v1.214.1) The number of available groups.
    GroupUsed int
    (Available since v1.214.1) The number of used groups.
    IoMax int
    The max value of io of the instance. When modify this value, it only support adjust to a greater value.
    IoMaxSpec string
    The traffic specification of the instance. We recommend that you configure this parameter.

    • You should specify one of the io_max and io_max_spec parameters, and io_max_spec is recommended.
    • For more information about the valid values, see Billing.
    IsPartitionBuy int
    (Available since v1.214.1) The method that you use to purchase partitions.
    KmsKeyId string
    The ID of the key that is used to encrypt data on standard SSDs in the region of the instance.
    Name string
    Name of your Kafka instance. The length should between 3 and 64 characters. If not set, will use instance id as instance name.
    PaidType 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.
    PartitionLeft int
    (Available since v1.214.1) The number of available partitions.
    PartitionNum int
    The number of partitions.
    PartitionUsed int
    (Available since v1.214.1) The number of used partitions.
    SecurityGroup string
    The ID of security group for this instance. If the security group is empty, system will create a default one.
    SelectedZones List<string>

    The zones among which you want to deploy the instance.

    NOTE: Arguments io_max, disk_size, topic_quota, eip_max should follow the following constraints.

    | io_max | disk_size(min-max:lag) | topic_quota(min-max:lag) | eip_max(min-max:lag) | |------|-------------|:----:|:-----:| |20 | 500-6100:100 | 50-450:1 | 1-160:1 | |30 | 800-6100:100 | 50-450:1 | 1-240:1 | |60 | 1400-6100:100 | 80-450:1 | 1-500:1 | |90 | 2100-6100:100 | 100-450:1 | 1-500:1 | |120 | 2700-6100:100 | 150-450:1 | 1-500:1 |

    ServiceVersion string
    The kafka openSource version for this instance. Only 0.10.2 or 2.2.0 is allowed, default is 0.10.2.
    SpecType 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.
    Status int
    The status of the instance.
    Tags Dictionary<string, object>
    A mapping of tags to assign to the resource.
    TopicLeft int
    (Available since v1.214.1) The number of available topics.
    TopicNumOfBuy int
    (Available since v1.214.1) The number of purchased topics.
    TopicQuota 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.

    Deprecated:Attribute topic_quota has been deprecated since 1.194.0 and it will be removed in the next future. Using new attribute partition_num instead.

    TopicUsed int
    (Available since v1.214.1) The number of used topics.
    VpcId string
    The VPC ID of the instance.
    VswitchId string
    The ID of attaching vswitch to instance.
    ZoneId string
    The zone ID of the instance.
    Config string
    The basic config for this instance. The input should be json type, only the following key allowed: enable.acl, enable.vpc_sasl_ssl, kafka.log.retention.hours, kafka.message.max.bytes.
    DeployType int
    The deployment type of the instance. NOTE: From version 1.161.0, this attribute supports to be updated. Valid values:

    • 4: eip/vpc instance
    • 5: vpc instance.
    DiskSize int
    The disk size of the instance. When modify this value, it only supports adjust to a greater value.
    DiskType int
    The disk type of the instance. 0: efficient cloud disk , 1: SSD.
    EipMax 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.
    EndPoint string
    The EndPoint to access the kafka instance.
    GroupLeft int
    (Available since v1.214.1) The number of available groups.
    GroupUsed int
    (Available since v1.214.1) The number of used groups.
    IoMax int
    The max value of io of the instance. When modify this value, it only support adjust to a greater value.
    IoMaxSpec string
    The traffic specification of the instance. We recommend that you configure this parameter.

    • You should specify one of the io_max and io_max_spec parameters, and io_max_spec is recommended.
    • For more information about the valid values, see Billing.
    IsPartitionBuy int
    (Available since v1.214.1) The method that you use to purchase partitions.
    KmsKeyId string
    The ID of the key that is used to encrypt data on standard SSDs in the region of the instance.
    Name string
    Name of your Kafka instance. The length should between 3 and 64 characters. If not set, will use instance id as instance name.
    PaidType 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.
    PartitionLeft int
    (Available since v1.214.1) The number of available partitions.
    PartitionNum int
    The number of partitions.
    PartitionUsed int
    (Available since v1.214.1) The number of used partitions.
    SecurityGroup string
    The ID of security group for this instance. If the security group is empty, system will create a default one.
    SelectedZones []string

    The zones among which you want to deploy the instance.

    NOTE: Arguments io_max, disk_size, topic_quota, eip_max should follow the following constraints.

    | io_max | disk_size(min-max:lag) | topic_quota(min-max:lag) | eip_max(min-max:lag) | |------|-------------|:----:|:-----:| |20 | 500-6100:100 | 50-450:1 | 1-160:1 | |30 | 800-6100:100 | 50-450:1 | 1-240:1 | |60 | 1400-6100:100 | 80-450:1 | 1-500:1 | |90 | 2100-6100:100 | 100-450:1 | 1-500:1 | |120 | 2700-6100:100 | 150-450:1 | 1-500:1 |

    ServiceVersion string
    The kafka openSource version for this instance. Only 0.10.2 or 2.2.0 is allowed, default is 0.10.2.
    SpecType 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.
    Status int
    The status of the instance.
    Tags map[string]interface{}
    A mapping of tags to assign to the resource.
    TopicLeft int
    (Available since v1.214.1) The number of available topics.
    TopicNumOfBuy int
    (Available since v1.214.1) The number of purchased topics.
    TopicQuota 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.

    Deprecated:Attribute topic_quota has been deprecated since 1.194.0 and it will be removed in the next future. Using new attribute partition_num instead.

    TopicUsed int
    (Available since v1.214.1) The number of used topics.
    VpcId string
    The VPC ID of the instance.
    VswitchId string
    The ID of attaching vswitch to instance.
    ZoneId string
    The zone ID of the instance.
    config String
    The basic config for this instance. The input should be json type, only the following key allowed: enable.acl, enable.vpc_sasl_ssl, kafka.log.retention.hours, kafka.message.max.bytes.
    deployType Integer
    The deployment type of the instance. NOTE: From version 1.161.0, this attribute supports to be updated. Valid values:

    • 4: eip/vpc instance
    • 5: vpc instance.
    diskSize Integer
    The disk size of the instance. When modify this value, it only supports adjust to a greater value.
    diskType Integer
    The disk type of the instance. 0: efficient cloud disk , 1: SSD.
    eipMax Integer
    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.
    endPoint String
    The EndPoint to access the kafka instance.
    groupLeft Integer
    (Available since v1.214.1) The number of available groups.
    groupUsed Integer
    (Available since v1.214.1) The number of used groups.
    ioMax Integer
    The max value of io of the instance. When modify this value, it only support adjust to a greater value.
    ioMaxSpec String
    The traffic specification of the instance. We recommend that you configure this parameter.

    • You should specify one of the io_max and io_max_spec parameters, and io_max_spec is recommended.
    • For more information about the valid values, see Billing.
    isPartitionBuy Integer
    (Available since v1.214.1) The method that you use to purchase partitions.
    kmsKeyId String
    The ID of the key that is used to encrypt data on standard SSDs in the region of the instance.
    name String
    Name of your Kafka instance. The length should between 3 and 64 characters. If not set, will use instance id as instance name.
    paidType 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.
    partitionLeft Integer
    (Available since v1.214.1) The number of available partitions.
    partitionNum Integer
    The number of partitions.
    partitionUsed Integer
    (Available since v1.214.1) The number of used partitions.
    securityGroup String
    The ID of security group for this instance. If the security group is empty, system will create a default one.
    selectedZones List<String>

    The zones among which you want to deploy the instance.

    NOTE: Arguments io_max, disk_size, topic_quota, eip_max should follow the following constraints.

    | io_max | disk_size(min-max:lag) | topic_quota(min-max:lag) | eip_max(min-max:lag) | |------|-------------|:----:|:-----:| |20 | 500-6100:100 | 50-450:1 | 1-160:1 | |30 | 800-6100:100 | 50-450:1 | 1-240:1 | |60 | 1400-6100:100 | 80-450:1 | 1-500:1 | |90 | 2100-6100:100 | 100-450:1 | 1-500:1 | |120 | 2700-6100:100 | 150-450:1 | 1-500:1 |

    serviceVersion String
    The kafka openSource version for this instance. Only 0.10.2 or 2.2.0 is allowed, default is 0.10.2.
    specType 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.
    status Integer
    The status of the instance.
    tags Map<String,Object>
    A mapping of tags to assign to the resource.
    topicLeft Integer
    (Available since v1.214.1) The number of available topics.
    topicNumOfBuy Integer
    (Available since v1.214.1) The number of purchased topics.
    topicQuota Integer
    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.

    Deprecated:Attribute topic_quota has been deprecated since 1.194.0 and it will be removed in the next future. Using new attribute partition_num instead.

    topicUsed Integer
    (Available since v1.214.1) The number of used topics.
    vpcId String
    The VPC ID of the instance.
    vswitchId String
    The ID of attaching vswitch to instance.
    zoneId String
    The zone ID of the instance.
    config string
    The basic config for this instance. The input should be json type, only the following key allowed: enable.acl, enable.vpc_sasl_ssl, kafka.log.retention.hours, kafka.message.max.bytes.
    deployType number
    The deployment type of the instance. NOTE: From version 1.161.0, this attribute supports to be updated. Valid values:

    • 4: eip/vpc instance
    • 5: vpc instance.
    diskSize number
    The disk size of the instance. When modify this value, it only supports adjust to a greater value.
    diskType number
    The disk type of the instance. 0: efficient cloud disk , 1: SSD.
    eipMax number
    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.
    endPoint string
    The EndPoint to access the kafka instance.
    groupLeft number
    (Available since v1.214.1) The number of available groups.
    groupUsed number
    (Available since v1.214.1) The number of used groups.
    ioMax number
    The max value of io of the instance. When modify this value, it only support adjust to a greater value.
    ioMaxSpec string
    The traffic specification of the instance. We recommend that you configure this parameter.

    • You should specify one of the io_max and io_max_spec parameters, and io_max_spec is recommended.
    • For more information about the valid values, see Billing.
    isPartitionBuy number
    (Available since v1.214.1) The method that you use to purchase partitions.
    kmsKeyId string
    The ID of the key that is used to encrypt data on standard SSDs in the region of the instance.
    name string
    Name of your Kafka instance. The length should between 3 and 64 characters. If not set, will use instance id as instance name.
    paidType 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.
    partitionLeft number
    (Available since v1.214.1) The number of available partitions.
    partitionNum number
    The number of partitions.
    partitionUsed number
    (Available since v1.214.1) The number of used partitions.
    securityGroup string
    The ID of security group for this instance. If the security group is empty, system will create a default one.
    selectedZones string[]

    The zones among which you want to deploy the instance.

    NOTE: Arguments io_max, disk_size, topic_quota, eip_max should follow the following constraints.

    | io_max | disk_size(min-max:lag) | topic_quota(min-max:lag) | eip_max(min-max:lag) | |------|-------------|:----:|:-----:| |20 | 500-6100:100 | 50-450:1 | 1-160:1 | |30 | 800-6100:100 | 50-450:1 | 1-240:1 | |60 | 1400-6100:100 | 80-450:1 | 1-500:1 | |90 | 2100-6100:100 | 100-450:1 | 1-500:1 | |120 | 2700-6100:100 | 150-450:1 | 1-500:1 |

    serviceVersion string
    The kafka openSource version for this instance. Only 0.10.2 or 2.2.0 is allowed, default is 0.10.2.
    specType 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.
    status number
    The status of the instance.
    tags {[key: string]: any}
    A mapping of tags to assign to the resource.
    topicLeft number
    (Available since v1.214.1) The number of available topics.
    topicNumOfBuy number
    (Available since v1.214.1) The number of purchased topics.
    topicQuota number
    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.

    Deprecated:Attribute topic_quota has been deprecated since 1.194.0 and it will be removed in the next future. Using new attribute partition_num instead.

    topicUsed number
    (Available since v1.214.1) The number of used topics.
    vpcId string
    The VPC ID of the instance.
    vswitchId string
    The ID of attaching vswitch to instance.
    zoneId string
    The zone ID of the instance.
    config str
    The basic config for this instance. The input should be json type, only the following key allowed: enable.acl, enable.vpc_sasl_ssl, kafka.log.retention.hours, kafka.message.max.bytes.
    deploy_type int
    The deployment type of the instance. NOTE: From version 1.161.0, this attribute supports to be updated. Valid values:

    • 4: eip/vpc instance
    • 5: vpc instance.
    disk_size int
    The disk size of the instance. When modify this value, it only supports adjust to a greater value.
    disk_type int
    The disk type of the instance. 0: efficient cloud disk , 1: SSD.
    eip_max 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.
    end_point str
    The EndPoint to access the kafka instance.
    group_left int
    (Available since v1.214.1) The number of available groups.
    group_used int
    (Available since v1.214.1) The number of used groups.
    io_max int
    The max value of io of the instance. When modify this value, it only support adjust to a greater value.
    io_max_spec str
    The traffic specification of the instance. We recommend that you configure this parameter.

    • You should specify one of the io_max and io_max_spec parameters, and io_max_spec is recommended.
    • For more information about the valid values, see Billing.
    is_partition_buy int
    (Available since v1.214.1) The method that you use to purchase partitions.
    kms_key_id str
    The ID of the key that is used to encrypt data on standard SSDs in the region of the instance.
    name str
    Name of your Kafka instance. The length should between 3 and 64 characters. If not set, will use instance id as instance name.
    paid_type str
    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.
    partition_left int
    (Available since v1.214.1) The number of available partitions.
    partition_num int
    The number of partitions.
    partition_used int
    (Available since v1.214.1) The number of used partitions.
    security_group str
    The ID of security group for this instance. If the security group is empty, system will create a default one.
    selected_zones Sequence[str]

    The zones among which you want to deploy the instance.

    NOTE: Arguments io_max, disk_size, topic_quota, eip_max should follow the following constraints.

    | io_max | disk_size(min-max:lag) | topic_quota(min-max:lag) | eip_max(min-max:lag) | |------|-------------|:----:|:-----:| |20 | 500-6100:100 | 50-450:1 | 1-160:1 | |30 | 800-6100:100 | 50-450:1 | 1-240:1 | |60 | 1400-6100:100 | 80-450:1 | 1-500:1 | |90 | 2100-6100:100 | 100-450:1 | 1-500:1 | |120 | 2700-6100:100 | 150-450:1 | 1-500:1 |

    service_version str
    The kafka openSource version for this instance. Only 0.10.2 or 2.2.0 is allowed, default is 0.10.2.
    spec_type str
    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.
    status int
    The status of the instance.
    tags Mapping[str, Any]
    A mapping of tags to assign to the resource.
    topic_left int
    (Available since v1.214.1) The number of available topics.
    topic_num_of_buy int
    (Available since v1.214.1) The number of purchased topics.
    topic_quota 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.

    Deprecated:Attribute topic_quota has been deprecated since 1.194.0 and it will be removed in the next future. Using new attribute partition_num instead.

    topic_used int
    (Available since v1.214.1) The number of used topics.
    vpc_id str
    The VPC ID of the instance.
    vswitch_id str
    The ID of attaching vswitch to instance.
    zone_id str
    The zone ID of the instance.
    config String
    The basic config for this instance. The input should be json type, only the following key allowed: enable.acl, enable.vpc_sasl_ssl, kafka.log.retention.hours, kafka.message.max.bytes.
    deployType Number
    The deployment type of the instance. NOTE: From version 1.161.0, this attribute supports to be updated. Valid values:

    • 4: eip/vpc instance
    • 5: vpc instance.
    diskSize Number
    The disk size of the instance. When modify this value, it only supports adjust to a greater value.
    diskType Number
    The disk type of the instance. 0: efficient cloud disk , 1: SSD.
    eipMax Number
    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.
    endPoint String
    The EndPoint to access the kafka instance.
    groupLeft Number
    (Available since v1.214.1) The number of available groups.
    groupUsed Number
    (Available since v1.214.1) The number of used groups.
    ioMax Number
    The max value of io of the instance. When modify this value, it only support adjust to a greater value.
    ioMaxSpec String
    The traffic specification of the instance. We recommend that you configure this parameter.

    • You should specify one of the io_max and io_max_spec parameters, and io_max_spec is recommended.
    • For more information about the valid values, see Billing.
    isPartitionBuy Number
    (Available since v1.214.1) The method that you use to purchase partitions.
    kmsKeyId String
    The ID of the key that is used to encrypt data on standard SSDs in the region of the instance.
    name String
    Name of your Kafka instance. The length should between 3 and 64 characters. If not set, will use instance id as instance name.
    paidType 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.
    partitionLeft Number
    (Available since v1.214.1) The number of available partitions.
    partitionNum Number
    The number of partitions.
    partitionUsed Number
    (Available since v1.214.1) The number of used partitions.
    securityGroup String
    The ID of security group for this instance. If the security group is empty, system will create a default one.
    selectedZones List<String>

    The zones among which you want to deploy the instance.

    NOTE: Arguments io_max, disk_size, topic_quota, eip_max should follow the following constraints.

    | io_max | disk_size(min-max:lag) | topic_quota(min-max:lag) | eip_max(min-max:lag) | |------|-------------|:----:|:-----:| |20 | 500-6100:100 | 50-450:1 | 1-160:1 | |30 | 800-6100:100 | 50-450:1 | 1-240:1 | |60 | 1400-6100:100 | 80-450:1 | 1-500:1 | |90 | 2100-6100:100 | 100-450:1 | 1-500:1 | |120 | 2700-6100:100 | 150-450:1 | 1-500:1 |

    serviceVersion String
    The kafka openSource version for this instance. Only 0.10.2 or 2.2.0 is allowed, default is 0.10.2.
    specType 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.
    status Number
    The status of the instance.
    tags Map<Any>
    A mapping of tags to assign to the resource.
    topicLeft Number
    (Available since v1.214.1) The number of available topics.
    topicNumOfBuy Number
    (Available since v1.214.1) The number of purchased topics.
    topicQuota Number
    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.

    Deprecated:Attribute topic_quota has been deprecated since 1.194.0 and it will be removed in the next future. Using new attribute partition_num instead.

    topicUsed Number
    (Available since v1.214.1) The number of used topics.
    vpcId String
    The VPC ID of the instance.
    vswitchId String
    The ID of attaching vswitch to instance.
    zoneId String
    The zone ID of the instance.

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.51.0 published on Saturday, Mar 23, 2024 by Pulumi