» Data Source: azurerm_availability_set

Use this data source to access information about an existing Availability Set.

» Example Usage

data "azurerm_availability_set" "example" {
  name                = "tf-appsecuritygroup"
  resource_group_name = "my-resource-group"
}

output "availability_set_id" {
  value = data.azurerm_availability_set.example.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:

» Timeouts

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

  • read - (Defaults to 5 minutes) Used when retrieving the Availability Set.