24 строки
546 B
HCL
24 строки
546 B
HCL
resource "azurerm_monitor_diagnostic_setting" "Monitoring-nsg-wvd-d-uks" {
|
|
name = "Monitoring"
|
|
target_resource_id = azurerm_network_security_group.nsg-wvd-d-uks.id
|
|
log_analytics_workspace_id = resource.azurerm_log_analytics_workspace.MSAA-LogAnalytics-r345xqo624z2.id
|
|
|
|
enabled_log {
|
|
category = "NetworkSecurityGroupEvent"
|
|
|
|
|
|
retention_policy {
|
|
enabled = false
|
|
}
|
|
}
|
|
|
|
enabled_log {
|
|
category = "NetworkSecurityGroupRuleCounter"
|
|
|
|
|
|
retention_policy {
|
|
enabled = false
|
|
}
|
|
}
|
|
}
|