greyhoundforty
11/4/2016 - 8:48 PM

Migrating a VSI from SAN to Local storage

Migrating a VSI from SAN to Local storage

Migrating a VSI from SAN to Local storage

Example CURL:

curl --user "$SOFTLAYER_USERNAME:$SOFTLAYER_API_KEY" -X POST --data @migrate.json
https://api.softlayer.com/rest/v3/SoftLayer_Product_Order/verifyOrder

Input JSON:

{  
   "parameters":[  
      {  
         "complexType":"SoftLayer_Container_Product_Order_Virtual_Guest_Upgrade",
         "packageId":46,
         "prices":[  
            {  
               "id":13899,
               "categories":[  
                  {  
                     "categoryCode":"guest_disk0",
                     "id":81,
                     "name":"First Disk"
                  }
               ]
            }
         ],
         "properties":[  
            {  
               "name":"MAINTENANCE_WINDOW",
               "value":"now"
            }
         ],
         "virtualGuests":[  
            {  
               "id":25367125
            }
         ]
      }
   ]
}