/// <summary>
 /// Retrieve the dsc node identified by node id.
 /// <see href="http://aka.ms/azureautomationsdk/dscnodeoperations" />
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Name of an Azure Resource group.
 /// </param>
 /// <param name='automationAccountName'>
 /// The name of the automation account.
 /// </param>
 /// <param name='nodeId'>
 /// The node id.
 /// </param>
 public static DscNode Get(this IDscNodeOperations operations, string resourceGroupName, string automationAccountName, string nodeId)
 {
     return(operations.GetAsync(resourceGroupName, automationAccountName, nodeId).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Retrieve the dsc node identified by node id.  (see
 /// http://aka.ms/azureautomationsdk/dscnodeoperations for more
 /// information)
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.Automation.IDscNodeOperations.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Required. The name of the resource group
 /// </param>
 /// <param name='automationAccount'>
 /// Required. The automation account name.
 /// </param>
 /// <param name='nodeId'>
 /// Required. The node id.
 /// </param>
 /// <returns>
 /// The response model for the get dsc node operation.
 /// </returns>
 public static Task <DscNodeGetResponse> GetAsync(this IDscNodeOperations operations, string resourceGroupName, string automationAccount, Guid nodeId)
 {
     return(operations.GetAsync(resourceGroupName, automationAccount, nodeId, CancellationToken.None));
 }