Microsoft.Maintenance (preview:2021-09-01)

2025/09/05 • 26 new, 26 deleted methods

PublicMaintenanceConfigurations_List (new)
Description Get Public Maintenance Configuration records
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
location: string ,
tags: object ,
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 ,
]
,
}
,
tasks:
{
preTasks:
[
{
parameters: object ,
source: string ,
taskScope: enum ,
}
,
]
,
postTasks:
[
{
parameters: object ,
source: string ,
taskScope: enum ,
}
,
]
,
}
,
}
,
}
,
}
,
]
,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
location: string ,
tags: object ,
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 ,
]
,
}
,
tasks:
{
preTasks:
[
{
parameters: object ,
source: string ,
taskScope: enum ,
}
,
]
,
postTasks:
[
{
parameters: object ,
source: string ,
taskScope: enum ,
}
,
]
,
}
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ApplyUpdates_GetParent (new)
Description Track maintenance updates to resource with parent
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/{applyUpdateName}
{
subscriptionId: string ,
resourceGroupName: string ,
resourceParentType: string ,
resourceParentName: string ,
providerName: string ,
resourceType: string ,
resourceName: string ,
applyUpdateName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
status: enum ,
resourceId: string ,
lastUpdateTime: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ApplyUpdates_Get (new)
Description Track maintenance updates to resource
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/{applyUpdateName}
{
subscriptionId: string ,
resourceGroupName: string ,
providerName: string ,
resourceType: string ,
resourceName: string ,
applyUpdateName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
status: enum ,
resourceId: string ,
lastUpdateTime: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ApplyUpdates_CreateOrUpdateParent (new)
Description Apply maintenance updates to resource with parent
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/default
{
subscriptionId: string ,
resourceGroupName: string ,
providerName: string ,
resourceParentType: string ,
resourceParentName: string ,
resourceType: string ,
resourceName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
status: enum ,
resourceId: string ,
lastUpdateTime: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ApplyUpdates_CreateOrUpdate (new)
Description Apply maintenance updates to resource
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/default
{
subscriptionId: string ,
resourceGroupName: string ,
providerName: string ,
resourceType: string ,
resourceName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
status: enum ,
resourceId: string ,
lastUpdateTime: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ConfigurationAssignments_GetParent (new)
Description Get configuration for resource.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}
{
subscriptionId: string ,
resourceGroupName: string ,
providerName: string ,
resourceParentType: string ,
resourceParentName: string ,
resourceType: string ,
resourceName: string ,
configurationAssignmentName: string ,
api-version: string ,
}

⚐ Response (200)

{
location: string ,
properties:
{
maintenanceConfigurationId: string ,
resourceId: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ConfigurationAssignments_CreateOrUpdateParent (new)
Description Register configuration for resource.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}
{
subscriptionId: string ,
resourceGroupName: string ,
providerName: string ,
resourceParentType: string ,
resourceParentName: string ,
resourceType: string ,
resourceName: string ,
configurationAssignmentName: string ,
configurationAssignment:
{
location: string ,
properties:
{
maintenanceConfigurationId: string ,
resourceId: string ,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
location: string ,
properties:
{
maintenanceConfigurationId: string ,
resourceId: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ConfigurationAssignments_DeleteParent (new)
Description Unregister configuration for resource.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}
{
subscriptionId: string ,
resourceGroupName: string ,
providerName: string ,
resourceParentType: string ,
resourceParentName: string ,
resourceType: string ,
resourceName: string ,
configurationAssignmentName: string ,
api-version: string ,
}

⚐ Response (200)

{
location: string ,
properties:
{
maintenanceConfigurationId: string ,
resourceId: string ,
}
,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ConfigurationAssignments_Get (new)
Description Get configuration for resource.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}
{
subscriptionId: string ,
resourceGroupName: string ,
providerName: string ,
resourceType: string ,
resourceName: string ,
configurationAssignmentName: string ,
api-version: string ,
}

⚐ Response (200)

{
location: string ,
properties:
{
maintenanceConfigurationId: string ,
resourceId: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ConfigurationAssignments_CreateOrUpdate (new)
Description Register configuration for resource.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}
{
subscriptionId: string ,
resourceGroupName: string ,
providerName: string ,
resourceType: string ,
resourceName: string ,
configurationAssignmentName: string ,
configurationAssignment:
{
location: string ,
properties:
{
maintenanceConfigurationId: string ,
resourceId: string ,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
location: string ,
properties:
{
maintenanceConfigurationId: string ,
resourceId: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ConfigurationAssignments_Delete (new)
Description Unregister configuration for resource.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}
{
subscriptionId: string ,
resourceGroupName: string ,
providerName: string ,
resourceType: string ,
resourceName: string ,
configurationAssignmentName: string ,
api-version: string ,
}

⚐ Response (200)

{
location: string ,
properties:
{
maintenanceConfigurationId: string ,
resourceId: string ,
}
,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ConfigurationAssignments_ListParent (new)
Description List configurationAssignments for resource.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments
{
subscriptionId: string ,
resourceGroupName: string ,
providerName: string ,
resourceParentType: string ,
resourceParentName: string ,
resourceType: string ,
resourceName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
location: string ,
properties:
{
maintenanceConfigurationId: string ,
resourceId: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ConfigurationAssignments_List (new)
Description List configurationAssignments for resource.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments
{
subscriptionId: string ,
resourceGroupName: string ,
providerName: string ,
resourceType: string ,
resourceName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
location: string ,
properties:
{
maintenanceConfigurationId: string ,
resourceId: string ,
}
,
}
,
]
,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
location: string ,
tags: object ,
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 ,
]
,
}
,
tasks:
{
preTasks:
[
{
parameters: object ,
source: string ,
taskScope: enum ,
}
,
]
,
postTasks:
[
{
parameters: object ,
source: string ,
taskScope: enum ,
}
,
]
,
}
,
}
,
}
,
}

⚐ Response (default)

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

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Maintenance/maintenanceConfigurations/{resourceName}
{
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
configuration:
{
location: string ,
tags: object ,
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 ,
]
,
}
,
tasks:
{
preTasks:
[
{
parameters: object ,
source: string ,
taskScope: enum ,
}
,
]
,
postTasks:
[
{
parameters: object ,
source: string ,
taskScope: enum ,
}
,
]
,
}
,
}
,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
location: string ,
tags: object ,
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 ,
]
,
}
,
tasks:
{
preTasks:
[
{
parameters: object ,
source: string ,
taskScope: enum ,
}
,
]
,
postTasks:
[
{
parameters: object ,
source: string ,
taskScope: enum ,
}
,
]
,
}
,
}
,
}
,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
location: string ,
tags: object ,
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 ,
]
,
}
,
tasks:
{
preTasks:
[
{
parameters: object ,
source: string ,
taskScope: enum ,
}
,
]
,
postTasks:
[
{
parameters: object ,
source: string ,
taskScope: enum ,
}
,
]
,
}
,
}
,
}
,
}

