» Data Source: azurerm_availability_set
Use this data source to access information about an existing Availability Set.
» Example Usage
data "azurerm_availability_set" "test" {
name = "tf-appsecuritygroup"
resource_group_name = "my-resource-group"
}
output "availability_set_id" {
value = "${data.azurerm_availability_set.test.id}"
}
» Argument Reference
The following arguments are supported:
-
name- The name of the Availability Set. -
resource_group_name- The name of the resource group in which the Availability Set exists.
» Attributes Reference
The following attributes are exported:
-
id- The ID of the Availability Set. -
location- The supported Azure location where the Availability Set exists. -
managed- Whether the availability set is managed or not. -
platform_fault_domain_count- The number of fault domains that are used. -
platform_update_domain_count- The number of update domains that are used. -
tags- A mapping of tags assigned to the resource.