def promote_with_http_info(resource_group_name, cluster_name, script_execution_id, custom_headers:nil)
      promote_async(resource_group_name, cluster_name, script_execution_id, custom_headers:custom_headers).value!
    end
def promote_with_http_info(resource_group_name, cluster_name, script_execution_id, custom_headers:nil)
      promote_async(resource_group_name, cluster_name, script_execution_id, custom_headers:custom_headers).value!
    end
Promotes the specified ad-hoc script execution to a persisted script.

 @param resource_group_name [String] The name of the resource group.
 @param cluster_name [String] The name of the cluster.
 @param script_execution_id [String] The script execution Id
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [MsRestAzure::AzureOperationResponse] HTTP response information.