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
Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat