Skip to content

Latest commit

 

History

History
64 lines (47 loc) · 2.01 KB

azure_hypervisor_resource_pool.md

File metadata and controls

64 lines (47 loc) · 2.01 KB
page_title subcategory description
citrix_azure_hypervisor_resource_pool Resource - citrix
CVAD
Manages an Azure hypervisor resource pool.

citrix_azure_hypervisor_resource_pool (Resource)

Manages an Azure hypervisor resource pool.

Example Usage

resource "citrix_azure_hypervisor_resource_pool" "example-azure-hypervisor-resource-pool" {
    name                = "example-azure-hypervisor-resource-pool"
    hypervisor          = citrix_azure_hypervisor.example-azure-hypervisor.id
    region              = "East US"
	virtual_network_resource_group = "<Resource Group Name>"
    virtual_network     = "<VNet name>"
    subnets     			= [
        "subnet 1",
        "subnet 2"
    ]
}

Schema

Required

  • 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.
  • region (String) Cloud Region where the virtual network sits in.
  • subnets (List of String) Subnets to allocate VDAs within the virtual network.
  • virtual_network (String) Name of the cloud virtual network.
  • virtual_network_resource_group (String) The name of the resource group where the vnet resides.

Optional

Read-Only

  • id (String) GUID identifier of the resource pool.

Nested Schema for metadata

Required:

  • name (String) Metadata name.
  • value (String) Metadata value.

Import

Import is supported using the following syntax:

# Hypervisor Resource Pool can be imported with the format HypervisorId,HypervisorResourcePoolId
terraform import citrix_azure_hypervisor_resource_pool.example-azure-hypervisor-resource-pool sbf0dc45-5c42-45a0-a15d-a3df4ff5da8c,ce571dd9-1a46-4b85-891c-484423322c53