    # File lib/fog/cloudstack/models/compute/server.rb, line 78
            def save
              requires :image_id, :flavor_id, :zone_id

              options = {
                'templateid'        => image_id,
                'serviceofferingid' => flavor_id,
                'zoneid'            => zone_id,
                'networkids'        => network_ids,
                'diskofferingid'    => disk_offering_id,
                'displayname'       => display_name,
                'domainid'          => domain_id,
                'hostid'            => host_id,
                'ipaddress'         => ip_address,
                'iptonetworklist'   => ip_to_network_list,
                'projectid'         => project_id,
              }

              options.merge!('networkids' => network_ids) if network_ids
              options.merge!('securitygroupids' => security_group_ids) if security_group_ids

              data = connection.deploy_virtual_machine(options)
              merge_attributes(data['deployvirtualmachineresponse'])
            end