Red Hat Network API: system

Available methods

Description

Provides methods to access and modify many aspects of a system within the Red Hat Network.

Namespace: system


Method: addNote

Description:
Add a new note to the given server.

Parameters:

Returns:


Method: deleteSystems

Description:
Delete systems given a list of system ids.

Parameters:

Returns:


Method: downloadSystemId

Description:
Get the system_id file for a given server.

Parameters:

Returns:


Method: getCustomValues

Description:
Get the custom data values defined for the server.

Parameters:

Returns:


Method: getDetails

Description:
Get system details.

Parameters:

Returns:


Method: getEntitlements

Description:
Gets the entitlements for a given server.

Parameters:

Returns:


Method: getNetwork

Description:
Get the ip and hostname for a given server.

Parameters:

Returns:


Method: getNetworkDevices

Description:
Returns the network devices for the given server.

Parameters:

Returns:


Method: getRegistrationDate

Description:
Returns the date the system was registered.

Parameters:

Returns:


Method: isNvreInstalled

Description:
Is the package with the given nvre installed on given system.

Parameters:

Returns:


Method: isNvreInstalled

Description:
Is the package with the given nvre installed on given system.

Parameters:

Returns:


Method: listBaseChannels

Description:
Returns a list of subscribable base channels.

Parameters:

Returns:


Method: listChildChannels

Description:
Returns a list of subscribable child channels.

Parameters:

Returns:


Method: listGroups

Description:
List the available groups for a given system.

Parameters:

Returns:


Method: listHistoricalSystemEvents

Description:
List all historic system events for given server. This includes scheduled events for the server since it was registered. This may require the caller to filter the results to fetch the specific events they are looking for.

Parameters:

Returns:


Method: listLatestInstallablePackages

Description:
Get the list of latest installable packages for a given system.

Parameters:

Returns:


Method: listLatestUpgradablePackages

Description:
Get the list of latest upgradable packages for a given system.

Parameters:

Returns:


Method: listNewerInstalledPackages

Description:
Given a package name + version + release + epoch, returns the list of packages installed on the system w/ the same name that are newer.

Parameters:

Returns:


Method: listOlderInstalledPackages

Description:
Given a package name + version + release + epoch, returns the list of packages installed on the system w/ the same name that are older.

Parameters:

Returns:


Method: listPackages

Description:
List the installed packages for a given system.

Parameters:

Returns:


Method: listSystemEvents

Description:
List all system events for given server. This includes *all* events for the server since it was registered. This may require the caller to filter the results to fetch the specific events they are looking for.

Parameters:

Returns:


Method: listUserSystems

Description:
List systems for a given user.

Parameters:

Returns:


Method: listUserSystems

Description:
List systems for the logged in user.

Parameters:

Returns:


Method: obtainReactivationKey

Description:
Obtains a reactivation key for this server.

Parameters:

Returns:


Method: setBaseChannel

Description:
Assigns the server to a new baseChannel.

Parameters:

Returns:


Method: setChildChannels

Description:
Subscribes the given server to the child channels (ids).

Parameters:

Returns:


Method: setCustomValues

Description:
Set custom values for the specified server.

Parameters:

Returns:


Method: setDetails

Description:
Set server details. All arguments are optional and will only be modified if included in the struct.

Parameters:

Returns:


Method: setGroupMembership

Description:
Set a servers membership in a given group.

Parameters:

Returns:


Method: setProfileName

Description:
Set the profile name for the server.

Parameters:

Returns:


Method: upgradeEntitlement

Description:
Adds an entitlement to a given server.

Parameters:

Returns: