34.127. setDetails


Name
setDetails
Description
Set server details. All arguments are optional and will only be modified if included in the struct.
Parameters
  • string sessionKey
  • int serverId - ID of server to lookup details for.
  • struct - server details
    • string profile_name - System's profile name
    • string base_entitlement - System's base entitlement label. (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
Return Value
  • int - 1 on success, exception thrown otherwise.
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.

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.

© 2024 Red Hat, Inc.