Partilhar via


SparkJobDefinitionClient.StartRenameSparkJobDefinitionAsync Método

Definição

Renomeia um sparkJobDefinition.

public virtual System.Threading.Tasks.Task<Azure.Analytics.Synapse.Artifacts.SparkJobDefinitionRenameSparkJobDefinitionOperation> StartRenameSparkJobDefinitionAsync (string sparkJobDefinitionName, Azure.Analytics.Synapse.Artifacts.Models.ArtifactRenameRequest request, System.Threading.CancellationToken cancellationToken = default);
abstract member StartRenameSparkJobDefinitionAsync : string * Azure.Analytics.Synapse.Artifacts.Models.ArtifactRenameRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Analytics.Synapse.Artifacts.SparkJobDefinitionRenameSparkJobDefinitionOperation>
override this.StartRenameSparkJobDefinitionAsync : string * Azure.Analytics.Synapse.Artifacts.Models.ArtifactRenameRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Analytics.Synapse.Artifacts.SparkJobDefinitionRenameSparkJobDefinitionOperation>
Public Overridable Function StartRenameSparkJobDefinitionAsync (sparkJobDefinitionName As String, request As ArtifactRenameRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SparkJobDefinitionRenameSparkJobDefinitionOperation)

Parâmetros

sparkJobDefinitionName
String

O nome da definição do trabalho do Spark.

request
ArtifactRenameRequest

novo nome proposto.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

sparkJobDefinitionName ou request é nulo.

Aplica-se a