/// <summary> /// Returns the content of the specified Compute Node file. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='poolId'> /// The ID of the Pool that contains the Compute Node. /// </param> /// <param name='nodeId'> /// The ID of the Compute Node that contains the file. /// </param> /// <param name='filePath'> /// The path to the Compute Node file that you want to get the content of. /// </param> /// <param name='fileGetFromComputeNodeOptions'> /// Additional parameters for the operation /// </param> public static Stream GetFromComputeNode(this IFileOperations operations, string poolId, string nodeId, string filePath, FileGetFromComputeNodeOptions fileGetFromComputeNodeOptions = default(FileGetFromComputeNodeOptions)) { return(operations.GetFromComputeNodeAsync(poolId, nodeId, filePath, fileGetFromComputeNodeOptions).GetAwaiter().GetResult()); }