Update Job
PUT/projects/:projectId/providers/Aruba.Schedule/jobs/:jobId
Update Job
Request
Path Parameters
unique identifier of the project CMP
unique identifier of the Job Schedule
Query Parameters
The requested API version
1- application/json
- text/json
- application/*+json
Body
the schedule to update
- 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
Defines whether the job is enabled. Default is true.
Possible values: [OneShot, Recurring]
Date and time when the job should run. Required only for "OneShot" jobs.
End date until which the job can run. Required only for "Recurring" jobs.
CRON expression that defines the recurrence of the job.
Possible values: [Hourly, Daily, Weekly, Monthly, Custom]
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 update
- 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
Defines whether the job is enabled. Default is true.
Possible values: [OneShot, Recurring]
Date and time when the job should run. Required only for "OneShot" jobs.
End date until which the job can run. Required only for "Recurring" jobs.
CRON expression that defines the recurrence of the job.
Possible values: [Hourly, Daily, Weekly, Monthly, Custom]
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 update
- 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
Defines whether the job is enabled. Default is true.
Possible values: [OneShot, Recurring]
Date and time when the job should run. Required only for "OneShot" jobs.
End date until which the job can run. Required only for "Recurring" jobs.
CRON expression that defines the recurrence of the job.
Possible values: [Hourly, Daily, Weekly, Monthly, Custom]
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
- 200
- 400
- 404
- 500
OK
- 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"
}
Not Found
- 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