Module: XClarityClient::Mixins::ConfigProfileMixin
- Included in:
- Client
- Defined in:
- lib/xclarity_client/mixins/config_profile_mixin.rb
Overview
Exposes ConfigProfileManagement features
Instance Method Summary collapse
- #activate_config_profile(id = '', endpoint_uuid = '', restart = '') ⇒ Object
- #delete_config_profile(id = '') ⇒ Object
- #discover_config_profile ⇒ Object
- #fetch_config_profile(ids = nil, include_attributes = nil, exclude_attributes = nil) ⇒ Object
- #rename_config_profile(id = '', name = '') ⇒ Object
- #unassign_config_profile(id = '', power_down = '', reset_imm = '', force = '') ⇒ Object
Instance Method Details
#activate_config_profile(id = '', endpoint_uuid = '', restart = '') ⇒ Object
27 28 29 30 31 32 33 |
# File 'lib/xclarity_client/mixins/config_profile_mixin.rb', line 27 def activate_config_profile(id = '', endpoint_uuid = '', restart = '') ConfigProfileManagement.new(@config).activate_config_profile( id, endpoint_uuid, restart ) end |
#delete_config_profile(id = '') ⇒ Object
47 48 49 |
# File 'lib/xclarity_client/mixins/config_profile_mixin.rb', line 47 def delete_config_profile(id = '') ConfigProfileManagement.new(@config).delete_config_profile(id) end |
#discover_config_profile ⇒ Object
16 17 18 |
# File 'lib/xclarity_client/mixins/config_profile_mixin.rb', line 16 def discover_config_profile ConfigProfileManagement.new(@config).fetch_all end |
#fetch_config_profile(ids = nil, include_attributes = nil, exclude_attributes = nil) ⇒ Object
6 7 8 9 10 11 12 13 14 |
# File 'lib/xclarity_client/mixins/config_profile_mixin.rb', line 6 def fetch_config_profile(ids = nil, include_attributes = nil, exclude_attributes = nil) ConfigProfileManagement.new(@config).get_object_with_id( ids, include_attributes, exclude_attributes ) end |
#rename_config_profile(id = '', name = '') ⇒ Object
20 21 22 23 24 25 |
# File 'lib/xclarity_client/mixins/config_profile_mixin.rb', line 20 def rename_config_profile(id = '', name = '') ConfigProfileManagement.new(@config).rename_config_profile( id, name ) end |
#unassign_config_profile(id = '', power_down = '', reset_imm = '', force = '') ⇒ Object
35 36 37 38 39 40 41 42 43 44 45 |
# File 'lib/xclarity_client/mixins/config_profile_mixin.rb', line 35 def unassign_config_profile(id = '', power_down = '', reset_imm = '', force = '') ConfigProfileManagement.new(@config).unassign_config_profile( id, power_down, reset_imm, force ) end |