Microsoft.Maintenance maintenanceConfigurations 2018-06-01-preview

Bicep resource definition

The maintenanceConfigurations resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Maintenance/maintenanceConfigurations resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.Maintenance/maintenanceConfigurations@2018-06-01-preview' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  properties: {
    extensionProperties: {}
    maintenanceScope: 'string'
    namespace: 'string'
  }
}

Property values

maintenanceConfigurations

Name Description Value
name The resource name string (required)
location Gets or sets location of the resource string
tags Gets or sets tags of the resource Dictionary of tag names and values. See Tags in templates
properties Gets or sets properties of the resource MaintenanceConfigurationProperties

MaintenanceConfigurationProperties

Name Description Value
extensionProperties Gets or sets extensionProperties of the maintenanceConfiguration object
maintenanceScope Gets or sets maintenanceScope of the configuration 'All'
'Host'
'InResource'
'Resource'
namespace Gets or sets namespace of the resource string

ARM template resource definition

The maintenanceConfigurations resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Maintenance/maintenanceConfigurations resource, add the following JSON to your template.

{
  "type": "Microsoft.Maintenance/maintenanceConfigurations",
  "apiVersion": "2018-06-01-preview",
  "name": "string",
  "location": "string",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "properties": {
    "extensionProperties": {},
    "maintenanceScope": "string",
    "namespace": "string"
  }
}

Property values

maintenanceConfigurations

Name Description Value
type The resource type 'Microsoft.Maintenance/maintenanceConfigurations'
apiVersion The resource api version '2018-06-01-preview'
name The resource name string (required)
location Gets or sets location of the resource string
tags Gets or sets tags of the resource Dictionary of tag names and values. See Tags in templates
properties Gets or sets properties of the resource MaintenanceConfigurationProperties

MaintenanceConfigurationProperties

Name Description Value
extensionProperties Gets or sets extensionProperties of the maintenanceConfiguration object
maintenanceScope Gets or sets maintenanceScope of the configuration 'All'
'Host'
'InResource'
'Resource'
namespace Gets or sets namespace of the resource string

Terraform (AzAPI provider) resource definition

The maintenanceConfigurations resource type can be deployed with operations that target:

  • Resource groups

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Maintenance/maintenanceConfigurations resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Maintenance/maintenanceConfigurations@2018-06-01-preview"
  name = "string"
  location = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  body = jsonencode({
    properties = {
      extensionProperties = {}
      maintenanceScope = "string"
      namespace = "string"
    }
  })
}

Property values

maintenanceConfigurations

Name Description Value
type The resource type "Microsoft.Maintenance/maintenanceConfigurations@2018-06-01-preview"
name The resource name string (required)
location Gets or sets location of the resource string
parent_id To deploy to a resource group, use the ID of that resource group. string (required)
tags Gets or sets tags of the resource Dictionary of tag names and values.
properties Gets or sets properties of the resource MaintenanceConfigurationProperties

MaintenanceConfigurationProperties

Name Description Value
extensionProperties Gets or sets extensionProperties of the maintenanceConfiguration object
maintenanceScope Gets or sets maintenanceScope of the configuration "All"
"Host"
"InResource"
"Resource"
namespace Gets or sets namespace of the resource string