Data Source: azurerm_dedicated_host

Use this data source to access information about an existing Dedicated Host.

Example Usage

data "azurerm_dedicated_host" "example" {
  name                      = "example-host"
  dedicated_host_group_name = "example-host-group"
  resource_group_name       = "example-resources"
}

output "dedicated_host_id" {
  value = data.azurerm_dedicated_host.example.id
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Timeouts

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