All Products
Search
Document Center

PolarDB:CreateInspectionTask

Last Updated:Nov 04, 2026

Creates a periodic inspection task for specified PolarDB clusters.

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

DBClusterList

array<object>

No

The list of clusters associated with the inspection task.

object

No

DBClusterId

string

No

The ID of the PolarDB cluster to be inspected.

pc-test123456

RegionId

string

No

The ID of the region where the cluster to be inspected resides.

cn-beijing

ResourceGroupId

string

No

The ID of the resource group.

rg-123

CronExpression

string

No

The cron expression for the inspection task, which specifies the periodic execution schedule.

0 0 * * *

TaskDescription

string

No

The description of the inspection task.

Periodic inspection task

RegionId

string

No

The ID of the region where the task resides.

cn-beijing

SpaceId

string

No

The ID of the inspection workspace.

space-123

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

The ID of the request.

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

TaskId

string

The ID of the created inspection task.

task-123

Examples

Success response

JSON format

{
  "RequestId": "2921D843-433A-5FB3-A03B-4EC093B219F8",
  "TaskId": "task-123"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.