azurerm_mysql_server

Use this data source to access information about an existing MySQL Server.

Example Usage

data "azurerm_mysql_server" "example" {
  name                = "existingMySqlServer"
  resource_group_name = "existingResGroup"
}

output "id" {
  value = data.azurerm_mysql_server.example.id
}

Argument Reference

The following arguments are supported:

Attributes Reference


An identity block exports the following:


A threat_detection_policy block exports the following:

Timeouts

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