huawei-cloud-api-definitions-Workspace 0.1.20250711

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":null,"components":null,"consumes":"[\"application/json\",\"application/json;charset=utf-8\"]","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"]}},"description":null,"group_id":"7383c32d5d5e4d0481c071faeb994404","host":"workspace.cn-north-4.myhuaweicloud.com","id":"41259d99bc6e4d70a0ad25e4ce3b4607","info_version":"v2","method":"delete","name":"DeleteMetricNotifyRule","parameters":{},"paths":{"/v2/{project_id}/statistics/notify-rules/{rule_id}":{"delete":{"description":"删除对应指标的通知规则;对应指标满足相应的规则条件时发送通知","operationId":"DeleteMetricNotifyRule","parameters":[{"description":"项目ID。","in":"path","maxLength":255,"minLength":1,"name":"project_id","required":true,"type":"string","x-annotations":["@Size(max = 255, min = 1)"],"x-example":"2b31ed520xxxxxxebedb6e57xxxxxxxx"},{"description":"用户Token。\n通过调用IAM服务获取用户Token接口获取(响应消息头中X-Subject-Token的值)。","in":"header","maxLength":64000,"minLength":1,"name":"X-Auth-Token","required":false,"type":"string","x-annotations":["@Size(max = 64000, min = 1)"],"x-example":"MIIDkgYJKoZIhvcNAQcCoIIDgzCCXXXXXX..."},{"description":"通知规则ID。","in":"path","maxLength":64,"minLength":1,"name":"rule_id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"响应成功。"},"400":{"description":"客户端请求有误。","schema":{"$ref":"#/definitions/ErrorRsp"}},"401":{"description":"鉴权失败。","schema":{"$ref":"#/definitions/ErrorRsp"}},"500":{"description":"内部错误。","schema":{"$ref":"#/definitions/ErrorRsp"}}},"summary":"删除通知规则","tags":["Statistics"],"x-api-type":"open-api","x-apiexplorer-hide":"N","x-apig-group":"internal_token,public","x-apigateway-request-type":"public","x-is-registered":"Y","x-methodAnnotations":["@EnableAuth","@IamAuthMeta(authLevel = IamAuthLevel.PROJECT, abacAction = \"workspace:statistics:deleteNotificationRules\", authContextInitializerName = \"workspaceCommonAuthContextInitializer\", needApigwJwtAuthCheck = false, rbac = {\"te_admin\", \"wks_adm\"})","@CtsMeta(serviceType = \"Workspace\", resourceType = \"workspace\", traceName = \"DelMetricNotifyRule\")"],"x-support-sdk":"Y"}}},"product_short":"Workspace","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":{"apig-auth-app":{"in":"header","name":"Authorization","type":"apiKey","x-apigateway-auth-type":"AppSigv1"},"apig-auth-iam":{"in":"header","name":"unused","type":"apiKey","x-apigateway-auth-type":"IAM"},"apig-auth-iam-used-authn5":{"in":"header","name":"unused","type":"apiKey","x-apigateway-auth-opt":{"inner-auth-type":"iam_auth_n5"},"x-apigateway-auth-type":"IAM"}},"summary":"删除通知规则","tags":"报表统计","uri":null,"version":"2.0"}