Microsoft.Maintenance (preview:2023-10-01)

2025/07/23 • 8 updated methods

MaintenanceConfigurations_List (updated)
Description Get Configuration records within a subscription
Reference Link ¶

⚶ Changes

{
  "#id": "MaintenanceConfigurations_List",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "@added_98a995f61df84e67b6d246f80ce47c15": {
              "#name": "location",
              "Description": "Gets or sets location of the resource",
              "Required": false,
              "Type": "string"
            },
            "@added_3196acb2c7ac43c0b79b9ae3cae40fac": {
              "#name": "tags",
              "Description": "Gets or sets tags of the resource",
              "Required": false,
              "Type": "object"
            }
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Maintenance/maintenanceConfigurations
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
namespace: string ,
extensionProperties: object ,
maintenanceScope: enum ,
maintenanceWindow:
{
startDateTime: string ,
expirationDateTime: string ,
duration: string ,
timeZone: string ,
recurEvery: string ,
}
,
visibility: enum ,
installPatches:
{
rebootSetting: enum ,
windowsParameters:
{
kbNumbersToExclude:
[
string ,
]
,
kbNumbersToInclude:
[
string ,
]
,
classificationsToInclude:
[
string ,
]
,
excludeKbsRequiringReboot: boolean ,
}
,
linuxParameters:
{
packageNameMasksToExclude:
[
string ,
]
,
packageNameMasksToInclude:
[
string ,
]
,
classificationsToInclude:
[
string ,
]
,
}
,
}
,
}
,
location: string ,
tags: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PublicMaintenanceConfigurations_List (updated)
Description Get Public Maintenance Configuration records
Reference Link ¶

⚶ Changes

{
  "#id": "PublicMaintenanceConfigurations_List",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "@added_3598b6859903471dbdffac36ae35801a": {
              "#name": "location",
              "Description": "Gets or sets location of the resource",
              "Required": false,
              "Type": "string"
            },
            "@added_bc60b08005d44720af2f89c44552f67d": {
              "#name": "tags",
              "Description": "Gets or sets tags of the resource",
              "Required": false,
              "Type": "object"
            }
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Maintenance/publicMaintenanceConfigurations
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
namespace: string ,
extensionProperties: object ,
maintenanceScope: enum ,
maintenanceWindow:
{
startDateTime: string ,
expirationDateTime: string ,
duration: string ,
timeZone: string ,
recurEvery: string ,
}
,
visibility: enum ,
installPatches:
{
rebootSetting: enum ,
windowsParameters:
{
kbNumbersToExclude:
[
string ,
]
,
kbNumbersToInclude:
[
string ,
]
,
classificationsToInclude:
[
string ,
]
,
excludeKbsRequiringReboot: boolean ,
}
,
linuxParameters:
{
packageNameMasksToExclude:
[
string ,
]
,
packageNameMasksToInclude:
[
string ,
]
,
classificationsToInclude:
[
string ,
]
,
}
,
}
,
}
,
location: string ,
tags: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PublicMaintenanceConfigurations_Get (updated)
Description Get Public Maintenance Configuration record
Reference Link ¶

⚶ Changes

