Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactoring Job Definitions #3116

Merged
merged 1 commit into from
May 30, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1092,6 +1092,84 @@
],
"description": "The parameters supplied to the create compilation job operation."
},
"JobStreamListResult": {
"properties": {
"value": {
"type": "array",
"items": {
"$ref": "#/definitions/JobStream"
},
"description": "A list of job streams."
},
"nextLink": {
"type": "string",
"description": "Gets or sets the next link."
}
},
"description": "The response model for the list job stream operation."
},
"JobStream": {
"properties": {
"id": {
"type": "string",
"description": "Gets or sets the id of the resource."
},
"properties": {
"$ref": "#/definitions/JobStreamProperties",
"x-ms-client-flatten": true,
"description": "Gets or sets the id of the job stream."
}
},
"description": "Definition of the job stream."
},
"JobStreamProperties": {
"properties": {
"jobStreamId": {
"type": "string",
"description": "Gets or sets the id of the job stream."
},
"time": {
"type": "string",
"format": "date-time",
"description": "Gets or sets the creation time of the job.",
"x-nullable": false
},
"streamType": {
"type": "string",
"description": "Gets or sets the stream type.",
"enum": [
"Progress",
"Output",
"Warning",
"Error",
"Debug",
"Verbose",
"Any"
],
"x-ms-enum": {
"name": "JobStreamType",
"modelAsString": true
}
},
"streamText": {
"type": "string",
"description": "Gets or sets the stream text."
},
"summary": {
"type": "string",
"description": "Gets or sets the summary."
},
"value": {
"type": "object",
"additionalProperties": {
"type": "object"
},
"description": "Gets or sets the values of the job stream."
}
},
"x-ms-client-flatten": true,
"description": "Definition of the job stream."
},
"DscCompilationJobProperties": {
"properties": {
"configuration": {
Expand Down Expand Up @@ -1830,72 +1908,6 @@
},
"description": "Parameters supplied to the update operation."
},
"Job": {
"properties": {
"id": {
"type": "string",
"description": "Id of the resource."
},
"properties": {
"$ref": "./definitions.json#/definitions/JobProperties",
"x-ms-client-flatten": true,
"description": "The properties of the job."
}
},
"description": "Definition of the job."
},
"JobCreateProperties": {
"properties": {
"runbook": {
"$ref": "./definitions.json#/definitions/RunbookAssociationProperty",
"description": "Gets or sets the runbook."
},
"parameters": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Gets or sets the parameters of the job."
},
"runOn": {
"type": "string",
"description": "Gets or sets the runOn which specifies the group name where the job is to be executed."
}
},
"required": [
"runbook"
],
"description": "The parameters supplied to the create job operation."
},
"JobCreateParameters": {
"properties": {
"properties": {
"$ref": "./definitions.json#/definitions/JobCreateProperties",
"x-ms-client-flatten": true,
"description": "Gets or sets the list of job properties."
}
},
"required": [
"properties"
],
"description": "The parameters supplied to the create job operation."
},
"JobListResult": {
"properties": {
"value": {
"type": "array",
"items": {
"$ref": "./definitions.json#/definitions/Job"
},
"description": "Gets or sets a list of jobs."
},
"nextLink": {
"type": "string",
"description": "Gets or sets the next link."
}
},
"description": "The response model for the list job operation."
},
"JobScheduleCreateProperties": {
"properties": {
"schedule": {
Expand Down Expand Up @@ -2006,179 +2018,6 @@
},
"description": "The response model for the list job schedule operation."
},
"JobStream": {
"properties": {
"id": {
"type": "string",
"description": "Gets or sets the id of the resource."
},
"properties": {
"$ref": "./definitions.json#/definitions/JobStreamProperties",
"x-ms-client-flatten": true,
"description": "Gets or sets the id of the job stream."
}
},
"description": "Definition of the job stream."
},
"JobStreamListResult": {
"properties": {
"value": {
"type": "array",
"items": {
"$ref": "./definitions.json#/definitions/JobStream"
},
"description": "A list of job streams."
},
"nextLink": {
"type": "string",
"description": "Gets or sets the next link."
}
},
"description": "The response model for the list job stream operation."
},
"JobProperties": {
"properties": {
"runbook": {
"$ref": "./definitions.json#/definitions/RunbookAssociationProperty",
"description": "Gets or sets the runbook."
},
"startedBy": {
"type": "string",
"description": "Gets or sets the job started by."
},
"runOn": {
"type": "string",
"description": "Gets or sets the runOn which specifies the group name where the job is to be executed."
},
"jobId": {
"type": "string",
"format": "uuid",
"description": "Gets or sets the id of the job.",
"x-nullable": false
},
"creationTime": {
"type": "string",
"format": "date-time",
"description": "Gets or sets the creation time of the job.",
"x-nullable": false
},
"status": {
"type": "string",
"description": "Gets or sets the status of the job.",
"enum": [
"New",
"Activating",
"Running",
"Completed",
"Failed",
"Stopped",
"Blocked",
"Suspended",
"Disconnected",
"Suspending",
"Stopping",
"Resuming",
"Removing"
],
"x-ms-enum": {
"name": "JobStatus",
"modelAsString": true
}
},
"statusDetails": {
"type": "string",
"description": "Gets or sets the status details of the job."
},
"startTime": {
"type": "string",
"format": "date-time",
"description": "Gets or sets the start time of the job.",
"x-nullable": true
},
"endTime": {
"type": "string",
"format": "date-time",
"description": "Gets or sets the end time of the job.",
"x-nullable": true
},
"exception": {
"type": "string",
"description": "Gets or sets the exception of the job."
},
"lastModifiedTime": {
"type": "string",
"format": "date-time",
"description": "Gets or sets the last modified time of the job.",
"x-nullable": true
},
"lastStatusModifiedTime": {
"type": "string",
"format": "date-time",
"description": "Gets or sets the last status modified time of the job.",
"x-nullable": true
},
"parameters": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Gets or sets the parameters of the job."
},
"provisioningState": {
"$ref": "#/definitions/JobProvisioningStateProperty",
"description": "The provisioning state of a resource."
}
},
"description": "Definition of job properties."
},
"JobStreamProperties": {
"properties": {
"jobStreamId": {
"type": "string",
"description": "Gets or sets the id of the job stream."
},
"time": {
"type": "string",
"format": "date-time",
"description": "Gets or sets the creation time of the job.",
"x-nullable": false
},
"streamType": {
"type": "string",
"description": "Gets or sets the stream type.",
"enum": [
"Progress",
"Output",
"Warning",
"Error",
"Debug",
"Verbose",
"Any"
],
"x-ms-enum": {
"name": "JobStreamType",
"modelAsString": true
}
},
"streamText": {
"type": "string",
"description": "Gets or sets the stream text."
},
"summary": {
"type": "string",
"description": "Gets or sets the summary."
},
"value": {
"type": "object",
"additionalProperties": {
"type": "object"
},
"description": "Gets or sets the values of the job stream."
}
},
"x-ms-client-flatten": true,
"description": "Definition of the job stream."
},
"Key":{
"properties": {
"keyName": {
Expand Down
Loading