attachDiskImage


SoftLayer_Virtual_Guest::attachDiskImage

Attaches a disk image.

Overview

Creates a transaction to attach a guest’s disk image. If the disk image is already attached it will be ignored.

WARNING: SoftLayer_Virtual_Guest::checkHostDiskAvailability should be called before this method. If the SoftLayer_Virtual_Guest::checkHostDiskAvailability method is not called before this method, the guest migration will happen automatically.

Parameters

Name Type Description
imageId integer

Required Headers

  • authenticate
  • SoftLayer_Virtual_GuestInitParameters

Optional Headers

  • SoftLayer_Virtual_GuestObjectMask
  • SoftLayer_ObjectMask

Return Values

SoftLayer_Provisioning_Version1_Transaction


/reference/services/SoftLayer_Virtual_Guest/attachDiskImage/