Description | : Lists all of the Jobs in the specified Account. |
Reference | : Link ¶ |
⚶ Changes
{ "#id": "Jobs_ListJobs", "$responses": { "200": { "$properties": { "value": { "$properties": { "stats": [ { "#name": "readIOps", "Type": { "new": "string", "old": "integer" } }, { "#name": "writeIOps", "Type": { "new": "string", "old": "integer" } }, { "#name": "numSucceededTasks", "Type": { "new": "string", "old": "integer" } }, { "#name": "numFailedTasks", "Type": { "new": "string", "old": "integer" } }, { "#name": "numTaskRetries", "Type": { "new": "string", "old": "integer" } } ] } } } } } }
⚼ Request
GET:
/jobs
{
api-version:
string
,
timeOut:
integer
,
client-request-id:
string
,
return-client-request-id:
boolean
,
ocp-date:
string
,
maxresults:
integer
,
$filter:
string
,
$select:
array
,
$expand:
array
,
}
⚐ Response (200)
{
$headers:
{
,
etag:
string
,
last-modified:
string
,
client-request-id:
string
,
request-id:
string
,
}
$schema:
}
{
,
value:
[
]
,
{
,
id:
string
,
displayName:
string
,
usesTaskDependencies:
boolean
,
url:
string
,
eTag:
string
,
lastModified:
string
,
creationTime:
string
,
state:
enum
,
stateTransitionTime:
string
,
previousState:
enum
,
previousStateTransitionTime:
string
,
priority:
integer
,
allowTaskPreemption:
boolean
,
maxParallelTasks:
integer
,
constraints:
{
,
maxWallClockTime:
string
,
maxTaskRetryCount:
integer
,
}
jobManagerTask:
{
,
id:
string
,
displayName:
string
,
commandLine:
string
,
containerSettings:
{
,
containerRunOptions:
string
,
imageName:
string
,
registry:
{
,
username:
string
,
password:
string
,
registryServer:
string
,
identityReference:
}
{
,
resourceId:
string
,
}
workingDirectory:
enum
,
containerHostBatchBindMounts:
}
[
]
,
{
,
source:
enum
,
isReadOnly:
boolean
,
}
resourceFiles:
[
]
,
{
,
autoStorageContainerName:
string
,
storageContainerUrl:
string
,
httpUrl:
string
,
blobPrefix:
string
,
filePath:
string
,
fileMode:
string
,
identityReference:
}
{
,
resourceId:
string
,
}
outputFiles:
[
]
,
{
,
filePattern:
string
,
destination:
{
,
container:
}
{
,
path:
string
,
containerUrl:
string
,
identityReference:
{
,
resourceId:
string
,
}
uploadHeaders:
}
[
]
,
{
,
name:
string
,
value:
string
,
}
uploadOptions:
}
{
,
uploadCondition:
enum
,
}
environmentSettings:
[
]
,
{
,
name:
string
,
value:
string
,
}
constraints:
{
,
maxWallClockTime:
string
,
retentionTime:
string
,
maxTaskRetryCount:
integer
,
}
requiredSlots:
integer
,
killJobOnCompletion:
boolean
,
userIdentity:
{
,
username:
string
,
autoUser:
}
{
,
scope:
enum
,
elevationLevel:
enum
,
}
runExclusive:
boolean
,
applicationPackageReferences:
[
]
,
{
,
applicationId:
string
,
version:
string
,
}
authenticationTokenSettings:
{
,
access:
}
[
,
string
,
]
allowLowPriorityNode:
boolean
,
}
jobPreparationTask:
{
,
id:
string
,
commandLine:
string
,
containerSettings:
{
,
containerRunOptions:
string
,
imageName:
string
,
registry:
{
,
username:
string
,
password:
string
,
registryServer:
string
,
identityReference:
}
{
,
resourceId:
string
,
}
workingDirectory:
enum
,
containerHostBatchBindMounts:
}
[
]
,
{
,
source:
enum
,
isReadOnly:
boolean
,
}
resourceFiles:
[
]
,
{
,
autoStorageContainerName:
string
,
storageContainerUrl:
string
,
httpUrl:
string
,
blobPrefix:
string
,
filePath:
string
,
fileMode:
string
,
identityReference:
}
{
,
resourceId:
string
,
}
environmentSettings:
[
]
,
{
,
name:
string
,
value:
string
,
}
constraints:
{
,
maxWallClockTime:
string
,
retentionTime:
string
,
maxTaskRetryCount:
integer
,
}
waitForSuccess:
boolean
,
userIdentity:
{
,
username:
string
,
autoUser:
}
{
,
scope:
enum
,
elevationLevel:
enum
,
}
rerunOnNodeRebootAfterSuccess:
boolean
,
}
jobReleaseTask:
{
,
id:
string
,
commandLine:
string
,
containerSettings:
{
,
containerRunOptions:
string
,
imageName:
string
,
registry:
{
,
username:
string
,
password:
string
,
registryServer:
string
,
identityReference:
}
{
,
resourceId:
string
,
}
workingDirectory:
enum
,
containerHostBatchBindMounts:
}
[
]
,
{
,
source:
enum
,
isReadOnly:
boolean
,
}
resourceFiles:
[
]
,
{
,
autoStorageContainerName:
string
,
storageContainerUrl:
string
,
httpUrl:
string
,
blobPrefix:
string
,
filePath:
string
,
fileMode:
string
,
identityReference:
}
{
,
resourceId:
string
,
}
environmentSettings:
[
]
,
{
,
name:
string
,
value:
string
,
}
maxWallClockTime:
string
,
retentionTime:
string
,
userIdentity:
}
{
,
username:
string
,
autoUser:
}
{
,
scope:
enum
,
elevationLevel:
enum
,
}
commonEnvironmentSettings:
[
]
,
{
,
name:
string
,
value:
string
,
}
poolInfo:
{
,
poolId:
string
,
autoPoolSpecification:
}
{
,
autoPoolIdPrefix:
string
,
poolLifetimeOption:
enum
,
keepAlive:
boolean
,
pool:
}
{
,
displayName:
string
,
vmSize:
string
,
virtualMachineConfiguration:
{
,
imageReference:
{
,
publisher:
string
,
offer:
string
,
sku:
string
,
version:
string
,
virtualMachineImageId:
string
,
exactVersion:
string
,
sharedGalleryImageId:
string
,
communityGalleryImageId:
string
,
}
nodeAgentSKUId:
string
,
windowsConfiguration:
{
,
enableAutomaticUpdates:
boolean
,
}
dataDisks:
[
]
,
{
,
lun:
integer
,
caching:
enum
,
diskSizeGB:
integer
,
storageAccountType:
enum
,
}
licenseType:
string
,
containerConfiguration:
{
,
type:
enum
,
containerImageNames:
[
,
string
,
]
containerRegistries:
}
[
]
,
{
,
username:
string
,
password:
string
,
registryServer:
string
,
identityReference:
}
{
,
resourceId:
string
,
}
diskEncryptionConfiguration:
{
,
targets:
}
[
,
string
,
]
nodePlacementConfiguration:
{
,
policy:
enum
,
}
extensions:
[
]
,
{
,
name:
string
,
publisher:
string
,
type:
string
,
typeHandlerVersion:
string
,
autoUpgradeMinorVersion:
boolean
,
enableAutomaticUpgrade:
boolean
,
settings:
object
,
protectedSettings:
object
,
provisionAfterExtensions:
}
[
,
string
,
]
osDisk:
{
,
ephemeralOSDiskSettings:
{
,
placement:
enum
,
}
caching:
enum
,
diskSizeGB:
integer
,
managedDisk:
{
,
storageAccountType:
enum
,
securityProfile:
}
{
,
securityEncryptionType:
enum
,
}
writeAcceleratorEnabled:
boolean
,
}
securityProfile:
{
,
encryptionAtHost:
boolean
,
securityType:
enum
,
uefiSettings:
}
{
,
secureBootEnabled:
boolean
,
vTpmEnabled:
boolean
,
}
serviceArtifactReference:
}
{
,
id:
string
,
}
taskSlotsPerNode:
integer
,
taskSchedulingPolicy:
{
,
nodeFillType:
enum
,
}
resizeTimeout:
string
,
resourceTags:
string
,
targetDedicatedNodes:
integer
,
targetLowPriorityNodes:
integer
,
enableAutoScale:
boolean
,
autoScaleFormula:
string
,
autoScaleEvaluationInterval:
string
,
enableInterNodeCommunication:
boolean
,
networkConfiguration:
{
,
subnetId:
string
,
dynamicVNetAssignmentScope:
enum
,
endpointConfiguration:
{
,
inboundNATPools:
}
[
]
,
{
,
name:
string
,
protocol:
enum
,
backendPort:
integer
,
frontendPortRangeStart:
integer
,
frontendPortRangeEnd:
integer
,
networkSecurityGroupRules:
}
[
]
,
{
,
priority:
integer
,
access:
enum
,
sourceAddressPrefix:
string
,
sourcePortRanges:
}
[
,
string
,
]
publicIPAddressConfiguration:
{
,
provision:
enum
,
ipAddressIds:
}
[
,
string
,
]
enableAcceleratedNetworking:
boolean
,
}
startTask:
{
,
commandLine:
string
,
containerSettings:
{
,
containerRunOptions:
string
,
imageName:
string
,
registry:
{
,
username:
string
,
password:
string
,
registryServer:
string
,
identityReference:
}
{
,
resourceId:
string
,
}
workingDirectory:
enum
,
containerHostBatchBindMounts:
}
[
]
,
{
,
source:
enum
,
isReadOnly:
boolean
,
}
resourceFiles:
[
]
,
{
,
autoStorageContainerName:
string
,
storageContainerUrl:
string
,
httpUrl:
string
,
blobPrefix:
string
,
filePath:
string
,
fileMode:
string
,
identityReference:
}
{
,
resourceId:
string
,
}
environmentSettings:
[
]
,
{
,
name:
string
,
value:
string
,
}
userIdentity:
{
,
username:
string
,
autoUser:
}
{
,
scope:
enum
,
elevationLevel:
enum
,
}
maxTaskRetryCount:
integer
,
waitForSuccess:
boolean
,
}
applicationPackageReferences:
[
]
,
{
,
applicationId:
string
,
version:
string
,
}
userAccounts:
[
]
,
{
,
name:
string
,
password:
string
,
elevationLevel:
enum
,
linuxUserConfiguration:
{
,
uid:
integer
,
gid:
integer
,
sshPrivateKey:
string
,
}
windowsUserConfiguration:
}
{
,
loginMode:
enum
,
}
metadata:
[
]
,
{
,
name:
string
,
value:
string
,
}
mountConfiguration:
[
]
,
{
,
azureBlobFileSystemConfiguration:
{
,
accountName:
string
,
containerName:
string
,
accountKey:
string
,
sasKey:
string
,
blobfuseOptions:
string
,
relativeMountPath:
string
,
identityReference:
}
{
,
resourceId:
string
,
}
nfsMountConfiguration:
{
,
source:
string
,
relativeMountPath:
string
,
mountOptions:
string
,
}
cifsMountConfiguration:
{
,
username:
string
,
source:
string
,
relativeMountPath:
string
,
mountOptions:
string
,
password:
string
,
}
azureFileShareConfiguration:
}
{
,
accountName:
string
,
azureFileUrl:
string
,
accountKey:
string
,
relativeMountPath:
string
,
mountOptions:
string
,
}
targetNodeCommunicationMode:
enum
,
upgradePolicy:
}
{
,
mode:
enum
,
automaticOSUpgradePolicy:
{
,
disableAutomaticRollback:
boolean
,
enableAutomaticOSUpgrade:
boolean
,
useRollingUpgradePolicy:
boolean
,
osRollingUpgradeDeferral:
boolean
,
}
rollingUpgradePolicy:
}
{
,
enableCrossZoneUpgrade:
boolean
,
maxBatchInstancePercent:
integer
,
maxUnhealthyInstancePercent:
integer
,
maxUnhealthyUpgradedInstancePercent:
integer
,
pauseTimeBetweenBatches:
string
,
prioritizeUnhealthyInstances:
boolean
,
rollbackFailedInstancesOnPolicyBreach:
boolean
,
}
onAllTasksComplete:
enum
,
onTaskFailure:
enum
,
networkConfiguration:
{
,
subnetId:
string
,
skipWithdrawFromVNet:
boolean
,
}
metadata:
[
]
,
{
,
name:
string
,
value:
string
,
}
executionInfo:
{
,
startTime:
string
,
endTime:
string
,
poolId:
string
,
schedulingError:
{
,
category:
enum
,
code:
string
,
message:
string
,
details:
}
[
]
,
{
,
name:
string
,
value:
string
,
}
terminateReason:
string
,
}
stats:
}
{
,
url:
string
,
startTime:
string
,
lastUpdateTime:
string
,
userCPUTime:
string
,
kernelCPUTime:
string
,
wallClockTime:
string
,
readIOps:
string
,
writeIOps:
string
,
readIOGiB:
number
,
writeIOGiB:
number
,
numSucceededTasks:
string
,
numFailedTasks:
string
,
numTaskRetries:
string
,
waitTime:
string
,
}
odata.nextLink:
string
,
}
⚐ Response (default)
{
code:
string
,
message:
{
,
lang:
string
,
value:
string
,
}
values:
}
[
]
,
{
,
key:
string
,
value:
string
,
}