/// <summary>
 /// Gets the properties 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 properties of.
 /// </param>
 /// <param name='fileGetPropertiesFromComputeNodeOptions'>
 /// Additional parameters for the operation
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <FileGetPropertiesFromComputeNodeHeaders> GetPropertiesFromComputeNodeAsync(this IFileOperations operations, string poolId, string nodeId, string filePath, FileGetPropertiesFromComputeNodeOptions fileGetPropertiesFromComputeNodeOptions = default(FileGetPropertiesFromComputeNodeOptions), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetPropertiesFromComputeNodeWithHttpMessagesAsync(poolId, nodeId, filePath, fileGetPropertiesFromComputeNodeOptions, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Headers);
     }
 }
Example #2
0
 public virtual Response GetPropertiesFromComputeNode(string poolId, string nodeId, string filePath, FileGetPropertiesFromComputeNodeOptions fileGetPropertiesFromComputeNodeOptions, CancellationToken cancellationToken = default)
 {
     return(RestClient.GetPropertiesFromComputeNode(poolId, nodeId, filePath, fileGetPropertiesFromComputeNodeOptions, cancellationToken).GetRawResponse());
 }
 /// <summary>
 /// Gets the properties 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 properties of.
 /// </param>
 /// <param name='fileGetPropertiesFromComputeNodeOptions'>
 /// Additional parameters for the operation
 /// </param>
 public static FileGetPropertiesFromComputeNodeHeaders GetPropertiesFromComputeNode(this IFileOperations operations, string poolId, string nodeId, string filePath, FileGetPropertiesFromComputeNodeOptions fileGetPropertiesFromComputeNodeOptions = default(FileGetPropertiesFromComputeNodeOptions))
 {
     return(operations.GetPropertiesFromComputeNodeAsync(poolId, nodeId, filePath, fileGetPropertiesFromComputeNodeOptions).GetAwaiter().GetResult());
 }
Example #4
0
 public virtual async Task <Response> GetPropertiesFromComputeNodeAsync(string poolId, string nodeId, string filePath, FileGetPropertiesFromComputeNodeOptions fileGetPropertiesFromComputeNodeOptions, CancellationToken cancellationToken = default)
 {
     return((await RestClient.GetPropertiesFromComputeNodeAsync(poolId, nodeId, filePath, fileGetPropertiesFromComputeNodeOptions, cancellationToken).ConfigureAwait(false)).GetRawResponse());
 }