Data Source: azurerm_api_management_gateway_host_name_configuration

Use this data source to access information about an existing API Management Gateway Host Configuration.

Example Usage

data "azurerm_api_management" "example" {
  name                = "example-apim"
  resource_group_name = "example-resources"
}

data "azurerm_api_management_gateway" "example" {
  name              = "example-gateway"
  api_management_id = data.azurerm_api_management.main.id
}

data "azurerm_api_management_gateway_host_name_configuration" "example" {
  name              = "example-host-configuration"
  api_management_id = data.azurerm_api_management.example.id
  gateway_name      = data.azurerm_api_management_gateway.example.name
}

output "host_name" {
  value = data.azurerm_api_management_gateway_host_name_configuration.example.host_name
}

Arguments Reference

The following arguments are supported:

Attributes Reference

In addition to the Arguments listed above - the following Attributes are exported:

Timeouts

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