查询实例操作日志

url参数

ActionVersionMethod描述
DescribeRedisEvents2018-03-22GET查询redis实例操作日志

请求参数

参数名称说明参数类型是否必填备注
SourceId实例名称String
Limit一页显示条目Long
Offset偏移量Long
EndTimeUTC+8时间 单位:毫秒,检索该时间点以前的时间,默认当前时间Long
StartTimeUTC+8时间 单位:毫秒,检索该时间点以后的时间,默认最早时间Long
ActionDescribeRedisEventsString
Version2018-03-22String

返回参数

参数名称参数类型描述
RequestIdString请求id
CodeString公共错误码, “Success”表示成功,其他值表示失败
TotalCountLong日志个数
EventsArray日志对象数组

状态码

错误码(Code)错误提示(Message)http status code说明
InvalidParameterValue参数“{参数名}”不合法400请求参数不合法
MissingParameterRequired int parameter {parameter name} is not present400参数缺失
TypeMismatchparamIllegalTypeInt type is java.lang.String but require int please check!!!400类型不匹配

请求示例

GET https://open.cn-east-1.163yun.com/ncr?Action=DescribeRedisEvents&Version=2018-03-22&SourceId=smoke-autotest-ha-p903a&Limit=100&Offset=0

返回示例

{
  "RequestId": "4a2792e2-5f0a-4fc0-acd0-af08318d26ef",
  "Code": "Success",
  "TotalCount": 18,
  "Events": [
    {
      "EventId": 128072,
      "SourceId": "smoke-autotest-ha-p903a",
      "Message": "修改密码完成",
      "Date": 1535896080987
    },
    {
      "EventId": 128071,
      "SourceId": "smoke-autotest-ha-p903a",
      "Message": "开始修改密码...",
      "Date": 1535896078140
    },
    {
      "EventId": 128070,
      "SourceId": "smoke-autotest-ha-p903a",
      "Message": "恢复实例完成",
      "Date": 1535896060069
    },
    {
      "EventId": 128069,
      "SourceId": "smoke-autotest-ha-p903a",
      "Message": "开始恢复实例,请稍候...",
      "Date": 1535896057570
    },
    {
      "EventId": 128068,
      "SourceId": "smoke-autotest-ha-p903a",
      "Message": "备份实例完成",
      "Date": 1535896036913
    },
    {
      "EventId": 128067,
      "SourceId": "smoke-autotest-ha-p903a",
      "Message": "开始备份实例,请稍候...",
      "Date": 1535896035540
    },
    {
      "EventId": 128066,
      "SourceId": "smoke-autotest-ha-p903a",
      "Message": "修改配置完成",
      "Date": 1535896015665
    },
    {
      "EventId": 128065,
      "SourceId": "smoke-autotest-ha-p903a",
      "Message": "开始修改配置...",
      "Date": 1535896014753
    },
    {
      "EventId": 128063,
      "SourceId": "smoke-autotest-ha-p903a",
      "Message": "清除数据完成",
      "Date": 1535895975223
    },
    {
      "EventId": 128061,
      "SourceId": "smoke-autotest-ha-p903a",
      "Message": "开始清除数据...",
      "Date": 1535895973938
    },
    {
      "EventId": 128058,
      "SourceId": "smoke-autotest-ha-p903a",
      "Message": "扩容实例完成",
      "Date": 1535895946133
    },
    {
      "EventId": 128056,
      "SourceId": "smoke-autotest-ha-p903a",
      "Message": "开始扩容实例...",
      "Date": 1535895832149
    },
    {
      "EventId": 128055,
      "SourceId": "smoke-autotest-ha-p903a",
      "Message": "扩容实例完成",
      "Date": 1535895803890
    },
    {
      "EventId": 128054,
      "SourceId": "smoke-autotest-ha-p903a",
      "Message": "开始扩容实例...",
      "Date": 1535895690080
    },
    {
      "EventId": 128053,
      "SourceId": "smoke-autotest-ha-p903a",
      "Message": "创建实例成功",
      "Date": 1535895656715
    },
    {
      "EventId": 128052,
      "SourceId": "smoke-autotest-ha-p903a",
      "Message": "创建节点成功",
      "Date": 1535895656367
    },
    {
      "EventId": 128051,
      "SourceId": "smoke-autotest-ha-p903a",
      "Message": "创建主机成功",
      "Date": 1535895655759
    },
    {
      "EventId": 128050,
      "SourceId": "smoke-autotest-ha-p903a",
      "Message": "开始创建实例,请稍候......",
      "Date": 1535895587777
    }
  ]
}