lib/fog/cloudstack/models/compute/server.rb in fog-1.26.0 vs lib/fog/cloudstack/models/compute/server.rb in fog-1.27.0

- old
+ new

@@ -6,11 +6,11 @@ class Server < Fog::Compute::Server identity :id, :aliases => 'id' attribute :name attribute :account_name, :aliases => 'account' attribute :domain_name, :aliases => 'domain' - attribute :created + attribute :created, :type => :time attribute :state attribute :haenable attribute :memory attribute :display_name, :aliases => 'displayname' attribute :domain_id, :aliases => 'domainid' @@ -36,10 +36,11 @@ attribute :group attribute :key_name, :aliases => 'keypair' attribute :user_data, :aliases => 'userdata' attribute :security_group_list, :type => :array, :aliases => 'securitygroup' attribute :nics, :type => :array, :aliases => 'nic' + attribute :job_id, :aliases => 'jobid' # only on create attr_accessor :network_ids, :disk_offering_id, :ip_address, :ip_to_network_list attr_writer :security_group_ids alias_method :public_ip_address, :ip_address @@ -124,10 +125,10 @@ 'hostid' => host_id, 'ipaddress' => ip_address, 'iptonetworklist' => ip_to_network_list, 'projectid' => project_id, 'keypair' => key_name, - 'userdata' => user_data, + 'userdata' => user_data, } options.merge!('networkids' => network_ids) if network_ids options.merge!('securitygroupids' => security_group_ids) unless security_group_ids.empty?