Class: Ansible::Ruby::Modules::Vcenter_license

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/cloud/vmware/vcenter_license.rb

Overview

Add and delete vCenter license keys.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#labelsArray<String>, ...

Returns The optional labels of the license key to manage in vSphere vCenter.,This is dictionary with key/value pair.

Returns:

  • (Array<String>, String, nil)

    The optional labels of the license key to manage in vSphere vCenter.,This is dictionary with key/value pair.



12
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vcenter_license.rb', line 12

attribute :labels

#licenseString

Returns The license key to manage in vSphere vCenter.

Returns:

  • (String)

    The license key to manage in vSphere vCenter.



16
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vcenter_license.rb', line 16

attribute :license

#state:absent, ...

Returns Whether to add (C(present)) or remove (C(absent)) the license key.

Returns:

  • (:absent, :present, nil)

    Whether to add (C(present)) or remove (C(absent)) the license key.



20
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vcenter_license.rb', line 20

attribute :state