C# Class Microsoft.Azure.Commands.HDInsight.Models.AzureHdInsightJobManagementClient

显示文件 Open project: Azure/azure-powershell

Private Properties

Property Type Description

Public Methods

Method Description
AzureHdInsightJobManagementClient ( ) : System

Parameterless constructor for mocking

AzureHdInsightJobManagementClient ( string clusterName, BasicAuthenticationCloudCredentials credential ) : System
GetJob ( string jobId ) : Microsoft.Azure.Management.HDInsight.Job.Models.JobGetResponse
GetJobError ( string jobid, IStorageAccess storageAccess ) : Stream
GetJobOutput ( string jobid, IStorageAccess storageAccess ) : Stream
ListJobs ( ) : JobListResponse
ListJobsAfterJobId ( string jobId, int numberOfJobs ) : JobListResponse
StopJob ( string jobId ) : void
SubmitHiveJob ( Microsoft.Azure.Commands.HDInsight.Models.AzureHDInsightHiveJobDefinition hiveJobDef ) : Microsoft.Azure.Management.HDInsight.Job.Models.JobSubmissionResponse
SubmitMRJob ( Microsoft.Azure.Commands.HDInsight.Models.AzureHDInsightMapReduceJobDefinition mapredJobDef ) : Microsoft.Azure.Management.HDInsight.Job.Models.JobSubmissionResponse
SubmitPigJob ( Microsoft.Azure.Commands.HDInsight.Models.AzureHDInsightPigJobDefinition pigJobDef ) : Microsoft.Azure.Management.HDInsight.Job.Models.JobSubmissionResponse
SubmitSqoopJob ( AzureHDInsightSqoopJobDefinition sqoopJobDef ) : Microsoft.Azure.Management.HDInsight.Job.Models.JobSubmissionResponse
SubmitStreamingJob ( AzureHDInsightStreamingMapReduceJobDefinition streamingJobDef ) : Microsoft.Azure.Management.HDInsight.Job.Models.JobSubmissionResponse
WaitForJobCompletion ( string jobId, System.TimeSpan duration = null, System.TimeSpan waitInterval = null ) : Microsoft.Azure.Management.HDInsight.Job.Models.JobGetResponse

Method Details

AzureHdInsightJobManagementClient() public method

Parameterless constructor for mocking
public AzureHdInsightJobManagementClient ( ) : System
return System

AzureHdInsightJobManagementClient() public method

public AzureHdInsightJobManagementClient ( string clusterName, BasicAuthenticationCloudCredentials credential ) : System
clusterName string
credential BasicAuthenticationCloudCredentials
return System

GetJob() public method

public GetJob ( string jobId ) : Microsoft.Azure.Management.HDInsight.Job.Models.JobGetResponse
jobId string
return Microsoft.Azure.Management.HDInsight.Job.Models.JobGetResponse

GetJobError() public method

public GetJobError ( string jobid, IStorageAccess storageAccess ) : Stream
jobid string
storageAccess IStorageAccess
return Stream

GetJobOutput() public method

public GetJobOutput ( string jobid, IStorageAccess storageAccess ) : Stream
jobid string
storageAccess IStorageAccess
return Stream

ListJobs() public method

public ListJobs ( ) : JobListResponse
return JobListResponse

ListJobsAfterJobId() public method

public ListJobsAfterJobId ( string jobId, int numberOfJobs ) : JobListResponse
jobId string
numberOfJobs int
return JobListResponse

StopJob() public method

public StopJob ( string jobId ) : void
jobId string
return void

SubmitHiveJob() public method

public SubmitHiveJob ( Microsoft.Azure.Commands.HDInsight.Models.AzureHDInsightHiveJobDefinition hiveJobDef ) : Microsoft.Azure.Management.HDInsight.Job.Models.JobSubmissionResponse
hiveJobDef Microsoft.Azure.Commands.HDInsight.Models.AzureHDInsightHiveJobDefinition
return Microsoft.Azure.Management.HDInsight.Job.Models.JobSubmissionResponse

SubmitMRJob() public method

public SubmitMRJob ( Microsoft.Azure.Commands.HDInsight.Models.AzureHDInsightMapReduceJobDefinition mapredJobDef ) : Microsoft.Azure.Management.HDInsight.Job.Models.JobSubmissionResponse
mapredJobDef Microsoft.Azure.Commands.HDInsight.Models.AzureHDInsightMapReduceJobDefinition
return Microsoft.Azure.Management.HDInsight.Job.Models.JobSubmissionResponse

SubmitPigJob() public method

public SubmitPigJob ( Microsoft.Azure.Commands.HDInsight.Models.AzureHDInsightPigJobDefinition pigJobDef ) : Microsoft.Azure.Management.HDInsight.Job.Models.JobSubmissionResponse
pigJobDef Microsoft.Azure.Commands.HDInsight.Models.AzureHDInsightPigJobDefinition
return Microsoft.Azure.Management.HDInsight.Job.Models.JobSubmissionResponse

SubmitSqoopJob() public method

public SubmitSqoopJob ( AzureHDInsightSqoopJobDefinition sqoopJobDef ) : Microsoft.Azure.Management.HDInsight.Job.Models.JobSubmissionResponse
sqoopJobDef AzureHDInsightSqoopJobDefinition
return Microsoft.Azure.Management.HDInsight.Job.Models.JobSubmissionResponse

SubmitStreamingJob() public method

public SubmitStreamingJob ( AzureHDInsightStreamingMapReduceJobDefinition streamingJobDef ) : Microsoft.Azure.Management.HDInsight.Job.Models.JobSubmissionResponse
streamingJobDef AzureHDInsightStreamingMapReduceJobDefinition
return Microsoft.Azure.Management.HDInsight.Job.Models.JobSubmissionResponse

WaitForJobCompletion() public method

public WaitForJobCompletion ( string jobId, System.TimeSpan duration = null, System.TimeSpan waitInterval = null ) : Microsoft.Azure.Management.HDInsight.Job.Models.JobGetResponse
jobId string
duration System.TimeSpan
waitInterval System.TimeSpan
return Microsoft.Azure.Management.HDInsight.Job.Models.JobGetResponse