huawei-cloud-api-definitions-DataArtsStudio 0.1.20250411

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"[\"application/json;charset=UTF-8\"]","definitions":{"ApigChangeResourceReq":{"description":"规格变更信息请求体","example":{"change_mode":30,"product_id":"","resource_id":"2b6c183a606f4983b503b6427ba5db30","resource_spec_code":"dayu.experience"},"properties":{"change_mode":{"description":"规格变更类型:10:升配;30:降配;40:续费;60:扩容;70:切换操作系统","maximum":70,"minimum":10,"type":"integer"},"product_id":{"description":"产品id","pattern":"^[a-zA-Z0-9]{1,1024}$","type":"string"},"promotion_info":{"description":"促销信息","maxLength":1024,"minLength":1,"type":"string"},"resource_id":{"description":"资源id","pattern":"^[a-zA-Z0-9]{1,1024}$","type":"string"},"resource_spec_code":{"description":"资源规格编码","pattern":"^[a-zA-Z0-9.]{1,1024}$","type":"string"}},"required":["resource_id","resource_spec_code","change_mode"],"type":"object"},"DayuException":{"description":"dayu异常返回体","properties":{"error_code":{"description":"dayu异常码","maxLength":1024,"minLength":1,"type":"string"},"error_msg":{"description":"错误信息","maxLength":1024,"minLength":1,"type":"string"}},"type":"object"}},"description":null,"group_id":"23bb69798aaf409da161a43a90617121","host":"dayu.cn-north-4.myhuaweicloud.com","id":"0d8d4d05e2b74f35a5e529beddc61db5","info_version":"v1","method":"post","name":"ChangeResource","parameters":{},"paths":{"/v1/{project_id}/change-resource":{"post":{"description":"规格变更接口","operationId":"ChangeResource","parameters":[{"description":"项目id","in":"path","maxLength":1024,"minLength":1,"name":"project_id","required":true,"type":"string"},{"description":"规格变更信息请求体","in":"body","name":"apigChangeResourceReq","required":true,"schema":{"$ref":"#/definitions/ApigChangeResourceReq"}},{"description":"IAM TOKEN","in":"header","maxLength":1024,"minLength":1,"name":"X-Auth-Token","required":true,"type":"string"}],"responses":{"200":{"description":"OK,规格变更请求成功"},"400":{"$ref":"#/definitions/DayuException"},"500":{"$ref":"#/definitions/DayuException"}},"summary":"规格变更接口","tags":["实例规格变更接口"],"x-is-registered":"Y","x-support-sdk":"Y"}}},"product_short":"DataArtsStudio","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"规格变更接口","tags":"实例规格变更接口","uri":null,"version":"2.0"}