/// <summary> /// Get a workflow run action repetition. /// </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='repetitionName'> /// The workflow repetition. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <WorkflowRunActionRepetitionDefinition> GetAsync(this IWorkflowRunActionRepetitionsOperations operations, string resourceGroupName, string workflowName, string runName, string actionName, string repetitionName, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, workflowName, runName, actionName, repetitionName, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// Get a workflow run action repetition. /// </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='repetitionName'> /// The workflow repetition. /// </param> public static WorkflowRunActionRepetitionDefinition Get(this IWorkflowRunActionRepetitionsOperations operations, string resourceGroupName, string workflowName, string runName, string actionName, string repetitionName) { return(operations.GetAsync(resourceGroupName, workflowName, runName, actionName, repetitionName).GetAwaiter().GetResult()); }
/// <summary> /// Lists a workflow run expression trace. /// </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='repetitionName'> /// The workflow repetition. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <IEnumerable <ExpressionRoot> > ListExpressionTracesAsync(this IWorkflowRunActionRepetitionsOperations operations, string resourceGroupName, string workflowName, string runName, string actionName, string repetitionName, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ListExpressionTracesWithHttpMessagesAsync(resourceGroupName, workflowName, runName, actionName, repetitionName, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// Lists a workflow run expression trace. /// </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='repetitionName'> /// The workflow repetition. /// </param> public static IEnumerable <ExpressionRoot> ListExpressionTraces(this IWorkflowRunActionRepetitionsOperations operations, string resourceGroupName, string workflowName, string runName, string actionName, string repetitionName) { return(operations.ListExpressionTracesAsync(resourceGroupName, workflowName, runName, actionName, repetitionName).GetAwaiter().GetResult()); }