Compartir a través de


HDInsightClusterResource.PromoteScriptExecutionHistory Método

Definición

Promueve la ejecución de script ad hoc especificada a un script persistente.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/scriptExecutionHistory/{scriptExecutionId}/promote
  • IdScriptExecutionHistory_Promote de operaciones
public virtual Azure.Response PromoteScriptExecutionHistory (string scriptExecutionId, System.Threading.CancellationToken cancellationToken = default);
abstract member PromoteScriptExecutionHistory : string * System.Threading.CancellationToken -> Azure.Response
override this.PromoteScriptExecutionHistory : string * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function PromoteScriptExecutionHistory (scriptExecutionId As String, Optional cancellationToken As CancellationToken = Nothing) As Response

Parámetros

scriptExecutionId
String

Identificador de ejecución del script.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

scriptExecutionId es una cadena vacía y se esperaba que no estuviera vacía.

scriptExecutionId es null.

Se aplica a