azurerm_virtual_desktop_host_pool_registration_info

Manages the Registration Info for a Virtual Desktop Host Pool.

Example Usage

resource "azurerm_resource_group" "example" {
  name     = "example-hostpool"
  location = "westeurope"
}

resource "azurerm_virtual_desktop_host_pool" "example" {
  name                 = "example-HP"
  location             = azurerm_resource_group.example.location
  resource_group_name  = azurerm_resource_group.example.name
  type                 = "Pooled"
  validate_environment = true
  load_balancer_type   = "BreadthFirst"

}

resource "azurerm_virtual_desktop_host_pool_registration_info" "example" {
  hostpool_id     = azurerm_virtual_desktop_host_pool.example.id
  expiration_date = "2022-01-01T23:40:52Z"
}

Arguments Reference

The following arguments are supported:

Attributes Reference

In addition to the Arguments listed above - the following Attributes are exported:

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

Import

AVD Registration Infos can be imported using the resource id, e.g.

terraform import azurerm_virtual_desktop_host_pool_registration_info.example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.DesktopVirtualization/hostPools/pool1/registrationInfo/default