» Data Source: azurerm_maintenance_configuration

Use this data source to access information about an existing Maintenance Configuration.

» Example Usage

data "azurerm_maintenance_configuration" "existing" {
  name                = "example-mc"
  resource_group_name = "example-resources"
}

output "id" {
  value = azurerm_maintenance_configuration.existing.id
}

» Argument Reference

  • name - Specifies the name of the Maintenance Configuration.

  • resource_group_name - Specifies the name of the Resource Group where this Maintenance Configuration exists.

» Attributes Reference

  • location - The Azure location where the resource exists.

  • scope - The scope of the Maintenance Configuration.

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