Get information about an Azure Spatial Anchors Account.
data "azurerm_spatial_anchors_account" "example" {
name = "example"
resource_group_name = azurerm_resource_group.example.name
}
output "account_domain" {
value = data.azurerm_spatial_anchors_account.account_domain
}
The following arguments are supported:
name
- (Required) Specifies the name of the Spatial Anchors Account. Changing this forces a new resource to be created. Must be globally unique.
resource_group_name
- (Required) The name of the resource group in which to create the Spatial Anchors Account.
The following attributes are exported:
id
- The ID of the Spatial Anchors Account.
account_domain
- The domain of the Spatial Anchors Account.
account_id
- The account ID of the Spatial Anchors Account.
tags
- The Tags assigned to this Spatial Anchors Account.
The timeouts
block allows you to specify timeouts for certain actions:
read
- (Defaults to 5 minutes) Used when retrieving the Spatial Anchors Account.