Skip to content

Adding jobs related service patterns and applied them to data generat…#42152

Draft
glecaros wants to merge 2 commits intosakoll/updateDataGenJobContractsfrom
glecaros/lro-guidelines
Draft

Adding jobs related service patterns and applied them to data generat…#42152
glecaros wants to merge 2 commits intosakoll/updateDataGenJobContractsfrom
glecaros/lro-guidelines

Conversation

@glecaros
Copy link
Copy Markdown
Member

@glecaros glecaros commented Apr 7, 2026

…ions.

Choose a PR Template

Switch to "Preview" on this description then select one of the choices below.

Click here to open a PR for a Data Plane API.

Click here to open a PR for a Control Plane (ARM) API.

Click here to open a PR for only SDK configuration.

@glecaros glecaros marked this pull request as draft April 7, 2026 04:52
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 7, 2026

Next Steps to Merge

Important checks have failed. As of today they are not blocking this PR, but in near future they may.
Addressing the following failures is highly recommended:
  • ⚠️ The check named SDK Validation Status has failed. Refer to the check in the PR's 'Checks' tab for details on how to fix it and consult the aka.ms/ci-fix guide
If you still want to proceed merging this PR without addressing the above failures, refer to step 4 in the PR workflow diagram.

Comment generated by summarize-checks workflow run.

@github-actions github-actions bot added data-plane TypeSpec Authored with TypeSpec labels Apr 7, 2026
/** The ID of the job to delete. */
@path jobId: string;
},
AcceptedResponse & TJob
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
AcceptedResponse & TJob
AcceptedResponse & TJob | NoContentResponse

AcceptedResponse & TJob
>;

/** Delete a job (preview). Returns 202 with the updated job. */
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/** Delete a job (preview). Returns 202 with the updated job. */
/** Delete a job (preview). Returns 202 with the updated job for long running operation or returns 204 if delete completed within request*/

/** The ID of the job to cancel. */
@path jobId: string;
},
AcceptedResponse & TJob
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
AcceptedResponse & TJob
AcceptedResponse & TJob | TJob

AgentsPagedResult<TJob>
>;

/** Cancel a running job (preview). Returns 202 with the updated job. */
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/** Cancel a running job (preview). Returns 202 with the updated job. */
/** Cancel a running job (preview). Returns 202 with the updated job for long running operation or return 200 if cancel is completed within the request */

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data-plane TypeSpec Authored with TypeSpec

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants