module VSphereAutomation

content - VMware vSphere® Content Library empowers vSphere Admins to effectively manage VM templates, vApps, ISO images and scripts with ease.

content - VMware vSphere® Content Library empowers vSphere Admins to effectively manage VM templates, vApps, ISO images and scripts with ease.

Public Class Methods

configure() { |default| ... } click to toggle source

Customize default settings for the SDK using block.

VSphereAutomation.configure do |config|
  config.username = "xxx"
  config.password = "xxx"
end

If no block given, return the default Configuration object.

# File lib/vsphere-automation-content.rb, line 191
def configure
  if block_given?
    yield(Configuration.default)
  else
    Configuration.default
  end
end