Microsoft.Advisor configurations
The configurations resource type can be deployed to: Subscriptions,.
To learn about subscription deployments, see Bicep or ARM template
Template format
To create a Microsoft.Advisor/configurations resource, add the following Bicep or JSON to your template.
resource symbolicname 'Microsoft.Advisor/configurations@2020-01-01' = {
name: 'default'
properties: {
digests: [
{
actionGroupResourceId: 'string'
categories: [
'string'
]
frequency: int
language: 'string'
name: 'string'
state: 'string'
}
]
exclude: bool
lowCpuThreshold: 'string'
}
}
Property values
configurations
| Name | Description | Value |
|---|---|---|
| type | The resource type For Bicep, set this value in the resource declaration. |
'Microsoft.Advisor/configurations' |
| apiVersion | The resource api version For Bicep, set this value in the resource declaration. |
'2020-01-01' |
| name | The resource name | 'default' |
| properties | Configuration data properties | ConfigDataProperties |
ConfigDataProperties
| Name | Description | Value |
|---|---|---|
| digests | Advisor digest configuration. Valid only for subscriptions | DigestConfig[] |
| exclude | Exclude the resource from Advisor evaluations. Valid values: False (default) or True. | bool |
| lowCpuThreshold | Minimum percentage threshold for Advisor low CPU utilization evaluation. Valid only for subscriptions. Valid values: 5 (default), 10, 15 or 20. | '10' '15' '20' '5' |
DigestConfig
| Name | Description | Value |
|---|---|---|
| actionGroupResourceId | Action group resource id used by digest. | string |
| categories | Categories to send digest for. If categories are not provided, then digest will be sent for all categories. | String array containing any of: 'Cost' 'HighAvailability' 'OperationalExcellence' 'Performance' 'Security' |
| frequency | Frequency that digest will be triggered, in days. Value must be between 7 and 30 days inclusive. | int |
| language | 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). | string |
| name | Name of digest configuration. Value is case-insensitive and must be unique within a subscription. | string |
| state | State of digest configuration. | 'Active' 'Disabled' |