The recommendations/suppressions resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
To create a Microsoft.Advisor/recommendations/suppressions resource, add the following JSON to your template.
{
"type": "Microsoft.Advisor/recommendations/suppressions",
"apiVersion": "2023-01-01",
"name": "string",
"properties": {
"suppressionId": "string",
"ttl": "string"
}
}
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.Advisor/recommendations/suppressions' |
apiVersion | The resource api version | '2023-01-01' |
name | The resource name See how to set names and types for child resources in JSON ARM templates. |
string (required) |
properties | The properties of the suppression. | SuppressionProperties |
Name | Description | Value |
---|---|---|
suppressionId | The GUID of the suppression. | string |
ttl | The duration for which the suppression is valid. | string |