vcf_vcenter_host

Execution module for vCenter hosts.

saltext.vcf.modules.vcf_vcenter_host.list_(profile=None)[source]

List ESXi hosts known to vCenter.

CLI Example:

salt '*' vcf_vcenter_host.list_
saltext.vcf.modules.vcf_vcenter_host.get(host, profile=None)[source]

Return details for a single host by id.

CLI Example:

salt '*' vcf_vcenter_host.get <host>
saltext.vcf.modules.vcf_vcenter_host.enter_maintenance(host, profile=None)[source]

Put a host into maintenance mode.

CLI Example:

salt '*' vcf_vcenter_host.enter_maintenance <host>
saltext.vcf.modules.vcf_vcenter_host.exit_maintenance(host, profile=None)[source]

Take a host out of maintenance mode.

CLI Example:

salt '*' vcf_vcenter_host.exit_maintenance <host>