Hardware
SoftLayer_Hardware_Server::validatePartitionsForOperatingSystem

Overview

Validates a collection of partitions for an operating system

Parameters

operationSystem

SoftLayer_Software_Description

The operating system that is to be verified against.

partitions

SoftLayer_Hardware_Component_Partition

The partitions that are to be used with the operating system.

operatingSystem

SoftLayer_Software_Description

The operating system that is to be verified against.

Headers

n/a
authenticate

Return Values

boolean

Error Handling

  • SoftLayer_Exception_Public: Throws the exception 'Invalid operating system provided.' when the operating system description that was provided does not exist.
  • SoftLayer_Exception_Public: Throws the exception '
    partition is too small...' when the partition that was provided does not meet the minimum requirements
  • SoftLayer_Exception_Public: Throws the exception 'Missing required partitions:...' when partitions that are required for the operating system indicated are not provided.