列举集群信息-ListUKafkaInstance
列举集群信息
Request Parameters
Parameter name | Type | Description | Required |
Region | string | 地域。 参见 地域和可用区列表 | Yes |
Zone | string | 可用区。参见 可用区列表 | No |
ProjectId | string | 项目ID。不填写为默认项目,子帐号必须填写。 请参考GetProjectList接口 | No |
Limit | string | 默认为60 | No |
Offset | string | 默认为0 | No |
Filter | string | 是否过滤删除了的节点,默认为‘true’ | No |
VPCId | string | VPCId | No |
SubnetId | string | SubnetId | No |
BusinessId | string | BusinessId | No |
ClusterInstanceId | string | 集群ID | No |
Response Elements
Parameter name | Type | Description | Required |
RetCode | int | 操作返回码 | Yes |
Action | string | 操作名称 | Yes |
ClusterSet | string | 信息 | Yes |
TotalCount | string | 总数 | 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" } ] }