C# Class Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters.InvokeAzureHDInsightJobCommandBase

Inheritance: IInvokeAzureHDInsightJobCommand
Afficher le fichier Open project: Azure/azure-powershell

Méthodes publiques

Méthode Description
Cancel ( ) : void
EndProcessing ( ) : Task
InvokeAzureHDInsightJobCommandBase ( ) : System
SetClient ( IAzureHDInsightCommandBase client ) : void
ValidateNotCanceled ( ) : void

Méthodes protégées

Méthode Description
StartJob ( AzureHDInsightJobDefinition jobDefinition, AzureHDInsightClusterConnection currentConnection ) : Task
WaitForCompletion ( AzureHDInsightJob startedJob, AzureHDInsightClusterConnection currentConnection ) : Task
WriteJobFailure ( AzureHDInsightJob completedJob, AzureHDInsightClusterConnection currentConnection ) : Task
WriteJobSuccess ( AzureHDInsightJob completedJob, AzureHDInsightClusterConnection currentConnection ) : Task
WriteOutput ( string content ) : void

Private Methods

Méthode Description
ClientOnJobStatus ( object sender, WaitJobStatusEventArgs waitJobStatusEventArgs ) : void
GetStreamForText ( string textContents ) : Stream
UploadFileToStorage ( AzureHDInsightHiveJobDefinition jobDefinition, AzureHDInsightClusterConnection currentConnection ) : AzureHDInsightHiveJobDefinition

Method Details

Cancel() public méthode

public Cancel ( ) : void
Résultat void

EndProcessing() public méthode

public EndProcessing ( ) : Task
Résultat Task

InvokeAzureHDInsightJobCommandBase() public méthode

public InvokeAzureHDInsightJobCommandBase ( ) : System
Résultat System

SetClient() public méthode

public SetClient ( IAzureHDInsightCommandBase client ) : void
client IAzureHDInsightCommandBase
Résultat void

StartJob() protected méthode

protected StartJob ( AzureHDInsightJobDefinition jobDefinition, AzureHDInsightClusterConnection currentConnection ) : Task
jobDefinition AzureHDInsightJobDefinition
currentConnection AzureHDInsightClusterConnection
Résultat Task

ValidateNotCanceled() public méthode

public ValidateNotCanceled ( ) : void
Résultat void

WaitForCompletion() protected méthode

protected WaitForCompletion ( AzureHDInsightJob startedJob, AzureHDInsightClusterConnection currentConnection ) : Task
startedJob AzureHDInsightJob
currentConnection AzureHDInsightClusterConnection
Résultat Task

WriteJobFailure() protected méthode

protected WriteJobFailure ( AzureHDInsightJob completedJob, AzureHDInsightClusterConnection currentConnection ) : Task
completedJob AzureHDInsightJob
currentConnection AzureHDInsightClusterConnection
Résultat Task

WriteJobSuccess() protected méthode

protected WriteJobSuccess ( AzureHDInsightJob completedJob, AzureHDInsightClusterConnection currentConnection ) : Task
completedJob AzureHDInsightJob
currentConnection AzureHDInsightClusterConnection
Résultat Task

WriteOutput() protected méthode

protected WriteOutput ( string content ) : void
content string
Résultat void