public ServiceFuture<Void> promoteAsync(String resourceGroupName, String clusterName, String scriptExecutionId, final ServiceCallback<Void> serviceCallback) {
        return ServiceFuture.fromResponse(promoteWithServiceResponseAsync(resourceGroupName, clusterName, scriptExecutionId), serviceCallback);
    }
public ServiceFuture < Void > promoteAsync ( String resourceGroupName , String clusterName , String scriptExecutionId , final ServiceCallback < Void > serviceCallback ) { return ServiceFuture . fromResponse ( promoteWithServiceResponseAsync ( resourceGroupName , clusterName , scriptExecutionId ) , serviceCallback ) ; }
Promotes the specified ad-hoc script execution to a persisted script.

@param resourceGroupName The name of the resource group.
@param clusterName The name of the cluster.
@param scriptExecutionId The script execution Id
@param serviceCallback the async ServiceCallback to handle successful and failed responses.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the {@link ServiceFuture} object