Module: XClarityClient::Mixins::RemoteFileServerMixin
- Included in:
- Client
- Defined in:
- lib/xclarity_client/mixins/remote_file_server_mixin.rb
Overview
Exposes RemoteFileServerManagement features
Instance Method Summary collapse
- #create_remotefileserver_profile(opts = {}) ⇒ Object
- #delete_remotefileserver_profile(server_id = '') ⇒ Object
- #get_remotefileserver_profile(server_id = '') ⇒ Object
- #get_remotefileserver_profiles ⇒ Object
Instance Method Details
#create_remotefileserver_profile(opts = {}) ⇒ Object
10 11 12 13 14 |
# File 'lib/xclarity_client/mixins/remote_file_server_mixin.rb', line 10 def create_remotefileserver_profile(opts = {}) RemoteFileServerManagement.new(@config).create_remotefileserver_profile( opts ) end |
#delete_remotefileserver_profile(server_id = '') ⇒ Object
16 17 18 19 20 |
# File 'lib/xclarity_client/mixins/remote_file_server_mixin.rb', line 16 def delete_remotefileserver_profile(server_id = '') RemoteFileServerManagement.new(@config).delete_remotefileserver_profile( server_id ) end |
#get_remotefileserver_profile(server_id = '') ⇒ Object
22 23 24 25 26 |
# File 'lib/xclarity_client/mixins/remote_file_server_mixin.rb', line 22 def get_remotefileserver_profile(server_id = '') RemoteFileServerManagement.new(@config).get_remotefileserver_profile( server_id ) end |
#get_remotefileserver_profiles ⇒ Object
6 7 8 |
# File 'lib/xclarity_client/mixins/remote_file_server_mixin.rb', line 6 def get_remotefileserver_profiles RemoteFileServerManagement.new(@config).fetch_all end |