Partager via


SparkJobDefinitionClient.StartRenameSparkJobDefinitionAsync Méthode

Définition

Renomme un 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)

Paramètres

sparkJobDefinitionName
String

Nom de la définition du travail Spark.

request
ArtifactRenameRequest

nouveau nom proposé.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

sparkJobDefinitionName ou request est null.

S’applique à