获取UDBbinlog列表-DescribeUDBInstanceBinlog

获取UDB指定时间段的binlog列表

Request Parameters

Parameter nameTypeDescriptionRequired
Regionstring地域, 参见 地域和可用区列表Yes
Zonestring可用区, 参见 可用区列表No
ProjectIdstring项目编号No
DBIdstringDB实例IdYes
BeginTimeint过滤条件:起始时间(时间戳)Yes
EndTimeint过滤条件:结束时间(时间戳)Yes

Response Elements

Parameter nameTypeDescriptionRequired
RetCodeint操作返回码Yes
Actionstring操作名称Yes
DataSetarray获取的Binlog信息列表 UDBInstanceBinlogSetNo

UDBInstanceBinlogSet

Parameter nameTypeDescriptionRequired
NamestringBinlog文件名No
SizeintBinlog文件大小No
BeginTimeintBinlog文件生成时间(时间戳)No
EndTimeintBinlog文件结束时间(时间戳)No

Request Example

http(s)://api.ucloud.cn/?Action=DescribeUDBInstanceBinlog
&Region=cn-bj2
&DBId=2bbf9968-2ded-48c5-89c0-4f4d683bdd6c
&BeginTime=1432569600
&EndTime=1432588600

Response Example

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