{"base_path":"/","components":null,"consumes":"[\"application/json\"]","definitions":{"PostgresqlHbaConf":{"properties":{"address":{"description":"客户端IP地址。0.0.0.0/0表示允许用户从任意IP地址访问数据库","type":"string"},"database":{"description":"数据库名,除template0,template1的数据库名,多个以逗号隔开","type":"string"},"mask":{"description":"掩码,默认为空字符串","type":"string"},"method":{"description":"认证方式。枚举:reject、md5、scram-sha-256","type":"string"},"priority":{"description":"优先级,表示配置的先后","format":"int32","type":"integer"},"type":{"description":"连接类型,枚举,host、hostssl、hostnossl","type":"string"},"user":{"description":"用户名,all,除内置用户(rdsAdmin, rdsMetric, rdsBackup, rdsRepl, rdsProxy)以外,多个以逗号隔开","type":"string"}},"required":["type","database","user","address","method","priority"],"type":"object"},"PostgresqlHbaHistory":{"properties":{"after_confs":{"description":"修改之后的值","items":{"$ref":"#/definitions/PostgresqlHbaConf"},"type":"array"},"before_confs":{"description":"修改之前的值","items":{"$ref":"#/definitions/PostgresqlHbaConf"},"type":"array"},"fail_reason":{"description":"修改失败原因","type":"string"},"status":{"description":"修改结果, success:已生效\n failed:未生效\n setting:设置中\",","type":"string"},"time":{"description":"修改时间","format":"date-time","type":"string"}},"type":"object"}},"description":null,"group_id":"b7735f867ef44182af9eb77490a46fbf","host":"rds.cn-north-4.myhuaweicloud.com","id":"102976362a1246b3bfbd1101957f3416","info_version":"v3","method":"get","name":"ListPostgresqlHbaInfoHistory","parameters":{},"paths":{"/v3/{project_id}/instances/{instance_id}/hba-info/history":{"get":{"description":"查询实例的pg_hba.conf文件修改历史","operationId":"ListPostgresqlHbaInfoHistory","parameters":[{"description":"项目id","in":"path","name":"project_id","required":true,"type":"string"},{"description":"实例id","in":"path","name":"instance_id","required":true,"type":"string"},{"default":"","description":"开始时间,不传默认当天0点(UTC时区)","format":"date-time","in":"query","name":"start_time","required":false,"type":"string"},{"default":"","description":"结束时间,不传默认当前时间(UTC时区)","format":"date-time","in":"query","name":"end_time","required":false,"type":"string"}],"responses":{"200":{"description":"","examples":{"application/json":[{"after_confs":[{"address":"0.0.0.0/0","database":"all","mask":"","method":"md5","priority":0,"type":"hostssl","user":"all"}],"before_confs":[{"address":"0.0.0.0/0","database":"all","mask":"","method":"md5","priority":0,"type":"host","user":"all"}],"fail_reason":"","status":"successs","time":"2023-08-01 09:00:00"}]},"schema":{"items":{"$ref":"#/definitions/PostgresqlHbaHistory"},"type":"array"}}},"summary":"查询实例的pg_hba.conf文件修改历史","tags":["实例管理"],"x-apigateway-ratelimit":"rds_user_policy","x-file":"Y","x-is-registered":"Y","x-request-examples-url-1":"https://{endpoint}/v3/0483b6b16e954cb88930a360d2c4e663/instances/e28979107ed04d3b8b2f1b819b8d2be3in03/hba-info/history?start_time=2023-08-01 00:00:00&end_time=2023-08-03 00:00:00","x-support-sdk":"Y"}}},"product_short":"RDS","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"查询实例的pg_hba.conf文件修改历史","tags":"实例管理","uri":null,"version":"2.0"}