Beispiel #1
0
 /// <summary>
 /// List a workflow run request history.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='nextPageLink'>
 /// The NextLink from the previous successful call to List operation.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <IPage <RequestHistory> > ListNextAsync(this IWorkflowRunActionRequestHistoriesOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Beispiel #2
0
 /// <summary>
 /// List a workflow run request history.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The resource group name.
 /// </param>
 /// <param name='workflowName'>
 /// The workflow name.
 /// </param>
 /// <param name='runName'>
 /// The workflow run name.
 /// </param>
 /// <param name='actionName'>
 /// The workflow action name.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <IPage <RequestHistory> > ListAsync(this IWorkflowRunActionRequestHistoriesOperations operations, string resourceGroupName, string workflowName, string runName, string actionName, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, workflowName, runName, actionName, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Beispiel #3
0
 /// <summary>
 /// Gets a workflow run request history.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The resource group name.
 /// </param>
 /// <param name='workflowName'>
 /// The workflow name.
 /// </param>
 /// <param name='runName'>
 /// The workflow run name.
 /// </param>
 /// <param name='actionName'>
 /// The workflow action name.
 /// </param>
 /// <param name='requestHistoryName'>
 /// The request history name.
 /// </param>
 public static RequestHistory Get(this IWorkflowRunActionRequestHistoriesOperations operations, string resourceGroupName, string workflowName, string runName, string actionName, string requestHistoryName)
 {
     return(operations.GetAsync(resourceGroupName, workflowName, runName, actionName, requestHistoryName).GetAwaiter().GetResult());
 }
Beispiel #4
0
 /// <summary>
 /// List a workflow run request history.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='nextPageLink'>
 /// The NextLink from the previous successful call to List operation.
 /// </param>
 public static IPage <RequestHistory> ListNext(this IWorkflowRunActionRequestHistoriesOperations operations, string nextPageLink)
 {
     return(operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult());
 }