Skip to content
Last updated

Server Disable Maintenance Mode Job

Overview

This job disables maintenance mode on a server. Disable maintenance mode on a server to resume automatic support case creation, ServiceNow incident creation, and email notifications after planned maintenance.

Job Template IDResource TypeJobParams
2798720f-b090-427d-b210-e48d33ce2f27compute-ops-mgmt/server--

Create Job

A job can be created by issuing a POST to the /compute-ops-mgmt/v1/jobs endpoint with the correct payload for the job.

The following properties are used when creating a job:

PropertyJSON TypeDescriptionRequired?
jobTemplatestring (id)The durable Template ID of the jobYes
resourceTypestring (type)The TYPE of the resource the job will operate onYes
resourceIdstring (id)The ID of the resource the job will operate onYes
jobParamsobjectAny additional data required by the jobNo

If the job was created successfully, a 201 Created response is returned. The response includes the job resource which has a job resourceUri that you can use to track the progress of the job.

Job Parameters

This job does not require any job parameters.

Examples

Here is an example request payload for creating this job.

Example

{
  "jobTemplate": "2798720f-b090-427d-b210-e48d33ce2f27",
  "resourceType": "compute-ops-mgmt/server",
  "resourceId": "048157-C87+8899048157087839"
}