{"note":"OpenAPI conversion -- returning structured metadata","name":"azure-com-hdinsight-job","description":"HDInsightJobClient","version":"2018-11-01-preview","base_url":"","endpoints":10,"raw":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api HDInsightJobClient\n@version 2018-11-01-preview\n@auth OAuth2\n@endpoints 10\n@toc templeton(9), ws(1)\n\n@group templeton\n@endpoint GET /templeton/v1/jobs/{jobId}\n@desc Gets job details from the specified HDInsight cluster.\n@required {user.name: any # The user name used for running job., jobId: any # The id of the job., fields: any # If fields set to '*', the request will return full details of the job. Currently the value can only be '*'.}\n@returns(200) OK response definition.\n\n@endpoint DELETE /templeton/v1/jobs/{jobId}\n@desc Initiates cancel on given running job in the specified HDInsight.\n@required {user.name: any # The user name used for running job., jobId: any # The id of the job.}\n@returns(200) OK response definition.\n\n@endpoint GET /templeton/v1/jobs\n@desc Gets the list of jobs from the specified HDInsight cluster.\n@required {user.name: any # The user name used for running job., showall: any # 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., fields: any # If fields set to '*', the request will return full details of the job. Currently the value can only be '*'.}\n@returns(200) OK response definition.\n\n@endpoint GET /templeton/v1/jobs?op=LISTAFTERID\n@desc Gets numrecords Of Jobs after jobid from the specified HDInsight cluster.\n@required {user.name: any # The user name used for running job., showall: any # 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., fields: any # If fields set to '*', the request will return full details of the job. Currently the value can only be '*'.}\n@optional {jobid: any # JobId from where to list jobs., numrecords: any # Number of jobs to fetch.}\n@returns(200) OK response definition.\n\n@endpoint POST /templeton/v1/hive\n@desc Submits a Hive job to an HDInsight cluster.\n@required {user.name: any # The user name used for running job., content: map # The content of the Hive job request.}\n@returns(200) OK response definition.\n\n@endpoint POST /templeton/v1/mapreduce/jar\n@desc Submits a MapReduce job to an HDInsight cluster.\n@required {user.name: any # The user name used for running job., content: map # The content of the MapReduce job request.}\n@returns(200) OK response definition.\n\n@endpoint POST /templeton/v1/mapreduce/streaming\n@desc Submits a MapReduce streaming job to an HDInsight cluster.\n@required {user.name: any # The user name used for running job., content: map # The content of the MapReduce job request.}\n@returns(200) OK response definition.\n\n@endpoint POST /templeton/v1/pig\n@desc Submits a Pig job to an HDInsight cluster.\n@required {user.name: any # The user name used for running job., content: map # The content of the Pig job request.}\n@returns(200) OK response definition.\n\n@endpoint POST /templeton/v1/sqoop\n@desc Submits a Sqoop job to an HDInsight cluster.\n@required {user.name: any # The user name used for running job., content: map # The content of the Sqoop job request.}\n@returns(200) OK response definition.\n\n@endgroup\n\n@group ws\n@endpoint GET /ws/v1/cluster/apps/{appId}/state\n@desc Gets application state from the specified HDInsight cluster.\n@required {appId: any # The id of the job.}\n@returns(200) OK response definition.\n\n@endgroup\n\n@end\n"}