forked from claranet/terraform-azurerm-api-management
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables-logs.tf
35 lines (30 loc) · 1.05 KB
/
variables-logs.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
variable "diag_settings_name" {
description = "Custom name for the diagnostic settings of Application Gateway."
type = string
default = ""
}
variable "logs_storage_retention" {
description = "Retention in days for logs on Storage Account"
type = number
default = 30
}
variable "log_categories" {
type = list(string)
default = null
description = "List of log categories to send"
}
variable "metric_categories" {
type = list(string)
default = null
description = "List of metric categories to send"
}
variable "logs_destinations_ids" {
type = list(string)
description = "List of destination resources IDs for logs diagnostic destination. Can be Storage Account, Log Analytics Workspace and Event Hub. No more than one of each can be set."
default = []
}
variable "log_destination_type" {
type = string
description = "Log sent to Log Analytics can be sent to 'Dedicated' log tables or the legacy 'AzureDiagnostics'"
default = "Dedicated"
}