action windows_task_add { label: "Adds a task to the specified job." description: "The maximum lifetime of a task from addition to completion is 7 days. If a task has not completed within 7 days of being added it will be terminated by the Batch service and left in whatever state it was in at that time." provider: windows method: POST path: "/jobs/{jobId}/tasks" encoding: json input: { type: "object" properties: { "api-version": { type: "string" } "client-request-id": { type: "string" } jobId: { type: "string" } "ocp-date": { type: "string" } "return-client-request-id": { type: "string" } timeout: { type: "string" } } required: ["api-version", "jobId"] additionalProperties: false } output: { type: "object" additionalProperties: true } }