Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Bicep resource definition
The maintenanceConfigurations resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
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@2020-04-01' = {
location: 'string'
name: 'string'
properties: {
extensionProperties: {
{customized property}: 'string'
}
maintenanceScope: 'string'
namespace: 'string'
}
tags: {
{customized property}: 'string'
}
}
Property Values
Microsoft.Maintenance/maintenanceConfigurations
Name | Description | Value |
---|---|---|
location | Gets or sets location of the resource | string |
name | The resource name | string (required) |
properties | Gets or sets properties of the resource | MaintenanceConfigurationProperties |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
MaintenanceConfigurationProperties
Name | Description | Value |
---|---|---|
extensionProperties | Gets or sets extensionProperties of the maintenanceConfiguration. This is for future use only and would be a set of key value pairs for additional information e.g. whether to follow SDP etc. | MaintenanceConfigurationPropertiesExtensionProperties |
maintenanceScope | Gets or sets maintenanceScope of the configuration. It represent the impact area of the maintenance | 'All' 'Host' 'InResource' 'Resource' |
namespace | Gets or sets namespace of the resource e.g. Microsoft.Maintenance or Microsoft.Sql | string |
MaintenanceConfigurationPropertiesExtensionProperties
Name | Description | Value |
---|
MaintenanceConfigurationTags
Name | Description | Value |
---|
Usage Examples
Azure Verified Modules
The following Azure Verified Modules can be used to deploy this resource type.
Module | Description |
---|---|
Maintenance Configuration | AVM Resource Module for Maintenance Configuration |
ARM template resource definition
The maintenanceConfigurations resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
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": "2020-04-01",
"name": "string",
"location": "string",
"properties": {
"extensionProperties": {
"{customized property}": "string"
},
"maintenanceScope": "string",
"namespace": "string"
},
"tags": {
"{customized property}": "string"
}
}
Property Values
Microsoft.Maintenance/maintenanceConfigurations
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2020-04-01' |
location | Gets or sets location of the resource | string |
name | The resource name | string (required) |
properties | Gets or sets properties of the resource | MaintenanceConfigurationProperties |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
type | The resource type | 'Microsoft.Maintenance/maintenanceConfigurations' |
MaintenanceConfigurationProperties
Name | Description | Value |
---|---|---|
extensionProperties | Gets or sets extensionProperties of the maintenanceConfiguration. This is for future use only and would be a set of key value pairs for additional information e.g. whether to follow SDP etc. | MaintenanceConfigurationPropertiesExtensionProperties |
maintenanceScope | Gets or sets maintenanceScope of the configuration. It represent the impact area of the maintenance | 'All' 'Host' 'InResource' 'Resource' |
namespace | Gets or sets namespace of the resource e.g. Microsoft.Maintenance or Microsoft.Sql | string |
MaintenanceConfigurationPropertiesExtensionProperties
Name | Description | Value |
---|
MaintenanceConfigurationTags
Name | Description | Value |
---|
Usage Examples
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@2020-04-01"
name = "string"
parent_id = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = {
properties = {
extensionProperties = {
{customized property} = "string"
}
maintenanceScope = "string"
namespace = "string"
}
}
}
Property Values
Microsoft.Maintenance/maintenanceConfigurations
Name | Description | Value |
---|---|---|
location | Gets or sets location of the resource | string |
name | The resource name | string (required) |
properties | Gets or sets properties of the resource | MaintenanceConfigurationProperties |
tags | Resource tags | Dictionary of tag names and values. |
type | The resource type | "Microsoft.Maintenance/maintenanceConfigurations@2020-04-01" |
MaintenanceConfigurationProperties
Name | Description | Value |
---|---|---|
extensionProperties | Gets or sets extensionProperties of the maintenanceConfiguration. This is for future use only and would be a set of key value pairs for additional information e.g. whether to follow SDP etc. | MaintenanceConfigurationPropertiesExtensionProperties |
maintenanceScope | Gets or sets maintenanceScope of the configuration. It represent the impact area of the maintenance | 'All' 'Host' 'InResource' 'Resource' |
namespace | Gets or sets namespace of the resource e.g. Microsoft.Maintenance or Microsoft.Sql | string |
MaintenanceConfigurationPropertiesExtensionProperties
Name | Description | Value |
---|
MaintenanceConfigurationTags
Name | Description | Value |
---|
Usage Examples
Azure Verified Modules
The following Azure Verified Modules can be used to deploy this resource type.
Module | Description |
---|---|
Maintenance Configuration | AVM Resource Module for Maintenance Configuration |