Class Fog::Compute::IBM::Server
In: lib/fog/ibm/models/compute/server.rb
Parent: Fog::Compute::Server

Methods

Constants

STATES = { 0 => 'New', 1 => 'Provisioning', 2 => 'Failed', 3 => 'Removed', 4 => 'Rejected', 5 => 'Active', 6 => 'Unknown', 7 => 'Deprovisioning', 8 => 'Restarting', 9 => 'Starting', 10 => 'Stopping', 11 => 'Stopped', 12 => 'Deprovisioning pending', 13 => 'Restart pending', 14 => 'Attaching', 15 => 'Detaching'

Public Class methods

Public Instance methods

create_image(opts={})

Alias for to_image

Expires the instance immediately

Sets expiration time - Pass an instance of Time.

Creates an image from the current instance if name isn‘t passed then we‘ll take the current name and timestamp it

[Validate]