⚐ Response (204)

{}

⚐ Response (default)

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

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Maintenance/maintenanceConfigurations/{resourceName}
{
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
configuration:
{
location: string ,
tags: object ,
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 ,
]
,
}
,
tasks:
{
preTasks:
[
{
parameters: object ,
source: string ,
taskScope: enum ,
}
,
]
,
postTasks:
[
{
parameters: object ,
source: string ,
taskScope: enum ,
}
,
]
,
}
,
}
,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
location: string ,
tags: object ,
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 ,
]
,
}
,
tasks:
{
preTasks:
[
{
parameters: object ,
source: string ,
taskScope: enum ,
}
,
]
,
postTasks:
[
{
parameters: object ,
source: string ,
taskScope: enum ,
}
,
]
,
}
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
MaintenanceConfigurations_List (new)
Description Get Configuration records within a subscription
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
location: string ,
tags: object ,
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 ,
]
,
}
,
tasks:
{
preTasks:
[
{
parameters: object ,
source: string ,
taskScope: enum ,
}
,
]
,
postTasks:
[
{
parameters: object ,
source: string ,
taskScope: enum ,
}
,
]
,
}
,
}
,
}
,
}
,
]
,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
value:
[
{
location: string ,
tags: object ,
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 ,
]
,
}
,
tasks:
{
preTasks:
[
{
parameters: object ,
source: string ,
taskScope: enum ,
}
,
]
,
postTasks:
[
{
parameters: object ,
source: string ,
taskScope: enum ,
}
,
]
,
}
,
}
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ApplyUpdates_List (new)
Description Get Configuration records within a subscription
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
status: enum ,
resourceId: string ,
lastUpdateTime: string ,
}
,
}
,
]
,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
status: enum ,
resourceId: string ,
lastUpdateTime: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ConfigurationAssignmentsWithinSubscription_List (new)
Description [UNSUPPORTED] Get configuration assignment within a subscription. This API is not implemented yet.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
location: string ,
properties:
{
maintenanceConfigurationId: string ,
resourceId: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
Operations_List (new)
Description List the available operations supported by the Microsoft.Maintenance resource provider
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Maintenance/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
origin: string ,
properties: object ,
isDataAction: boolean ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
Updates_ListParent (new)
Description Get updates to resources.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/updates
{
subscriptionId: string ,
resourceGroupName: string ,
providerName: string ,
resourceParentType: string ,
resourceParentName: string ,
resourceType: string ,
resourceName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
maintenanceScope: enum ,
impactType: enum ,
status: enum ,
impactDurationInSec: integer ,
notBefore: string ,
properties:
{
resourceId: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
Updates_List (new)
Description Get updates to resources.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/updates
{
subscriptionId: string ,
resourceGroupName: string ,
providerName: string ,
resourceType: string ,
resourceName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
maintenanceScope: enum ,
impactType: enum ,
status: enum ,
impactDurationInSec: integer ,
notBefore: string ,
properties:
{
resourceId: string ,
}
,
}
,
]
,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
value:
[
{
location: string ,
tags: object ,
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 ,
]
,
}
,
tasks:
{
preTasks:
[
{
parameters: object ,
source: string ,
taskScope: enum ,
}
,
]
,
postTasks:
[
{
parameters: object ,
source: string ,
taskScope: enum ,
}
,
]
,
}
,
}
,
}
,
}
,
]
,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
location: string ,
tags: object ,
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 ,
]
,
}
,
tasks:
{
preTasks:
[
{
parameters: object ,
source: string ,
taskScope: enum ,
}
,
]
,
postTasks:
[
{
parameters: object ,
source: string ,
taskScope: enum ,
}
,
]
,
}
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ApplyUpdates_GetParent (removed)
Description Track maintenance updates to resource with parent
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/{applyUpdateName}
{
subscriptionId: string ,
resourceGroupName: string ,
resourceParentType: string ,
resourceParentName: string ,
providerName: string ,
resourceType: string ,
resourceName: string ,
applyUpdateName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
status: enum ,
resourceId: string ,
lastUpdateTime: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ApplyUpdates_Get (removed)
Description Track maintenance updates to resource
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/{applyUpdateName}
{
subscriptionId: string ,
resourceGroupName: string ,
providerName: string ,
resourceType: string ,
resourceName: string ,
applyUpdateName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
status: enum ,
resourceId: string ,
lastUpdateTime: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ApplyUpdates_CreateOrUpdateParent (removed)
Description Apply maintenance updates to resource with parent
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/default
{
subscriptionId: string ,
resourceGroupName: string ,
providerName: string ,
resourceParentType: string ,
resourceParentName: string ,
resourceType: string ,
resourceName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
status: enum ,
resourceId: string ,
lastUpdateTime: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ApplyUpdates_CreateOrUpdate (removed)
Description Apply maintenance updates to resource
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/default
{
subscriptionId: string ,
resourceGroupName: string ,
providerName: string ,
resourceType: string ,
resourceName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
status: enum ,
resourceId: string ,
lastUpdateTime: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ConfigurationAssignments_GetParent (removed)
Description Get configuration for resource.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}
{
subscriptionId: string ,
resourceGroupName: string ,
providerName: string ,
resourceParentType: string ,
resourceParentName: string ,
resourceType: string ,
resourceName: string ,
configurationAssignmentName: string ,
api-version: string ,
}

⚐ Response (200)

{
location: string ,
properties:
{
maintenanceConfigurationId: string ,
resourceId: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ConfigurationAssignments_CreateOrUpdateParent (removed)
Description Register configuration for resource.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}
{
subscriptionId: string ,
resourceGroupName: string ,
providerName: string ,
resourceParentType: string ,
resourceParentName: string ,
resourceType: string ,
resourceName: string ,
configurationAssignmentName: string ,
configurationAssignment:
{
location: string ,
properties:
{
maintenanceConfigurationId: string ,
resourceId: string ,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
location: string ,
properties:
{
maintenanceConfigurationId: string ,
resourceId: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ConfigurationAssignments_DeleteParent (removed)
Description Unregister configuration for resource.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}
{
subscriptionId: string ,
resourceGroupName: string ,
providerName: string ,
resourceParentType: string ,
resourceParentName: string ,
resourceType: string ,
resourceName: string ,
configurationAssignmentName: string ,
api-version: string ,
}

⚐ Response (200)

{
location: string ,
properties:
{
maintenanceConfigurationId: string ,
resourceId: string ,
}
,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ConfigurationAssignments_Get (removed)
Description Get configuration for resource.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}
{
subscriptionId: string ,
resourceGroupName: string ,
providerName: string ,
resourceType: string ,
resourceName: string ,
configurationAssignmentName: string ,
api-version: string ,
}

⚐ Response (200)

{
location: string ,
properties:
{
maintenanceConfigurationId: string ,
resourceId: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ConfigurationAssignments_CreateOrUpdate (removed)
Description Register configuration for resource.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}
{
subscriptionId: string ,
resourceGroupName: string ,
providerName: string ,
resourceType: string ,
resourceName: string ,
configurationAssignmentName: string ,
configurationAssignment:
{
location: string ,
properties:
{
maintenanceConfigurationId: string ,
resourceId: string ,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
location: string ,
properties:
{
maintenanceConfigurationId: string ,
resourceId: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ConfigurationAssignments_Delete (removed)
Description Unregister configuration for resource.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}
{
subscriptionId: string ,
resourceGroupName: string ,
providerName: string ,
resourceType: string ,
resourceName: string ,
configurationAssignmentName: string ,
api-version: string ,
}

⚐ Response (200)

{
location: string ,
properties:
{
maintenanceConfigurationId: string ,
resourceId: string ,
}
,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ConfigurationAssignments_ListParent (removed)
Description List configurationAssignments for resource.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments
{
subscriptionId: string ,
resourceGroupName: string ,
providerName: string ,
resourceParentType: string ,
resourceParentName: string ,
resourceType: string ,
resourceName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
location: string ,
properties:
{
maintenanceConfigurationId: string ,
resourceId: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ConfigurationAssignments_List (removed)
Description List configurationAssignments for resource.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments
{
subscriptionId: string ,
resourceGroupName: string ,
providerName: string ,
resourceType: string ,
resourceName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
location: string ,
properties:
{
maintenanceConfigurationId: string ,
resourceId: string ,
}
,
}
,
]
,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
location: string ,
tags: object ,
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 ,
]
,
}
,
tasks:
{
preTasks:
[
{
parameters: object ,
source: string ,
taskScope: enum ,
}
,
]
,
postTasks:
[
{
parameters: object ,
source: string ,
taskScope: enum ,
}
,
]
,
}
,
}
,
}
,
}

⚐ Response (default)

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

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Maintenance/maintenanceConfigurations/{resourceName}
{
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
configuration:
{
location: string ,
tags: object ,
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 ,
]
,
}
,
tasks:
{
preTasks:
[
{
parameters: object ,
source: string ,
taskScope: enum ,
}
,
]
,
postTasks:
[
{
parameters: object ,
source: string ,
taskScope: enum ,
}
,
]
,
}
,
}
,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
location: string ,
tags: object ,
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 ,
]
,
}
,
tasks:
{
preTasks:
[
{
parameters: object ,
source: string ,
taskScope: enum ,
}
,
]
,
postTasks:
[
{
parameters: object ,
source: string ,
taskScope: enum ,
}
,
]
,
}
,
}
,
}
,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
location: string ,
tags: object ,
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 ,
]
,
}
,
tasks:
{
preTasks:
[
{
parameters: object ,
source: string ,
taskScope: enum ,
}
,
]
,
postTasks:
[
{
parameters: object ,
source: string ,
taskScope: enum ,
}
,
]
,
}
,
}
,
}
,
}

