All Products
Search
Document Center

PolarDB:DescribeInspectionTaskAttribute

Last Updated:Nov 05, 2026

Queries the execution plan, associated clusters, and validity period of a specified inspection task.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

POST  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

TaskId

string

No

The ID of the inspection task to query. This parameter is required.

task-001

RegionId

string

No

The ID of the region where the task is located.

cn-beijing

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

The request ID.

2921D843-433A-5FB3-A03B-4EC093B219F8

ExpireTime

string

The expiration date of the inspection task.

2025-12-31

TaskDescription

string

The description of the inspection task.

Periodic inspection task

CronExpression

string

The cron expression for scheduling periodic inspections.

0 0 2 * * ?

TaskId

string

The ID of the inspection task.

task-001

DBClusterIds

string

The IDs of the PolarDB clusters to be inspected. Separate multiple IDs with commas.

pc-001,pc-002

CreateTime

string

The creation date of the inspection task.

2024-06-01

ModifyTime

string

The last modification date of the inspection task.

2024-06-01

Examples

Success response

JSON format

{
  "RequestId": "2921D843-433A-5FB3-A03B-4EC093B219F8",
  "ExpireTime": "2025-12-31",
  "TaskDescription": "定期巡检任务",
  "CronExpression": "0 0 2 * * ?",
  "TaskId": "task-001",
  "DBClusterIds": "pc-001,pc-002",
  "CreateTime": "2024-06-01",
  "ModifyTime": "2024-06-01"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.