Module: Chef::Knife::Cloud::VcenterServiceOptions
- Included in:
- VcenterClusterList, VcenterDatacenterList, VcenterHostList, VcenterVmClone, VcenterVmCreate, VcenterVmDelete, VcenterVmList, VcenterVmShow
- Defined in:
- lib/chef/knife/cloud/vcenter_service_options.rb
Class Method Summary collapse
-
.included(includer) ⇒ Object
The main service options for this plugin.
Class Method Details
.included(includer) ⇒ Object
The main service options for this plugin
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
# 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 |