Пример #1
0
 /// <summary>
 /// Restart the job .
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.SiteRecovery.IJobOperations.
 /// </param>
 /// <param name='jobName'>
 /// Required. Job Name.
 /// </param>
 /// <param name='customRequestHeaders'>
 /// Optional. Request header parameters.
 /// </param>
 /// <returns>
 /// A standard service response for long running operations.
 /// </returns>
 public static Task <LongRunningOperationResponse> BeginRestartingAsync(this IJobOperations operations, string jobName, CustomRequestHeaders customRequestHeaders)
 {
     return(operations.BeginRestartingAsync(jobName, customRequestHeaders, CancellationToken.None));
 }