/// <summary>
 /// Stop the test job.  (see
 /// http://aka.ms/azureautomationsdk/testjoboperations for more
 /// information)
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.Automation.ITestJobOperations.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Required. The name of the resource group
 /// </param>
 /// <param name='automationAccount'>
 /// Required. The automation account name.
 /// </param>
 /// <param name='runbookName'>
 /// Required. The runbook name.
 /// </param>
 /// <returns>
 /// A standard service response including an HTTP status code and
 /// request ID.
 /// </returns>
 public static Task <AzureOperationResponse> StopAsync(this ITestJobOperations operations, string resourceGroupName, string automationAccount, string runbookName)
 {
     return(operations.StopAsync(resourceGroupName, automationAccount, runbookName, CancellationToken.None));
 }
 /// <summary>
 /// Stop the test job.
 /// <see href="http://aka.ms/azureautomationsdk/testjoboperations" />
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Name of an Azure Resource group.
 /// </param>
 /// <param name='automationAccountName'>
 /// The name of the automation account.
 /// </param>
 /// <param name='runbookName'>
 /// The runbook name.
 /// </param>
 public static void Stop(this ITestJobOperations operations, string resourceGroupName, string automationAccountName, string runbookName)
 {
     operations.StopAsync(resourceGroupName, automationAccountName, runbookName).GetAwaiter().GetResult();
 }