/// <summary> /// Start maintenance mode for 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> public static void StartMaintenanceMode(this IScaleUnitNodesOperations operations, string resourceGroupName, string location, string scaleUnitNode) { operations.StartMaintenanceModeAsync(resourceGroupName, location, scaleUnitNode).GetAwaiter().GetResult(); }