Microsoft.Maintenance configurationAssignments 2018-06-01-preview

Template format

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

  "name": "string",
  "type": "Microsoft.Maintenance/configurationAssignments",
  "apiVersion": "2018-06-01-preview",
  "location": "string",
  "properties": {
    "maintenanceConfigurationId": "string",
    "resourceId": "string"

Property values

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

Microsoft.Maintenance/configurationAssignments object


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 Configuration assignment name
type enum Yes For JSON - Microsoft.Maintenance/configurationAssignments
apiVersion enum Yes For JSON - 2018-06-01-preview
location string No Location of the resource
properties object Yes Properties of the configuration assignment - ConfigurationAssignmentProperties object

ConfigurationAssignmentProperties object

Name Type Required Value
maintenanceConfigurationId string No The maintenance configuration Id
resourceId string No The unique resourceId