class Jamf::NetBootServer

A NetBoot Server in the JSS

Only minimally implemented, mostly for access to the APIObject list methods

@see Jamf::APIObject

Constants

OBJECT_HISTORY_OBJECT_TYPE

the object type for this object in the object history table. See {APIObject#add_object_history_entry}

RSRC_BASE

The base for REST resources of this class

RSRC_LIST_KEY

the hash key used for the JSON list output of all objects in the JSS

RSRC_OBJECT_KEY

The hash key used for the JSON object output. It’s also used in various error messages

Attributes

boot_args[R]

@return [String] the nvram/bless args

boot_device[R]

@return [String] the nvram/bless args

boot_file[R]

@return [String] the nvram/bless args

configure_manually[R]

@return [Boolean]

default_image[R]

@return [boolean] is this one default?

image[R]

@return [String] the actual dmg name , eg “NetBoot.dmg”

ip_address[R]

@return [String] the server’s IP address

protocol[R]

@return [String] “nfs” or “http”

set[R]

@return [String] the nbi folder “MetroNB-test-10.9.3-1063.nbi”

share_point[R]

@return [String] the tftp/protocol sharepoint name, usually “NetBootSP0”

specific_image[R]

@return [Boolean]

target_platform[R]

@return [String] e.g.“Intel/x86”

Public Class Methods

new(**args) click to toggle source

See Jamf::APIObject#initialize

Calls superclass method Jamf::APIObject::new
    # File lib/jamf/api/classic/api_objects/netboot_server.rb
127 def initialize(**args)
128   super
129   @boot_args = @init_data[:boot_args]
130   @boot_device = @init_data[:boot_device]
131   @boot_file = @init_data[:boot_file]
132   @configure_manually = @init_data[:configure_manually]
133   @default_image = @init_data[:default_image]
134   @image = @init_data[:image]
135   @ip_address = @init_data[:ip_address]
136   @protocol = @init_data[:protocol]
137   @set = @init_data[:set]
138   @share_point = @init_data[:share_point]
139   @specific_image = @init_data[:specific_image]
140   @target_platform = @init_data[:target_platform]
141 
142 end