Method: XClarityClient::RemoteFileServerManagement#create_remotefileserver_profile

Defined in:
lib/xclarity_client/services/remotefileserver_management.rb

#create_remotefileserver_profile(opts) ⇒ Object



7
8
9
10
11
12
13
14
15
16
17
# File 'lib/xclarity_client/services/remotefileserver_management.rb', line 7

def create_remotefileserver_profile(opts) 
  request_body = JSON.generate(opts)
  res = Schemas.validate_input(:create_remotefileserver_profile,
                               request_body)
  if res[:result] == 'success'
    response = @connection.do_post(RemoteFileServer::BASE_URI,
                                   request_body)
  else
    res
  end
end