API网关 APIG-获取SSL证书列表:响应参数

时间:2023-12-01 09:43:01

响应参数

状态码: 200

表4 响应Body参数

参数

参数类型

描述

size

Integer

本次返回的列表长度

total

Long

满足条件的记录数

certs

Array of CertBase objects

证书基本内容

表5 CertBase

参数

参数类型

描述

id

String

证书ID

name

String

证书名称

type

String

证书类型

  • global:全局证书

  • instance:实例证书

枚举值:

  • global

  • instance

instance_id

String

实例编码

  • typeglobal时,缺省为common

  • typeinstance时,为实例编码

project_id

String

租户项目编号

common_name

String

域名

san

Array of strings

san扩展域名

not_after

String

有效期到

signature_algorithm

String

签名算法

create_time

String

创建时间

update_time

String

更新时间

is_has_trusted_root_ca

Boolean

是否存在信任的根证书CA。当绑定证书存在trusted_root_ca时为true。

缺省值:false

状态码: 400

表6 响应Body参数

参数

参数类型

描述

error_code

String

错误码

error_msg

String

错误描述

状态码: 401

表7 响应Body参数

参数

参数类型

描述

error_code

String

错误码

error_msg

String

错误描述

状态码: 403

表8 响应Body参数

参数

参数类型

描述

error_code

String

错误码

error_msg

String

错误描述

状态码: 500

表9 响应Body参数

参数

参数类型

描述

error_code

String

错误码

error_msg

String

错误描述

support.huaweicloud.com/api-apig/ListCertificatesV2.html