All Products
Search
Document Center

ApsaraDB RDS:GetScheduledInstances

Last Updated:Mar 05, 2026

Queries the IDs of all instances that are included by a specified scheduled inspection configuration.

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
rdsai:GetScheduledInstancesget
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
ScheduledIdstringYes

The ID of the scheduled inspection configuration.

847268a4-196f-416b-aa12-bfe0c115****
PageNumberlongNo

The page number. Pages start from 1. Default value: 1.

1
PageSizelongNo

The number of records on each page. Default value: 20. Maximum value: 100.

20

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

Successboolean

Indicates whether the request was successful.

true
Messagestring

The response message.

Instancesarray<object>

The list of instances included in the inspection configuration.

Instanceobject
InstanceIdstring

The instance ID.

rm-2zep6e5u6l2yu****
InstanceDescstring

The instance description.

EngineTypestring

The engine type.

MySQL
Regionstring

The region in which the instance resides.

cn-hangzhou
Statusstring

The status of the instance.

Running
TotalCountlong

The total number of records that are returned.

20
PageNumberlong

The page number. Pages start from 1. Default value: 1.

1
PageSizelong

The number of records on each page. Default value: 20. Maximum value: 100.

10
RequestIdstring

The request ID.

FE9C65D7-930F-57A5-A207-8C396329****

Examples

Sample success responses

JSONformat

{
  "Success": true,
  "Message": "",
  "Instances": [
    {
      "InstanceId": "rm-2zep6e5u6l2yu****",
      "InstanceDesc": "",
      "EngineType": "MySQL ",
      "Region": "cn-hangzhou",
      "Status": "Running"
    }
  ],
  "TotalCount": 20,
  "PageNumber": 1,
  "PageSize": 10,
  "RequestId": "FE9C65D7-930F-57A5-A207-8C396329****"
}

Error codes

HTTP status codeError codeError messageDescription
400InvalidParameterRequest parameter validation failed.Request parameter verification failed
403PermissionDeniedUser has no operation permission.User has no operation permission
403InvalidUserOrderThere is no valid order for this UID.There is no valid order for this UID
404TaskNotFoundThe resource of the specified ld does not exist.The resource of the specified ld does not exist.
500InternalErrorSystem internal exception.System internal exception

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

Change history

Change timeSummary of changesOperation
2026-02-05Add OperationView Change Details