AI开发平台MODELARTS-更新模型服务的单个属性:请求示例

时间:2024-11-22 17:41:07

请求示例

更新模型服务单个属性。

PUT https://{endpoint}/v1/{project_id}/services/{service_id}/property

{
  "changed_property" : "instance_count",
  "configs" : [ {
    "model_id" : "98240f41-6c69-437c-b894-9c488b1d9c43",
    "changed_value" : 2
  } ]
}
support.huaweicloud.com/api-modelarts/modelarts_03_b365c2c5-17ff-4f1b-87ea-540eead28225.html