跳到主要内容

查询证书

查询负载均衡器证书信息

请求参数

参数名参数类型是否必填参数说明
ActionString操作方法:DescribePems
RegionString机房标识,取值参见地域列表
OffsetInteger记录偏移量,不指定取 0
CountInteger记录数量,不指定为全部
Id.NStringID
RelatedId.NString相关的SSL证书ID
NameString名称
CreateStartTimeString创建开始时间 格式yyyy-MM-dd HH:mm:ss
CreateEndTimeString创建结束时间 格式yyyy-MM-dd HH:mm:ss

返回参数

名称类型说明
ActionString执行的操作
TaskIdString请求标识
TotalCountInteger过滤条件下总共记录数
LBPemSetLBPem list证书信息列表

LBPem

LBPem的数据类型

名称类型说明
IdStringPEM 标识
RelatedIdString相关的SSL证书ID
NameString名称
PrivateKeyString私钥内容
CertificateString证书内容
DescriptionString描述
CreateTimeDate创建时间
LbNumsInteger应用负载均衡器数量
UserIdString所属用户ID

请求示例

http://api.chinac.com/v2/?Action=DescribePems
&<公共请求参数>

返回示例

{
"code": 10000,
"message": "",
"data": {
"TaskId": "o9w9i20170510095057981",
"Action": "DescribePems",
"TotalCount": 1,
"LBPemSet": [{
"Id": "lbp-2j9ih48dng97y",
"Name": "adadv",
"PrivateKey": "-----BEGIN RSA PRIVATE KEY-----
MIIEowIBAAKCAQEA4SDxevI9hl+Vhb5r/rlL7qOOGpet3GOIwnm/ziotaAf2oAO0
UEHIqVx4T8TJ4SCOq9rMmQZV4uJCNEwnAKcyqlw+j1NHRrwk3n1MowRYhISvLlUK
7Pnk1QYQILgZHaf2vdXp9+JDMA8BgVBefReb1Ra8VnJMCT24hpxHyZNg2dlbtf6m
fm0e2uPt/WWbKHdyfB7MNCjrg+3Ob2WjOj5LfRjn6s3H9Auzge9ar22hzUwtycfG
fSE9e8JYv2zmrIsQHEG1h7e86UuZG/j30MSQJSukJk5yxqJor0fQjXRvGKdGqVML
G29RIRLYt4mZqzNXfTRwX4sxQQhYnCPo85hgjQIDAQABAoIBAQCJ86TloNDgqWu3
U9NbeHI2HlTyqKVqGjfwa6iEDcZbLB4NOZfhYh4y4a37u2u1nzytxFqBHqe8ascE
DF+D+5owjCVRymDjsOXUMCpkXQA+z0AfY7ep9DFEfdTEOLCiWCMvtXTTAoGBAOwO
vSzL1puShf6wC+9tONC6DDHRgW4rreqMZECChbP63t9rimFEYOeko11VplE0zIml
Hk1JCG/jnh3kXtA6ubKhLB1h/MUabF4tAKKIkmqJymkayJ4grTrtFNlTnu86aMIf
AjwgnfHvmQQcHGbd3TdYiiJa03E6seJKD1LnfgzQUYRoYX6eSBF9p75dFJ2GSTfI
jbe67Cxo5912YjzNJNtdHUM0wZkKdsfHVpaXrUYDKwMQZpP96zLx
-----END RSA PRIVATE KEY-----
",
"Certificate": "-----BEGIN CERTIFICATE-----
adfadfvafdva
-----END CERTIFICATE-----",
"Description": "adv",
"CreateTime": "2017-06-10T11:28:32 +0800",
"LbNums": 0,
"UserId": "11222"
}]
}
}