    # File lib/fog/cloudstack/models/compute/server.rb, line 79
            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,
                'group'             => group,
                '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) unless security_group_ids.empty?

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