Tüm Ürünler
Search
Belge Merkezi

:DescribeScheduleTasks

Son Güncelleme:Sep 30, 2026

Tüm zamanlanmış görevlerin ayrıntılarını getirir.

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

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

polardb:DescribeScheduleTasks

get

*DBCluster

acs:polardb:{#regionId}:{#accountId}:dbcluster/{#DbClusterId}

None None

Request parameters

Parameter

Type

Required

Description

Example

Status

string

No

Görev durumu. Geçerli değerler:

  • pending: Görev yürütülmeyi bekliyor.

  • executing: Görev yürütülüyor.

  • failure: Görev başarısız oldu ve yeniden deneme bekliyor.

  • finish: Görev tamamlandı.

  • cancel: Görev iptal edildi.

  • expired: Görev, zamanlanmış zaman aralığında başlamadığı için süresi doldu.

  • rollback: Görev geri alınıyor.

Not

Bu parametre atlanırsa, tüm durumlardaki zamanlanmış görevler sorgulanır.

finish

DBClusterId

string

No

Küme kimliği.

Not
  • Küme kimlikleri de dahil olmak üzere belirli bir bölgedeki tüm kümelerin ayrıntılarını sorgulamak için DescribeDBClusters işlemini çağırabilirsiniz.

  • Bu parametre atlanırsa, hesabınızdaki tüm kümeler için zamanlanmış görevler sorgulanır. DescribeDBClusters

pc-**************

RegionId

string

No

Bölge kimliği.

Not
  • Kullanılabilir bölgeleri sorgulamak için DescribeRegions işlemini çağırabilirsiniz.

  • Bu parametre atlanırsa, hesabınızdaki tüm bölgelerdeki zamanlanmış görevler sorgulanır. DescribeRegions

cn-hangzhou

PageNumber

integer

No

Döndürülecek sayfanın numarası. Değer, 0'dan büyük bir tam sayı olmalıdır. Varsayılan değer: 1.

1

PageSize

integer

No

Her sayfada döndürülecek giriş sayısı. Geçerli değerler: 30 (varsayılan), 50 ve 100.

30

TaskAction

string

No

Zamanlanmış görevin eylemi. Geçerli değerler:

  • CreateDBNodes

  • ModifyDBNodeClass

  • UpgradeDBClusterVersion

  • ModifyDBClusterPrimaryZone

Not
  • Görev ayrıntıları yalnızca yukarıdaki API işlemlerinden birini çağırırken PlannedStartTime parametresini belirtirseniz döndürülür. Aksi takdirde, yanıttaki TimerInfos alanı boş olur.

  • Bu parametre atlanırsa, her türden zamanlanmış görevler sorgulanır.

CreateDBNodes

DBClusterDescription

string

No

Küme açıklaması.

testdb

OrderId

string

No

Sipariş kimliği.

Not

Sipariş kimliği yalnızca rakam içerebilir.

20951253014****

PlannedStartTime

string

No

Görevin en erken başlangıç zamanı. Zaman UTC biçimindedir.

2021-01-28T12:00Z

PlannedEndTime

string

No

Görevin en geç başlangıç zamanı. Zaman UTC biçimindedir. Görev bu zamana kadar başlamazsa süresi dolar.

2021-01-28T12:30Z

ResourceGroupId

string

No

Kaynak grubu kimliği.

rg-************

Response elements

Element

Type

Description

Example

object

Data

object

Sonuç kümesi.

PageNumber

integer

Sayfa numarası.

1

PageSize

integer

Sayfa başına giriş sayısı.

30

TimerInfos

array<object>

Zamanlanmış görevlerin ayrıntıları.

object

Action

string

Görev türü.

CreateDBNodes

CrontabJobId

string

Zamanlanmış O&M görevinin kimliği.

86293c29-a03d-4872-b625-***********

DBClusterId

string

Küme kimliği.

pc-**************

DbClusterDescription

string

Küme açıklaması.

test_cluster

DbClusterStatus

string

Küme durumu.

Running

OrderId

string

Sipariş kimliği.

Not

Bu parametre yalnızca Action CreateDBNodes veya ModifyDBNodeClass ise döndürülür.

208161753******

PlannedEndTime

string

Görevin en geç başlangıç zamanı. Zaman UTC biçimindedir.

2021-01-28T12:30Z

PlannedFlashingOffTime

string

Geçici geçiş için zamanlanmış zaman.

2021-01-28T12:30Z

PlannedStartTime

string

Görevin zamanlanmış başlangıç zamanı. Zaman UTC biçimindedir.

2021-01-28T12:00Z

PlannedTime

string

Görevin tahmini başlangıç zamanı. Zaman UTC biçimindedir.

2021-01-28T12:16Z

Region

string

Görevin bölge kimliği.

cn-hangzhou

Status

string

Görevin durumu.

finish

TaskCancel

boolean

Zamanlanmış görevin iptal edilip edilemeyeceğini gösterir. Geçerli değerler:

  • true

  • false

true

TaskId

string

Görev kimliği.

53879cdb-9a00-428e-acaf-ff4cff******

TotalRecordCount

integer

Toplam giriş sayısı.

1

Message

string

Yanıt mesajı.

Not

İstek başarılıysa Successful döndürülür. Aksi takdirde, bir hata mesajı döndürülür.

Successful

RequestId

string

İstek kimliği.

936C7025-27A5-4CB1-BB31-540E1F0CCA12

Success

boolean

İsteğin başarılı olup olmadığını gösterir.

true

Examples

Success response

JSON format

{
  "Data": {
    "PageNumber": 1,
    "PageSize": 30,
    "TimerInfos": [
      {
        "Action": "CreateDBNodes",
        "CrontabJobId": "86293c29-a03d-4872-b625-***********",
        "DBClusterId": "pc-**************",
        "DbClusterDescription": "test_cluster",
        "DbClusterStatus": "Running",
        "OrderId": "208161753******",
        "PlannedEndTime": "2021-01-28T12:30Z",
        "PlannedFlashingOffTime": "2021-01-28T12:30Z",
        "PlannedStartTime": "2021-01-28T12:00Z",
        "PlannedTime": "2021-01-28T12:16Z",
        "Region": "cn-hangzhou",
        "Status": "finish",
        "TaskCancel": true,
        "TaskId": "53879cdb-9a00-428e-acaf-ff4cff******"
      }
    ],
    "TotalRecordCount": 1
  },
  "Message": "Successful",
  "RequestId": "936C7025-27A5-4CB1-BB31-540E1F0CCA12",
  "Success": true
}

Error codes

HTTP status code

Error code

Error message

Description

400 InvalidOrderId.Malformed The specified parameter OrderId is not valid.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.