34.22. Method: getDetails


Description

Get system details.

Parameters

The following parameters are available for this method:

  • string sessionKey
  • int serverId
Returns

The following return values are available for this method:

  • struct - server details
    • int id - System ID
    • string profile_name
    • string base_entitlement - System's base entitlement label; either enterprise_entitled or sw_mgr_entitled
    • array string
      • add-on_entitlements - System's add-on entitlements
      • Labels including monitoring_entitled, provisioning_entitled, virtualization_host, or virtualization_host_platform
    • boolean auto_update - true if system has auto errata updates enabled
    • string release - The Operating System release i.e. 4AS, 5Server, etc
    • string address1
    • string address2
    • string city
    • string state
    • string country
    • string building
    • string room
    • string rack
    • string description
    • string hostname
    • dateTime.iso8601 last_boot
    • string osa_status - Either unknown, offline, or online
    • boolean lock_status - true indicates the system is locked. false indicates that the system is unlocked
    • string virtualization - Virtualization type for virtual guests only (optional)
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