getByDescription


SoftLayer_Hardware_Component_Partition_OperatingSystem::getByDescription

Retrieves a list of all partition templates that match a certain description.

Description

The ‘‘‘getByDescription’’’ method retrieves all possible partition templates based on the description (required parameter) entered when calling the method. The description is typically the operating system’s name. Current recognized values include ’linux’, ‘windows’, ‘freebsd’, and ‘Debian’.

Parameters

Name Type Description
description string The description of the operating system

Required Headers

Optional Headers

Return Values

curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [string]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Hardware_Component_Partition_OperatingSystem/getByDescription'