Use this data source to access information about an existing Virtual Desktop Workspace.
data "azurerm_virtual_desktop_workspace" "example" {
name = "existing"
resource_group_name = "existing"
}
output "id" {
value = data.azurerm_virtual_desktop_workspace.example.id
}
The following arguments are supported:
name
- (Required) The name of this Virtual Desktop Workspace to retrieve.
resource_group_name
- (Required) The name of the Resource Group where the Virtual Desktop Workspace exists.
In addition to the Arguments listed above - the following Attributes are exported:
id
- The ID of the Virtual Desktop Workspace.
description
- The description for the Virtual Desktop Workspace.
friendly_name
- The friendly name for the Virtual Desktop Workspace.
location
- The Azure Region where the Virtual Desktop Workspace exists.
public_network_access_enabled
- Is public network access enabled?
tags
- A mapping of tags assigned to the Virtual Desktop Workspace.
The timeouts
block allows you to specify timeouts for certain actions:
read
- (Defaults to 5 minutes) Used when retrieving the azurerm_virtual_desktop_workspace.