尝试将公共网络接口速度设置为0

问题描述 投票:0回答:1

我正在尝试将公共网络接口的速度设置为0。出现以下错误,

{
  "error":"Speed cannot be null and must be 0 (Disconnect), 10, 100, 1000, or 10000.",
  "code":"SoftLayer_Exception_Public"
}

URL为:https://api.softlayer.com/rest/v3/SoftLayer_Virtual_Guest/100862242/setPublicNetworkInterfaceSpeed

方法是GET。传递的参数是:

{
   "parameters" :
    [
        "newSpeed" : 0
    ]
}
ibm-cloud-infrastructure
1个回答
0
投票

只需像这样更改有效负载:

{  
 "parameters":[  
    0
]}
© www.soinside.com 2019 - 2024. All rights reserved.