Пример #1
0
 /// <summary>
 /// Get Workflows resource
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group. The name is case insensitive.
 /// </param>
 /// <param name='storageSyncServiceName'>
 /// Name of Storage Sync Service resource.
 /// </param>
 /// <param name='workflowId'>
 /// workflow Id
 /// </param>
 public static Workflow Get(this IWorkflowsOperations operations, string resourceGroupName, string storageSyncServiceName, string workflowId)
 {
     return(operations.GetAsync(resourceGroupName, storageSyncServiceName, workflowId).GetAwaiter().GetResult());
 }
Пример #2
0
 /// <summary>
 /// Gets a workflow.
 /// </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>
 public static Workflow Get(this IWorkflowsOperations operations, string resourceGroupName, string workflowName)
 {
     return(operations.GetAsync(resourceGroupName, workflowName).GetAwaiter().GetResult());
 }