Platform O&M/Backup Management/Backup Service (Plus)/Backup Service Operations
POSTBackup Service OperationsSince 3.4.0SynchronousAuth Required
CreateSchedulerJobGroup
CreateSchedulerJobGroup
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
paramsObjectRequiredRequest body parameter object.
nameStringRequiredThe name of the job group to be scheduled.
descriptionStringOptional. The detailed description of the job group to be scheduled.
typeStringRequiredThe type of the jobs.
parametersMapOptional The parameters of the jobs.
resourceUuidStringOptional. Specify a UUID for the job group.
tagUuidsListOptional. The UUIDs of the tags.
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Responses
Endpoint
POST/zstack/v1/scheduler/jobgroups
/zstack/v1/scheduler/jobgroups
Request Example
curl -X POST 'http://{host}/zstack/v1/scheduler/jobgroups' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"params":{"name":"<name>","description":"<description>","type":"<type>","parameters":{},"resourceUuid":"<resourceUuid>","tagUuids":["<tagUuids>"]},"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{ "inventory": { "uuid": "0cd85a37bb88346c8c2d122913d812df", "targetResourceUuid": "c458e0fb141932d0a87af999b0d0ab81", "name": "SchedulerJob", "createDate": "Nov 14, 2017 10:20:57 PM", "lastOpDate": "Nov 14, 2017 10:20:57 PM" } }Change History
This API has no change history records yet.
