openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 28.8 kB
JSON
{"openapi":"3.0.0","info":{"description":"The HDInsight Job Client.","title":"HDInsightJobManagementClient","version":"2018-11-01-preview","x-apisguru-categories":["cloud"],"x-logo":{"url":"https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png"},"x-origin":[{"format":"swagger","url":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/hdinsight/data-plane/Microsoft.HDInsight/preview/2018-11-01-preview/job.json","version":"2.0"}],"x-providerName":"azure.com","x-serviceName":"hdinsight-job","x-tags":["Azure","Microsoft"]},"security":[{"azure_auth":["user_impersonation"]}],"paths":{"/templeton/v1/hive":{"post":{"description":"Submits a Hive job to an HDInsight cluster.","operationId":"Job_SubmitHiveJob","parameters":[{"$ref":"#/components/parameters/UserNameParameter"}],"requestBody":{"content":{"application/text":{"schema":{"format":"file","type":"object"}}},"description":"The content of the Hive job request.","required":true},"responses":{"200":{"description":"OK response definition.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobSubmissionJsonResponse"},"examples":{"Submits a Hive job to an HDInsight cluster.":{"$ref":"#/components/examples/Submits_a_Hive_job_to_an_HDInsight_cluster."}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobOperationsErrorResponse"}}}}},"tags":["Job"]}},"/templeton/v1/jobs":{"get":{"description":"Gets the list of jobs from the specified HDInsight cluster.","operationId":"Job_List","parameters":[{"$ref":"#/components/parameters/UserNameParameter"},{"description":"If showall is set to 'true', the request will return all jobs the user has permission to view, not only the jobs belonging to the user.","in":"query","name":"showall","required":true,"schema":{"type":"string","enum":["true"]},"examples":{"Gets the list of jobs from the specified HDInsight cluster.":{"value":"true"}}},{"description":"If fields set to '*', the request will return full details of the job. Currently the value can only be '*'.","in":"query","name":"fields","required":true,"schema":{"type":"string","enum":["*"]},"examples":{"Gets the list of jobs from the specified HDInsight cluster.":{"value":"*"}}}],"responses":{"200":{"description":"OK response definition.","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/JobListJsonObject"},"readOnly":true,"type":"array"},"examples":{"Gets the list of jobs from the specified HDInsight cluster.":{"$ref":"#/components/examples/Gets_the_list_of_jobs_from_the_specified_HDInsight_cluster."}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobOperationsErrorResponse"}}}}},"tags":["Job"]}},"/templeton/v1/jobs/{jobId}":{"delete":{"description":"Initiates cancel on given running job in the specified HDInsight.","operationId":"Job_Kill","parameters":[{"$ref":"#/components/parameters/UserNameParameter"},{"description":"The id of the job.","in":"path","name":"jobId","required":true,"schema":{"type":"string","minLength":1},"examples":{"Initiates cancel on given running job in the specified HDInsight.":{"value":"job_1542085634998_0007"}}}],"responses":{"200":{"description":"OK response definition.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobDetailRootJsonObject"},"examples":{"Initiates cancel on given running job in the specified HDInsight.":{"$ref":"#/components/examples/Initiates_cancel_on_given_running_job_in_the_specified_HDInsight."}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobOperationsErrorResponse"}}}}},"tags":["Job"]},"get":{"description":"Gets job details from the specified HDInsight cluster.","operationId":"Job_Get","parameters":[{"$ref":"#/components/parameters/UserNameParameter"},{"description":"The id of the job.","in":"path","name":"jobId","required":true,"schema":{"type":"string"},"examples":{"Gets job details from the specified HDInsight cluster":{"value":"job_1542085634998_0024"}}},{"description":"If fields set to '*', the request will return full details of the job. Currently the value can only be '*'.","in":"query","name":"fields","required":true,"schema":{"type":"string","enum":["*"]},"examples":{"Gets job details from the specified HDInsight cluster":{"value":"*"}}}],"responses":{"200":{"description":"OK response definition.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobDetailRootJsonObject"},"examples":{"Gets job details from the specified HDInsight cluster":{"$ref":"#/components/examples/Gets_job_details_from_the_specified_HDInsight_cluster"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobOperationsErrorResponse"}}}}},"tags":["Job"]}},"/templeton/v1/jobs?op=LISTAFTERID":{"get":{"description":"Gets numrecords Of Jobs after jobid from the specified HDInsight cluster.","operationId":"Job_ListAfterJobId","parameters":[{"$ref":"#/components/parameters/UserNameParameter"},{"description":"JobId from where to list jobs.","in":"query","name":"jobid","required":false,"schema":{"type":"string"}},{"description":"Number of jobs to fetch.","in":"query","name":"numrecords","required":false,"schema":{"type":"integer","format":"int32","minimum":1},"examples":{"Gets numOfJobs after jobId from the specified HDInsight cluster.":{"value":3}}},{"description":"If showall is set to 'true', the request will return all jobs the user has permission to view, not only the jobs belonging to the user.","in":"query","name":"showall","required":true,"schema":{"type":"string","enum":["true"]},"examples":{"Gets numOfJobs after jobId from the specified HDInsight cluster.":{"value":"true"}}},{"description":"If fields set to '*', the request will return full details of the job. Currently the value can only be '*'.","in":"query","name":"fields","required":true,"schema":{"type":"string","enum":["*"]},"examples":{"Gets numOfJobs after jobId from the specified HDInsight cluster.":{"value":"*"}}}],"responses":{"200":{"description":"OK response definition.","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/JobListJsonObject"},"readOnly":true,"type":"array"},"examples":{"Gets numOfJobs after jobId from the specified HDInsight cluster.":{"$ref":"#/components/examples/Gets_numOfJobs_after_jobId_from_the_specified_HDInsight_cluster."}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobOperationsErrorResponse"}}}}},"tags":["Job"]}},"/templeton/v1/mapreduce/jar":{"post":{"description":"Submits a MapReduce job to an HDInsight cluster.","operationId":"Job_SubmitMapReduceJob","parameters":[{"$ref":"#/components/parameters/UserNameParameter"}],"requestBody":{"$ref":"#/components/requestBodies/Job_SubmitMapReduceJobContent"},"responses":{"200":{"description":"OK response definition.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobSubmissionJsonResponse"},"examples":{"Submits a MapReduce job to an HDInsight cluster.":{"$ref":"#/components/examples/Submits_a_MapReduce_job_to_an_HDInsight_cluster."}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobOperationsErrorResponse"}}}}},"tags":["Job"]}},"/templeton/v1/mapreduce/streaming":{"post":{"description":"Submits a MapReduce streaming job to an HDInsight cluster.","operationId":"Job_SubmitMapReduceStreamingJob","parameters":[{"$ref":"#/components/parameters/UserNameParameter"}],"requestBody":{"$ref":"#/components/requestBodies/Job_SubmitMapReduceJobContent"},"responses":{"200":{"description":"OK response definition.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobSubmissionJsonResponse"},"examples":{"Submits a MapReduce streaming job to an HDInsight cluster.":{"$ref":"#/components/examples/Submits_a_MapReduce_streaming_job_to_an_HDInsight_cluster."}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobOperationsErrorResponse"}}}}},"tags":["Job"]}},"/templeton/v1/pig":{"post":{"description":"Submits a Pig job to an HDInsight cluster.","operationId":"Job_SubmitPigJob","parameters":[{"$ref":"#/components/parameters/UserNameParameter"}],"requestBody":{"content":{"text/plain":{"schema":{"format":"file","type":"object"}}},"description":"The content of the Pig job request.","required":true},"responses":{"200":{"description":"OK response definition.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobSubmissionJsonResponse"},"examples":{"Submits a Pig job to an HDInsight cluster.":{"$ref":"#/components/examples/Submits_a_Pig_job_to_an_HDInsight_cluster."}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobOperationsErrorResponse"}}}}},"tags":["Job"]}},"/templeton/v1/sqoop":{"post":{"description":"Submits a Sqoop job to an HDInsight cluster.","operationId":"Job_SubmitSqoopJob","parameters":[{"$ref":"#/components/parameters/UserNameParameter"}],"requestBody":{"content":{"text/plain":{"schema":{"format":"file","type":"object"}}},"description":"The content of the Sqoop job request.","required":true},"responses":{"200":{"description":"OK response definition.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobSubmissionJsonResponse"},"examples":{"Submits a Sqoop job to an HDInsight cluster.":{"$ref":"#/components/examples/Submits_a_Sqoop_job_to_an_HDInsight_cluster."}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobOperationsErrorResponse"}}}}},"tags":["Job"]}},"/ws/v1/cluster/apps/{appId}/state":{"get":{"description":"Gets application state from the specified HDInsight cluster.","operationId":"Job_GetAppState","parameters":[{"description":"The id of the job.","in":"path","name":"appId","required":true,"schema":{"type":"string"},"examples":{"Gets application state from the specified HDInsight cluster.":{"value":"application_1462754318084_0071"}}}],"responses":{"200":{"description":"OK response definition.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppState"},"examples":{"Gets application state from the specified HDInsight cluster.":{"$ref":"#/components/examples/Gets_application_state_from_the_specified_HDInsight_cluster."}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobOperationsErrorResponse"}}}}},"tags":["Job"]}}},"servers":[{"url":"https://azure.local"},{"url":"https://{clusterDnsName}","variables":{"clusterDnsName":{"description":"The cluster dns name against which the job management is to be.","x-ms-parameter-location":"client","x-ms-skip-url-encoding":true,"default":"none"}}}],"components":{"examples":{"Submits_a_Hive_job_to_an_HDInsight_cluster.":{"value":{"id":"job_1540456943299_0046"}},"Gets_the_list_of_jobs_from_the_specified_HDInsight_cluster.":{"value":[{"detail":{"id":"job_1542085634998_0027","profile":{"jobFile":"/mapreducestaging/testuser11750/.staging/job_1542085634998_0027/job.xml","jobID":{"id":27,"jtIdentifier":"1542085634998"},"jobId":"job_1542085634998_0027","jobName":"TempletonControllerJob","queueName":"default","url":"http://hn0-testcl.422g4qa5a0lehgxxtnagxxuu2h.ex.internal.cloudapp.net:8088/proxy/application_1542085634998_0027/","user":"testuser11750"},"status":{"cleanupProgress":0,"failureInfo":"NA","finishTime":0,"historyFile":"","jobACLs":{},"jobComplete":false,"jobFile":"/mapreducestaging/testuser11750/.staging/job_1542085634998_0027/job.xml","jobID":{"id":27,"jtIdentifier":"1542085634998"},"jobId":"job_1542085634998_0027","jobName":"TempletonControllerJob","jobPriority":"NORMAL","mapProgress":0,"neededMem":0,"numReservedSlots":0,"numUsedSlots":0,"priority":"NORMAL","queue":"default","reduceProgress":0,"reservedMem":0,"retired":false,"runState":4,"schedulingInfo":"NA","setupProgress":0,"startTime":1542088296429,"state":"PREP","trackingUrl":"http://hn0-testcl.422g4qa5a0lehgxxtnagxxuu2h.ex.internal.cloudapp.net:8088/proxy/application_1542085634998_0027/","uber":false,"usedMem":0,"username":"testuser11750"},"user":"testuser11750","userargs":{"define":[],"enablelog":"false","execute":"select querydwelltime+2 from hivesampletable where clientid = 8"}},"id":"job_1542085634998_0027"}]},"Initiates_cancel_on_given_running_job_in_the_specified_HDInsight.":{"value":{"id":"job_1542085634998_0007","profile":{"jobFile":"/mapreducestaging/testuser11750/.staging/job_1542085634998_0007/job.xml","jobID":{"id":7,"jtIdentifier":"1542085634998"},"jobId":"job_1542085634998_0007","jobName":"TempletonControllerJob","queueName":"default","url":"http://hn0-testcl.422g4qa5a0lehgxxtnagxxuu2h.ex.internal.cloudapp.net:8088/cluster/app/application_1542085634998_0007","user":"testuser11750"},"status":{"cleanupProgress":0,"failureInfo":"NA","finishTime":1542087305443,"historyFile":"","jobACLs":{},"jobComplete":true,"jobFile":"/mapreducestaging/testuser11750/.staging/job_1542085634998_0007/job.xml","jobID":{"id":7,"jtIdentifier":"1542085634998"},"jobId":"job_1542085634998_0007","jobName":"TempletonControllerJob","jobPriority":"NORMAL","mapProgress":0,"neededMem":0,"numReservedSlots":0,"numUsedSlots":0,"priority":"NORMAL","queue":"default","reduceProgress":0,"reservedMem":0,"retired":false,"runState":5,"schedulingInfo":"NA","setupProgress":0,"startTime":1542087304445,"state":"KILLED","trackingUrl":"http://hn0-testcl.422g4qa5a0lehgxxtnagxxuu2h.ex.internal.cloudapp.net:8088/cluster/app/application_1542085634998_0007","uber":false,"usedMem":0,"username":"testuser11750"},"user":"testuser11750","userargs":{"arg":["10","1000"],"class":"pi","define":["mapreduce.map.maxattempts=10","mapreduce.reduce.maxattempts=10","mapreduce.task.timeout=60000"],"enablelog":"false","jar":"/example/jars/hadoop-mapreduce-examples.jar","statusdir":"2018-11-13T05-35-01-6f79af0f-6157-494a-a03e-eabb190a0c10"}}},"Gets_job_details_from_the_specified_HDInsight_cluster":{"value":{"completed":"done","exitValue":0,"id":"job_1542085634998_0024","profile":{"jobFile":"wasb://testcontainer11549@testazureblob1114.blob.core.windows.net/mr-history/done/2018/11/13/000000/job_1542085634998_0024_conf.xml","jobID":{"id":24,"jtIdentifier":"1542085634998"},"jobId":"job_1542085634998_0024","jobName":"TempletonControllerJob","queueName":"default","user":"testuser11750"},"status":{"cleanupProgress":0,"failureInfo":"NA","finishTime":1542088277769,"historyFile":"","jobACLs":{},"jobComplete":true,"jobFile":"wasb://testcontainer11549@testazureblob1114.blob.core.windows.net/mr-history/done/2018/11/13/000000/job_1542085634998_0024_conf.xml","jobID":{"id":24,"jtIdentifier":"1542085634998"},"jobId":"job_1542085634998_0024","jobName":"TempletonControllerJob","jobPriority":"NORMAL","mapProgress":1,"neededMem":0,"numReservedSlots":0,"numUsedSlots":0,"priority":"NORMAL","queue":"default","reduceProgress":1,"reservedMem":0,"retired":false,"runState":2,"schedulingInfo":"NA","setupProgress":0,"startTime":1542088206436,"state":"SUCCEEDED","trackingUrl":"hn1-testcl.422g4qa5a0lehgxxtnagxxuu2h.ex.internal.cloudapp.net:19888/jobhistory/job/job_1542085634998_0024","uber":false,"usedMem":0,"username":"testuser11750"},"user":"testuser11750","userargs":{"define":[],"enablelog":"false","execute":"select querydwelltime+2 from hivesampletable where clientid = 8","statusdir":"2018-11-13T05-49-52-4418fce1-e92e-4732-bc12-f2a3b8ef4432"}}},"Gets_numOfJobs_after_jobId_from_the_specified_HDInsight_cluster.":{"value":[{"detail":{"id":"job_1542085634998_0028","profile":{"jobFile":"wasb://testcontainer11549@testazureblob1114.blob.core.windows.net/mapreducestaging/testuser11750/.staging/job_1542085634998_0028/job.xml","jobID":{"id":28,"jtIdentifier":"1542085634998"},"jobId":"job_1542085634998_0028","jobName":"TempletonControllerJob","queueName":"default","url":"http://hn0-testcl.422g4qa5a0lehgxxtnagxxuu2h.ex.internal.cloudapp.net:8088/proxy/application_1542085634998_0028/","user":"yarn"},"status":{"cleanupProgress":0,"failureInfo":"NA","finishTime":0,"historyFile":"","jobACLs":{},"jobComplete":false,"jobFile":"wasb://testcontainer11549@testazureblob1114.blob.core.windows.net/mapreducestaging/testuser11750/.staging/job_1542085634998_0028/job.xml","jobID":{"id":28,"jtIdentifier":"1542085634998"},"jobId":"job_1542085634998_0028","jobName":"TempletonControllerJob","jobPriority":"NORMAL","mapProgress":0,"neededMem":0,"numReservedSlots":0,"numUsedSlots":0,"priority":"NORMAL","queue":"default","reduceProgress":0,"reservedMem":0,"retired":false,"runState":1,"schedulingInfo":"NA","setupProgress":1,"startTime":1542088315731,"state":"RUNNING","trackingUrl":"http://hn0-testcl.422g4qa5a0lehgxxtnagxxuu2h.ex.internal.cloudapp.net:8088/proxy/application_1542085634998_0028/","uber":false,"usedMem":0,"username":"yarn"},"user":"yarn","userargs":{"define":[],"enablelog":"false","execute":"select querydwelltime+2 from hivesampletable where clientid = 8"}},"id":"job_1542085634998_0028"},{"detail":{"id":"job_1542085634998_0027","profile":{"jobFile":"wasb://testcontainer11549@testazureblob1114.blob.core.windows.net/mapreducestaging/testuser11750/.staging/job_1542085634998_0027/job.xml","jobID":{"id":27,"jtIdentifier":"1542085634998"},"jobId":"job_1542085634998_0027","jobName":"TempletonControllerJob","queueName":"default","url":"http://hn0-testcl.422g4qa5a0lehgxxtnagxxuu2h.ex.internal.cloudapp.net:8088/proxy/application_1542085634998_0027/","user":"yarn"},"status":{"cleanupProgress":0,"failureInfo":"NA","finishTime":0,"historyFile":"","jobACLs":{},"jobComplete":false,"jobFile":"wasb://testcontainer11549@testazureblob1114.blob.core.windows.net/mapreducestaging/testuser11750/.staging/job_1542085634998_0027/job.xml","jobID":{"id":27,"jtIdentifier":"1542085634998"},"jobId":"job_1542085634998_0027","jobName":"TempletonControllerJob","jobPriority":"NORMAL","mapProgress":0,"neededMem":0,"numReservedSlots":0,"numUsedSlots":0,"priority":"NORMAL","queue":"default","reduceProgress":0,"reservedMem":0,"retired":false,"runState":1,"schedulingInfo":"NA","setupProgress":1,"startTime":1542088307280,"state":"RUNNING","trackingUrl":"http://hn0-testcl.422g4qa5a0lehgxxtnagxxuu2h.ex.internal.cloudapp.net:8088/proxy/application_1542085634998_0027/","uber":false,"usedMem":0,"username":"yarn"},"user":"yarn","userargs":{"define":[],"enablelog":"false","execute":"select querydwelltime+2 from hivesampletable where clientid = 8"}},"id":"job_1542085634998_0027"},{"detail":{"id":"job_1542085634998_0025","parentId":"job_1542085634998_0023","profile":{"jobFile":"wasb://testcontainer11549@testazureblob1114.blob.core.windows.net/mr-history/done/2018/11/13/000000/job_1542085634998_0025_conf.xml","jobID":{"id":25,"jtIdentifier":"1542085634998"},"jobId":"job_1542085634998_0025","jobName":"QuasiMonteCarlo","queueName":"default","user":"testuser11750"},"status":{"cleanupProgress":0,"failureInfo":"NA","finishTime":1542088250019,"historyFile":"","jobACLs":{},"jobComplete":true,"jobFile":"wasb://testcontainer11549@testazureblob1114.blob.core.windows.net/mr-history/done/2018/11/13/000000/job_1542085634998_0025_conf.xml","jobID":{"id":25,"jtIdentifier":"1542085634998"},"jobId":"job_1542085634998_0025","jobName":"QuasiMonteCarlo","jobPriority":"NORMAL","mapProgress":1,"neededMem":0,"numReservedSlots":0,"numUsedSlots":0,"priority":"NORMAL","queue":"default","reduceProgress":1,"reservedMem":0,"retired":false,"runState":2,"schedulingInfo":"NA","setupProgress":0,"startTime":1542088225363,"state":"SUCCEEDED","trackingUrl":"hn1-testcl.422g4qa5a0lehgxxtnagxxuu2h.ex.internal.cloudapp.net:19888/jobhistory/job/job_1542085634998_0025","uber":false,"usedMem":0,"username":"testuser11750"},"user":"testuser11750","userargs":{}},"id":"job_1542085634998_0025"}]},"Submits_a_MapReduce_job_to_an_HDInsight_cluster.":{"value":{"id":"job_1540456943299_0046"}},"Submits_a_MapReduce_streaming_job_to_an_HDInsight_cluster.":{"value":{"id":"job_1540456943299_0046"}},"Submits_a_Pig_job_to_an_HDInsight_cluster.":{"value":{"id":"job_1540456943299_0046"}},"Submits_a_Sqoop_job_to_an_HDInsight_cluster.":{"value":{"id":"job_1540456943299_0046"}},"Gets_application_state_from_the_specified_HDInsight_cluster.":{"value":{"state":"ACCEPTED"}}},"parameters":{"UserNameParameter":{"description":"The user name used for running job.","in":"query","name":"user.name","required":true,"x-ms-parameter-location":"client","schema":{"type":"string"},"examples":{"Submits a Hive job to an HDInsight cluster.":{"value":"admin"},"Gets the list of jobs from the specified HDInsight cluster.":{"value":"admin"},"Initiates cancel on given running job in the specified HDInsight.":{"value":"admin"},"Gets job details from the specified HDInsight cluster":{"value":"admin"},"Gets numOfJobs after jobId from the specified HDInsight cluster.":{"value":"admin"},"Submits a MapReduce job to an HDInsight cluster.":{"value":"admin"},"Submits a MapReduce streaming job to an HDInsight cluster.":{"value":"admin"},"Submits a Pig job to an HDInsight cluster.":{"value":"admin"},"Submits a Sqoop job to an HDInsight cluster.":{"value":"admin"}}},"clusterDnsNameParameter":{"description":"The cluster dns name against which the job management is to be.","in":"path","name":"clusterDnsName","required":true,"x-ms-parameter-location":"client","x-ms-skip-url-encoding":true,"schema":{"type":"string"}}},"requestBodies":{"Job_SubmitMapReduceJobContent":{"content":{"text/plain":{"schema":{"format":"file","type":"object"}}},"description":"The content of the MapReduce job request.","required":true}},"securitySchemes":{"azure_auth":{"description":"Azure Active Directory OAuth2 Flow","type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://login.microsoftonline.com/common/oauth2/authorize","scopes":{"user_impersonation":"impersonate your user account"}}}}},"schemas":{"AppState":{"description":"The State of the application.","properties":{"state":{"description":"The State of the application.","enum":["NEW","NEW_SAVING","SUBMITTED","ACCEPTED","RUNNING","FINISHED","FINISHING","FAILED","KILLED"],"type":"string","x-ms-enum":{"modelAsString":false,"name":"ApplicationState"}}}},"JobACLs":{"description":"The object containing the job ACLs."},"JobDetailRootJsonObject":{"description":"The object containing the job details.","properties":{"callback":{"description":"The callback URL, if any.","type":"object"},"completed":{"description":"The string representing completed status, for example 'done'.","type":"string"},"exitValue":{"description":"The job's exit value.","format":"int32","type":"integer"},"id":{"description":"The job ID.","type":"string"},"msg":{"description":"The message returned.","type":"object"},"parentId":{"description":"The parent job ID.","type":"string"},"percentComplete":{"description":"The job completion percentage, for example '75% complete'.","type":"string"},"profile":{"$ref":"#/components/schemas/Profile"},"status":{"$ref":"#/components/schemas/Status"},"user":{"description":"The user name of the job creator.","type":"string"},"userargs":{"$ref":"#/components/schemas/Userargs"}}},"JobID":{"description":"The object with the Job ID.","properties":{"id":{"description":"The job number.","format":"int64","type":"integer"},"jtIdentifier":{"description":"The jobTracker identifier.","type":"string"}}},"JobListJsonObject":{"description":"The List Job operation response.","properties":{"detail":{"$ref":"#/components/schemas/JobDetailRootJsonObject"},"id":{"description":"The Id of the job.","type":"string"}}},"JobOperationsErrorResponse":{"description":"Describes the format of Error response.","properties":{"error":{"description":"Error message indicating why the operation failed.","type":"string"}},"type":"object"},"JobSubmissionJsonResponse":{"description":"The job submission json response.","properties":{"id":{"description":"The Id of the created job.","type":"string"}}},"Profile":{"description":"The object containing the job profile information.","properties":{"jobFile":{"description":"The job configuration file.","type":"string"},"jobID":{"$ref":"#/components/schemas/JobID"},"jobId":{"description":"The full ID of the job.","type":"string"},"jobName":{"description":"The user-specified job name.","type":"string"},"queueName":{"description":"The name of the queue to which the job is submitted.","type":"string"},"url":{"description":"The link to the web-ui for details of the job.","type":"string"},"user":{"description":"The userid of the person who submitted the job.","type":"string"}}},"Status":{"description":"Gets or sets the object containing the job status information.","properties":{"cleanupProgress":{"description":"The progress made on the cleanup.","format":"double","type":"number"},"failureInfo":{"description":"The information about any failures that have occurred.","type":"string"},"finishTime":{"description":"The time at which the job completed. It is an integer in milliseconds, as a Unix timestamp relative to 1/1/1970 00:00:00.","format":"int64","type":"integer"},"historyFile":{"description":"The history file of the job.","type":"string"},"jobACLs":{"$ref":"#/components/schemas/JobACLs"},"jobComplete":{"description":"Whether or not the job has completed.","type":"boolean"},"jobFile":{"description":"The job configuration file.","type":"string"},"jobID":{"$ref":"#/components/schemas/JobID"},"jobId":{"description":"The full ID of the job.","type":"string"},"jobName":{"description":"The user-specified job name.","type":"string"},"jobPriority":{"description":"The priority of the job.","type":"string"},"mapProgress":{"description":"The progress made on the maps.","format":"double","type":"number"},"neededMem":{"description":"The amount of memory needed for the job.","format":"int64","type":"integer"},"numReservedSlots":{"description":"The number of slots reserved.","format":"int32","type":"integer"},"numUsedSlots":{"description":"The number of slots used for the job.","format":"int32","type":"integer"},"priority":{"description":"The priority of the job.","type":"string"},"queue":{"description":"The job queue name.","type":"string"},"reduceProgress":{"description":"The progress made on the reduces.","format":"double","type":"number"},"reservedMem":{"description":"The amount of memory reserved for the job.","format":"int64","type":"integer"},"retired":{"description":"Whether or not the job has been retired. ","type":"boolean"},"runState":{"description":"The current state of the job.","format":"int32","type":"integer"},"schedulingInfo":{"description":"The information about the scheduling of the job.","type":"string"},"setupProgress":{"description":"The progress made on the setup.","format":"double","type":"number"},"startTime":{"description":"The time at which the job started. It is an integer in milliseconds, as a Unix timestamp relative to 1/1/1970 00:00:00.","format":"int64","type":"integer"},"state":{"description":"The state of the job.","type":"string"},"trackingUrl":{"description":"The link to the web-ui for details of the job.","type":"string"},"uber":{"description":"Whether job running in uber mode.","type":"boolean"},"usedMem":{"description":"The amount of memory used by the job.","format":"int64","type":"integer"},"username":{"description":"The userid of the person who submitted the job.","type":"string"}}},"Userargs":{"description":"Gets or sets the object containing the user arguments.","properties":{"arg":{"description":"The list of args defined by the user.","items":{"type":"string"},"readOnly":true,"type":"array"},"callback":{"description":"The callback URL, if any.","type":"object"},"define":{"description":"The define properties defined by the user.","items":{"type":"string"},"readOnly":true,"type":"array"},"enablelog":{"description":"Whether or not the user enabled logs.","type":"string"},"execute":{"description":"The query defined by the user.","type":"string"},"file":{"description":"The query file provided by the user.","type":"object"},"files":{"description":"The files defined by the user.","type":"object"},"jar":{"description":"The JAR file provided by the user.","type":"string"},"statusdir":{"description":"The status directory defined by the user.","type":"object"}}}}}}