Create Job
POST/projects/:projectId/providers/Aruba.Schedule/jobs
Create Job
Request
Path Parameters
unique identifier of the project CMP
Query Parameters
The requested API version
1- application/json
- text/json
- application/*+json
Body
the schedule to create
- ITBG-Bergamo
Array [
]
metadata
object
Metadata of the resource
Name of the resource
location
object
Contains information about the Region of a resource
Value of the region in which the resource will be located. Available regions at present:
For more information, check the documentation.
List of tags for the resource
properties
object
Properties required to configure and schedule a job.
Defines whether the job is enabled. Default is true.
For more information, check the documentation.
Possible values: [OneShot, Recurring]
Date and time when the job should run. Required only for "OneShot" jobs.
For more information, check the documentation.
End date until which the job can run. Required only for "Recurring" jobs.
For more information, check the documentation.
CRON expression that defines the recurrence of the job.
For more information, check the documentation.
steps
object[]
nullable
Step that will be executed as part of the scheduled job.
URI of the resource on which the action will be performed.
URI of the action to execute on the resource.
For more information, check the documentation.
HTTP verb to be used for the action (e.g., GET, POST, PUT, DELETE).
For more information, check the documentation.
Optional HTTP request body to send with the action.
For more information, check the documentation.
Body
the schedule to create
- ITBG-Bergamo
Array [
]
metadata
object
Metadata of the resource
Name of the resource
location
object
Contains information about the Region of a resource
Value of the region in which the resource will be located. Available regions at present:
For more information, check the documentation.
List of tags for the resource
properties
object
Properties required to configure and schedule a job.
Defines whether the job is enabled. Default is true.
For more information, check the documentation.
Possible values: [OneShot, Recurring]
Date and time when the job should run. Required only for "OneShot" jobs.
For more information, check the documentation.
End date until which the job can run. Required only for "Recurring" jobs.
For more information, check the documentation.
CRON expression that defines the recurrence of the job.
For more information, check the documentation.
steps
object[]
nullable
Step that will be executed as part of the scheduled job.
URI of the resource on which the action will be performed.
URI of the action to execute on the resource.
For more information, check the documentation.
HTTP verb to be used for the action (e.g., GET, POST, PUT, DELETE).
For more information, check the documentation.
Optional HTTP request body to send with the action.
For more information, check the documentation.
Body
the schedule to create
- ITBG-Bergamo
Array [
]
metadata
object
Metadata of the resource
Name of the resource
location
object
Contains information about the Region of a resource
Value of the region in which the resource will be located. Available regions at present:
For more information, check the documentation.
List of tags for the resource
properties
object
Properties required to configure and schedule a job.
Defines whether the job is enabled. Default is true.
For more information, check the documentation.
Possible values: [OneShot, Recurring]
Date and time when the job should run. Required only for "OneShot" jobs.
For more information, check the documentation.
End date until which the job can run. Required only for "Recurring" jobs.
For more information, check the documentation.
CRON expression that defines the recurrence of the job.
For more information, check the documentation.
steps
object[]
nullable
Step that will be executed as part of the scheduled job.
URI of the resource on which the action will be performed.
URI of the action to execute on the resource.
For more information, check the documentation.
HTTP verb to be used for the action (e.g., GET, POST, PUT, DELETE).
For more information, check the documentation.
Optional HTTP request body to send with the action.
For more information, check the documentation.
Responses
- 201
- 400
- 500
Created
- text/plain
- application/json
- text/json
- Schema
- Example (from schema)
Schema
Array [
]
metadata
object
project
object
category
object
typology
object
status
object
error
object
properties
object
Possible values: [OneShot, Recurring]
Possible values: [Hourly, Daily, Weekly, Monthly, Custom]
steps
object[]
nullable
Possible values: [None, Manual, ResourceDeleted]
{
"metadata": {
"id": "string",
"uri": "string",
"name": "string",
"project": {
"id": "string",
"folderId": "string"
},
"tags": [
"string"
],
"category": {
"name": "string",
"provider": "string",
"typology": {
"id": "string",
"name": "string"
}
},
"creationDate": "2024-07-29T15:51:28.071Z",
"createdBy": "string",
"ownerId": "string",
"updateDate": "2024-07-29T15:51:28.071Z",
"updatedBy": "string",
"version": "string",
"createdUser": "string",
"updatedUser": "string",
"managedBy": "string"
},
"status": {
"state": "string",
"creationDate": "2024-07-29T15:51:28.071Z",
"failureReason": "string",
"error": {
"reason": "string",
"message": "string"
}
},
"properties": {
"enabled": true,
"scheduleJobType": "OneShot",
"scheduleAt": "2024-07-29T15:51:28.071Z",
"executeUntil": "2024-07-29T15:51:28.071Z",
"cron": "string",
"recurrency": "Hourly",
"steps": [
{
"name": "string",
"resourceUri": "string",
"actionUri": "string",
"actionName": "string",
"typology": "string",
"typologyName": "string",
"httpVerb": "string",
"body": "string"
}
],
"nextExecution": "2024-07-29T15:51:28.071Z",
"deactiveReason": "None"
}
}
- Schema
- Example (from schema)
Schema
Array [
]
metadata
object
project
object
category
object
typology
object
status
object
error
object
properties
object
Possible values: [OneShot, Recurring]
Possible values: [Hourly, Daily, Weekly, Monthly, Custom]
steps
object[]
nullable
Possible values: [None, Manual, ResourceDeleted]
{
"metadata": {
"id": "string",
"uri": "string",
"name": "string",
"project": {
"id": "string",
"folderId": "string"
},
"tags": [
"string"
],
"category": {
"name": "string",
"provider": "string",
"typology": {
"id": "string",
"name": "string"
}
},
"creationDate": "2024-07-29T15:51:28.071Z",
"createdBy": "string",
"ownerId": "string",
"updateDate": "2024-07-29T15:51:28.071Z",
"updatedBy": "string",
"version": "string",
"createdUser": "string",
"updatedUser": "string",
"managedBy": "string"
},
"status": {
"state": "string",
"creationDate": "2024-07-29T15:51:28.071Z",
"failureReason": "string",
"error": {
"reason": "string",
"message": "string"
}
},
"properties": {
"enabled": true,
"scheduleJobType": "OneShot",
"scheduleAt": "2024-07-29T15:51:28.071Z",
"executeUntil": "2024-07-29T15:51:28.071Z",
"cron": "string",
"recurrency": "Hourly",
"steps": [
{
"name": "string",
"resourceUri": "string",
"actionUri": "string",
"actionName": "string",
"typology": "string",
"typologyName": "string",
"httpVerb": "string",
"body": "string"
}
],
"nextExecution": "2024-07-29T15:51:28.071Z",
"deactiveReason": "None"
}
}
- Schema
- Example (from schema)
Schema
Array [
]
metadata
object
project
object
category
object
typology
object
status
object
error
object
properties
object
Possible values: [OneShot, Recurring]
Possible values: [Hourly, Daily, Weekly, Monthly, Custom]
steps
object[]
nullable
Possible values: [None, Manual, ResourceDeleted]
{
"metadata": {
"id": "string",
"uri": "string",
"name": "string",
"project": {
"id": "string",
"folderId": "string"
},
"tags": [
"string"
],
"category": {
"name": "string",
"provider": "string",
"typology": {
"id": "string",
"name": "string"
}
},
"creationDate": "2024-07-29T15:51:28.071Z",
"createdBy": "string",
"ownerId": "string",
"updateDate": "2024-07-29T15:51:28.071Z",
"updatedBy": "string",
"version": "string",
"createdUser": "string",
"updatedUser": "string",
"managedBy": "string"
},
"status": {
"state": "string",
"creationDate": "2024-07-29T15:51:28.071Z",
"failureReason": "string",
"error": {
"reason": "string",
"message": "string"
}
},
"properties": {
"enabled": true,
"scheduleJobType": "OneShot",
"scheduleAt": "2024-07-29T15:51:28.071Z",
"executeUntil": "2024-07-29T15:51:28.071Z",
"cron": "string",
"recurrency": "Hourly",
"steps": [
{
"name": "string",
"resourceUri": "string",
"actionUri": "string",
"actionName": "string",
"typology": "string",
"typologyName": "string",
"httpVerb": "string",
"body": "string"
}
],
"nextExecution": "2024-07-29T15:51:28.071Z",
"deactiveReason": "None"
}
}
Bad Request
- text/plain
- application/json
- text/json
- Schema
- Example (from schema)
Schema
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
- Schema
- Example (from schema)
Schema
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
- Schema
- Example (from schema)
Schema
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
Internal Server Error