Docs
api
Cloud Database(UDB)
DescribeUDBInstanceBinlog

- DescribeUDBInstanceBinlog

Overview

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is DescribeUDBInstanceBinlog.Yes
PublicKeystringThe user’s public key can be obtained from ConsoleYes
SignaturestringUser signature generated based on public key and API command, see Signature AlgorithmYes

Request Parameters

Parameter NameTypeDescription InformationRequired
RegionstringYes
ZonestringNo
ProjectIdstringNo
DBIdstringYes
BeginTimeintYes
EndTimeintYes

Response Field

Field NameTypeDescription InformationRequired
RetCodeintReturn status code. If it is 0, it means successful return. If it is not 0, it means failure.Yes
ActionstringOperation command name.Yes
MessagestringReturns an error message, providing detailed description when RetCode is non-zero.No
DataSetarray[UDBInstanceBinlogSet]No

Data Model

UDBInstanceBinlogSet

Field NameTypeDescription InformationRequired
NamestringNo
SizeintNo
BeginTimeintNo
EndTimeintNo

Example

Request Example

https://api.dezai.com/?Action=DescribeUDBInstanceBinlog
&Region=cn-bj2
&DBId=2bbf9968-2ded-48c5-89c0-4f4d683bdd6c
&BeginTime=1432569600
&EndTime=1432588600

Response Example

{
  "Action": "DescribeUDBInstanceBinlogResponse",
  "DataSet": [
    {
      "BeginTime": 1432698250,
      "EndTime": 1432698250,
      "Name": "mysql-bin.000004",
      "Size": 67543
    },
    {
      "BeginTime": 1432699250,
      "EndTime": 1432699250,
      "Name": "mysql-bin.000005",
      "Size": 67292
    }
  ],
  "RetCode": 0
}