huawei-cloud-api-definitions-CSS 0.1.20240129

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"[\"application/json\"]","definitions":{"GetLogSettingResponseBody":{"description":"请求日志配置返回的实体对象。","properties":{"logConfiguration":{"$ref":"#/definitions/logConfiguration","description":"日志配置实体对象。"}}},"logConfiguration":{"properties":{"agency":{"description":"委托名称,委托给CSS,允许CSS调用您的其他云服务。","example":"css_obs_agency","type":"string"},"autoEnable":{"description":"自动备份开关。\n- true: 自动备份开启。\n- false: 自动备份关闭。","example":false,"type":"boolean"},"basePath":{"description":"日志在OBS桶中的备份路径。","example":"css/log","type":"string"},"clusterId":{"description":"集群ID。","example":"4213d908-f5dc-4633-8401-cfd7175fca0c","type":"string"},"id":{"description":"日志备份ID,通过系统UUID生成。","example":"d455a541-597e-4846-a6be-baad0ea361b1","type":"string"},"logSwitch":{"description":"日志开关。\n- true: 日志开启。\n- false: 日志关闭。","example":true,"type":"boolean"},"obsBucket":{"description":"用于存储日志的OBS桶的桶名。","example":"css-auto-test","type":"string"},"period":{"description":"自动备份日志开始时间。当autoEnable为false时该字段为null。格式为:格林威治标准时间。","example":"00:00 GMT+08:00","type":"string"},"updateAt":{"description":"更新时间。格式为:Unix时间戳格式。","example":1633663681055,"format":"int64","type":"integer"}}}},"description":null,"group_id":"c917c7a19aa04328b7e47a1def0e0acd","host":"css.cn-north-4.myhuaweicloud.com","id":"f354eabc3e484dc18d63ee053ca989ce","info_version":"v1","method":"get","name":"ShowGetLogSetting","parameters":{},"paths":{"/v1.0/{project_id}/clusters/{cluster_id}/logs/settings":{"get":{"description":"该接口用于日志基础配置查询。","operationId":"ShowGetLogSetting","parameters":[{"description":"项目ID。获取方法请参见[获取项目ID和名称](css_03_0071.xml)。","in":"path","name":"project_id","required":true,"type":"string","x-example":"6204a5bd270343b5885144cf9c8c158d"},{"description":"指定查询集群ID。","in":"path","name":"cluster_id","required":true,"type":"string","x-example":"5c77b71c-5b35-4f50-8984-76387e42451a"}],"responses":{"200":{"description":"请求已成功。","examples":{"application/json":{"logConfiguration":{"agency":"css_obs_agency","autoEnable":false,"basePath":"css/log","clusterId":"4213d908-f5dc-4633-8401-cfd7175fca0c","id":"d455a541-597e-4846-a6be-baad0ea361b1","logSwitch":true,"obsBucket":"css-auto-test","period":"00:00 GMT+08:00","updateAt":1633663681055}}},"schema":{"$ref":"#/definitions/GetLogSettingResponseBody"}},"400":{"description":"非法请求。\n\n建议直接修改该请求,不要重试该请求。"},"409":{"description":"服务器在完成请求时发生冲突。\n\n返回该状态码,表明客户端尝试创建的资源已经存在,或者由于冲突请求的更新操作不能被完成。"},"412":{"description":"未满足前提条件,服务器未满足请求者在请求中设置的其中一个前提条件。"}},"summary":"查询日志基础配置","tags":["日志管理接口"],"x-apiexplorer-hide":"N","x-is-registered":"Y","x-publishpath":"","x-request-examples-url":"GET /v1.0/6204a5bd270343b5885144cf9c8c158d/clusters/5c77b71c-5b35-4f50-8984-76387e42451a/logs/settings","x-support-sdk":"Y"}}},"product_short":"CSS","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"查询日志基础配置","tags":"日志管理接口","uri":null,"version":"2.0"}