问题

使用REST API通过VM克隆的VM自定义名称

  • 2021年4月26日
  • 0答复
  • 119意见

徽章 +1

你好,

我一直在尝试通过REST API克隆VM给定自定义VM名称

但是我一直在收到Overided_spec的错误,即提供VM名称。

输入主体:{

{
“ Override_spec”:{
“名称”:“ Android 9克隆人4月26日”
},,
“元数据”:{
“ uuid”:“ A0E3E028-B53B-424C-BCBBBBF99C119FB92”
}
}

输出:

{
“ api_version”:“ 3.1”,
“代码”:422,
“ message_list”:[
{
“细节”: {
”:[[
“不允许其他属性(U'Override_spec'是意外的)”
这是给予的
},,
“消息”:“无法处理请求。”,
“原因”:“ invalid_request”
}
],,
“状态”:“错误”
}

从链接中引用了overrided_spec:

API VM克隆


0答复

成为第一个回复的人!

回复


Learn more about our cookies.<\/a>","cookiepolicy.button":"Accept cookies","cookiepolicy.button.deny":"Deny all","cookiepolicy.link":"Cookie settings","cookiepolicy.modal.title":"Cookie settings","cookiepolicy.modal.content":"We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.<\/a>","cookiepolicy.modal.level1":"Basic
Functional","cookiepolicy.modal.level2":"Normal
Functional + analytics","cookiepolicy.modal.level3":"Complete
Functional + analytics + social media + embedded videos"}}}">
Baidu