Interface OperatingSystem.Service
-
- All Superinterfaces:
Maskable,ResultLimitable,Service
- Enclosing class:
- OperatingSystem
@ApiService("SoftLayer_Hardware_Component_Partition_OperatingSystem") public static interface OperatingSystem.Service extends Service
Every SoftLayer Operating System Partition Template is defined in the '''SoftLayer_Hardware_Component_Partition_OperatingSystem''' service. SoftLayer Operating System Partition Templates indicate which operating system a partition template may be used with to configure a hard drive.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OperatingSystem.ServiceAsyncasAsync()Get an async version of this serviceList<OperatingSystem>getAllObjects()OperatingSystemgetByDescription(String description)The '''getByDescription''' method retrieves all possible partition templates based on the description (required parameter) entered when calling the method.OperatingSystemgetObject()getObject retrieves the SoftLayer_Hardware_Component_Partition_OperatingSystem object whose ID number corresponds to the ID number of the init parameter passed to the SoftLayer_Hardware_Component_Partition_OperatingSystem service.sList<Template>getPartitionTemplates()Information regarding an operating system's [[SoftLayer_Hardware_Component_Partition_Template|Partition Templates]].voidsetMask(OperatingSystem.Mask mask)OperatingSystem.MaskwithMask()Use the existing mask on this service or create it if not presentOperatingSystem.MaskwithNewMask()Overwrite the existing mask on this service with a new one and return it-
Methods inherited from interface com.softlayer.api.ResultLimitable
getLastResponseTotalItemCount, getResultLimit, setResultLimit
-
-
-
-
Method Detail
-
asAsync
OperatingSystem.ServiceAsync asAsync()
Description copied from interface:ServiceGet an async version of this service
-
withNewMask
OperatingSystem.Mask withNewMask()
Description copied from interface:MaskableOverwrite the existing mask on this service with a new one and return it- Specified by:
withNewMaskin interfaceMaskable
-
withMask
OperatingSystem.Mask withMask()
Description copied from interface:MaskableUse the existing mask on this service or create it if not present
-
setMask
void setMask(OperatingSystem.Mask mask)
-
getAllObjects
@ApiMethod List<OperatingSystem> getAllObjects()
-
getByDescription
@ApiMethod OperatingSystem getByDescription(String 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'.
-
getObject
@ApiMethod(instanceRequired=true) OperatingSystem getObject()
getObject retrieves the SoftLayer_Hardware_Component_Partition_OperatingSystem object whose ID number corresponds to the ID number of the init parameter passed to the SoftLayer_Hardware_Component_Partition_OperatingSystem service.s
-
getPartitionTemplates
@ApiMethod(instanceRequired=true) List<Template> getPartitionTemplates()
Information regarding an operating system's [[SoftLayer_Hardware_Component_Partition_Template|Partition Templates]].
-
-