mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Agent - Last step quit with success (#6034)
* turn strings to enums and allow changing step completion action * fixed edit * added tests for agent enums and fixed cms tests
This commit is contained in:
28
src/sql/azdata.proposed.d.ts
vendored
28
src/sql/azdata.proposed.d.ts
vendored
@@ -1402,16 +1402,38 @@ declare module 'azdata' {
|
||||
stepDetails: AgentJobStepInfo;
|
||||
}
|
||||
|
||||
export enum AgentSubSystem {
|
||||
TransactSql = 1,
|
||||
ActiveScripting = 2,
|
||||
CmdExec = 3,
|
||||
Snapshot = 4,
|
||||
LogReader = 5,
|
||||
Distribution = 6,
|
||||
Merge = 7,
|
||||
QueueReader = 8,
|
||||
AnalysisQuery = 9,
|
||||
AnalysisCommands = 10,
|
||||
Ssis = 11,
|
||||
PowerShell = 12
|
||||
}
|
||||
|
||||
export enum StepCompletionAction {
|
||||
QuitWithSuccess = 1,
|
||||
QuitWithFailure = 2,
|
||||
GoToNextStep = 3,
|
||||
GoToStep = 4
|
||||
}
|
||||
|
||||
export interface AgentJobStepInfo {
|
||||
jobId: string;
|
||||
jobName: string;
|
||||
script: string;
|
||||
scriptName: string;
|
||||
stepName: string;
|
||||
subSystem: string;
|
||||
subSystem: AgentSubSystem;
|
||||
id: number;
|
||||
failureAction: string;
|
||||
successAction: string;
|
||||
failureAction: StepCompletionAction;
|
||||
successAction: StepCompletionAction;
|
||||
failStepId: number;
|
||||
successStepId: number;
|
||||
command: string;
|
||||
|
||||
Reference in New Issue
Block a user