| page_title | subcategory | description |
|---|---|---|
citrix_gcp_hypervisor_resource_pool Resource - citrix |
CVAD |
Manages a GCP hypervisor resource pool. |
Manages a GCP hypervisor resource pool.
resource "citrix_gcp_hypervisor_resource_pool" "example-gcp-hypervisor-resource-pool" {
name = "example-gcp-hypervisor-resource-pool"
hypervisor = citrix_gcp_hypervisor.example-gcp-hypervisor.id
project_name = "10000-example-gcp-project"
region = "us-east1"
subnets = [
"us-east1",
]
vpc = "<VPC name>"
}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.project_name(String) GCP Project name.region(String) Cloud Region where the virtual network sits in.subnets(List of String) Subnets to allocate VDAs within the virtual network.vpc(String) Name of the cloud virtual network.
metadata(Attributes List) Metadata for the Hypervisor Resource Pool. (see below for nested schema)shared_vpc(Boolean) Indicate whether the GCP Virtual Private Cloud is a shared VPC.vm_tagging(Boolean) Indicates whether VMs created by provisioning operations should be tagged. Default istrue.
id(String) GUID identifier of the resource pool.
Required:
name(String) Metadata name.value(String) Metadata value.
Import is supported using the following syntax:
# Hypervisor Resource Pool can be imported with the format HypervisorId,HypervisorResourcePoolId
terraform import citrix_gcp_hypervisor_resource_pool.example-gcp-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_gcp_hypervisor_resource_pool.example-gcp-hypervisor-resource-pool ce571dd9-1a46-4b85-891c-484423322c53