Red Hat Training

A Red Hat training course is available for Red Hat Satellite

34.113. Method: setDetails

Description

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

Parameters

The following parameters are available for this method:

  • string sessionKey
  • int serverId - ID of server to look up details
  • struct - server details
    • string profile_name - System's profile name
    • string base_entitlement - System's base entitlement labe; either enterprise_entitled or sw_mgr_entitled
    • boolean auto_errata_update - true if system has auto errata updates enabled
    • string description - System description
    • string address1 - System's address line 1
    • string address2 - System's address line 2
    • string city
    • string state
    • string country
    • string building
    • string room
    • string rack
Returns

The following return values are available for this method:

  • int - 1 on success, exception thrown otherwise