description="(Required) The Azure AD tenant name."
type=string
}
#-------------------------------
# Alerts
#-------------------------------
variable"cpu-usage-threshold"{
description="Threshold value beyond which alert needs to be triggered"
type=number
default=1
}
variable"metric-trigger-threshold"{
description="Threshold of the metric trigger. Here, number of times cpu usage is allowed to reach cpu-usage-threshold."
type=number
default=0
}
variable"time-window"{
description="Time window for which data needs to be fetched for query (must be greater than or equal to frequency)."
type=number
default=30
}
variable"severity"{
description="Severity of alert. Possible values are 0, 1, 2, 3 and 4"
type=number
default=3
}
variable"frequency"{
description="The evaluation frequency of this Metric Alert, represented in ISO 8601 duration format. Possible values are PT1M, PT5M, PT15M, PT30M and PT1H. Defaults to PT1M"
type=number
default=5
}
variable"query"{
description="Log query"
type=string
default="performanceCounters\n| where category == \"Processor\" and name == \"% Processor Time\"\n| summarize AggregatedValue = avg(value) by bin(timestamp, 15min), cloud_RoleName"
}
variable"email-id"{
description="Email id at which alerts will be sent"