You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module"azurerm_api_management_diagnostic" {
source="./modules/azurerm/r/azurerm_api_management_diagnostic"# always_log_errors - (optional) is a type of boolalways_log_errors=null# api_management_logger_id - (required) is a type of stringapi_management_logger_id=null# api_management_name - (required) is a type of stringapi_management_name=null# enabled - (optional) is a type of boolenabled=null# http_correlation_protocol - (optional) is a type of stringhttp_correlation_protocol=null# identifier - (required) is a type of stringidentifier=null# log_client_ip - (optional) is a type of boollog_client_ip=null# resource_group_name - (required) is a type of stringresource_group_name=null# sampling_percentage - (optional) is a type of numbersampling_percentage=null# verbosity - (optional) is a type of stringverbosity=nullbackend_request=[{
body_bytes =null
headers_to_log = []
}]
backend_response=[{
body_bytes =null
headers_to_log = []
}]
frontend_request=[{
body_bytes =null
headers_to_log = []
}]
frontend_response=[{
body_bytes =null
headers_to_log = []
}]
timeouts=[{
create =null
delete =null
read =null
update =null
}]
}
resource"azurerm_api_management_diagnostic""this" {
# always_log_errors - (optional) is a type of boolalways_log_errors=var.always_log_errors# api_management_logger_id - (required) is a type of stringapi_management_logger_id=var.api_management_logger_id# api_management_name - (required) is a type of stringapi_management_name=var.api_management_name# enabled - (optional) is a type of boolenabled=var.enabled# http_correlation_protocol - (optional) is a type of stringhttp_correlation_protocol=var.http_correlation_protocol# identifier - (required) is a type of stringidentifier=var.identifier# log_client_ip - (optional) is a type of boollog_client_ip=var.log_client_ip# resource_group_name - (required) is a type of stringresource_group_name=var.resource_group_name# sampling_percentage - (optional) is a type of numbersampling_percentage=var.sampling_percentage# verbosity - (optional) is a type of stringverbosity=var.verbositydynamic"backend_request" {
for_each=var.backend_requestcontent {
# body_bytes - (optional) is a type of numberbody_bytes=backend_request.value["body_bytes"]
# headers_to_log - (optional) is a type of set of stringheaders_to_log=backend_request.value["headers_to_log"]
}
}
dynamic"backend_response" {
for_each=var.backend_responsecontent {
# body_bytes - (optional) is a type of numberbody_bytes=backend_response.value["body_bytes"]
# headers_to_log - (optional) is a type of set of stringheaders_to_log=backend_response.value["headers_to_log"]
}
}
dynamic"frontend_request" {
for_each=var.frontend_requestcontent {
# body_bytes - (optional) is a type of numberbody_bytes=frontend_request.value["body_bytes"]
# headers_to_log - (optional) is a type of set of stringheaders_to_log=frontend_request.value["headers_to_log"]
}
}
dynamic"frontend_response" {
for_each=var.frontend_responsecontent {
# body_bytes - (optional) is a type of numberbody_bytes=frontend_response.value["body_bytes"]
# headers_to_log - (optional) is a type of set of stringheaders_to_log=frontend_response.value["headers_to_log"]
}
}
dynamic"timeouts" {
for_each=var.timeoutscontent {
# create - (optional) is a type of stringcreate=timeouts.value["create"]
# delete - (optional) is a type of stringdelete=timeouts.value["delete"]
# read - (optional) is a type of stringread=timeouts.value["read"]
# update - (optional) is a type of stringupdate=timeouts.value["update"]
}
}
}