All Products
Search
Document Center

Alibaba Cloud DNS:ListCloudGtmAlertLogs

Last Updated:Apr 21, 2025
This topic is generated by a machine translation engine without any human intervention. ALIBABA CLOUD DOES NOT GUARANTEE THE ACCURACY OF MACHINE TRANSLATED CONTENT. To request a human-translated version of this topic or provide feedback on this translation, please include it in the feedback form.

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
alidns:ListCloudGtmAlertLogslist
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
LangstringNo

Language type of the returned information:

  • zh-CN: Chinese
  • en-US: English
zh-CN
ActionTypestringNo

Alert type:

  • ALERT
  • RESUME
ALERT
EntityTypestringNo

Alarm object types:

  • GTM_ADDRESS: Address
  • GTM_ADDRESS_POOL: Address Pool
  • GTM_INSTANCE: Instance
  • GTM_MONITOR_TEMPLATE: Health Check Template
GTM_ADDRESS
KeywordstringNo

Search keyword, usually an address ID, address pool ID, domain information, etc.

pool-895280232254422016
StartTimestamplongYes

The start time of the query (timestamp).

1611328826977
EndTimestamplongYes

The end time of the query (timestamp).

1711328826977
PageNumberintegerYes

Current page number, starting from 1, default is 1.

1
PageSizeintegerYes

The number of rows per page when paginating queries, with a maximum value of 100 and a default of 20.

20

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

Unique request identification code.

536E9CAD-DB30-4647-AC87-AA5CC38C5382
PageNumberinteger

Current page number, starting from 1, default is 1.

1
PageSizeinteger

The number of rows per page when paginating queries, with a maximum value of 100 and a default of 20.

20
TotalPagesinteger

Total number of pages.

1
TotalItemsinteger

Total number of alarm log entries.

15
Logsarray<object>

The alert logs.

Logobject

The alert log.

ActionTypestring

Alert type:

  • ALERT
  • RESUME
ALERT
EntityTypestring

Alarm object types:

  • GTM_ADDRESS: Address
  • GTM_ADDRESS_POOL: Address Pool
  • GTM_INSTANCE: Instance
  • GTM_MONITOR_TEMPLATE: Health Check Template
GTM_ADDRESS
Contentstring

The alert content.

The alert content.
Timestamplong

Alert log time (timestamp).

1711328826977

Examples

Sample success responses

JSONformat

{
  "RequestId": "536E9CAD-DB30-4647-AC87-AA5CC38C5382",
  "PageNumber": 1,
  "PageSize": 20,
  "TotalPages": 1,
  "TotalItems": 15,
  "Logs": {
    "Log": [
      {
        "ActionType": "ALERT",
        "EntityType": "GTM_ADDRESS",
        "Content": "The alert content.",
        "Timestamp": 1711328826977
      }
    ]
  }
}

Error codes

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

Change history

Change timeSummary of changesOperation
No change history