列举集群信息-ListUKafkaInstance

列举集群信息

Request Parameters

Parameter nameTypeDescriptionRequired
Regionstring地域。 参见 地域和可用区列表Yes
Zonestring可用区。参见 可用区列表No
ProjectIdstring项目ID。不填写为默认项目,子帐号必须填写。 请参考GetProjectList接口No
Limitstring默认为60No
Offsetstring默认为0No
Filterstring是否过滤删除了的节点,默认为‘true’No
VPCIdstringVPCIdNo
SubnetIdstringSubnetIdNo
BusinessIdstringBusinessIdNo
ClusterInstanceIdstring集群IDNo

Response Elements

Parameter nameTypeDescriptionRequired
RetCodeint操作返回码Yes
Actionstring操作名称Yes
ClusterSetstring信息Yes
TotalCountstring总数Yes

Request Example

https://api.ucloud.cn/?Action=ListUKafkaInstance
&Region=cn-zj
&Zone=cn-zj-01
&ProjectId=psLewFbM
&Limit=LidCsVTz
&Offset=Rtvvkzbo
&Filter=xaSWuIxd
&VPCId=JiyiuaGj
&SubnetId=lpUAUCTy
&BusinessId=HttFFiEn
&ClusterInstanceId=bfibtMTE

Response Example

{
    "RetCode": 0,
    "Action": "ListUKafkaInstanceResponse",
    "TotalCount": 1,
    "ClusterSet": [
        {
            "Zone": "cn-bj2-02",
            "ClusterInstanceId": "ukafka-5xagjz",
            "ClusterInstanceName": "test",
            "Framework": "Kafka",
            "FrameworkVersion": "1.1.1",
            "Remark": "",
            "CreateTime": 1550476133,
            "RunningTime": 5623,
            "ExpireTime": 1551369600,
            "AutoRenew": "Yes",
            "ChargeType": "Month",
            "UHostCount": 3,
            "RedundantCount": 0,
            "State": "Running",
            "Tag": "Default",
            "VPCId": "uvnet-rgi3ym",
            "SubnetId": "subnet-ah4q5l",
            "BusinessId": "",
            "NewMessage": "Yes"
        }
    ]
}