huawei-cloud-api-definitions-BCC 0.1.20251025

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"","definitions":{"ErrorRsp":{"description":"失败时返回的错误对象","properties":{"error_code":{"description":"错误码","maxLength":36,"minLength":8,"type":"string"},"error_msg":{"description":"错误描述","maxLength":512,"minLength":2,"type":"string"}},"required":["error_code","error_msg"]},"ResourceNotifyBody":{"properties":{"capture_time":{"description":"捕获时间","example":"2025-05-19T06:21:37.812Z","maxLength":64,"minLength":0,"type":"string"},"checksum":{"description":"检验码","example":"7f7b5f71d16d9b17c5c0233a3164a590e19356a9cfb1f861a1bf8bcdbfe0a8c1","maxLength":128,"minLength":0,"type":"string"},"domain_id":{"description":"账户ID","example":"3e11d1ca792a47f2b1367fe4xxxxxxxx","maxLength":36,"minLength":0,"type":"string"},"event_id":{"description":"事件ID","example":"969a5362af532440fd9be802a0dd06aa","maxLength":512,"minLength":0,"type":"string"},"event_type":{"description":"事件类型:CREATE-创建,UPDATE-更新,DELETE-删除","enum":["CREATE","UPDATE","DELETE"],"example":"CREATE","type":"string"},"resource":{"$ref":"#/definitions/ResourceNotifyEntity","description":"资源信息"},"resource_id":{"description":"资源ID","example":"2f2a1910-32a6-45b6-9f34-61a7779f8558","maxLength":512,"minLength":0,"type":"string"},"resource_type":{"description":"资源类型","example":"cbr.backup","maxLength":64,"minLength":0,"type":"string"},"sync_type":{"description":"同步类型","example":"DELTA","maxLength":64,"minLength":0,"type":"string"}},"required":["event_id","domain_id","resource_id","resource_type","event_type"],"type":"object"},"ResourceNotifyEntity":{"description":"资源变化通知格式","properties":{"created":{"description":"资源创建时间","example":"2025-05-19T06:17:26Z","maxLength":64,"minLength":0,"type":"string"},"ep_id":{"description":"企业项目ID","maxLength":64,"minLength":0,"type":"string"},"name":{"description":"资源名称","example":"auto_rep_from_9eec19a3-8484-4ac2-ba9c-ba89e869552e","maxLength":512,"minLength":0,"type":"string"},"project_id":{"description":"Openstack中的项目ID","example":"1d9c62d1534b4f7394e4a0a363560826","maxLength":64,"minLength":0,"type":"string"},"properties":{"additionalProperties":{"type":"object"},"description":"资源详细属性","example":{"auto_trigger":true},"maxProperties":1000,"type":"object"},"provisioning_state":{"description":"资源操作状态","example":"Succeeded","maxLength":64,"minLength":0,"type":"string"},"region_id":{"description":"区域ID","example":"cn-southwest-242","maxLength":64,"minLength":0,"type":"string"},"tags":{"additionalProperties":{"example":"{\"a\":\"b\"} 标签元素不允许超过1000","maxLength":65536,"minLength":0,"type":"string"},"description":"资源标签","example":[{"a":"b"}],"maxProperties":1000,"type":"object"},"updated":{"description":"资源更新时间","example":"2025-05-19T06:21:34Z","maxLength":64,"minLength":0,"type":"string"}},"type":"object"}},"description":null,"group_id":"0cb6191c2c524d62be604224b207d979","host":"bcc.cn-north-4.myhuaweicloud.com","id":"57853def42a544a5a3f47a4ead312c1d","info_version":"v1","method":"put","name":"NotifyResourceChange","parameters":{},"paths":{"/v1/{domain_id}/resources/notify":{"put":{"consumes":["application/json"],"description":"资源变化通知,当资源的属性变动时,可能会改变资源归属的等级,进而可能导致合规结果的变化","operationId":"NotifyResourceChange","parameters":[{"description":"租户ID","in":"path","maxLength":36,"minLength":1,"name":"domain_id","required":true,"type":"string"},{"description":"资源对象信息","in":"body","name":"NotifyResourceChangeRequestBody","required":false,"schema":{"$ref":"#/definitions/ResourceNotifyBody"}}],"produces":["application/json"],"responses":{"204":{"description":"无返回"},"400":{"description":"请求错误","schema":{"$ref":"#/definitions/ErrorRsp"}},"401":{"description":"未提供认证信息或认证信息错误。","schema":{"$ref":"#/definitions/ErrorRsp"}},"403":{"description":"请求页面被禁止访问。","schema":{"$ref":"#/definitions/ErrorRsp"}},"404":{"description":"未找到资源。","schema":{"$ref":"#/definitions/ErrorRsp"}},"408":{"description":"请求超出了服务器的等待时间。","schema":{"$ref":"#/definitions/ErrorRsp"}},"429":{"description":"当前请求过多。","schema":{"$ref":"#/definitions/ErrorRsp"}},"500":{"description":"请求未完成,服务异常。","schema":{"$ref":"#/definitions/ErrorRsp"}},"503":{"description":"系统暂时不可用,请求受限。","schema":{"$ref":"#/definitions/ErrorRsp"}}},"summary":"资源变化通知","tags":["资源管理"],"x-api-type":"open-api","x-iam-auth-meta-anno":{"abacAction":"bcc::notifyResource","authContextInitializerName":"iamAuthCreateContextInitializer","authLevel":"NO_INSTANCE","model":"v5","needAbacCheck":true,"needAbacResourceCheck":false,"needApigwJwtAuthCheck":false,"needCbcCheck":false,"needRbacCheck":false,"needResourceTagCheck":false,"supportAllGrantedEps":false},"x-is-registered":"Y","x-method-annotations":["@CtsMeta(resourceType = \"Resources\", traceName = \"NotifyResourceChange\", operationId = \"NotifyResourceChange\", isReadOnly=false)"],"x-support-sdk":"Y"}}},"product_short":"BCC","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"资源变化通知","tags":"资源管理","uri":null,"version":"2.0"}