Dell Servers · Schema

JobRequest

Request body for creating a new job

HardwareInfrastructureManagementMonitoringServers

Properties

Name Type Description
JobName string Name for the new job
JobDescription string Description of the job
Schedule string Cron expression for scheduling or RunNow
Targets array Target devices or groups for the job
View JSON Schema on GitHub

JSON Schema

dell-servers-jobrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/JobRequest",
  "title": "JobRequest",
  "type": "object",
  "description": "Request body for creating a new job",
  "required": [
    "JobName",
    "JobDescription",
    "Targets"
  ],
  "properties": {
    "JobName": {
      "type": "string",
      "description": "Name for the new job"
    },
    "JobDescription": {
      "type": "string",
      "description": "Description of the job"
    },
    "Schedule": {
      "type": "string",
      "description": "Cron expression for scheduling or RunNow"
    },
    "Targets": {
      "type": "array",
      "description": "Target devices or groups for the job",
      "items": {
        "type": "object",
        "properties": {
          "Id": {
            "type": "integer",
            "description": "Target device or group identifier"
          },
          "Data": {
            "type": "string",
            "description": "Additional target data"
          },
          "TargetType": {
            "type": "object",
            "properties": {
              "Id": {
                "type": "integer",
                "description": "Target type identifier"
              },
              "Name": {
                "type": "string",
                "description": "Target type name"
              }
            }
          }
        }
      }
    }
  }
}