/// <summary> /// Power on a scale unit node. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// Name of the resource group. /// </param> /// <param name='location'> /// Location of the resource. /// </param> /// <param name='scaleUnitNode'> /// Name of the scale unit node. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task PowerOnAsync(this IScaleUnitNodesOperations operations, string resourceGroupName, string location, string scaleUnitNode, CancellationToken cancellationToken = default(CancellationToken)) { (await operations.PowerOnWithHttpMessagesAsync(resourceGroupName, location, scaleUnitNode, null, cancellationToken).ConfigureAwait(false)).Dispose(); }