module Chef::Knife::Cloud::VcenterServiceOptions
Public Class Methods
included(includer)
click to toggle source
The main service options for this plugin
@param [Object] includer are the options that can be handed off to this method
# File lib/chef/knife/cloud/vcenter_service_options.rb, line 27 def self.included(includer) includer.class_eval do option :vcenter_username, long: "--vcenter-username USERNAME", description: "Username to use to connect to the VCenter API" option :vcenter_password, long: "--vcenter-password PASSWORD", description: "Password associated with the specified user" option :vcenter_host, long: "--vcenter-host HOST", description: "Host to target for operations" option :vcenter_disable_ssl_verify, long: "--vcenter-disable-ssl-verify", description: "Skip any SSL verification for the API", boolean: true, default: false option :vcenter_logs, long: "--vcenter-logs", description: "Whether or not to display logs from VCenter SDK. Default: false", boolean: true, default: false end end