Class: Ansible::Ruby::Modules::Vmware_guest_custom_attribute_defs
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Vmware_guest_custom_attribute_defs
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/vmware/vmware_guest_custom_attribute_defs.rb
Overview
This module can be used to add and remove custom attributes definitions for the given virtual machine from VMWare.
Instance Method Summary collapse
-
#attribute_key ⇒ String?
Name of the custom attribute definition.,This is required parameter, if C(state) is set to C(present) or C(absent).
-
#state ⇒ :present, :absent
Manage definition of custom attributes.,If set to C(present) and definition not present, then custom attribute definition is created.,If set to C(present) and definition is present, then no action taken.,If set to C(absent) and definition is present, then custom attribute definition is removed.,If set to C(absent) and definition is absent, then no action taken.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#attribute_key ⇒ String?
Returns Name of the custom attribute definition.,This is required parameter, if C(state) is set to C(present) or C(absent).
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_guest_custom_attribute_defs.rb', line 12 attribute :attribute_key |
#state ⇒ :present, :absent
Returns Manage definition of custom attributes.,If set to C(present) and definition not present, then custom attribute definition is created.,If set to C(present) and definition is present, then no action taken.,If set to C(absent) and definition is present, then custom attribute definition is removed.,If set to C(absent) and definition is absent, then no action taken.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_guest_custom_attribute_defs.rb', line 16 attribute :state |