Microsoft.Advisor recommendations/suppressions 2020-01-01

Template format

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

{
  "name": "string",
  "type": "Microsoft.Advisor/recommendations/suppressions",
  "apiVersion": "2020-01-01",
  "properties": {
    "suppressionId": "string",
    "ttl": "string"
  }
}

Property values

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

Microsoft.Advisor/recommendations/suppressions object

Note

In Bicep, type and apiVersion are specified in the first line of the resource declaration. Use the format <type>@<apiVersion>. Don't set those properties in the resource body.

Name Type Required Value
name string Yes The name of the suppression.
type enum Yes For JSON -suppressions
-or-
Microsoft.Advisor/recommendations/suppressions

See Set name and type for child resources.
apiVersion enum Yes For JSON - 2020-01-01
properties object Yes The properties of the suppression. - SuppressionProperties object

SuppressionProperties object

Name Type Required Value
suppressionId string No The GUID of the suppression.
ttl string No The duration for which the suppression is valid.