Obtain Instance Attribute

Last updated: 2020-06-05 18:50:24


    This is a legacy API which has been hidden and will no longer be updated. We recommend using the new CKafka API 3.0 which is standardized and faster.

    1. API Description

    This API (GetInstanceAttributes) is used to obtain the attributes of a CKafka instance under the user account.

    Domain name for API request: ckafka.api.qcloud.com

    2. Input Parameters

    The following request parameter list only provides API request parameters. Other parameters can be found in Common Request Parameters.

    Parameter Name Required Type Description
    instanceId Yes String Instance ID

    3. Output Parameters

    Parameter Name Type Description
    instanceId String Instance ID
    instanceName String Instance name
    vip String vip accessing the instance
    vport Int vport accessing the instance
    status Int Status of instance. 0: Creating; 1: Running; 2: Deleting.
    bandwith Int Instance bandwidth (in Mbps)
    diskSize Int Storage size of instance (in GB)
    vpcId String Being left empty means it is a basic network
    subnetId String
    zoneId Int Availability zone
    maxRetentionTime Int The maximum retention time of instance log (in minute)
    createTime Int Creation time, expressed as timestamp (in second)

    4. Example


     https://domain/v2/index.php?Action=GetInstanceAttributes&instanceId=ckafka-xxxxxx&<Common request parameters>


          "code" : 0,
          "message" : "ok",

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback