class OneviewSDK::API300::Synergy::EnclosureGroup

Enclosure group resource implementation on API300 Synergy

Public Class Methods

new(client, params = {}, api_ver = nil) click to toggle source

Create a resource object, associate it with a client, and set its properties. @param [OneviewSDK::Client] client The client object for the OneView appliance @param [Hash] params The options for this resource (key-value pairs) @param [Integer] api_ver The api version to use when interracting with this resource.

# File lib/oneview-sdk/resource/api300/synergy/enclosure_group.rb, line 24
def initialize(client, params = {}, api_ver = nil)
  @data ||= {}
  # Default values:
  @data['ipAddressingMode'] ||= 'DHCP'
  @data['interconnectBayMappingCount'] ||= 6
  super
end

Public Instance Methods

set_script(*) click to toggle source

Method is not available @raise [OneviewSDK::MethodUnavailable] method is not available

# File lib/oneview-sdk/resource/api300/synergy/enclosure_group.rb, line 34
def set_script(*)
  unavailable_method
end