{
  "#id": "PublicMaintenanceConfigurations_Get",
  "$responses": {
    "200": {
      "$properties": {
        "@added_064a4f62a7d74c3f812d05dc76684ac9": {
          "#name": "location",
          "Description": "Gets or sets location of the resource",
          "Required": false,
          "Type": "string"
        },
        "@added_3f8933c5ad2840cc92f2b4717f0cec6b": {
          "#name": "tags",
          "Description": "Gets or sets tags of the resource",
          "Required": false,
          "Type": "object"
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/{resourceName}
{
api-version: string ,
subscriptionId: string ,
resourceName: string ,
}

⚐ Response (200)

{
properties:
{
namespace: string ,
extensionProperties: object ,
maintenanceScope: enum ,
maintenanceWindow:
{
startDateTime: string ,
expirationDateTime: string ,
duration: string ,
timeZone: string ,
recurEvery: string ,
}
,
visibility: enum ,
installPatches:
{
rebootSetting: enum ,
windowsParameters:
{
kbNumbersToExclude:
[
string ,
]
,
kbNumbersToInclude:
[
string ,
]
,
classificationsToInclude:
[
string ,
]
,
excludeKbsRequiringReboot: boolean ,
}
,
linuxParameters:
{
packageNameMasksToExclude:
[
string ,
]
,
packageNameMasksToInclude:
[
string ,
]
,
classificationsToInclude:
[
string ,
]
,
}
,
}
,
}
,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
MaintenanceConfigurationsForResourceGroup_List (updated)
Description Get Configuration records within a subscription and resource group
Reference Link ¶

⚶ Changes

{
  "#id": "MaintenanceConfigurationsForResourceGroup_List",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "@added_844481b20c274ec7806baa8eeba554ec": {
              "#name": "location",
              "Description": "Gets or sets location of the resource",
              "Required": false,
              "Type": "string"
            },
            "@added_d5d6ec2b3f884bd78eb2ea1477a972ae": {
              "#name": "tags",
              "Description": "Gets or sets tags of the resource",
              "Required": false,
              "Type": "object"
            }
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maintenance/maintenanceConfigurations
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
namespace: string ,
extensionProperties: object ,
maintenanceScope: enum ,
maintenanceWindow:
{
startDateTime: string ,
expirationDateTime: string ,
duration: string ,
timeZone: string ,
recurEvery: string ,
}
,
visibility: enum ,
installPatches:
{
rebootSetting: enum ,
windowsParameters:
{
kbNumbersToExclude:
[
string ,
]
,
kbNumbersToInclude:
[
string ,
]
,
classificationsToInclude:
[
string ,
]
,
excludeKbsRequiringReboot: boolean ,
}
,
linuxParameters:
{
packageNameMasksToExclude:
[
string ,
]
,
packageNameMasksToInclude:
[
string ,
]
,
classificationsToInclude:
[
string ,
]
,
}
,
}
,
}
,
location: string ,
tags: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
MaintenanceConfigurations_Get (updated)
Description Get Configuration record
Reference Link ¶

⚶ Changes

{
  "#id": "MaintenanceConfigurations_Get",
  "$responses": {
    "200": {
      "$properties": {
        "@added_ecdfa038f40346e78a64aac93724162a": {
          "#name": "location",
          "Description": "Gets or sets location of the resource",
          "Required": false,
          "Type": "string"
        },
        "@added_42c48daf5bac4be3bd594175a138c2fa": {
          "#name": "tags",
          "Description": "Gets or sets tags of the resource",
          "Required": false,
          "Type": "object"
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maintenance/maintenanceConfigurations/{resourceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
}

⚐ Response (200)

{
properties:
{
namespace: string ,
extensionProperties: object ,
maintenanceScope: enum ,
maintenanceWindow:
{
startDateTime: string ,
expirationDateTime: string ,
duration: string ,
timeZone: string ,
recurEvery: string ,
}
,
visibility: enum ,
installPatches:
{
rebootSetting: enum ,
windowsParameters:
{
kbNumbersToExclude:
[
string ,
]
,
kbNumbersToInclude:
[
string ,
]
,
classificationsToInclude:
[
string ,
]
,
excludeKbsRequiringReboot: boolean ,
}
,
linuxParameters:
{
packageNameMasksToExclude:
[
string ,
]
,
packageNameMasksToInclude:
[
string ,
]
,
classificationsToInclude:
[
string ,
]
,
}
,
}
,
}
,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
MaintenanceConfigurations_CreateOrUpdate (updated)
Description Create or Update configuration record
Reference Link ¶

⚶ Changes

{
  "#id": "MaintenanceConfigurations_CreateOrUpdate",
  "$parameters": {
    "configuration": {
      "$properties": {
        "@added_7e58fd0e2b6f46f990624c81e5ed8ac7": {
          "#name": "location",
          "Description": "Gets or sets location of the resource",
          "Required": false,
          "Type": "string"
        },
        "@added_fc5c9d5f87424cbfa28969a48d8646c4": {
          "#name": "tags",
          "Description": "Gets or sets tags of the resource",
          "Required": false,
          "Type": "object"
        }
      }
    }
  },
  "$responses": {
    "200": {
      "$properties": {
        "@added_dbf3cfc4ed0c4be69bda32f260e58263": {
          "#name": "location",
          "Description": "Gets or sets location of the resource",
          "Required": false,
          "Type": "string"
        },
        "@added_e671cde3cfeb4483b6fd7d7bbb05a3ae": {
          "#name": "tags",
          "Description": "Gets or sets tags of the resource",
          "Required": false,
          "Type": "object"
        }
      }
    },
    "201": {
      "$properties": {
        "@added_9881dc9599134cc68f9ef67fabe2c2b5": {
          "#name": "location",
          "Description": "Gets or sets location of the resource",
          "Required": false,
          "Type": "string"
        },
        "@added_4391270feced46cf893d92429789f462": {
          "#name": "tags",
          "Description": "Gets or sets tags of the resource",
          "Required": false,
          "Type": "object"
        }
      }
    }
  }
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maintenance/maintenanceConfigurations/{resourceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
configuration:
{
properties:
{
namespace: string ,
extensionProperties: object ,
maintenanceScope: enum ,
maintenanceWindow:
{
startDateTime: string ,
expirationDateTime: string ,
duration: string ,
timeZone: string ,
recurEvery: string ,
}
,
visibility: enum ,
installPatches:
{
rebootSetting: enum ,
windowsParameters:
{
kbNumbersToExclude:
[
string ,
]
,
kbNumbersToInclude:
[
string ,
]
,
classificationsToInclude:
[
string ,
]
,
excludeKbsRequiringReboot: boolean ,
}
,
linuxParameters:
{
packageNameMasksToExclude:
[
string ,
]
,
packageNameMasksToInclude:
[
string ,
]
,
classificationsToInclude:
[
string ,
]
,
}
,
}
,
}
,
location: string ,
tags: object ,
}
,
}

⚐ Response (200)

{
properties:
{
namespace: string ,
extensionProperties: object ,
maintenanceScope: enum ,
maintenanceWindow:
{
startDateTime: string ,
expirationDateTime: string ,
duration: string ,
timeZone: string ,
recurEvery: string ,
}
,
visibility: enum ,
installPatches:
{
rebootSetting: enum ,
windowsParameters:
{
kbNumbersToExclude:
[
string ,
]
,
kbNumbersToInclude:
[
string ,
]
,
classificationsToInclude:
[
string ,
]
,
excludeKbsRequiringReboot: boolean ,
}
,
linuxParameters:
{
packageNameMasksToExclude:
[
string ,
]
,
packageNameMasksToInclude:
[
string ,
]
,
classificationsToInclude:
[
string ,
]
,
}
,
}
,
}
,
location: string ,
tags: object ,
}

⚐ Response (201)

{
properties:
{
namespace: string ,
extensionProperties: object ,
maintenanceScope: enum ,
maintenanceWindow:
{
startDateTime: string ,
expirationDateTime: string ,
duration: string ,
timeZone: string ,
recurEvery: string ,
}
,
visibility: enum ,
installPatches:
{
rebootSetting: enum ,
windowsParameters:
{
kbNumbersToExclude:
[
string ,
]
,
kbNumbersToInclude:
[
string ,
]
,
classificationsToInclude:
[
string ,
]
,
excludeKbsRequiringReboot: boolean ,
}
,
linuxParameters:
{
packageNameMasksToExclude:
[
string ,
]
,
packageNameMasksToInclude:
[
string ,
]
,
classificationsToInclude:
[
string ,
]
,
}
,
}
,
}
,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
MaintenanceConfigurations_Update (updated)
Description Patch configuration record
Reference Link ¶

⚶ Changes

{
  "#id": "MaintenanceConfigurations_Update",
  "$parameters": {
    "configuration": {
      "$properties": {
        "@added_60d42169e11946ff894def90fd24e159": {
          "#name": "location",
          "Description": "Gets or sets location of the resource",
          "Required": false,
          "Type": "string"
        },
        "@added_4172c0b82f824578994a75a50db92ebc": {
          "#name": "tags",
          "Description": "Gets or sets tags of the resource",
          "Required": false,
          "Type": "object"
        }
      }
    }
  },
  "$responses": {
    "200": {
      "$properties": {
        "@added_fc88697d2cc34bc2bbcc52f33fce5a49": {
          "#name": "location",
          "Description": "Gets or sets location of the resource",
          "Required": false,
          "Type": "string"
        },
        "@added_93b367e3288b4ee2a3ba64ec9721598d": {
          "#name": "tags",
          "Description": "Gets or sets tags of the resource",
          "Required": false,
          "Type": "object"
        }
      }
    }
  }
}

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maintenance/maintenanceConfigurations/{resourceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
configuration:
{
properties:
{
namespace: string ,
extensionProperties: object ,
maintenanceScope: enum ,
maintenanceWindow:
{
startDateTime: string ,
expirationDateTime: string ,
duration: string ,
timeZone: string ,
recurEvery: string ,
}
,
visibility: enum ,
installPatches:
{
rebootSetting: enum ,
windowsParameters:
{
kbNumbersToExclude:
[
string ,
]
,
kbNumbersToInclude:
[
string ,
]
,
classificationsToInclude:
[
string ,
]
,
excludeKbsRequiringReboot: boolean ,
}
,
linuxParameters:
{
packageNameMasksToExclude:
[
string ,
]
,
packageNameMasksToInclude:
[
string ,
]
,
classificationsToInclude:
[
string ,
]
,
}
,
}
,
}
,
location: string ,
tags: object ,
}
,
}

⚐ Response (200)

{
properties:
{
namespace: string ,
extensionProperties: object ,
maintenanceScope: enum ,
maintenanceWindow:
{
startDateTime: string ,
expirationDateTime: string ,
duration: string ,
timeZone: string ,
recurEvery: string ,
}
,
visibility: enum ,
installPatches:
{
rebootSetting: enum ,
windowsParameters:
{
kbNumbersToExclude:
[
string ,
]
,
kbNumbersToInclude:
[
string ,
]
,
classificationsToInclude:
[
string ,
]
,
excludeKbsRequiringReboot: boolean ,
}
,
linuxParameters:
{
packageNameMasksToExclude:
[
string ,
]
,
packageNameMasksToInclude:
[
string ,
]
,
classificationsToInclude:
[
string ,
]
,
}
,
}
,
}
,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
MaintenanceConfigurations_Delete (updated)
Description Delete Configuration record
Reference Link ¶

⚶ Changes

{
  "#id": "MaintenanceConfigurations_Delete",
  "$responses": {
    "200": {
      "$properties": {
        "@added_5fa0c2e994004e07bfc32b19eb9031c7": {
          "#name": "location",
          "Description": "Gets or sets location of the resource",
          "Required": false,
          "Type": "string"
        },
        "@added_9a34c8cf7cc54b67ad1a25a85c862041": {
          "#name": "tags",
          "Description": "Gets or sets tags of the resource",
          "Required": false,
          "Type": "object"
        }
      }
    }
  }
}

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maintenance/maintenanceConfigurations/{resourceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
}

⚐ Response (200)

{
properties:
{
namespace: string ,
extensionProperties: object ,
maintenanceScope: enum ,
maintenanceWindow:
{
startDateTime: string ,
expirationDateTime: string ,
duration: string ,
timeZone: string ,
recurEvery: string ,
}
,
visibility: enum ,
installPatches:
{
rebootSetting: enum ,
windowsParameters:
{
kbNumbersToExclude:
[
string ,
]
,
kbNumbersToInclude:
[
string ,
]
,
classificationsToInclude:
[
string ,
]
,
excludeKbsRequiringReboot: boolean ,
}
,
linuxParameters:
{
packageNameMasksToExclude:
[
string ,
]
,
packageNameMasksToInclude:
[
string ,
]
,
classificationsToInclude:
[
string ,
]
,
}
,
}
,
}
,
location: string ,
tags: object ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}