我正在尝试将公共网络接口的速度设置为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
]
}
只需像这样更改有效负载:
{
"parameters":[
0
]}