New in version 2014.7.0.
The vSphere cloud module is used to control access to VMWare vSphere.
depends: |
|
---|
Use of this module only requires a URL, username and password. Set up the cloud configuration at:
/etc/salt/cloud.providers
or /etc/salt/cloud.providers.d/vsphere.conf
:
my-vsphere-config:
provider: vsphere
user: myuser
password: verybadpass
url: 'https://10.1.1.1:443'
salt.cloud.clouds.vsphere.
avail_images
()Return a dict of all available VM images on the cloud provider.
salt.cloud.clouds.vsphere.
avail_locations
()Return a dict of all available VM locations on the cloud provider with relevant data
salt.cloud.clouds.vsphere.
destroy
(name, call=None)Destroy a node.
CLI Example:
salt-cloud --destroy mymachine
salt.cloud.clouds.vsphere.
list_clusters
(kwargs=None, call=None)List the clusters for this VMware environment
salt.cloud.clouds.vsphere.
list_datacenters
(kwargs=None, call=None)List the data centers for this VMware environment
salt.cloud.clouds.vsphere.
list_datastores
(kwargs=None, call=None)List the datastores for this VMware environment
salt.cloud.clouds.vsphere.
list_folders
(kwargs=None, call=None)List the folders for this VMWare environment
salt.cloud.clouds.vsphere.
list_hosts
(kwargs=None, call=None)List the hosts for this VMware environment
salt.cloud.clouds.vsphere.
list_nodes_min
()Return a list of the nodes in the provider, with no details
salt.cloud.clouds.vsphere.
list_nodes_select
()Return a list of the VMs that are on the provider, with select fields