All Products
Search
Document Center

Container Service for Kubernetes:DescribeHubClusterLogs

Last Updated:Sep 16, 2025

Queries the logs of the Fleet instance of a multi-cluster fleet of Distributed Cloud Container Platform for Kubernetes (ACK One).

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
adcp:DescribeHubClusterLogslist
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
ClusterIdstringYes

The ID of the Fleet instance. You can call the DescribeHubClusters operation to query the created Fleet instances.

c9cb1d933b2ab47ff9cd25571477dc8f2

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The request ID.

661192D7-25A6-54C2-B643-1129CB7D2768
Logsarray<object>

The details of operations logs.

Logobject

The content of the log entry.

CreationTimestring

The time when the log was created. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

2021-12-02T11:48:15+08:00
ClusterIdstring

The ID of the Fleet instance.

c102fe5f1ee5d4c87a68121a77d8b0f38
ClusterLogstring

The log of the Fleet instance.

Cluster Created
LogLevelstring

The log level. Valid values:

  • error
  • warn
  • info
INFO

Examples

Sample success responses

JSONformat

{
  "RequestId": "661192D7-25A6-54C2-B643-1129CB7D2768",
  "Logs": [
    {
      "CreationTime": "2021-12-02T11:48:15+08:00",
      "ClusterId": "c102fe5f1ee5d4c87a68121a77d8b0f38",
      "ClusterLog": "Cluster Created",
      "LogLevel": "INFO"
    }
  ]
}

Error codes

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

Change history

Change timeSummary of changesOperation
2022-03-15Add OperationView Change Details