Skip to content

Latest commit

 

History

History
58 lines (44 loc) · 2.17 KB

vsphere_hypervisor.md

File metadata and controls

58 lines (44 loc) · 2.17 KB
page_title subcategory description
citrix_vsphere_hypervisor Resource - citrix
Manages a VMware vSphere hypervisor.

citrix_vsphere_hypervisor (Resource)

Manages a VMware vSphere hypervisor.

Example Usage

# Vsphere Hypervisor
resource "citrix_vsphere_hypervisor" "example-vsphere-hypervisor" {
    name               = "example-vsphere-hypervisor"
    zone               = "<Zone Id>"
    username           = "<Username>"
    password           = "<Password_In_Plaintext>"
    password_format    = "Plaintext"
    addresses          = ["https://10.36.122.45"]
    max_absolute_active_actions = 20
}

Schema

Required

  • addresses (List of String) Hypervisor address(es). At least one is required.
  • name (String) Name of the hypervisor.
  • password (String) Password of the hypervisor.
  • password_format (String) Password format of the hypervisor. Choose between Base64 and PlainText.
  • username (String) Username of the hypervisor.
  • zone (String) Id of the zone the hypervisor is associated with.

Optional

  • max_absolute_active_actions (Number) Maximum number of actions that can execute in parallel on the hypervisor. Default is 40.
  • max_absolute_new_actions_per_minute (Number) Maximum number of actions that can be started on the hypervisor per-minute. Default is 10.
  • max_power_actions_percentage_of_machines (Number) Maximum percentage of machines on the hypervisor which can have their power state changed simultaneously. Default is 20.
  • ssl_thumbprints (List of String) SSL certificate thumbprints to consider acceptable for this connection. If not specified, and the hypervisor uses SSL for its connection, the SSL certificate's root certification authority and any intermediate certificates must be trusted.

Read-Only

  • id (String) GUID identifier of the hypervisor.

Import

Import is supported using the following syntax:

# Vsphere Hypervisor can be imported by specifying the GUID
terraform import citrix_vsphere_hypervisor.example-vsphere-hypervisor b2339edf-7b00-436e-9c3a-54c987c3526e