Class: Ansible::Ruby::Modules::Vmware_datacenter

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

Overview

This module can be used to manage (create, delete) VMware vSphere Datacenters.

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

#datacenter_nameString

Returns The name of the datacenter the cluster will be created in.

Returns:

  • (String)

    The name of the datacenter the cluster will be created in.



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

attribute :datacenter_name

#state:present, ...

Returns If the datacenter should be present or absent.

Returns:

  • (:present, :absent, nil)

    If the datacenter should be present or absent.



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

attribute :state