All Products
Search
Document Center

Certificate Management Service:ListCloudResources

Last Updated:Jul 31, 2024

Queries the certificate resources of a cloud service provider and cloud services.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
CloudNamestringNo

The cloud service provider.

Valid values:

  • Tencent: Tencent Cloud
  • aliyun: Alibaba Cloud
Tencent
CloudProductstringNo

The cloud service. Only Content Delivery Network (CDN) is supported for Tencent Cloud.

SLB
SecretIdstringNo

The AccessKey ID used to access cloud resources.

21
KeywordstringNo

The domain name bound to the cloud resource.

cert-instanceId
CurrentPageintegerNo

The page number. Default value: 1.

1
ShowSizeintegerNo

The number of revoked certificates per page. Default value: 20.

20

Response parameters

ParameterTypeDescriptionExample
object

OpenApiPaginationResponse

Totallong

The total number of entries returned.

440
CurrentPageinteger

The page number. Default value: 1.

1
ShowSizeinteger

The number of certificate authority (CA) certificates per page. Default value: 20.

20
Dataarray<object>

The response parameters.

object
Idlong

The ID of the cloud resource.

2356
GmtCreatestring

The time when the cloud resource was created. The time is a timestamp in seconds.

1673423339000
GmtModifiedstring

The time when the cloud resource was last modified. The time is a timestamp in seconds.

1696911946000
CloudProductstring

The cloud service.

ALB
UserIdlong

The ID of the Alibaba Cloud account.

1666884372152785
CertIdlong

The ID of the certificate bound to the cloud resource.

12433121
CertNamestring

The name of the certificate bound to the cloud resource.

shop.amsaudio.cn
CertEndTimestring

The end date of the certificate bound to the cloud resource. The value is a timestamp in seconds.

1737795520000
CertStartTimestring

The start date of the certificate bound to the cloud resource. The value is a timestamp in seconds.

1706259520000
Domainstring

The domain name bound to the cloud resource.

www.tkgeo.ru
InstanceIdstring

The instance ID of the cloud resource.

Note This parameter is returned only when the value of CloudProduct is SLB, NLB, ALB, or GA.
nlb-rv05agjc97ovm14il5
ListenerIdstring

The listener ID of the cloud resource.

Note This parameter is returned only when the value of CloudProduct is SLB, NLB, ALB, or GA.
lsn-jiugof6t23et66lsnc@443
ListenerPortstring

The listening port of the cloud resource.

Note This parameter is returned only when the value of CloudProduct is SLB, NLB, ALB, or GA.
8047
EnableHttpsinteger

Indicates whether HTTPS is enabled for the cloud resource. Valid values:

  • 1: yes
  • 0: no
1
DefaultResourceinteger

Indicates whether the cloud resource is the default resource. Valid values:

  • 1: yes
  • 0: no
Note This parameter is returned only when the value of CloudProduct is SLB, NLB, ALB, or GA.
0
Statusstring

The status of the cloud resource.

BUY
UseSslinteger

Indicates whether an Alibaba Cloud SSL certificate is used. Valid values:

  • 1: yes
  • 0: no
Note This parameter is required only when you deploy certificates to services of multiple clouds.
1
RegionIdstring

The region ID of the cloud resource.

cn-hangzhou
CloudNamestring

The cloud service provider of the cloud resource. Valid values:

  • aliyun: Alibaba Cloud
  • Tencent: Tencent Cloud
aliyun
CloudRegionstring

The region ID of the cloud service provider to which the cloud resource belongs.

cn-hangzhou
CloudAccessIdstring

The AccessKey ID used to access cloud resources.

Note This parameter is required only when you deploy certificates to services of multiple clouds.
1234
RequestIdstring

The request ID.

12345678-1234-1234-1234-123456789ABC

Examples

Sample success responses

JSONformat

{
  "Total": 440,
  "CurrentPage": 1,
  "ShowSize": 20,
  "Data": [
    {
      "Id": 2356,
      "GmtCreate": "1673423339000",
      "GmtModified": "1696911946000",
      "CloudProduct": "ALB",
      "UserId": 1666884372152785,
      "CertId": 12433121,
      "CertName": "shop.amsaudio.cn",
      "CertEndTime": "1737795520000",
      "CertStartTime": "1706259520000",
      "Domain": "www.tkgeo.ru",
      "InstanceId": "nlb-rv05agjc97ovm14il5",
      "ListenerId": "lsn-jiugof6t23et66lsnc@443",
      "ListenerPort": "8047",
      "EnableHttps": 1,
      "DefaultResource": 0,
      "Status": "BUY",
      "UseSsl": 1,
      "RegionId": "cn-hangzhou",
      "CloudName": "aliyun",
      "CloudRegion": "cn-hangzhou\n",
      "CloudAccessId": "1234"
    }
  ],
  "RequestId": "12345678-1234-1234-1234-123456789ABC"
}

Error codes

For a list of error codes, visit the Service error codes.