1
0
Форкнуть 0
terraform-azure-azureacadem.../resource.azurerm_monitor_di...

59 строки
953 B
Terraform

resource "azurerm_monitor_diagnostic_setting" "Monitoring-VnetGW-eus" {
name = "VnetGW-Monitoring"
target_resource_id = azurerm_virtual_network_gateway.VnetGW-eus.id
log_analytics_workspace_id = resource.azurerm_log_analytics_workspace.MSAA-LogAnalytics-r345xqo624z2.id
enabled_log {
category = "GatewayDiagnosticLog"
retention_policy {
enabled = false
}
}
enabled_log {
category = "TunnelDiagnosticLog"
retention_policy {
enabled = false
}
}
enabled_log {
category = "RouteDiagnosticLog"
retention_policy {
enabled = false
}
}
enabled_log {
category = "IKEDiagnosticLog"
retention_policy {
enabled = false
}
}
enabled_log {
category = "P2SDiagnosticLog"
retention_policy {
enabled = false
}
}
metric {
category = "AllMetrics"
retention_policy {
enabled = false
}
}
}