-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
64 lines (53 loc) · 2.16 KB
/
variables.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
variable "create_diagnostic_setting" {
type = bool
description = "(Optional) Do you want to create the resource"
default = true
}
variable "name" {
type = string
description = "(Required) Specifies the name of the Diagnostic Setting. Changing this forces a new resource to be created."
}
variable "target_resource_id" {
type = string
description = "(Required) The ID of an existing Resource on which to configure Diagnostic Settings. Changing this forces a new resource to be created."
}
variable "eventhub_name" {
type = string
description = "(Optional) Specifies the name of the Event Hub where Diagnostics Data should be sent."
default = null
}
variable "eventhub_authorization_rule_id" {
type = string
description = "(Optional) Specifies the ID of an Event Hub Namespace Authorization Rule used to send Diagnostics Data."
default = null
}
variable "log_analytics_workspace_id" {
type = string
description = "(Optional) Specifies the ID of a Log Analytics Workspace where Diagnostics Data should be sent."
default = null
}
variable "log_analytics_destination_type" {
type = string
description = "(Optional) Possible values are AzureDiagnostics and Dedicated. When set to Dedicated, logs sent to a Log Analytics workspace will go into resource specific tables, instead of the legacy AzureDiagnostics table."
default = "AzureDiagnostics"
}
variable "partner_solution_id" {
type = string
description = "(Optional) The ID of the market partner solution where Diagnostics Data should be sent. For potential partner integrations"
default = null
}
variable "storage_account_id" {
type = string
description = "(Optional) The ID of the Storage Account where logs should be sent."
default = null
}
variable "enabled_log" {
type = any
description = "(Optional) One or more enabled_log blocks, At least one enabled_log or metric block must be specified."
default = []
}
variable "metric" {
type = any
description = "(Optional) One or more metric blocks, At least one enabled_log or metric block must be specified."
default = []
}