| page_title | subcategory | description |
|---|---|---|
citrix_openshift_hypervisor_resource_pool Resource - citrix |
CVAD |
Manages a OpenShift hypervisor resource pool. |
Manages a OpenShift hypervisor resource pool.
resource "citrix_openshift_hypervisor_resource_pool" "example-openshift-hypervisor-resource-pool" {
name = "example-openshift-hypervisor-resource-pool"
hypervisor = citrix_openshift_hypervisor.example-openshift-hypervisor.id
namespace = "<namespace_name>"
networks = [
"<network 1 name>",
"<network 2 name>"
]
storage = [
{
storage_name = "<local or shared storage name>"
superseded = false # Only to be used for updates
}
]
temporary_storage = [
{
storage_name = "<local or shared storage name>"
superseded = false # Only to be used for updates
}
]
}hypervisor(String) Id of the hypervisor for which the resource pool needs to be created.name(String) Name of the resource pool. Name should be unique across all hypervisors.namespace(String) Namespace for the connection.networks(List of String) Networks for allocating resources.storage(Attributes List) Storage resources to use for OS data. (see below for nested schema)temporary_storage(Attributes List) Storage resources to use for temporary data. (see below for nested schema)
id(String) GUID identifier of the resource pool.
Required:
storage_name(String) The name of the storage.
Optional:
superseded(Boolean) Indicates whether the storage has been superseded. Superseded storage may be used for existing virtual machines, but is not used when provisioning new virtual machines. Use only when updating the resource pool.
Required:
storage_name(String) The name of the storage.
Optional:
superseded(Boolean) Indicates whether the storage has been superseded. Superseded storage may be used for existing virtual machines, but is not used when provisioning new virtual machines. Use only when updating the resource pool.
Import is supported using the following syntax:
# Hypervisor Resource Pool can be imported with the format HypervisorId,HypervisorResourcePoolId
terraform import citrix_openshift_hypervisor_resource_pool.example-openshift-hypervisor-resource-pool sbf0dc45-5c42-45a0-a15d-a3df4ff5da8c,ce571dd9-1a46-4b85-891c-484423322c53
# Hypervisor Resource Pool can be imported by specifying the GUID
terraform import citrix_openshift_hypervisor_resource_pool.example-openshift-hypervisor-resource-pool ce571dd9-1a46-4b85-891c-484423322c53