Microsoft.Advisor configurations template reference

Template format

To create a Microsoft.Advisor/configurations resource, add the following JSON to the resources section of your template.

{
  "name": "string",
  "type": "Microsoft.Advisor/configurations",
  "apiVersion": "2020-01-01",
  "properties": {
    "exclude": "boolean",
    "lowCpuThreshold": "string",
    "digests": [
      {
        "name": "string",
        "actionGroupResourceId": "string",
        "frequency": "integer",
        "categories": [
          "string"
        ],
        "language": "string",
        "state": "string"
      }
    ]
  }
}

Property values

The following tables describe the values you need to set in the schema.

Microsoft.Advisor/configurations object

Name Type Required Value
name string Yes Advisor configuration name. Value must be 'default'
type enum Yes Microsoft.Advisor/configurations
apiVersion enum Yes 2020-01-01
properties object Yes The Advisor configuration data structure. - ConfigDataProperties object

ConfigDataProperties object

Name Type Required Value
exclude boolean No Exclude the resource from Advisor evaluations. Valid values: False (default) or True.
lowCpuThreshold enum No Minimum percentage threshold for Advisor low CPU utilization evaluation. Valid only for subscriptions. Valid values: 5 (default), 10, 15 or 20. - 5, 10, 15, 20
digests array No Advisor digest configuration. Valid only for subscriptions - DigestConfig object

DigestConfig object

Name Type Required Value
name string No Name of digest configuration. Value is case-insensitive and must be unique within a subscription.
actionGroupResourceId string No Action group resource id used by digest.
frequency integer No Frequency that digest will be triggered, in days. Value must be between 7 and 30 days inclusive.
categories array No Categories to send digest for. If categories are not provided, then digest will be sent for all categories. - HighAvailability, Security, Performance, Cost, OperationalExcellence
language string No Language for digest content body. Value must be ISO 639-1 code for one of Azure portal supported languages. Otherwise, it will be converted into one. Default value is English (en).
state enum No State of digest configuration. - Active or Disabled