/// <summary>
 /// Retrieve the job stream identified by job stream id.
 /// <see href="http://aka.ms/azureautomationsdk/jobstreamoperations" />
 /// </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='jobName'>
 /// The job name.
 /// </param>
 /// <param name='jobStreamId'>
 /// The job stream id.
 /// </param>
 /// <param name='clientRequestId'>
 /// Identifies this specific client request.
 /// </param>
 public static JobStream Get(this IJobStreamOperations operations, string resourceGroupName, string automationAccountName, string jobName, string jobStreamId, string clientRequestId = default(string))
 {
     return(operations.GetAsync(resourceGroupName, automationAccountName, jobName, jobStreamId, clientRequestId).GetAwaiter().GetResult());
 }
Beispiel #2
0
 /// <summary>
 /// Retrieve the job stream identified by job stream id.  (see
 /// http://aka.ms/azureautomationsdk/jobstreamoperations for more
 /// information)
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.WindowsAzure.Management.Automation.IJobStreamOperations.
 /// </param>
 /// <param name='automationAccount'>
 /// Required. The automation account name.
 /// </param>
 /// <param name='jobId'>
 /// Required. The job id.
 /// </param>
 /// <param name='jobStreamId'>
 /// Required. The job stream id.
 /// </param>
 /// <returns>
 /// The response model for the get job stream operation.
 /// </returns>
 public static Task <JobStreamGetResponse> GetAsync(this IJobStreamOperations operations, string automationAccount, Guid jobId, string jobStreamId)
 {
     return(operations.GetAsync(automationAccount, jobId, jobStreamId, CancellationToken.None));
 }