2.14.
CLASS: HOST PATCH
CHAPTER 2.
API REFERENCE
2.14
Class: host patch
2.14.1
Fields for class: host patch
Name
host patch
Description
Represents a patch stored on a server.
Quals
Field
Type
Description
RO
run
uuid
string
unique identifier/object reference
RO
ins
name/label
string
a human-readable name
RO
ins
name/description
string
a
notes
field
containg
human-
readable description
RO
ins
version
string
Patch version number
RO
ins
host
host ref
Host the patch relates to
RO
run
filename
string
Filename of the patch
RO
run
applied
bool
True if the patch has been applied
RO
run
timestamp applied
datetime
Time the patch was applied
RO
run
size
int
Size of the patch
RO
ins
pool patch
pool patch ref
The patch applied
RW
other config
(string
→
string) Map
additional configuration
2.14.2
RPCs associated with class: host patch
RPC name: destroy
Overview: This message is deprecated
Destroy the specified host patch, removing it from
the disk. This does NOT reverse the patch.
Signature:
void destroy (session_id s, host_patch ref self)
Arguments:
type
name
description
host patch ref
self
The patch to destroy
Return Type:
void
RPC name: apply
Overview: This message is deprecated
Apply the selected patch and return its output.
Signature:
string apply (session_id s, host_patch ref self)
Arguments:
type
name
description
host patch ref
self
The patch to apply
Return Type:
string
the output of the patch application process
138