- DescribeUDBInstanceBinlog
Overview
Definition
Public Parameters
| Parameter Name | Type | Description Information | Required |
|---|---|---|---|
| Action | string | Corresponding API command name, the current API is DescribeUDBInstanceBinlog. | Yes |
| PublicKey | string | The user’s public key can be obtained from Console  | Yes |
| Signature | string | User signature generated based on public key and API command, see Signature Algorithm | Yes |
Request Parameters
| Parameter Name | Type | Description Information | Required |
|---|---|---|---|
| Region | string | Yes | |
| Zone | string | No | |
| ProjectId | string | No | |
| DBId | string | Yes | |
| BeginTime | int | Yes | |
| EndTime | int | Yes |
Response Field
| Field Name | Type | Description Information | Required |
|---|---|---|---|
| RetCode | int | Return status code. If it is 0, it means successful return. If it is not 0, it means failure. | Yes |
| Action | string | Operation command name. | Yes |
| Message | string | Returns an error message, providing detailed description when RetCode is non-zero. | No |
| DataSet | array[UDBInstanceBinlogSet] | No |
Data Model
UDBInstanceBinlogSet
| Field Name | Type | Description Information | Required |
|---|---|---|---|
| Name | string | No | |
| Size | int | No | |
| BeginTime | int | No | |
| EndTime | int | No |
Example
Request Example
https://api.sigcalcloud.com/?Action=DescribeUDBInstanceBinlog
&Region=cn-bj2
&DBId=2bbf9968-2ded-48c5-89c0-4f4d683bdd6c
&BeginTime=1432569600
&EndTime=1432588600Response 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
}