curl --location 'https://console.nezhachuhai.com/v1/admin/schedule/power-job-template' \
--header 'Authorization: Bearer 1_1' \
--header 'Content-Type: application/json' \
--data '{
"name": "string",
"template": {
"id": 0,
"jobName": "string",
"jobDescription": "string",
"appId": 0,
"jobParams": "string",
"timeExpressionType": "API",
"timeExpression": "string",
"executeType": "STANDALONE",
"processorType": "BUILT_IN",
"processorInfo": "string",
"maxInstanceNum": 0,
"concurrency": 0,
"instanceTimeLimit": 0,
"instanceRetryNum": 0,
"taskRetryNum": 0,
"minCpuCores": 0,
"minMemorySpace": 0,
"minDiskSpace": 0,
"enable": true,
"designatedWorkers": "string",
"maxWorkerCount": 0,
"notifyUserIds": [
0
],
"extra": "string",
"dispatchStrategy": "HEALTH_FIRST",
"dispatchStrategyConfig": "string",
"lifeCycle": {
"start": 0,
"end": 0
},
"alarmConfig": {
"alertThreshold": 0,
"statisticWindowLen": 0,
"silenceWindowLen": 0
},
"tag": "string",
"logConfig": {
"type": 0,
"level": 0,
"loggerName": "string"
},
"advancedRuntimeConfig": {
"taskTrackerBehavior": 0
}
},
"enable": true,
"remark": "string",
"type": "SYNC_OFFER"
}'