All Products
Search
Document Center

ApsaraDB RDS:DescribeOssDownloads

Last Updated:Jul 05, 2024

Queries the backup files that are included in a backup data migration task of an ApsaraDB RDS for SQL Server instance.

Operation description

Supported database engines

  • SQL Server

Usage notes

This operation is not supported for instances that run SQL Server 2017 EE or SQL Server 2019 EE.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
DBInstanceIdstringYes

The instance ID. You can call the DescribeDBInstances operation to query the instance ID.

rm-uf6wjk5xxxxxxx
MigrateTaskIdstringYes

The migration task ID. You can call the DescribeMigrateTasks operation to query the migration task ID.

5625458541
ResourceGroupIdstringNo

The ID of the resource group.

rg-acfmy*****

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

DBInstanceIdstring

The instance ID.

rm-uf6wjk5xxxxxxx
RequestIdstring

The request ID.

A5409D02-D661-4BF3-8F3D-0A814D0574E7
MigrateTaskIdstring

The ID of the migration task.

562154852
Itemsarray<object>

Details of the backup file.

object
EndTimestring

The end of the time range during which data was queried. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

2017-08-27T12:45:15Z
Statusstring

The state of the backup file. Valid values:

  • NoStart
  • Downloading
  • Finished
  • DownloadFailed
  • VerifyFailed
  • Deleted
  • DeleteFailed
  • CheckSuccess
  • CheckFailed
  • Restoring
  • Restored
  • RestoreFailed
Finished
Descriptionstring

The description of the backup file.

App description
CreateTimestring

The time when the backup file was created in the download list. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

2017-08-17T12:45:15Z
BackupModestring

The backup type. Valid values:

  • Database: full backup file
  • Differential_Database: incremental backup file
  • Transaction_Log: log backup file
Database
IsAvailablestring

Indicates whether the backup file is available. Valid values: True and False.

True
FileNamestring

The name of the backup file stored in the Object Storage Service (OSS) bucket.

test
FileSizestring

The size of the backup file. Unit: MB

2

Examples

Sample success responses

JSONformat

{
  "DBInstanceId": "rm-uf6wjk5xxxxxxx",
  "RequestId": "A5409D02-D661-4BF3-8F3D-0A814D0574E7",
  "MigrateTaskId": "562154852",
  "Items": {
    "OssDownload": [
      {
        "EndTime": "2017-08-27T12:45:15Z",
        "Status": "Finished",
        "Description": "App description",
        "CreateTime": "2017-08-17T12:45:15Z",
        "BackupMode": "Database",
        "IsAvailable": "True",
        "FileName": "test",
        "FileSize": "2"
      }
    ]
  }
}

Error codes

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

Change history

Change timeSummary of changesOperation
2022-08-04The request parameters of the API has changedView Change Details