getGpuCount


SoftLayer_Virtual_Guest::getGpuCount

Description

The number of GPUs attached to the guest.

Parameters

None

Required Headers

Optional Headers

Return Values

  • int
curl -g -u $SL_USER:$SL_APIKEY -X GET \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Virtual_Guest/{SoftLayer_Virtual_GuestID}/getGpuCount'