基本信息

Action

DescribeLicenses

Path

/iaas

Method

GET

请求参数

此接口除公共参数外,还包含以下参数。关于公共参数的更多信息,请参见前文内容

参数名 类型 是否必须 描述

license_id

String

证书ID

license_type

String

证书类型

product_id

String

产品 ID

product_name

String

产品名称

reverse

Integer

查询结果是否反转

status

String

状态

sub_product_id

String

子产品 ID

返回数据

此接口除公共返回参数外,还包含以下返回参数。关于公共返回参数的更多信息,请参见前文内容

参数名 类型 是否必须 描述

license_set

Array

total_count

Integer

license_set 参数说明如下。

参数名 类型 描述

create_time

String

custom_data

String

end_time

String

hypernode_count

Integer

license_id

String

license_type

String

product_id

String

product_name

String

start_time

String

status

String

status_time

String

sub_product_id

String

version

String

zone

String

请求示例

{
  "license_code": "app-123123",
  "license_type": "app",
  "limit": 1,
  "offset": 1,
  "product_id": "product-xx",
  "product_name": "product-name",
  "reverse": 1,
  "status": "activate",
  "sub_product_id": "sub-product-xxx",
  "zone": "pek"
}

返回示例

{
  "action": "DescribeLicensesResponse",
  "license_set": [
    {
      "create_time": "2023-07-05T08:35:51Z",
      "custom_data": null,
      "end_time": "2023-10-04T08:35:51Z",
      "hypernode_count": 20,
      "license_id": "lc-6Xhrf3KW",
      "license_type": null,
      "product_id": null,
      "product_name": null,
      "start_time": "2023-07-05T08:35:51Z",
      "status": "enabled",
      "status_time": "2023-07-05T08:35:51Z",
      "sub_product_id": null,
      "version": null,
      "zone": null
    }
  ],
  "ret_code": 0,
  "total_count": 1
}