I am trying to create a VSI with vGPU. What field in the JSON payload do I pass in on the POST to create a vGPU VSI? What field in the JSON payload do I interrogate on a get that indicates the VSI is a vGPU device?
相关问题
- Apache web server timeout after 60 seconds
- SoftLayer API : How to get NetScaler list in Softl
- Getting bandWidth data in SL
- Password Update in SL
- Impersonating another user in SoftLayer
相关文章
- Getting bandWidth data in SL
- Password Update in SL
- Impersonating another user in SoftLayer
- New items for SoftLayer virtual server order?
- No Data for IOPS while Selecting Storage Size 250G
- how to order SoftLayer_Virtual_ReservedCapacityGro
- How do you upgrade a Snapshot space on Endurance s
- ObjectFilter in SoftLayer doesn't work
You can use this rest api to create a new VSI with GPU using the method createObject of the SoftLayer_Virtual_Guest service.
Method: POST
Body: Json
You have to add the GPU value in the attribute "flavorKeyName".
To get the "flavorKeyName" you can use the rest api that is above.
"AC1_8X60X25"
it means (8 x 2.0 GHz Cores, 60 GB RAM , 25 GB (SAN) FIRST DISK)
To create a new VSI using GPU, you can use this rest api:
Method: POST
Body: Json
The GPU option is only available in the DALLAS13 location and you have to add the attribute "presetId", is there where the flavor GPU is added.
The option ACL1 and AC1 are selected for GPU.
e.g
it means (8 x 2.0 GHz Cores, 60 GB RAM , 25 GB (SAN) FIRST DISK)
To get the GPU presetId values you can use this rest api:
Method: GET
You can search the GPU option by ACL1 o AC1.
The result will be:
And you can use this rest api to know the characteristics of the GPU, searching by the name:
e.g "name": "AC1.8x60x25"
Method: GET
To know that the VSI is a GPU you can use this rest api:
Method: GET
You have to search by the preset value.