Skip to content

Latest commit

 

History

History
54 lines (34 loc) · 1.43 KB

availability_set.html.markdown

File metadata and controls

54 lines (34 loc) · 1.43 KB
subcategory layout page_title description
Compute
azurerm
Azure Resource Manager: azurerm_availability_set
Gets information about an existing Availability Set.

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:

  • 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.

Timeouts

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

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