Module: XClarityClient::Mixins::CmmMixin

Included in:
Client
Defined in:
lib/xclarity_client/mixins/cmm_mixin.rb

Overview

Exposes CmmManagement features

Instance Method Summary collapse

Instance Method Details

#discover_cmms(opts = {}) ⇒ Object



6
7
8
# File 'lib/xclarity_client/mixins/cmm_mixin.rb', line 6

def discover_cmms(opts = {})
  CmmManagement.new(@config).fetch_all(opts)
end

#fetch_cmms(uuids = nil, include_attributes = nil, exclude_attributes = nil) ⇒ Object



10
11
12
13
14
15
16
17
18
# File 'lib/xclarity_client/mixins/cmm_mixin.rb', line 10

def fetch_cmms(uuids = nil,
               include_attributes = nil,
               exclude_attributes = nil)
  CmmManagement.new(@config).get_object(
    uuids,
    include_attributes,
    exclude_attributes
  )
end