Method: OneviewSDK::API200::ServerProfile#get_messages

Defined in:
lib/oneview-sdk/resource/api200/server_profile.rb

#get_messagesHash

Retrieves the error or status messages associated with the specified profile.

Returns:

  • (Hash)

    Hash containing the required information



71
72
73
74
75
# File 'lib/oneview-sdk/resource/api200/server_profile.rb', line 71

def get_messages
  ensure_client & ensure_uri
  response = @client.rest_get("#{self['uri']}/messages")
  @client.response_handler(response)
end