⚐ Response (204)

{}

⚐ Response (default)

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

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Maintenance/maintenanceConfigurations/{resourceName}
{
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
configuration:
{
location: string ,
tags: object ,
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 ,
]
,
}
,
tasks:
{
preTasks:
[
{
parameters: object ,
source: string ,
taskScope: enum ,
}
,
]
,
postTasks:
[
{
parameters: object ,
source: string ,
taskScope: enum ,
}
,
]
,
}
,
}
,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
location: string ,
tags: object ,
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 ,
]
,
}
,
tasks:
{
preTasks:
[
{
parameters: object ,
source: string ,
taskScope: enum ,
}
,
]
,
postTasks:
[
{
parameters: object ,
source: string ,
taskScope: enum ,
}
,
]
,
}
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
MaintenanceConfigurations_List (removed)
Description Get Configuration records within a subscription
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
location: string ,
tags: object ,
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 ,
]
,
}
,
tasks:
{
preTasks:
[
{
parameters: object ,
source: string ,
taskScope: enum ,
}
,
]
,
postTasks:
[
{
parameters: object ,
source: string ,
taskScope: enum ,
}
,
]
,
}
,
}
,
}
,
}
,
]
,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
value:
[
{
location: string ,
tags: object ,
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 ,
]
,
}
,
tasks:
{
preTasks:
[
{
parameters: object ,
source: string ,
taskScope: enum ,
}
,
]
,
postTasks:
[
{
parameters: object ,
source: string ,
taskScope: enum ,
}
,
]
,
}
,
}
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ApplyUpdates_List (removed)
Description Get Configuration records within a subscription
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
status: enum ,
resourceId: string ,
lastUpdateTime: string ,
}
,
}
,
]
,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
status: enum ,
resourceId: string ,
lastUpdateTime: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ConfigurationAssignmentsWithinSubscription_List (removed)
Description [UNSUPPORTED] Get configuration assignment within a subscription. This API is not implemented yet.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
location: string ,
properties:
{
maintenanceConfigurationId: string ,
resourceId: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
Operations_List (removed)
Description List the available operations supported by the Microsoft.Maintenance resource provider
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Maintenance/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
origin: string ,
properties: object ,
isDataAction: boolean ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
Updates_ListParent (removed)
Description Get updates to resources.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/updates
{
subscriptionId: string ,
resourceGroupName: string ,
providerName: string ,
resourceParentType: string ,
resourceParentName: string ,
resourceType: string ,
resourceName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
maintenanceScope: enum ,
impactType: enum ,
status: enum ,
impactDurationInSec: integer ,
notBefore: string ,
properties:
{
resourceId: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
Updates_List (removed)
Description Get updates to resources.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/updates
{
subscriptionId: string ,
resourceGroupName: string ,
providerName: string ,
resourceType: string ,
resourceName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
maintenanceScope: enum ,
impactType: enum ,
status: enum ,
impactDurationInSec: integer ,
notBefore: string ,
properties:
{
resourceId: string ,
}
,
}
,
]
,
}

⚐ Response (default)

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